policycoreutils version 2.1.0-3ubuntu1 FTBFS on i386 in precise

Bug #935368 reported by Andreas Moog
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
policycoreutils (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
Unassigned

Bug Description

This is a semi-automatic report based on the latest archive rebuild results [1].
Apologies if it reaches you in error.

Excerpt from the buildlog:

cc -Wall -g -O2 -I/usr/include -DUSE_NLS -DLOCALEDIR="\"/usr/share/locale\"" -DPACKAGE="\"policycoreutils\"" -DUSE_PAM -DUSE_AUDIT -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -s -s open_init_pty.c -ldl -lutil -o open_init_pty
cc -Wall -g -O2 -I/usr/include -DUSE_NLS -DLOCALEDIR="\"/usr/share/locale\"" -DPACKAGE="\"policycoreutils\"" -DUSE_PAM -DUSE_AUDIT -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -s -s run_init.c -lselinux -L/usr/lib -lpam -lpam_misc -laudit -o run_init
make[3]: Leaving directory `/build/buildd/policycoreutils-2.1.0/run_init'
make[3]: Entering directory `/build/buildd/policycoreutils-2.1.0/sandbox'
cc -Wall -g -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -s -s -I/usr/include -DPACKAGE="\"policycoreutils\"" -D_FORTIFY_SOURCE=2 -c -o seunshare.o seunshare.c
seunshare.c: In function 'drop_capabilities':
seunshare.c:53:2: warning: implicit declaration of function 'setresuid' [-Wimplicit-function-declaration]
seunshare.c: In function 'main':
seunshare.c:227:4: warning: too many arguments for format [-Wformat-extra-args]
seunshare.c:233:4: warning: too many arguments for format [-Wformat-extra-args]
seunshare.c:242:9: warning: implicit declaration of function 'unshare' [-Wimplicit-function-declaration]
seunshare.c:242:21: error: 'CLONE_NEWNS' undeclared (first use in this function)
seunshare.c:242:21: note: each undeclared identifier is reported only once for each function it appears in
seunshare.c: In function 'seunshare_mount':
seunshare.c:154:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [seunshare.o] Error 1
make[3]: Leaving directory `/build/buildd/policycoreutils-2.1.0/sandbox'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/build/buildd/policycoreutils-2.1.0'
make[1]: *** [debian/stamp/build/policycoreutils] Error 2
make[1]: Leaving directory `/build/buildd/policycoreutils-2.1.0'
make: *** [debian/stamp/do-build-arch] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20120209-1633
FAILED [dpkg-buildpackage died]

The full buidlog can be found at https://launchpad.net/ubuntu/+archive/test-rebuild-20120201/+build/3166753/+files/buildlog_ubuntu-precise-i386.policycoreutils_2.1.0-3ubuntu1_FAILEDTOBUILD.txt.gz.

[1] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20120201-precise.html

Andreas Moog (ampelbein)
Changed in policycoreutils (Ubuntu):
importance: Undecided → High
Revision history for this message
Stefano Rivera (stefanor) wrote :

2.1.10-6 built fine in quantal

Changed in policycoreutils (Ubuntu):
status: New → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Andreas, or anyone else affected,

Accepted policycoreutils into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in policycoreutils (Ubuntu Precise):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Stéphane Graber (stgraber) wrote :

package built in -proposed, marking as verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package policycoreutils - 2.1.0-3ubuntu1.1

---------------
policycoreutils (2.1.0-3ubuntu1.1) precise-proposed; urgency=low

  * Fix FTBFS in precise: (LP: #935368)
    - Define _GNU_SOURCE earlier in seunshare.c
    - Update to multiarch path of libsepol.a
  * debian/policycoreutils.postrm:
    - Remove the rc.d links on purge (LP: #1005398)
 -- Jason Conti <email address hidden> Mon, 04 Jun 2012 12:09:07 -0400

Changed in policycoreutils (Ubuntu Precise):
status: Fix Committed → 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.