empty-expect version 0.6.18b-2 failed to build on amd64 with GCC-4.6/oneiric

Bug #770753 reported by Matthias Klose on 2011-04-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
empty-expect (Debian)
Fix Released
empty-expect (Ubuntu)

Bug Description

empty-expect version 0.6.18b-2 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2449361

Details about the rebuild:

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2449361/+files/buildlog_ubuntu-natty-amd64.empty-expect_0.6.18b-2_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:

empty.c: In function 'pidbyppid':
empty.c:708:9: warning: array subscript is above array bounds [-Warray-bounds]
In file included from /usr/include/string.h:642:0,
                 from empty.c:98:
In function 'strncat',
    inlined from 'main' at empty.c:606:11:
/usr/include/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
/tmp/ccllwaRu.o: In function `main':
/build/buildd/empty-expect-0.6.18b/empty.c:521: undefined reference to `openpty'
/build/buildd/empty-expect-0.6.18b/empty.c:563: undefined reference to `login_tty'
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/build/buildd/empty-expect-0.6.18b'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build finished at 20110422-1028
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/empty-expect-0.6.18b

Related branches

Matthias Klose (doko) on 2011-04-26
Changed in empty-expect (Ubuntu):
importance: Undecided → High
Changed in empty-expect (Ubuntu):
milestone: none → oneiric-alpha-3
Changed in empty-expect (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
status: New → Confirmed
tags: added: universe
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package empty-expect - 0.6.18b-3ubuntu1

empty-expect (0.6.18b-3ubuntu1) oneiric; urgency=low

  * Update 03_makefile.diff to place libs in the correct place. Fixes
    FTBFS. (LP: #770753)

empty-expect (0.6.18b-3) unstable; urgency=low

  * Switch to dpkg-source 3.0 (quilt) format.
  * debian/rules: Added CFLAGS=-g to avoid -O2. Closes: #611912.
  * debian/patches/03_makefile.diff: Set PREFIX to $(DESTDIR)/usr, don't use
    the "install" rule, and fix the clean rule (rm -f ...).
  * debian/patches/04_bufsiz.diff: Added. Fixes "warning: array subscript is
    above array bounds".
 -- Daniel T Chen <email address hidden> Tue, 13 Sep 2011 17:31:25 -0400

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

Other bug subscribers

Remote bug watches

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