Opened 13 years ago
Closed 13 years ago
#32201 closed defect (duplicate)
install glib2 shell command failed — at Version 4
Reported by: | xdamman@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | fx.payet@…, pauljamesadams@… | |
Port: | glib2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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.
Change History (4)
comment:1 Changed 13 years ago by machsna (J. ‘mach’ Wust)
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | glib2 added |
Priority: | High → Normal |
Resolution: | → duplicate |
Status: | new → closed |
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.
Note: See
TracTickets for help on using
tickets.
Same here. I tried fixing this by manually installing pkgconfig (which I had uninstalled at some point), but I was unable to install pkgconfig because it requires glib2, d'oh.