shadow fails to cross-build

Bug #873025 reported by Wookey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shadow (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

shadow fails to cross-build due to failing to find libpam

checking for pam_start in -lpam... no
configure: error: libpam not found
make: *** [debian/stamp-autotools] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

However, libpam0g and -dev cross-packages are installed:
dpkg-cross -a armel -A -M -b -X multiarch-support -X debconf -X debconf-2.0 -X libpam0g-util libpam0g_1.1.2-2ubuntu8_armel.deb libpam0g-dev_1.1.2-2ubuntu8_armel.deb
Building libpam0g-dev-armel-cross_1.1.2-2ubuntu8_all.deb
dpkg-deb: building package `libpam0g-dev-armel-cross' in `./libpam0g-dev-armel-cross_1.1.2-2ubuntu8_all.deb'.
dpkg-cross: Multi-Arch package detected; processing anyway as --convert-mulitarch specified.
Building libpam0g-armel-cross_1.1.2-2ubuntu8_all.deb
dpkg-deb: building package `libpam0g-armel-cross' in `./libpam0g-armel-cross_1.1.2-2ubuntu8_all.deb'.

sudo apt-get -y --allow-unauthenticated -o Dir::State::Lists=/home/wookey/testing/build/build/xdeb/lists.apt -o Dir::Cache::pkgcache=/home/wookey/testing/build/build/xdeb/pkgcache.bin -o Dir::Cache::srcpkgcache=/home/wookey/testing/build/build/xdeb/srcpkgcache.bin -o Dir::Etc::sourcelist=/home/wookey/testing/build/build/xdeb/sources.list --no-install-recommends install libpam0g-dev-armel-cross libselinux1-dev-armel-cross

But for some reason that's not sufficient.

Tags: cross natty
Revision history for this message
Wookey (wookey) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

shadow still seems to fail to cross-build without help in Debian unstable,

configure:14926: checking for DocBook XSL Stylesheets >= 1.70.1 in XML catalog
configure:14929: $XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" >&2
file:/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl
configure:14932: $? = 0
configure:14934: result: found
configure:14956: error: cannot run test program while cross compiling

This appears to be a bug in the subuid support that's new upstream.

Changed in shadow (Ubuntu):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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