dependencies.sh message: fix Debian renamed packages
PATCH 1/1 dependencies.sh message: fix Debian renamed packages
Debian renamed the 32bit compatibility packages.
--- support/dependencies/dependencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
support/dependencies/dependencies.sh +2 -2
@@ -205,8 +205,8 @@ if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y $BR2_CONFIG ; then echo "Your Buildroot configuration uses pre-built tools for the x86 architecture," echo "but your build machine uses the x86-64 architecture without the 32 bits compatibility" echo "library." - echo "If you're running a Debian/Ubuntu distribution, install the libc6:i386," - echo "libstdc++6:i386, and zlib1g:i386 packages." + echo "If you're running a Debian/Ubuntu distribution, install the libc6-i386," + echo "lib32stdc++6, and lib32z1 packages." echo "For other distributions, refer to the documentation on how to install the 32 bits" echo "compatibility libraries." exit 1
Signature · 1 line
1.7.10.4
PATCH 1/1 dependencies.sh message: fix Debian renamed packages
Quoted 12 lines · Karoly Kasza
Debian renamed the 32bit compatibility packages.
Signed-off-by Karoly Kasza <[email protected]>--- support/dependencies/dependencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)support/dependencies/dependencies.sh +0
-0
support/dependencies/dependencies.sh if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y $BR2_CONFIG ; then · line 209
Quoted 7 lines
support/dependencies/dependencies.sh +2
-2@@ -205,8 +205,8 @@ if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y $BR2_CONFIG ; then echo "Your Buildroot configuration uses pre-built tools for the x86 architecture," echo "but your build machine uses the x86-64 architecture without the 32 bits compatibility" echo "library." - echo "If you're running a Debian/Ubuntu distribution, install the libc6:i386," - echo "libstdc++6:i386, and zlib1g:i386 packages." + echo "If you're running a Debian/Ubuntu distribution, install the libc6-i386," + echo "lib32stdc++6, and lib32z1 packages."
Are you sure? With e.g. a sourcery toolchain, I get (on a Debian sid):
bash 98826$ ldd host/opt/ext-toolchain/bin/i686-pc-linux-gnu-gcc
linux-gate.so.1 (0xf776e000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf76eb000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7540000)
/lib/ld-linux.so.2 (0xf776f000) /lib/i386-linux-gnu/* is part of the libc6:i386 package.
Regards,
Arnout
Quoted 4 lines
support/dependencies/dependencies.sh +0
-0echo "For other distributions, refer to the documentation on how to install the 32 bits" echo "compatibility libraries." exit 1
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/1 dependencies.sh message: fix Debian renamed packages
Hi,
Yes, I'm pretty sure. You can still use a multiarch apt after some setup, but normally it's easier to just install the 32bit things from the 64bit repos.
root at debian:~# cat /etc/debian_version
7.6
root at debian:~# uname -a
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u1 x86_64 GNU/Linux root at debian:~# apt-cache search libc6:i386
root at debian:~# apt-cache search libc6-i386
libc6-i386 - Embedded GNU C Library: 32-bit shared libraries for AMD64 root at debian:~# apt-get install libc6:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libc6
root at debian:~# apt-get install libc6-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6-i386 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
BR
Karoly
Quoted 48 lines · Arnout Vandecappelle
Review
Quoted 8 lines · Karoly Kasza
Debian renamed the 32bit compatibility packages.
Signed-off-by Karoly Kasza <[email protected]>--- support/dependencies/dependencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0
b/support/dependencies/dependencies.shsupport/dependencies/dependencies.sh if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y
Quoted 4 lines
index 255a07b..399bc06 100755
support/dependencies/dependencies.sh +0
-0@@ -205,8 +205,8 @@ if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y$BR2_CONFIG ; then
support/dependencies/dependencies.sh if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y · line 205
Quoted 1 line
support/dependencies/dependencies.sh +0
-0echo "Your Buildroot configuration uses pre-built toolsfor the x86 architecture,"
support/dependencies/dependencies.sh if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y · line 206
Quoted 1 line
support/dependencies/dependencies.sh +0
-0echo "but your build machine uses the x86-64 architecturewithout the 32 bits compatibility"
support/dependencies/dependencies.sh if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y · line 208
Quoted 2 lines
support/dependencies/dependencies.sh +0
-1echo "library." - echo "If you're running a Debian/Ubuntu distribution,install the libc6:i386,"
support/dependencies/dependencies.sh if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y · line 208
Quoted 2 lines
support/dependencies/dependencies.sh +1
-1- echo "libstdc++6:i386, and zlib1g:i386 packages." + echo "If you're running a Debian/Ubuntu distribution,install the libc6-i386,"
support/dependencies/dependencies.sh if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y $BR2_CONFIG ; then · line 209
Quoted 1 line
support/dependencies/dependencies.sh +1
-0+ echo "lib32stdc++6, and lib32z1 packages."Are you sure? With e.g. a sourcery toolchain, I get (on a Debian sid):
bash 98826$ ldd host/opt/ext-toolchain/bin/i686-pc-linux-gnu-gcc
linux-gate.so.1 (0xf776e000) libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf76eb000) libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7540000) /lib/ld-linux.so.2 (0xf776f000)
/lib/i386-linux-gnu/*is part of the libc6:i386 package.Regards,
Arnoutsupport/dependencies/dependencies.sh if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y · line 210
Quoted 1 line
support/dependencies/dependencies.sh +0
-0echo "For other distributions, refer to the documentationon how to install the 32 bits"
support/dependencies/dependencies.sh if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y $BR2_CONFIG ; then · line 212
Quoted 3 lines
support/dependencies/dependencies.sh +0
-0echo "compatibility libraries." exit 1
Quoted 8 lines
--
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140714/8d5bd563/attachment.html>
PATCH 1/1 dependencies.sh message: fix Debian renamed packages
Hi Karoly,
[Please don't top-post, but reply in-line.]
Quoted 4 lines · K?roly Kasza
Hi,
Yes, I'm pretty sure. You can still use a multiarch apt after some setup, but normally it's easier to just install the 32bit things from the 64bit repos.
OK, now I see. So I guess the multiarch version takes precedence when you have
both.
We should probably mention both options the, i.e.:
[snip]
Quoted 7 lines
support/dependencies/dependencies.sh if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y $BR2_CONFIG ; then · line 209
Quoted 7 lines
echo "Your Buildroot configuration uses pre-built tools for the x86 architecture," echo "but your build machine uses the x86-64 architecture without the 32 bits compatibility" echo "library."
support/dependencies/dependencies.sh +2
-2- echo "If you're running a Debian/Ubuntu distribution, install the libc6:i386," - echo "libstdc++6:i386, and zlib1g:i386 packages." + echo "If you're running a Debian/Ubuntu distribution, install the libc6-i386," + echo "lib32stdc++6, and lib32z1 packages."
echo "If you're running a Debian/Ubuntu distribution, install the libc6-386," echo "lib32stcd++6, and lib32z1 packages (or alternatively libc6:i386," echo "libstdc++6:i386, and zlib1g:i386)."
Regards,
Arnout
[snip]
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/1 dependencies.sh message: fix Debian renamed packages
Quoted 4 lines
[Please don't top-post, but reply in-line.]
[...]
Quoted 6 lines
OK, now I see. So I guess the multiarch version takes precedence when you
have
both.
I'm not sure about that, but I'm pretty sure that multiarch does not come by default, you have to set it up first.
Quoted 9 lines
We should probably mention both options the, i.e.:
echo "If you're running a Debian/Ubuntu distribution, install the libc6-386,"
echo "lib32stcd++6, and lib32z1 packages (or alternatively libc6:i386," echo "libstdc++6:i386, and zlib1g:i386)."
Agreed. Maybe mention that multiarch requires setting up, with "dpkg --add-architecture <arch>".
BR
Karoly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140715/6dd6d433/attachment.html>
PATCH 1/1 dependencies.sh message: fix Debian renamed packages
In reply to Karoly KaszaDear Karoly Kasza,
Quoted 6 lines · Karoly Kasza
Debian renamed the 32bit compatibility packages.
Signed-off-by Karoly Kasza <[email protected]>--- support/dependencies/dependencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
I've implemented Arnout's proposal and committed the patch.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com