[MacPorts] #15661: sqlite3 +universal build failure
MacPorts
noreply at macports.org
Tue Jun 17 23:30:13 PDT 2008
#15661: sqlite3 +universal build failure
--------------------------------------+-------------------------------------
Reporter: ryandesign at macports.org | Owner: mww at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Comment (by ryandesign at macports.org):
The attached patch sets MACOSX_DEPLOYMENT_TARGET properly in the port. But
even with this, sqlite3 +universal does not build properly. Now it says:
{{{
$ sudo port install sqlite3 +universal
---> Fetching sqlite3
---> Verifying checksum(s) for sqlite3
---> Extracting sqlite3
---> Configuring sqlite3
---> Building sqlite3 with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_Users_rschmidt_macports_dports_databases_sqlite3/work/sqlite-3.5.9"
&& gnumake -j2 all " returned error 2
Command output: libtool: link: (cd ".libs" && rm -f "libsqlite3.dylib" &&
ln -s "libsqlite3.0.dylib" "libsqlite3.dylib")
libtool: link: ar cru .libs/libsqlite3.a sqlite3.o
libtool: link: ranlib .libs/libsqlite3.a
libtool: link: ( cd ".libs" && rm -f "libsqlite3.la" && ln -s
"../libsqlite3.la" "libsqlite3.la" )
./libtool --mode=link /usr/bin/gcc-4.0 -I/opt/local/include -O2 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -DOS_UNIX=1 -I.
-I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_THREADSAFE=1
-DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1
-L/opt/local/lib -arch i386 -arch ppc -DHAVE_READLINE=1
-I/opt/local/include \
-o sqlite3 ./src/shell.c libsqlite3.la \
-L/opt/local/lib -lreadline -lm -rpath "/opt/local/lib"
libtool: link: /usr/bin/gcc-4.0 -I/opt/local/include -O2 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -DOS_UNIX=1 -I.
-I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_THREADSAFE=1
-DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -arch i386
-arch ppc -DHAVE_READLINE=1 -I/opt/local/include -o .libs/sqlite3
./src/shell.c -L/opt/local/lib ./.libs/libsqlite3.dylib -lreadline -lm
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: for architecture i386
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic
library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libncurses.5.dylib
referenced from: /opt/local/lib/libreadline.dylib (checking for undefined
symbols may be affected) (No such file or directory, errno = 2)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_tgetent referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
_tgetflag referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
_tgetnum referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
_tgetstr referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
_tputs referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
_tgoto referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
collect2: ld returned 1 exit status
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: for architecture ppc
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open
dynamic library:
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libncurses.5.dylib
referenced from: /opt/local/lib/libreadline.dylib (checking for undefined
symbols may be affected) (No such file or directory, errno = 2)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_tgetent referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
_tgetflag referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
_tgetnum referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
_tgetstr referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
_tputs referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
_tgoto referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccZxxcNF.out (No such file or
directory)
gnumake: *** [sqlite3] Error 1
Error: Status 1 encountered during processing.
$
}}}
It should be looking for /opt/local/lib/libncurses.5.dylib, not
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libncurses.5.dylib.
--
Ticket URL: <http://trac.macports.org/ticket/15661#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list