Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#32227 closed defect (fixed)

pkgconfig runtime crashes

Reported by: pauljamesadams@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), obensonne@…, winter@…, f.calboli@…, danielson.paul@…, ghashsnaga@…, macports@…, mkae (Marko Käning), cluesome@…, william1121@…
Port: pkgconfig

Description

OSX: 10.7.2 | Xcode: 4.2.1

From mail.log (also attached):

:info:configure checking for XAU... ./configure: line 12123: 79392 Abort trap: 6           ( $PKG_CONFIG --exists --print-errors "xproto" ) 2>&5
:info:configure ./configure: line 12139: 79393 Abort trap: 6           ( $PKG_CONFIG --exists --print-errors "xproto" ) 2>&5
:info:configure no
:info:configure configure: error: Package requirements (xproto) were not met:
:info:configure 
:info:configure 
:info:configure (process:79396): GLib-ERROR (recursed) **: The thread system is not yet initialized.
:info:configure 
:info:configure Consider adjusting the PKG_CONFIG_PATH environment variable if you
:info:configure installed software in a non-standard prefix.
:info:configure 
:info:configure Alternatively, you may set the environment variables XAU_CFLAGS
:info:configure and XAU_LIBS to avoid the need to call pkg-config.
:info:configure See the pkg-config man page for more details.
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-libXau/xorg-libXau/work/libXau-1.0.6" && ./configure --prefix=/opt/local " returned error 1

This build error started after the latest glib2 update (ticket #32185).

Attachments (1)

main.log (10.0 KB) - added by pauljamesadams@… 13 years ago.
xorg-libXau main.log for failed build

Download all attachments as: .zip

Change History (16)

Changed 13 years ago by pauljamesadams@…

Attachment: main.log added

xorg-libXau main.log for failed build

comment:1 Changed 13 years ago by pauljamesadams@…

Worth mentioning: xorg-xproto us installed correctly.

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

Cc: obensonne@… winter@… j_mach_wust@… f.calboli@… added; openmaintainer@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: pkgconfig added; xorg-libXau removed
Status: newassigned
Summary: xorg-libXau @1.0.6 Configure error -build failurepkgconfig runtime crashes

Has duplicates #32228, #32229, #32230.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Please wait 30 minutes, then "sudo port selfupdate" and "sudo port upgrade glib2" and see if glib2 2.30.2_1 resolves the problem.

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

Cc: danielson.paul@… ghashsnaga@… macports@… added

Has duplicates #32235, #32240

comment:5 Changed 13 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

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

Cc: cluesome@… william1121@… added

Has duplicates #32236, #32237.

comment:7 Changed 13 years ago by mkae (Marko Käning)

2.30.2_1 does build in my case, but libofx wouldn't: http://build.macports.org/builders/buildports-snowleopard-x86_64/builds/3275

comment:8 Changed 13 years ago by machsna (J. ‘mach’ Wust)

Cc: j_mach_wust@… removed

Cc Me!

comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Can you attach libofx's config.log please?

comment:10 in reply to:  3 ; Changed 13 years ago by srogers (Steve Rogers)

Replying to ryandesign@…:

Please wait 30 minutes, then "sudo port selfupdate" and "sudo port upgrade glib2" and see if glib2 2.30.2_1 resolves the problem.

I had the error - this update to glib2 fixed it.

comment:11 in reply to:  10 ; Changed 13 years ago by vallentin@…

Replying to srogers1@…:

I had the error - this update to glib2 fixed it.

Same here, updating glib2 fixed the issue.

comment:12 in reply to:  11 Changed 13 years ago by cluesome@…

Replying to vallentin@…:

Replying to srogers1@…:

I had the error - this update to glib2 fixed it.

Same here, updating glib2 fixed the issue.

Fixed too.

comment:13 in reply to:  9 Changed 13 years ago by mkae (Marko Käning)

Replying to ryandesign@…:

Can you attach libofx's config.log please?

No, I can't because the error occurred on the buildbot:

checking for OpenSP/macros.h... yes
checking for OFX... configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables OFX_CFLAGS
and OFX_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details.
shell command " cd "/opt/local/var/macports/build/_Volumes_work_mports_dports_kde_kmymoney/kmymoney/work/kmymoney2-1.0.5" && ./configure --prefix=/opt/local --with-qt-dir=/opt/local/lib/qt3 --without-arts --enable-mac --enable-ofxbanking " returned error 1
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
DEBUG: Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for kmymoney): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Log for kmymoney is at: /opt/local/var/macports/logs/_Volumes_work_mports_dports_kde_kmymoney/kmymoney/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
failure
--->  Cleaning kmymoney

comment:14 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Oh right. I forgot. But that's not libofx failing to build. That's kmymoney failing to build, because it can't find libofx, because it can't find pkgconfig, because kmymoney doesn't declare a dependency on pkgconfig. Added in r87617.

comment:15 Changed 13 years ago by mkae (Marko Käning)

Jesus, you are right, Ryan. I must have been to tired to realize that. Thanks for fixing that already.

Note: See TracTickets for help on using tickets.