FTBFS in latest archive rebuild test

Bug #194455 reported by Adam Conrad
10
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Fix Released
High
Kees Cook
Hardy
Fix Released
High
Kees Cook
libselinux (Ubuntu)
Fix Released
High
Kees Cook
Hardy
Fix Released
High
Kees Cook
libsepol (Ubuntu)
Fix Released
High
Kees Cook
Hardy
Fix Released
High
Kees Cook

Bug Description

Binary package hint: dpkg

dpkg failed to build in the latest archive rebuild test:

/build/buildd/dpkg-1.14.16.6ubuntu3/build-tree/src/../../src/archives.c:632: undefined reference to `matchpathcon'
/build/buildd/dpkg-1.14.16.6ubuntu3/build-tree/src/../../src/archives.c:616: undefined reference to `is_selinux_enabled'
/build/buildd/dpkg-1.14.16.6ubuntu3/build-tree/src/../../src/archives.c:800: undefined reference to `setfscreatecon'
/build/buildd/dpkg-1.14.16.6ubuntu3/build-tree/src/../../src/archives.c:802: undefined reference to `freecon'
/build/buildd/dpkg-1.14.16.6ubuntu3/build-tree/src/../../src/archives.c:823: undefined reference to `setfscreatecon'
/build/buildd/dpkg-1.14.16.6ubuntu3/build-tree/src/../../src/archives.c:638: undefined reference to `setfscreatecon'
collect2: ld returned 1 exit status
make[3]: *** [dpkg] Error 1

A full build log can be found at: https://lists.ubuntu.com/archives/ubuntu-autotest/2008-February/018482.html

Adam Conrad (adconrad)
Changed in dpkg:
importance: Undecided → High
Revision history for this message
Steve Langasek (vorlon) wrote :

The root of this bug is the following error at configure time:

 checking for is_selinux_enabled in -lselinux... yes
 Package libselinux was not found in the pkg-config search path.
 Perhaps you should add the directory containing `libselinux.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'libselinux' found

This is a regression introduced by the merge of libselinux 2.0.55, which appears to no longer be shipping a .pc file in libselinux1-dev.

Changed in libselinux:
importance: Undecided → High
Revision history for this message
Kees Cook (kees) wrote :

I've found the missing patch Debian patches and verified that this fixes the dpkg build. Uploading shortly...

Changed in libselinux:
assignee: nobody → keescook
status: New → Fix Committed
Changed in libsepol:
assignee: nobody → keescook
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libsepol - 2.0.20-0ubuntu2

---------------
libsepol (2.0.20-0ubuntu2) hardy; urgency=low

  * src/libsepol.pc.in, src/Makefile, debian/libsepol1-dev.install:
    Re-add missing libsepol.pc file for dpkg builds (LP: #194455).
  * debian/sepol-utils.install: Re-add missing man pages.

 -- Kees Cook <email address hidden> Sun, 24 Feb 2008 00:27:05 -0800

Changed in libsepol:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libselinux - 2.0.55-0ubuntu3

---------------
libselinux (2.0.55-0ubuntu3) hardy; urgency=low

  * debian/rules: Adjust python doc symlinks.
  * src/libselinux.pc.in, src/Makefile, debian/libselinux1-dev.install:
    Re-add missing libselinux.pc file for dpkg builds (LP: #194455).

 -- Kees Cook <email address hidden> Sun, 24 Feb 2008 00:29:30 -0800

Changed in libselinux:
status: Fix Committed → Fix Released
Kees Cook (kees)
Changed in dpkg:
assignee: nobody → keescook
status: New → 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.