Opened 16 years ago

Closed 15 years ago

Last modified 14 years ago

#15196 closed defect (duplicate)

Py25 dependencies failed to build

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

Description

Here on 10.5 I tried to install bzr with macports 1.6.0 (leopard dmg).

To get macports running I had to create .profile file with PATH variable. Then I tried to install bzr port.

Got the following error msg:

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: py25-bz2 py25-crypto py25-curl curl pkgconfig zlib py25-docutils py25-hashlib openssl py25-paramiko py25-socket-ssl py25-zlib
Error: Status 1 encountered during processing.

For more information - I explained all I did at OSXDevelopment Page of Calibre

I myself am not that firm in developing and debugging, I am a beginner, but do not mind to ask for further info...

Change History (5)

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

Resolution: duplicate
Status: newclosed

Duplicate of #13930.

comment:2 Changed 16 years ago by stdoonline@…

Resolution: duplicate
Status: closedreopened

So I inserted

extra_env       CC

in macports.inf as described in #13930

That did not resolve my problem. I tried again to install bzr:

sudo port install bzr
Password:
--->  Building py25-bz2 with target build
--->  Staging py25-bz2 into destroot
--->  Installing py25-bz2 2.5.2_0
--->  Activating py25-bz2 2.5.2_0
--->  Cleaning py25-bz2
--->  Fetching py25-crypto
--->  Verifying checksum(s) for py25-crypto
--->  Extracting py25-crypto
--->  Configuring py25-crypto
--->  Building py25-crypto with target build
--->  Staging py25-crypto into destroot
--->  Installing py25-crypto 2.0.1_0
--->  Activating py25-crypto 2.0.1_0
--->  Cleaning py25-crypto
--->  Fetching pkgconfig
--->  Attempting to fetch pkg-config-0.23.tar.gz from http://pkg-config.freedesktop.org/releases/
--->  Verifying checksum(s) for pkgconfig
--->  Extracting pkgconfig
--->  Configuring pkgconfig
--->  Building pkgconfig with target all
--->  Staging pkgconfig into destroot
--->  Installing pkgconfig 0.23_0
--->  Activating pkgconfig 0.23_0
--->  Cleaning pkgconfig
--->  Fetching zlib
--->  Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.zlib.net/
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib with target all
--->  Staging zlib into destroot
--->  Installing zlib 1.2.3_1
--->  Activating zlib 1.2.3_1
--->  Cleaning zlib
--->  Fetching curl
--->  Attempting to fetch curl-7.18.1.tar.bz2 from http://curl.haxx.se/download/
--->  Verifying checksum(s) for curl
--->  Extracting curl
--->  Configuring curl
--->  Building curl with target all
--->  Staging curl into destroot
--->  Installing curl 7.18.1_2
--->  Activating curl 7.18.1_2
--->  Cleaning curl
--->  Fetching py25-curl
--->  Attempting to fetch pycurl-7.16.4.tar.gz from http://pycurl.sourceforge.net//download
--->  Verifying checksum(s) for py25-curl
--->  Extracting py25-curl
--->  Configuring py25-curl
--->  Building py25-curl 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-curl/work/pycurl-7.16.4" && /opt/local/bin/python2.5 setup.py build --curl-config=/opt/local/bin/curl-config " returned error 1
Command output: Using /opt/local/bin/curl-config (libcurl 7.18.1)
running build
running build_py
creating build
creating build/lib.macosx-10.3-i386-2.5
creating build/lib.macosx-10.3-i386-2.5/curl
copying python/curl/__init__.py -> build/lib.macosx-10.3-i386-2.5/curl
running build_ext
building 'pycurl' extension
creating build/temp.macosx-10.3-i386-2.5
creating build/temp.macosx-10.3-i386-2.5/src
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/python2.5 -c src/pycurl.c -o build/temp.macosx-10.3-i386-2.5/src/pycurl.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: py25-curl py25-docutils py25-hashlib openssl py25-paramiko py25-socket-ssl py25-zlib
Error: Status 1 encountered during processing.

comment:3 Changed 15 years ago by blb@…

Milestone: MacPorts base bugs
Resolution: duplicate
Status: reopenedclosed

Tcl env bug so dup of #13930.

comment:4 Changed 15 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Component: portsbase
Keywords: Python bzr removed
Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.