[MacPorts] #32201: install glib2 shell command failed

MacPorts noreply at macports.org
Wed Nov 23 02:08:42 PST 2011


#32201: install glib2 shell command failed
--------------------------------+-------------------------------------------
  Reporter:  xdamman@…          |       Owner:  macports-tickets@…                   
      Type:  defect             |      Status:  closed                               
  Priority:  Normal             |   Milestone:                                       
 Component:  ports              |     Version:  2.0.3                                
Resolution:  duplicate          |    Keywords:                                       
      Port:  glib2              |  
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

  * priority:  High => Normal
  * status:  new => closed
  * resolution:  => duplicate
  * port:  => glib2


Old description:

> sh-3.2# port install glib2
> --->  Computing dependencies for glib2
> --->  Building glib2
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> Log for glib2 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log
> Error: Status 1 encountered during processing.
>
> The log returns:
> :info:build checking for special C compiler options needed for large
> files... no
> :info:build checking for _FILE_OFFSET_BITS value needed for large
> files... no
> :info:build ./configure: line 6969: syntax error near unexpected token
> `0.16'
> :info:build ./configure: line 6969: `PKG_PROG_PKG_CONFIG(0.16)'
> :info:build make: *** [config.status] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2'
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2"
> && /usr/bin/make -j2 -w all V=1 " returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
>     while executing
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for glib2):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :notice:build Log for glib2 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log
>
> I did try sudo port selfupdate but doesn't help.
> I'm running the latest version of MacOSX Lion
>
> Thanks.

New description:

 {{{
 sh-3.2# port install glib2
 --->  Computing dependencies for glib2
 --->  Building glib2
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for glib2 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log
 Error: Status 1 encountered during processing.
 }}}

 The log returns:
 {{{
 :info:build checking for special C compiler options needed for large
 files... no
 :info:build checking for _FILE_OFFSET_BITS value needed for large files...
 no
 :info:build ./configure: line 6969: syntax error near unexpected token
 `0.16'
 :info:build ./configure: line 6969: `PKG_PROG_PKG_CONFIG(0.16)'
 :info:build make: *** [config.status] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2"
 && /usr/bin/make -j2 -w all V=1 " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for glib2):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for glib2 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log
 }}}

 I did try sudo port selfupdate but doesn't help.
 I'm running the latest version of MacOSX Lion

 Thanks.

--

Comment:

 The error looks different, but I believe this is a duplicate of #32185.

 In future, please search for existing tickets, and when filing tickets, do
 use WikiFormatting and Cc the port's maintainer. High priority is at the
 discretion of MacPorts team members.

-- 
Ticket URL: <https://trac.macports.org/ticket/32201#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list