db1-compat version 2.1.3-13 failed to build on i386

Bug #749094 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
db1-compat (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

db1-compat version 2.1.3-13 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2390753

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2390753/+files/buildlog_ubuntu-natty-i386.db1-compat_2.1.3-13_FAILEDTOBUILD.txt.gz

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

cc -I. -D_REENTRANT -D__DBINTERFACE_PRIVATE -DUSE_LIBDB1 -D_GNU_SOURCE -g -O2 -c -fPIC -o hash_page.os hash/hash_page.c
hash/hash_page.c: In function 'overflow_page':
hash/hash_page.c:715:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result
hash/hash_page.c:728:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result
hash/hash_page.c:752:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result
cc -I. -D_REENTRANT -D__DBINTERFACE_PRIVATE -DUSE_LIBDB1 -D_GNU_SOURCE -g -O2 -c -fPIC -o ndbm.os hash/ndbm.c
cc -I. -D_REENTRANT -D__DBINTERFACE_PRIVATE -DUSE_LIBDB1 -D_GNU_SOURCE -g -O2 -c -fPIC -o mpool.os mpool/mpool.c
cc -I. -D_REENTRANT -D__DBINTERFACE_PRIVATE -DUSE_LIBDB1 -D_GNU_SOURCE -g -O2 -c -fPIC -o rec_close.os recno/rec_close.c
cc -I. -D_REENTRANT -D__DBINTERFACE_PRIVATE -DUSE_LIBDB1 -D_GNU_SOURCE -g -O2 -c -fPIC -o rec_delete.os recno/rec_delete.c
cc -I. -D_REENTRANT -D__DBINTERFACE_PRIVATE -DUSE_LIBDB1 -D_GNU_SOURCE -g -O2 -c -fPIC -o rec_get.os recno/rec_get.c
cc -I. -D_REENTRANT -D__DBINTERFACE_PRIVATE -DUSE_LIBDB1 -D_GNU_SOURCE -g -O2 -c -fPIC -o rec_open.os recno/rec_open.c
cc -I. -D_REENTRANT -D__DBINTERFACE_PRIVATE -DUSE_LIBDB1 -D_GNU_SOURCE -g -O2 -c -fPIC -o rec_put.os recno/rec_put.c
cc -I. -D_REENTRANT -D__DBINTERFACE_PRIVATE -DUSE_LIBDB1 -D_GNU_SOURCE -g -O2 -c -fPIC -o rec_search.os recno/rec_search.c
cc -I. -D_REENTRANT -D__DBINTERFACE_PRIVATE -DUSE_LIBDB1 -D_GNU_SOURCE -g -O2 -c -fPIC -o rec_seq.os recno/rec_seq.c
cc -I. -D_REENTRANT -D__DBINTERFACE_PRIVATE -DUSE_LIBDB1 -D_GNU_SOURCE -g -O2 -c -fPIC -o rec_utils.os recno/rec_utils.c
cc -Wl,-O1 -Wl,--version-script=Versions -Wl,-z,combreloc \
       -Wl,-soname=libdb.so.2 \
       -shared -o libdb1.so.2 bt_close.os bt_conv.os bt_debug.os bt_delete.os bt_get.os bt_open.os bt_overflow.os bt_page.os bt_put.os bt_search.os bt_seq.os bt_split.os bt_utils.os db.os hash.os hash_bigkey.os hash_buf.os hash_func.os hash_log2.os hash_page.os ndbm.os mpool.os rec_close.os rec_delete.os rec_get.os rec_open.os rec_put.os rec_search.os rec_seq.os rec_utils.os /usr/lib/libc.so
cc: /usr/lib/libc.so: No such file or directory
make[2]: *** [libdb1.so.2] Error 1
make[2]: Leaving directory `/build/buildd/db1-compat-2.1.3'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/buildd/db1-compat-2.1.3'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110403-1059
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/db1-compat-2.1.3

Steve Langasek (vorlon)
Changed in db1-compat (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
tags: added: multiarch
Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in db1-compat 2.1.3-14 in unstable; I'll sync that once it's propagated to mirrors.

Changed in db1-compat (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package db1-compat - 2.1.3-14

---------------
db1-compat (2.1.3-14) unstable; urgency=low

  * Link with -lc rather than /usr/lib/libc.so, fixing build failure on
    multiarch systems (LP: #749094).
 -- Colin Watson <email address hidden> Tue, 05 Apr 2011 08:46:33 +0000

Changed in db1-compat (Ubuntu):
status: Triaged → 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.