[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#623484: marked as done (dpkg-cross doesn't detect libs not directly under /usr/lib)

Your message dated Sun, 17 Jul 2011 16:07:06 +0100
with message-id <20110717160706.e83216b47708276340aed990@debian.org>
and subject line no information forthcoming
has caused the Debian Bug report #623484,
regarding dpkg-cross doesn't detect libs not directly under /usr/lib
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

623484: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623484
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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.

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:
#  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]   Debian configuration management sy
ii  dpkg-dev              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

--- End Message ---
--- Begin Message ---
Closing this bug in the absence of any information about whether the
files in question are related to a failure to cross build. It sounds a
lot more like a confusion with runtime requirements.

> I'm trying to repackage this for use on
> an i686 machine.

Libraries in sub-directories of [/usr]/lib are not relevant to package
builds and are not scanned for linkages, so are not useful for
dpkg-cross which is for build-time linkage - not runtime / plugins.


Neil Williams

Attachment: pgpihWZgBMuJ4.pgp
Description: PGP signature

--- End Message ---

Reply to: