* [Buildroot] [PATCH] dependencies.sh message: fix Debian renamed packages
@ 2014-07-10 10:36 Karoly Kasza
2014-07-11 5:39 ` Arnout Vandecappelle
2014-07-15 18:59 ` Thomas Petazzoni
0 siblings, 2 replies; 6+ messages in thread
From: Karoly Kasza @ 2014-07-10 10:36 UTC (permalink / raw)
To: buildroot
Debian renamed the 32bit compatibility packages.
Signed-off-by: Karoly Kasza <kaszak@gmail.com>
---
support/dependencies/dependencies.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
index 255a07b..399bc06 100755
--- a/support/dependencies/dependencies.sh
+++ b/support/dependencies/dependencies.sh
@@ -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
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] dependencies.sh message: fix Debian renamed packages
2014-07-10 10:36 [Buildroot] [PATCH] dependencies.sh message: fix Debian renamed packages Karoly Kasza
@ 2014-07-11 5:39 ` Arnout Vandecappelle
2014-07-14 10:21 ` Károly Kasza
2014-07-15 18:59 ` Thomas Petazzoni
1 sibling, 1 reply; 6+ messages in thread
From: Arnout Vandecappelle @ 2014-07-11 5:39 UTC (permalink / raw)
To: buildroot
On 10/07/14 12:36, Karoly Kasza wrote:
> Debian renamed the 32bit compatibility packages.
>
> Signed-off-by: Karoly Kasza <kaszak@gmail.com>
> ---
> support/dependencies/dependencies.sh | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh
> index 255a07b..399bc06 100755
> --- a/support/dependencies/dependencies.sh
> +++ b/support/dependencies/dependencies.sh
> @@ -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
> echo "For other distributions, refer to the documentation on how to install the 32 bits"
> echo "compatibility libraries."
> exit 1
>
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] dependencies.sh message: fix Debian renamed packages
2014-07-11 5:39 ` Arnout Vandecappelle
@ 2014-07-14 10:21 ` Károly Kasza
2014-07-14 16:15 ` Arnout Vandecappelle
0 siblings, 1 reply; 6+ messages in thread
From: Károly Kasza @ 2014-07-14 10:21 UTC (permalink / raw)
To: buildroot
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
On Fri, Jul 11, 2014 at 7:39 AM, Arnout Vandecappelle <arnout@mind.be>
wrote:
> On 10/07/14 12:36, Karoly Kasza wrote:
> > Debian renamed the 32bit compatibility packages.
> >
> > Signed-off-by: Karoly Kasza <kaszak@gmail.com>
> > ---
> > support/dependencies/dependencies.sh | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/support/dependencies/dependencies.sh
> b/support/dependencies/dependencies.sh
> > index 255a07b..399bc06 100755
> > --- a/support/dependencies/dependencies.sh
> > +++ b/support/dependencies/dependencies.sh
> > @@ -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
>
> > echo "For other distributions, refer to the documentation
> on how to install the 32 bits"
> > echo "compatibility libraries."
> > exit 1
> >
>
>
> --
> 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>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] dependencies.sh message: fix Debian renamed packages
2014-07-14 10:21 ` Károly Kasza
@ 2014-07-14 16:15 ` Arnout Vandecappelle
2014-07-15 8:07 ` Károly Kasza
0 siblings, 1 reply; 6+ messages in thread
From: Arnout Vandecappelle @ 2014-07-14 16:15 UTC (permalink / raw)
To: buildroot
Hi Karoly,
[Please don't top-post, but reply in-line.]
On 14/07/14 12:21, K?roly Kasza wrote:
> 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]
> > 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 "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]
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] dependencies.sh message: fix Debian renamed packages
2014-07-14 16:15 ` Arnout Vandecappelle
@ 2014-07-15 8:07 ` Károly Kasza
0 siblings, 0 replies; 6+ messages in thread
From: Károly Kasza @ 2014-07-15 8:07 UTC (permalink / raw)
To: buildroot
>
>
> [Please don't top-post, but reply in-line.]
>
[...]
>
>
> 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.
>
> 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>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] dependencies.sh message: fix Debian renamed packages
2014-07-10 10:36 [Buildroot] [PATCH] dependencies.sh message: fix Debian renamed packages Karoly Kasza
2014-07-11 5:39 ` Arnout Vandecappelle
@ 2014-07-15 18:59 ` Thomas Petazzoni
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2014-07-15 18:59 UTC (permalink / raw)
To: buildroot
Dear Karoly Kasza,
On Thu, 10 Jul 2014 12:36:57 +0200, Karoly Kasza wrote:
> Debian renamed the 32bit compatibility packages.
>
> Signed-off-by: Karoly Kasza <kaszak@gmail.com>
> ---
> support/dependencies/dependencies.sh | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
I've implemented Arnout's proposal and committed the patch.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-07-15 18:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-10 10:36 [Buildroot] [PATCH] dependencies.sh message: fix Debian renamed packages Karoly Kasza
2014-07-11 5:39 ` Arnout Vandecappelle
2014-07-14 10:21 ` Károly Kasza
2014-07-14 16:15 ` Arnout Vandecappelle
2014-07-15 8:07 ` Károly Kasza
2014-07-15 18:59 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox