Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#49399 closed defect (duplicate)

glib2 building fails

Reported by: arthur.michaut@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: glib2


After El Capitan upgrade, glib2 fails to build. Ticket #49151 had raised this problem and it had been marked as fixed. However, we are several people who are still facing the issue. I have OS X 10.11 and Xcode 7.0.1 I've selfupdated and cleaned. It then installed well but failed to rebuild in order.

Here is the tail of the log.

:info:build make: *** [all] 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.46.1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.46.1" && /usr/bin/make -j4 -w all V=1 
:info:build Exit code: 2
:error:build for port glib2 returned: command execution failed
:debug:build Error code: CHILDSTATUS 36541 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for glib2: org.macports.activate org.macports.destroot org.macports.install
:error:build Failed to install glib2
:debug:build Registry error: glib2-devel not registered as installed & active.
    while executing
"registry::active $portname"
:notice:build Please see the log file for port glib2 for details:

Attachments (1)

main.log (14.7 KB) - added by arthur.michaut@… 6 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 6 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign removed
Keywords: glib2 el capitan removed
Owner: changed from macports-tickets@… to ryandesign@…
Summary: glib2 building fails on El Capitanglib2 building fails

You've omitted the portion of the log that contains the actual error message. Please attach the entire main.log file.

Changed 6 years ago by arthur.michaut@…

Attachment: main.log added

comment:2 Changed 6 years ago by ryandesign (Ryan Schmidt)

Resolution: duplicate
Status: newclosed

Ok thanks, the error shown in the log is:

:info:build ld: in '/opt/local/lib/libxslt.1.dylib', file was built for x86_64 which is not the architecture being linked (i386): /opt/local/lib/libxslt.1.dylib for architecture i386

I'll reopen #49151 and deal with this issue there.

comment:3 Changed 6 years ago by arthur.michaut@…

ok thanks a lot!

Note: See TracTickets for help on using tickets.