buildbot failure due to libofx which is missing pkg-config for an unknown reason... :-(

Marko Käning MK-MacPorts at techno.ms
Thu Nov 24 12:06:41 PST 2011


Hi devs,

I was surprised to see that - now that glib2 is building again - suddenly libofx won't be built anymore. 

This is obviously due to a missing pkg-config:
---
.
.
.
checking for pkg-config... no
.
.
.
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
.
.
.
---



What is odd here is that libofx has pkg-config as required, like this:
---
depends_build           path:bin/pkg-config:pkgconfig
---


Indeed one can find in the buildbot log stg like this:
---
.
.
.
DEBUG: activating directory: /opt/local/lib/pkgconfig
.
.
.
---
indicating that some pkgconfig seems to be in the system, although that folder seems only to store the info about installed libs.

So, COULD it be that buildbot itself is the culprit since it has a problem with my above depends_build dependency formulation?

I've no idea what else it could be...

Any other ideas?

Greets,
Marko




Begin forwarded message:

> From: noreply at macports.org
> Date: November 24, 2011 8:40:43 PM GMT+01:00
> To: mk at macports.org, pixilla at macports.org
> Subject: buildbot failure in MacPorts on buildports-snowleopard-x86_64
> 
> The Buildbot has detected a failed build on builder buildports-snowleopard-x86_64 while building MacPorts.
> Full details are available at:
> http://build.macports.org/builders/buildports-snowleopard-x86_64/builds/3275
> 
> Buildbot URL: http://build.macports.org/
> 
> Buildslave for this Build: apple-snowleopard-x86_64-ports
> 
> Build Reason: The web-page 'force build' button was pressed by 'mk': check whether kmymoney builds with latest changes of glib2
> 
> Build Source Stamp: [branch trunk] HEAD
> Blamelist: 
> 
> BUILD FAILED: failed status
> 
> sincerely,
> -The Buildbot
> 
> 
> 



More information about the macports-dev mailing list