Ticket #32227 (closed defect: fixed)
pkgconfig runtime crashes
| Reported by: | pauljamesadams@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | Cc: | jeremyhu@…, obensonne@…, winter@…, f.calboli@…, danielson.paul@…, ghashsnaga@…, macports@…, mk@…, 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
Change History
comment:1 Changed 18 months ago by pauljamesadams@…
Worth mentioning: xorg-xproto us installed correctly.
comment:2 Changed 18 months ago by ryandesign@…
- Cc obensonne@…, winter@…, j_mach_wust@…, f.calboli@… added; openmaintainer@… removed
- Owner changed from macports-tickets@… to ryandesign@…
- Status changed from new to assigned
- Port changed from xorg-libXau to pkgconfig
- Summary changed from xorg-libXau @1.0.6 Configure error -build failure to pkgconfig runtime crashes
comment:3 follow-up: ↓ 10 Changed 18 months ago by 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.
comment:7 Changed 18 months ago by mk@…
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:9 follow-up: ↓ 13 Changed 18 months ago by ryandesign@…
Can you attach libofx's config.log please?
comment:10 in reply to: ↑ 3 ; follow-up: ↓ 11 Changed 18 months ago by srogers1@…
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 ; follow-up: ↓ 12 Changed 18 months 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 18 months 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 18 months ago by mk@…
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 18 months ago by ryandesign@…
- Status changed from assigned to closed
- Resolution set to fixed
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 18 months ago by mk@…
Jesus, you are right, Ryan. I must have been to tired to realize that. Thanks for fixing that already.


xorg-libXau main.log for failed build