Opened 16 years ago

Closed 16 years ago

#15656 closed defect (duplicate)

py25-sqlite3 -- failure to build

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

Description

The compiler is missing in the build command when it fails:

--->  Fetching py25-sqlite3
--->  Verifying checksum(s) for py25-sqlite3
--->  Extracting py25-sqlite3
--->  Configuring py25-sqlite3
--->  Building py25-sqlite3 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-sqlite3/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 '_sqlite3' extension
creating build
creating build/temp.macosx-10.3-i386-2.5
creating build/temp.macosx-10.3-i386-2.5/_sqlite
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -I/opt/local/include/ -I/opt/local/include/python2.5 -c _sqlite/cache.c -o build/temp.macosx-10.3-i386-2.5/_sqlite/cache.o
unable to execute -DNDEBUG: No such file or directory
error: command '-DNDEBUG' failed with exit status 1

Error: Status 1 encountered during processing.

If I move into the work directory and nudge the compile forward, installation works out:

 :; sudo python setup.py build
Password:
running build
running build_ext
building '_sqlite3' extension
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -I/opt/local/include/ -I/opt/local/include/python2.5 -c _sqlite/cache.c -o build/temp.macosx-10.3-i386-2.5/_sqlite/cache.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -I/opt/local/include/ -I/opt/local/include/python2.5 -c _sqlite/connection.c -o build/temp.macosx-10.3-i386-2.5/_sqlite/connection.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -I/opt/local/include/ -I/opt/local/include/python2.5 -c _sqlite/cursor.c -o build/temp.macosx-10.3-i386-2.5/_sqlite/cursor.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -I/opt/local/include/ -I/opt/local/include/python2.5 -c _sqlite/microprotocols.c -o build/temp.macosx-10.3-i386-2.5/_sqlite/microprotocols.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -I/opt/local/include/ -I/opt/local/include/python2.5 -c _sqlite/module.c -o build/temp.macosx-10.3-i386-2.5/_sqlite/module.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -I/opt/local/include/ -I/opt/local/include/python2.5 -c _sqlite/prepare_protocol.c -o build/temp.macosx-10.3-i386-2.5/_sqlite/prepare_protocol.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -I/opt/local/include/ -I/opt/local/include/python2.5 -c _sqlite/row.c -o build/temp.macosx-10.3-i386-2.5/_sqlite/row.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -I/opt/local/include/ -I/opt/local/include/python2.5 -c _sqlite/statement.c -o build/temp.macosx-10.3-i386-2.5/_sqlite/statement.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -I/opt/local/include/ -I/opt/local/include/python2.5 -c _sqlite/util.c -o build/temp.macosx-10.3-i386-2.5/_sqlite/util.o
creating build/lib.macosx-10.3-i386-2.5
/usr/bin/gcc-4.0 -L/opt/local/lib -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/_sqlite/cache.o build/temp.macosx-10.3-i386-2.5/_sqlite/connection.o build/temp.macosx-10.3-i386-2.5/_sqlite/cursor.o build/temp.macosx-10.3-i386-2.5/_sqlite/microprotocols.o build/temp.macosx-10.3-i386-2.5/_sqlite/module.o build/temp.macosx-10.3-i386-2.5/_sqlite/prepare_protocol.o build/temp.macosx-10.3-i386-2.5/_sqlite/row.o build/temp.macosx-10.3-i386-2.5/_sqlite/statement.o build/temp.macosx-10.3-i386-2.5/_sqlite/util.o -L/opt/local/lib/ -lsqlite3 -o build/lib.macosx-10.3-i386-2.5/_sqlite3.so

 :; sudo port install py25-sqlite3
--->  Building py25-sqlite3 with target build
--->  Staging py25-sqlite3 into destroot
--->  Installing py25-sqlite3 2.5.2_0
--->  Activating py25-sqlite3 2.5.2_0
--->  Cleaning py25-sqlite3

Change History (1)

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

Resolution: duplicate
Status: newclosed
Summary: p25-sqlite3 -- failure to buildpy25-sqlite3 -- failure to build

Duplicate of #13930.

Note: See TracTickets for help on using tickets.