"unable to execute -DNDEBUG" - strange gnucash build failure

Peter Schneider petr.snyder at yahoo.co.uk
Fri Dec 21 13:54:30 PST 2007


Hello

After a "sudo port install gnucash +without_docs" I got this, probably my favorite Christmas-bug, so far I haven't been able to reduplicate it (another run of "sudo port -d install gnucash +without_docs" gave me another error ... see next posting).

It's completely obscure for me that the error message seems to be related to gdbm, a fair while after that port was activated. "-DNDEBUG" doesn't probably exist as a command, well, I thought so. "libdaemon" ("libdaemon @0.12_0 (active)"!) has got through its activation, too, though any feedback was missing ... see console messages below.

Also weird: gdbm seems to be properly installed ... a "port installed" lists
gdbm @1.8.3_1 (active), and I definitely don't need anything built for Panther (MacOS 10.3).

1 Mio. $ Question: What went wrong here?

My environment looks basically like this: PowerPC, macport 1.6.0 (1x selfupdate yesterday) at /opt/local/, a new installation of Leopard, XCode 3 (from DVD, that's still the most recent version available at connect.apple.com).

Cheers Peter ...

#########################################################################
--->  Fetching gdbm
--->  Attempting to fetch gdbm-1.8.3.tar.gz from http://ftp.gnu.org/gnu/gdbm
--->  Verifying checksum(s) for gdbm
--->  Extracting gdbm
--->  Applying patches to gdbm
--->  Configuring gdbm
--->  Building gdbm with target all
--->  Staging gdbm into destroot
--->  Installing gdbm 1.8.3_1
--->  Activating gdbm 1.8.3_1
--->  Cleaning gdbm
--->  Fetching libdaemon
--->  Attempting to fetch libdaemon-0.12.tar.gz from http://0pointer.de/lennart/projects/libdaemon/
--->  Verifying checksum(s) for libdaemon
--->  Extracting libdaemon
--->  Configuring libdaemon
--->  Building libdaemon with target all
--->  Staging libdaemon into destroot
--->  Installing libdaemon 0.12_0
running build_ext
building 'gdbm' extension
creating build
creating build/temp.macosx-10.3-ppc-2.5
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/python2.5 -c gdbmmodule.c -o build/temp.macosx-10.3-ppc-2.5/gdbmmodule.o
unable to execute -DNDEBUG: No such file or directory
error: command '-DNDEBUG' failed with exit status 1

Error: The following dependencies failed to build: evince avahi py25-gdbm py25-gtk py25-cairo esound gconf intltool orbit2 libidl gnome-doc-utils iso-codes py25-hashlib openssl py25-libxml2 gnome-icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml-simple p5-test-simple p5-test-harness p5-xml-namespacesupport p5-xml-sax gnome-keyring libgcrypt libgpg-error gnome-vfs gnome-mime-data howl neon libart_lgpl libgnome libbonobo popt libgnomecanvas gail libgnomeui libbonoboui m4 nautilus eel gnome-desktop fribidi startup-notification gnome-menus libexif librsvg libcroco libgsf shared-mime-info poppler poppler-data goffice03 libgnomeprintui libgnomeprint bison libgnomecups pcre guile16 readline ncurses ncursesw gawk libgtkhtml3 p5-finance-quote p5-crypt-ssleay p5-libwww-perl p5-compress-zlib p5-compress-raw-zlib p5-io-compress-base p5-scalar-list-utils p5-io-compress-zlib p5-html-parser p5-html-tagset p5-uri p5-datemanip p5-html-tableextract slib
 slib-guile16
Error: Status 1 encountered during processing.





      __________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com



More information about the macports-users mailing list