Your message dated Sun, 4 Aug 2019 16:52:16 +0200
with message-id <[email protected]>
and subject line Re: Bug#933863: dpkg-buildpackage: building i386 packages on 
amd64 Debian Buster always fails
has caused the Debian Bug report #933863,
regarding dpkg-buildpackage: building i386 packages on amd64 Debian Buster 
always fails
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 [email protected]
immediately.)


-- 
933863: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933863
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg-dev
Version: 1.19.7
Severity: important

Dear Maintainer,

Today I found that building i386 packages on amd64 Debian Buster systems with
multiarch support installed doesn't work. Everytime I've tried to build such a
package from source with "dpkg-buildpackage -us -uc -ai386" it has failed with
this error:

  Can't exec "i686-linux-gnu-strip": No such file or directory at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 475.

I have been able to reproduce this with the packages tar and steam from the
Debian Buster repositories. I've also found this issue when trying to rebuild
the steam-modeswitch-inhibitor package from SteamOS for Debian Buster.

I've tested this on both my system directly and in docker, but the result was
the same on both.

I tried installing the binutils-multiarch package, since that package contains
a binary called i686-linux-gnu-strip in it, but nothing changed.

Before upgrading from Debian Stretch I had no issue with building i386 packages
on the same system.

If additional information is needed to troubleshoot the issue, feel free to
contact me. I hope the report is clear and helps you guys out.

Kind regards,
Wouter Wijsman




-- Package-specific info:
System tainted due to merged-usr-via-symlinks.

-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dpkg-dev depends on:
ii  binutils      2.31.1-16
ii  bzip2         1.0.6-9.1
ii  libdpkg-perl  1.19.7
ii  make          4.2.1-1.2
ii  patch         2.7.6-3+deb10u1
ii  perl          5.28.1-6
ii  tar           1.30+dfsg-6
ii  xz-utils      5.2.4-1

Versions of packages dpkg-dev recommends:
ii  build-essential          12.6
ii  clang-7 [c-compiler]     1:7.0.1-8
ii  fakeroot                 1.23-1
ii  gcc                      4:8.3.0-1
ii  gcc-8 [c-compiler]       8.3.0-6
ii  gnupg                    2.2.12-1
ii  gpgv                     2.2.12-1
ii  libalgorithm-merge-perl  0.08-3

Versions of packages dpkg-dev suggests:
ii  debian-keyring  2019.02.25

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi!

On Sun, 2019-08-04 at 16:06:00 +0200, Wouter Wijsman wrote:
> Package: dpkg-dev
> Version: 1.19.7
> Severity: important

> Today I found that building i386 packages on amd64 Debian Buster systems with
> multiarch support installed doesn't work. Everytime I've tried to build such a
> package from source with "dpkg-buildpackage -us -uc -ai386" it has failed with
> this error:
> 
>   Can't exec "i686-linux-gnu-strip": No such file or directory at
> /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 475.
> 
> I have been able to reproduce this with the packages tar and steam from the
> Debian Buster repositories. I've also found this issue when trying to rebuild
> the steam-modeswitch-inhibitor package from SteamOS for Debian Buster.
> 
> I've tested this on both my system directly and in docker, but the result was
> the same on both.
> 
> I tried installing the binutils-multiarch package, since that package contains
> a binary called i686-linux-gnu-strip in it, but nothing changed.
> 
> Before upgrading from Debian Stretch I had no issue with building i386 
> packages
> on the same system.

I've just tried and it works fine starting from a clean buster chroot.
I guess you might have missed some of the following steps:

  $ dpkg --add-architecture i386
  $ apt update
  $ sudo apt install crossbuild-essential-i386
  $ apt source tar
  $ cd tar-*/
  $ sudo apt build-dep -a i386 .
  $ dpkg-buildpackage -us -uc -a i386

I'm thus closing this report.

Thanks,
Guillem

--- End Message ---

Reply via email to