Debian Bug report logs - #626222
dpkg-cross: does not honour -convert-anyway flag

Package: dpkg-cross; Maintainer for dpkg-cross is Debian Embedded Group <debian-embedded@lists.debian.org>; Source for dpkg-cross is src:dpkg-cross.

Reported by: Hector Oron <zumbi@debian.org>

Date: Tue, 10 May 2011 01:45:01 UTC

Severity: important

Done: Neil Williams <codehelp@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Embedded Group <debian-embedded@lists.debian.org>:
Bug#626222; Package dpkg-cross. (Tue, 10 May 2011 01:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hector Oron <zumbi@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Embedded Group <debian-embedded@lists.debian.org>. (Tue, 10 May 2011 01:45:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Hector Oron <zumbi@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg-cross: does not honour -convert-anyway flag
Date: Tue, 10 May 2011 03:43:06 +0200
Package: dpkg-cross
Version: 2.6.3
Severity: important

Hi,

  Since 2.6.3 version, dpkg-cross does not convert anyway packages:
  dpkg-cross -A -a armel -b libc-dev-bin_2.13-2_armel.deb
  dpkg-cross: Skipping Multi-Arch package 'libc-dev-bin_2.13-2_armel.deb'.

  On 2.6.2, used to do:
  dpkg-cross -A -a armel -b libc-dev-bin_2.13-2_armel.deb
  Building libc-dev-bin-armel-cross_2.13-2_all.deb
  dpkg-deb: building package `libc-dev-bin-armel-cross' in `./libc-dev-bin-armel-cross_2.13-2_all.deb'.

  That causes breakeage when building toolchains and I suspect it breaks xapt and other software.

Best regards,
  -- Héctor Orón

-- Package-specific info:

-- (/etc/dpkg-cross/cross-compile not submitted) --


-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-1-686 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg-cross depends on:
ii  cdebconf [debconf-2.0]    0.153+squeeze2 Debian Configuration Management Sy
ii  debconf [debconf-2.0]     1.5.38         Debian configuration management sy
ii  dpkg-dev                  1.16.0.2       Debian package development tools
ii  libconfig-auto-perl       0.34-1         magical config file parser
ii  libdebian-dpkgcross-perl  2.6.2          functions to aid cross-compiling D
ii  perl                      5.10.1-18      Larry Wall's Practical Extraction 

Versions of packages dpkg-cross recommends:
ii  fakeroot                      1.14.5-1   Gives a fake root environment

Versions of packages dpkg-cross suggests:
pn  binutils-multiarch            <none>     (no description available)

-- debconf information excluded




Bug No longer marked as found in versions dpkg-cross/2.6.3. Request was from Neil Williams <codehelp@debian.org> to control@bugs.debian.org. (Tue, 10 May 2011 07:42:18 GMT) Full text and rfc822 format available.

Reply sent to Neil Williams <codehelp@debian.org>:
You have taken responsibility. (Tue, 10 May 2011 07:42:21 GMT) Full text and rfc822 format available.

Notification sent to Hector Oron <zumbi@debian.org>:
Bug acknowledged by developer. (Tue, 10 May 2011 07:42:21 GMT) Full text and rfc822 format available.

Message #12 received at 626222-done@bugs.debian.org (full text, mbox):

From: Neil Williams <codehelp@debian.org>
To: Hector Oron <zumbi@debian.org>, 626222-done@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#626222: dpkg-cross: does not honour -convert-anyway flag
Date: Tue, 10 May 2011 08:40:52 +0100
[Message part 1 (text/plain, inline)]
notfound 626222 2.6.3
quit

On Tue, 10 May 2011 03:43:06 +0200
Hector Oron <zumbi@debian.org> wrote:

> Package: dpkg-cross
> Version: 2.6.3
> Severity: important
> 
> Hi,
> 
>   Since 2.6.3 version, dpkg-cross does not convert anyway packages:
>   dpkg-cross -A -a armel -b libc-dev-bin_2.13-2_armel.deb
>   dpkg-cross: Skipping Multi-Arch package 'libc-dev-bin_2.13-2_armel.deb'.

This is a Multi-Arch package, therefore if you want this processed,
pass the Multi-Arch flag: -M

See dpkg-cross (1)

Multiarch behaviour
       By default <dpkg-cross> does nothing with packages from Debian
which already support Multi-Arch - the package is simply copied to the
current work directory, if it does not already exist. Any package
containing a Multi-Arch: field in DEBIAN/control is skipped in this
manner.

       --convert-multiarch can be specified to instead force the
generation of a -<arch>-cross package with the files moved into the
conventional dpkg-cross locations.

       The Multiarch spec ensures that multiarch packages will only be
available from Debian mirrors once dpkg itself is capable of installing
the packages and installing a Multiarch package means being able to
install a 32bit multiarch package alongside a 64bit multiarch package.
Installing an armel multiarch package alongside an x86 multiarch
package is no different to 32bit vs 64bit. (What changes is how the
multiarch package itself handles the header files and pkg-config files.)


>   That causes breakeage when building toolchains and I suspect it breaks xapt and other software.

xapt has been explicitly modified to support this behaviour because the
behaviour is transitional - once a particular subset of packages are
properly Multi-Arch aware, builds can stop using this option.

http://packages.debian.org/changelogs/pool/main/e/emdebian-crush/current/changelog#version2.2.16

The switch exists in xapt  since 2.2.14 - I'll add documentation of the
switch similar to the docs for dpkg-cross.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 08 Jun 2011 07:34:48 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 10:09:05 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.