memcached version 1.4.5-1ubuntu2 failed to build in oneiric

Bug #829468 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
memcached (Ubuntu)
Fix Released
High
Colin Watson
Oneiric
Fix Released
High
Colin Watson

Bug Description

memcached version 1.4.5-1ubuntu2 failed to build in oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2704995

Details about the rebuild:
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20110816-oneiric.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2704995/+files/buildlog_ubuntu-oneiric-i386.memcached_1.4.5-1ubuntu2_FAILEDTOBUILD.txt.gz

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

make[3]: Leaving directory `/build/buildd/memcached-1.4.5/doc'
make[3]: Entering directory `/build/buildd/memcached-1.4.5'
i686-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -Wall -g -O2 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-memcached.o -MD -MP -MF .deps/memcached-memcached.Tpo -c -o memcached-memcached.o `test -f 'memcached.c' || echo './'`memcached.c
memcached.c: In function 'main':
memcached.c:4630:13: error: variable 'udp_port' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[3]: *** [memcached-memcached.o] Error 1
make[3]: Leaving directory `/build/buildd/memcached-1.4.5'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/memcached-1.4.5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/memcached-1.4.5'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110818-0221
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/memcached-1.4.5

Related branches

Matthias Klose (doko)
Changed in memcached (Ubuntu):
milestone: none → ubuntu-11.10-beta-1
Matthias Klose (doko)
Changed in memcached (Ubuntu Oneiric):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Dave Walker (davewalker) wrote :

Untested patch which claims to resolve the issue as raised, however there may be additional issues.

tags: added: patch
Revision history for this message
Colin Watson (cjwatson) wrote :

There's already stuff in main() which sets each of settings.port and settings.udpport to the other if only one is specified. I think it's safer to just drop the dead code.

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

This bug was fixed in the package memcached - 1.4.5-1ubuntu3

---------------
memcached (1.4.5-1ubuntu3) oneiric; urgency=low

  * Fix build failure with GCC 4.6 (LP: #829468).
 -- Colin Watson <email address hidden> Mon, 22 Aug 2011 14:30:56 +0100

Changed in memcached (Ubuntu Oneiric):
status: Confirmed → 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.