tokyotyrant version 1.1.40-4 failed to build on i386

Bug #756048 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tokyotyrant (Debian)
Fix Released
Unknown
tokyotyrant (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

tokyotyrant version 1.1.40-4 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2412007

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2412007/+files/buildlog_ubuntu-natty-i386.tokyotyrant_1.1.40-4_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 969 lines into the build log:

gcc -g -O2 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O2 -pipe -shared -o ttskelproxy.so ttskelproxy.o -Wl,-Bsymbolic-functions -L. -L/usr/lib -L/usr/local/lib -L/usr/include/lua5.1 -L/usr/local/include/lua5.1 -L/usr/include/lua -L/usr/local/include/lua -llua5.1 -ltokyocabinet -lrt -lpthread -lm -lc
gcc -c -I. -I/usr/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -I/usr/include/lua5.1 -I/usr/local/include/lua5.1 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -D_TT_PREFIX="\"/usr\"" -D_TT_INCLUDEDIR="\"/usr/include\"" -D_TT_LIBDIR="\"/usr/lib\"" -D_TT_BINDIR="\"/usr/bin\"" -D_TT_LIBEXECDIR="\"/usr/lib/tokyotyrant\"" -D_TT_APPINC="\"-I/usr/include\"" -D_TT_APPLIBS="\"-L/usr/lib -ltokyotyrant -llua5.1 -ltokyocabinet -lrt -lpthread -lm -lc \"" -g -O2 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O2 -pipe ttskelnull.c
gcc -g -O2 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O2 -pipe -shared -o ttskelnull.so ttskelnull.o -Wl,-Bsymbolic-functions -L. -L/usr/lib -L/usr/local/lib -L/usr/include/lua5.1 -L/usr/local/include/lua5.1 -L/usr/include/lua -L/usr/local/include/lua -llua5.1 -ltokyocabinet -lrt -lpthread -lm -lc
gcc -c -I. -I/usr/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -I/usr/include/lua5.1 -I/usr/local/include/lua5.1 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -D_TT_PREFIX="\"/usr\"" -D_TT_INCLUDEDIR="\"/usr/include\"" -D_TT_LIBDIR="\"/usr/lib\"" -D_TT_BINDIR="\"/usr/bin\"" -D_TT_LIBEXECDIR="\"/usr/lib/tokyotyrant\"" -D_TT_APPINC="\"-I/usr/include\"" -D_TT_APPLIBS="\"-L/usr/lib -ltokyotyrant -llua5.1 -ltokyocabinet -lrt -lpthread -lm -lc \"" -g -O2 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O2 -pipe ttserver.c
gcc -c -I. -I/usr/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -UNDEBUG -I/usr/include/lua5.1 -I/usr/local/include/lua5.1 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -D_TT_PREFIX="\"/usr\"" -D_TT_INCLUDEDIR="\"/usr/include\"" -D_TT_LIBDIR="\"/usr/lib\"" -D_TT_BINDIR="\"/usr/bin\"" -D_TT_LIBEXECDIR="\"/usr/lib/tokyotyrant\"" -D_TT_APPINC="\"-I/usr/include\"" -D_TT_APPLIBS="\"-L/usr/lib -ltokyotyrant -llua5.1 -ltokyocabinet -lrt -lpthread -lm -lc \"" -g -O2 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O2 -pipe scrext.c
gcc -g -O2 -std=c99 -Wall -fPIC -pedantic -fsigned-char -g -O2 -pipe -o ttserver ttserver.o scrext.o -Wl,-Bsymbolic-functions -L. -L/usr/lib -L/usr/local/lib -L/usr/include/lua5.1 -L/usr/local/include/lua5.1 -L/usr/include/lua -L/usr/local/include/lua -ltokyotyrant
/usr/bin/ld: scrext.o: undefined reference to symbol 'lua_rawgeti'
/usr/bin/ld: note: 'lua_rawgeti' is defined in DSO /usr/lib/liblua5.1.so.0 so try adding it to the linker command line
/usr/lib/liblua5.1.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [ttserver] Error 1
make[1]: Leaving directory `/build/buildd/tokyotyrant-1.1.40'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110408-1804
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/tokyotyrant-1.1.40

Matthias Klose (doko)
Changed in tokyotyrant (Ubuntu):
importance: Undecided → High
tags: added: oneiric
Changed in tokyotyrant (Ubuntu):
milestone: none → oneiric-alpha-1
Changed in tokyotyrant (Ubuntu Oneiric):
milestone: oneiric-alpha-1 → oneiric-alpha-2
Changed in tokyotyrant (Debian):
status: Unknown → New
Changed in tokyotyrant (Ubuntu Oneiric):
milestone: oneiric-alpha-2 → none
status: New → Confirmed
tags: added: universe
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tokyotyrant - 1.1.40-4ubuntu1

---------------
tokyotyrant (1.1.40-4ubuntu1) oneiric; urgency=low

  * debian/patches/006-no-add-needed: (LP: #756048) (Closes: #615787)
    Add all libraries needed to linker commandline, fixes FTBFS
 -- Andreas Moog <email address hidden> Sat, 09 Jul 2011 21:54:52 +0200

Changed in tokyotyrant (Ubuntu Oneiric):
status: Confirmed → Fix Released
Changed in tokyotyrant (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.