Opened 8 years ago

Closed 8 years ago

#49583 closed defect (invalid)

glib2 failed to build on 10.11.1

Reported by: r.v.sergeev@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc: Dmole (Tim)
Port: glib2

Description

After update os to 10.11.1 and update ports try to install wget

:info:build 20 errors generated.
:info:build make[4]: *** [libgio_2_0_la-gcocoanotificationbackend.lo] Error 1
:info:build make[4]: *** Waiting for unfinished jobs....
:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../glib -I.. -I../gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/opt/local/lib/gio/modules\" -I/opt/local/include -D_REENTRANT -fvisibility=hidden -xobjective-c -pipe -Os -fstrict-aliasing -arch x86_64 -MT libgio_2_0_la-gactiongroupexporter.lo -MD -MP -MF .deps/libgio_2_0_la-gactiongroupexporter.Tpo -c gactiongroupexporter.c -o libgio_2_0_la-gactiongroupexporter.o >/dev/null 2>&1
:info:build mv -f .deps/libgio_2_0_la-gremoteactiongroup.Tpo .deps/libgio_2_0_la-gremoteactiongroup.Plo
:info:build mv -f .deps/libgio_2_0_la-gsimpleactiongroup.Tpo .deps/libgio_2_0_la-gsimpleactiongroup.Plo
:info:build mv -f .deps/libgio_2_0_la-gactiongroupexporter.Tpo .deps/libgio_2_0_la-gactiongroupexporter.Plo
:info:build make[4]: 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/gio'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: 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/gio'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: 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/gio'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: 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 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 org.macports.build for port glib2 returned: command execution failed
:debug:build Error code: CHILDSTATUS 10935 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
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for glib2: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install glib2
:debug:build Registry error: libxml2 not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:build Please see the log file for port glib2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log
rsergeev:~ roman$ cat     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log > build.log

Attachments (1)

build.log (506.5 KB) - added by r.v.sergeev@… 8 years ago.
full log

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by r.v.sergeev@…

Attachment: build.log added

full log

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

Keywords: elcapitan added; glib2 removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: glib2 added
Priority: HighNormal

I think you are trying to use a version of Xcode and/or the command line developer tools that is too old. Make sure you've installed Xcode 7 or later and the corresponding version of the developer tools.

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

@r.v.sergeev, have you made any progress on this issue? If you have not resolved the problem, what version of Xcode are you using?

comment:3 Changed 8 years ago by r.v.sergeev@…

thanks you are right after update XCode everything is ok

comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks for letting me know. Do you remember which version of Xcode you had before?

comment:5 Changed 8 years ago by r.v.sergeev@…

i think 6.1 system not found any updates in app'store for my 6.x then i removed 6.1 and install 7.x

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

Ok. Yes, Xcode 6 and earlier are not compatible with El Capitan; Xcode 7 or later is required.

comment:7 Changed 8 years ago by Dmole (Tim)

macports should check this and tell the user to upgrade Xcode instead of attempting and failing to build.

comment:8 in reply to:  7 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: elatllat@… added
Resolution: invalid
Status: newclosed

Replying to elatllat@…:

macports should check this and tell the user to upgrade Xcode instead of attempting and failing to build.

I don't disagree with you. This used to happen, but various parts of MacPorts that did this broke when Apple changed how things work in newer versions of OS X. See comment:ticket:44900:5.

Note: See TracTickets for help on using tickets.