Bug#623484: dpkg-cross doesn't detect libs not directly under /usr/lib
Package: dpkg-cross
Version: 2.5.8
Severity: normal
Certain packages have libraries that exist in a subdirectory under /usr/lib.
dpkg-cross fails to detect these as valid libs to include. A specific example
is libaxis2c0_1.6.0-1_amd64.deb. I'm trying to repackage this for use on
an i686 machine. This package supplies a set of shared
objects under /usr/lib/axis2/lib. However, running dpkg-cross against this
package results in "package libaxis2c0 doesn't provide any useful files.
Skipping."
Perhaps dpkg-cross should either be able to find libraries in subdirectories
of /usr/lib, or the user could supply additional paths to look for libs?
-- Package-specific info:
-- /etc/dpkg-cross/cross-compile --
#
# /etc/dpkg-cross/cross-compile: configuration for dpkg-cross
#
# default architecture for dpkg-cross (to avoid always typing the -a option
# if you do cross installations only for one architecture)
# Note: default_arch is managed by debconf - it can be overridden
# if ~/.dpkg-cross/cross-compile exists or by specifying an
# architecture on the command line.
# Use '[sudo] dpkg-reconfigure dpkg-cross' to change this value.
#default_arch =
# All subsequent variables may be removed (and/or become
# unsupported) at any time.
#
# general section: paths of cross compiling environment
#
# you can set the following variables here:
# crossprefix: prefix for cross compiling binaries; default:
$(DEB_HOST_GNU_SYSTEM)-
# crossbase : base prefix for the following; default: /usr
# crossdir : base directory for architecture; default:
# $(CROSSBASE)/$(DEB_HOST_GNU_TYPE)
# crossbin : dir for binaries; default: $(CROSSDIR)/bin
# crosslib : dir for libraries; default: $(CROSSDIR)/lib
# crossinc : dir for headers; default: $(CROSSDIR)/include
# maintainer : maintainer name to pass to original dpkg-buildpackage
# in -m option. If not set at all, don't pass a -m, thus
# dpkg-buildpackage will use the name from the changelog
# file. If set to the special string CURRENTUSER,
# dpkg-buildpackage will use the name from the
# changelog, too, but signing the .changes will be done
# as the current user (default key).
# removedeps : comma-separated list of package names that should be removed
# from depends/conflicts/etc fields
# keepdeps : comma-separated list of package names that should be kept
# in depends/conflicts/etc fields as is, without adding
# -arch-cross.
#
# In preparation for merging dpkg-cross into dpkg, the previous
# defaults have been removed.
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages dpkg-cross depends on:
ii binutils-multiarch 2.20.1-16 Binary utilities that support mult
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii dpkg-dev 1.15.8.10 Debian package development tools
ii libconfig-auto-perl 0.20-2 Magical config file parser
ii libdebian-dpkgcross-perl 2.5.8 functions to aid cross-compiling D
ii perl 5.10.1-17 Larry Wall's Practical Extraction
Versions of packages dpkg-cross recommends:
ii fakeroot 1.14.4-1 Gives a fake root environment
dpkg-cross suggests no packages.
-- debconf information:
dpkg-cross/default-arch: None
Reply to: