mdadm version 3.1.4-1+8efb9d1ubuntu5 failed to build in oneiric

Bug #829463 reported by Matthias Klose on 2011-08-19
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mdadm (Debian)
Fix Released
Unknown
mdadm (Ubuntu)
High
Unassigned
Oneiric
High
Unassigned

Bug Description

mdadm version 3.1.4-1+8efb9d1ubuntu5 failed to build in oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2704931

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/2704931/+files/buildlog_ubuntu-oneiric-i386.mdadm_3.1.4-1%2B8efb9d1ubuntu5_FAILEDTOBUILD.txt.gz

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

make[1]: Entering directory `/build/buildd/mdadm-3.1.4'
dh_testdir
/usr/bin/make CXFLAGS="-ggdb -Wno-strict-aliasing -fomit-frame-pointer -Os" CONFFILE=/tmp/mdadm.conf all
make[2]: Entering directory `/build/buildd/mdadm-3.1.4'
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -ggdb -Wno-strict-aliasing -fomit-frame-pointer -Os -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -DMAP_DIR=\"/dev/.mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/dev/.mdadm\" -DUSE_PTHREADS -DDEBIAN -c -o mdadm.o mdadm.c
mdadm.c: In function 'main':
mdadm.c:105:6: error: variable 'auto_update_home' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[2]: *** [mdadm.o] Error 1
make[2]: Leaving directory `/build/buildd/mdadm-3.1.4'
make[1]: *** [mdadm.udeb] Error 2
make[1]: Leaving directory `/build/buildd/mdadm-3.1.4'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110818-0223
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/mdadm-3.1.4

Matthias Klose (doko) on 2011-08-19
Changed in mdadm (Ubuntu):
milestone: none → ubuntu-11.10-beta-1
Matthias Klose (doko) on 2011-08-19
Changed in mdadm (Ubuntu):
status: New → Invalid
Matthias Klose (doko) on 2011-08-19
Changed in mdadm (Ubuntu Oneiric):
status: Invalid → Confirmed
importance: Undecided → High
Stefan Lesicnik (stefanlsd) wrote :

Made a patch from upstream (attached) but its breaking with other functions in Grow.c . Debian has a patch to remove the variables but i'm not sure on the consequences. I suggest we wait for Debian to decide.

Changed in mdadm (Debian):
status: Unknown → Confirmed
tags: added: patch
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mdadm - 3.1.4-1+8efb9d1ubuntu6

---------------
mdadm (3.1.4-1+8efb9d1ubuntu6) oneiric; urgency=low

  * d/initramfs/mdadm-functions: Record in /run when boot-degraded
    question has been asked so that it is only asked once (LP: #820111)
  * d/control: add dependency on initscripts >= 2.88dsf-13.3 to ensure
    /run exists per http://wiki.debian.org/ReleaseGoals/RunDirectory
  * d/rules: fix FTBFS by adding -Wno-unused-but-set-variable to
    compiler flags until upstream solves the issue. (LP: #829463)
 -- Clint Byrum <email address hidden> Wed, 24 Aug 2011 08:40:12 -0700

Changed in mdadm (Ubuntu Oneiric):
status: Confirmed → Fix Released
Changed in mdadm (Debian):
status: Confirmed → Fix Committed
Changed in mdadm (Debian):
status: Fix Committed → 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.