Opened 16 years ago

Closed 16 years ago

#15620 closed defect (duplicate)

sudo port install bzr-gtk fails with a bad command line in building py25-bz2

Reported by: markmi@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

I attempted sudo port install bzr-gtk and it attempted a command that looked like (with the prior line shown and the following error text):

creating build/temp.macosx-10.3-i386-2.5 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include/ -I/opt/local/include/python2.5 -c bz2module.c -o build/temp.macosx-10.3-i386-2.5/bz2module.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1

The more complete text from the install attempt is below.

===

Port command started with PID 392 Fetching bzip2 Attempting to fetch bzip2-1.0.5.tar.gz from http://www.bzip.org/1.0.5/ Verifying checksum(s) for bzip2 Extracting bzip2 Applying patches to bzip2 Configuring bzip2 Building bzip2 with target all Staging bzip2 into destroot Installing bzip2 1.0.5_1 Activating bzip2 1.0.5_1 Cleaning bzip2 Fetching expat Attempting to fetch expat-2.0.1.tar.gz from http://downloads.sourceforge.net/expat Verifying checksum(s) for expat Extracting expat Configuring expat Building expat with target all Staging expat into destroot Installing expat 2.0.1_0 Activating expat 2.0.1_0 Cleaning expat Fetching gperf Attempting to fetch gperf-3.0.3.tar.gz from http://ftp.gnu.org/gnu/gperf Verifying checksum(s) for gperf Extracting gperf Configuring gperf Building gperf with target all Staging gperf into destroot Installing gperf 3.0.3_0 Activating gperf 3.0.3_0 Cleaning gperf Fetching libiconv Attempting to fetch libiconv-1.12.tar.gz from http://ftp.gnu.org/gnu/libiconv Verifying checksum(s) for libiconv Extracting libiconv Applying patches to libiconv Configuring libiconv Building libiconv with target all Staging libiconv into destroot Installing libiconv 1.12_0 Activating libiconv 1.12_0 Cleaning libiconv Fetching ncursesw Attempting to fetch ncurses-5.6.tar.gz from http://ftp.gnu.org/gnu/ncurses Verifying checksum(s) for ncursesw Extracting ncursesw Applying patches to ncursesw Configuring ncursesw Building ncursesw with target all Staging ncursesw into destroot Installing ncursesw 5.6_1 Activating ncursesw 5.6_1 Cleaning ncursesw Fetching ncurses Verifying checksum(s) for ncurses Extracting ncurses Applying patches to ncurses Configuring ncurses Building ncurses with target all Staging ncurses into destroot Installing ncurses 5.6_0 Activating ncurses 5.6_0 Cleaning ncurses Fetching gettext Attempting to fetch gettext-0.17.tar.gz from http://ftp.gnu.org/gnu/gettext Verifying checksum(s) for gettext Extracting gettext Applying patches to gettext Configuring gettext Building gettext with target all Staging gettext into destroot Installing gettext 0.17_3 Activating gettext 0.17_3 Cleaning gettext Fetching python25 Attempting to fetch Python-2.5.2.tar.bz2 from http://www.python.org//ftp/python/2.5.2/ Verifying checksum(s) for python25 Extracting python25 Applying patches to python25 Configuring python25 Building python25 with target all Staging python25 into destroot Installing python25 2.5.2_2+darwin_9 Activating python25 2.5.2_2+darwin_9 Cleaning python25 Fetching py25-bz2 Verifying checksum(s) for py25-bz2 Extracting py25-bz2 Configuring py25-bz2 Building py25-bz2 with target build Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-bz2/work/Python-2.5.2/Modules" && /opt/local/bin/python2.5 setup.py build " returned error 1 Command output: running build running build_ext building 'bz2' extension creating build creating build/temp.macosx-10.3-i386-2.5 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include/ -I/opt/local/include/python2.5 -c bz2module.c -o build/temp.macosx-10.3-i386-2.5/bz2module.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: bzr py25-bz2 py25-crypto py25-curl curl pkgconfig zlib py25-docutils py25-hashlib openssl py25-paramiko py25-socket-ssl py25-zlib py25-gtk atk glib2 cairo fontconfig freetype libpixman libpng render xrender gtk2 jpeg pango Xft2 xorg-xproto xorg-util-macros shared-mime-info libxml2 p5-xml-parser perl5.8 t iff libglade2 py25-cairo py25-numpy fftw-3 py25-gobject libxslt Error: Status 1 encountered during processing.

Change History (1)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #13930. Run sudo port clean py25-bz2 and try again.

Note: See TracTickets for help on using tickets.