| Summary: | sqlite-3.6.16 fails to build | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Saul Peebsen <jaglover> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | dabbott |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | sqlite-3.6.16 build.log | ||
|
Description
Saul Peebsen
2009-06-30 22:16:00 UTC
libtool: link: i686-pc-linux-gnu-ar cru .libs/libsqlite3.a alter.o analyze.o attach.o auth.o backup.o bitvec.o btmutex.o btree.o build.o callback.o complete.o date.o delete.o expr.o fault.o func.o global.o hash.o journal.o insert.o legacy.o loadext.o main.o malloc.o mem0.o mem1.o mem2.o mem3.o mem5.o memjournal.o mutex.o mutex_noop.o mutex_os2.o mutex_unix.o mutex_w32.o notify.o opcodes.o os.o os_unix.o os_win.o os_os2.o pager.o parse.o pcache.o pcache1.o pragma.o prepare.o printf.o random.o resolve.o rowset.o select.o status.o table.o tokenize.o trigger.o update.o util.o vacuum.o vdbe.o vdbeapi.o vdbeaux.o vdbeblob.o vdbemem.o walker.o where.o utf.o vtab.o
libtool: link: i686-pc-linux-gnu-ranlib .libs/libsqlite3.a
libtool: link: ( cd ".libs" && rm -f "libsqlite3.la" && ln -s "../libsqlite3.la" "libsqlite3.la" )
./libtool --mode=link i686-pc-linux-gnu-gcc -march=i686 -O2 -pipe -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_ALLOW_XTHREAD_CONNECT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_COLUMN_METADATA -Wl,-O1 -DHAVE_READLINE=1 -I/usr/include/readline \
-o sqlite3 ./src/shell.c libsqlite3.la \
-lpthread -rpath "/usr/lib"
libtool: link: i686-pc-linux-gnu-gcc -march=i686 -O2 -pipe -mmmx -msse -msse2 -msse3 -fomit-frame-pointer -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -DSQLITE_ALLOW_XTHREAD_CONNECT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_COLUMN_METADATA -Wl,-O1 -DHAVE_READLINE=1 -I/usr/include/readline -o .libs/sqlite3 ./src/shell.c ./.libs/libsqlite3.so -lpthread -Wl,-rpath -Wl,/usr/lib
/var/tmp/portage/dev-db/sqlite-3.6.16/temp/ccfvgRHf.o: In function `process_input':
shell.c:(.text+0x4c60): undefined reference to `readline'
shell.c:(.text+0x5061): undefined reference to `add_history'
/var/tmp/portage/dev-db/sqlite-3.6.16/temp/ccfvgRHf.o: In function `main':
shell.c:(.text+0x578a): undefined reference to `read_history'
shell.c:(.text+0x57a3): undefined reference to `stifle_history'
shell.c:(.text+0x57ab): undefined reference to `write_history'
collect2: ld returned 1 exit status
make: *** [sqlite3] Error 1
Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.28-gentoo-r3 i 686) ================================================================= System uname: Linux-2.6.28-gentoo-r3-i686-VIA_C7-D_Processor_1500MHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 30 Jun 2009 20:00:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -pipe -mmmx -msse -msse2 -msse3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr /share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/font s.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /et c/udev/rules.d" CXXFLAGS="-march=i686 -O2 -pipe -mmmx -msse -msse2 -msse3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo http://distfiles.g entoo.org" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_US en" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force -- whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude= /packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa berkdb bzip2 cairo cddb cups dbus dri dts dvd dvdread exif flac f ontconfig fortran gdbm gif gimp gnutls gphoto2 hal iconv imlib jpeg jpeg2k kde lame lcms l ibsamplerate mad matroska mime mmx motif mozilla mp3 mplayer ncurses nls nptl nptlonly nsp lugin ogg opengl openmp pam pcre pdf perl png ppds python qt3 quicktime readline sdl sessi on sndfile spell sse sse2 sse3 ssl ssse3 svg sysfs tiff truetype unicode vorbis x86 xml xo rg xulrunner xv zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dsh are dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mul aw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_g roupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir u sertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL=" linux" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="via" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRE SS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Please attach the build.log file of the failed emerge to this bug. Created attachment 196542 [details]
sqlite-3.6.16 build.log
Does the package compile if you reduce your C(XX)FLAGS to "-march=i686 -O2 -pipe"? (In reply to comment #5) > Does the package compile if you reduce your C(XX)FLAGS to "-march=i686 -O2 > -pipe"? No, it does not. I also tried turning off threadsafe USE flag. I have sqlite-3.6.14.2 installed. Tried to re-install it and it fails with very same error. So it obviously has to do with some other package I've upgraded during routine emerge -auvND @world. Try to reinstall sys-libs/readline. (In reply to comment #8) > Try to reinstall sys-libs/readline. Well, readline didn't build either. So I rebuilt ncurses. After this readline built well, and sqlite builds fine, too. :) Thanks, sorry for false alarm. (In reply to comment #8) > Try to reinstall sys-libs/readline. Well, readline didn't build either. So I rebuilt ncurses. After this readline built well, and sqlite builds fine, too. :) Thanks, sorry for false alarm. |