Re: Breaking /emul/ia32-linux for squeeze

2009-05-08 Thread Goswin von Brederlow
Clint Adams sch...@debian.org writes: On Wed, Mar 11, 2009 at 10:10:13PM -0700, Steve Langasek wrote: But moving the 32-bit libs to /usr/lib32 does not make us standards-conformant on amd64, because the FHS (yuckily) standardized on storing the *32-bit* libs in /usr/lib on this architecture,

Re: Breaking /emul/ia32-linux for squeeze

2009-05-06 Thread Clint Adams
On Wed, Mar 11, 2009 at 10:10:13PM -0700, Steve Langasek wrote: But moving the 32-bit libs to /usr/lib32 does not make us standards-conformant on amd64, because the FHS (yuckily) standardized on storing the *32-bit* libs in /usr/lib on this architecture, with 64-bit libs in /usr/lib64. That

Re: Breaking /emul/ia32-linux for squeeze

2009-03-18 Thread Goswin von Brederlow
Hector Oron hector.o...@gmail.com writes: Hello Goswin et al, IMHO, the things you are talking about are quite nice. They way it works sounds to me a little complex, that it is very close to the idea of crosscompiling, as the *right way*, as opposed to accumulate dirty hacks and

Re: Breaking /emul/ia32-linux for squeeze

2009-03-17 Thread Raphael Hertzog
[ Just chiming in, but I have not read the whole thread. ] On Mon, 16 Mar 2009, Aurelien Jarno wrote: 3) Where should dpkg put maintainer scripts and package data? Suggestions: /var/lib/dpkg/info/i386/libc6.list /var/lib/dpkg/info/i386-libc6.list /var/lib/dpkg/info/libc6/i386.list

Re: Breaking /emul/ia32-linux for squeeze

2009-03-17 Thread Goswin von Brederlow
Aurelien Jarno aurel...@aurel32.net writes: On Mon, Mar 16, 2009 at 02:36:17PM +0100, Goswin von Brederlow wrote: Aurelien Jarno aurel...@aurel32.net writes: Goswin von Brederlow a écrit : Aurelien Jarno aurel...@aurel32.net writes: Note that apt-cross and ia32-apt-get can be used

Re: Breaking /emul/ia32-linux for squeeze

2009-03-17 Thread Goswin von Brederlow
Ian Campbell i...@hellion.org.uk writes: On Mon, 2009-03-16 at 14:36 +0100, Goswin von Brederlow wrote: Note that libc6 and libc6-i386/amd64 will neccessarily always conflict due to the dynamic linker Really? I thought the i386 dynamic linker was /lib/ld-linux.so.2 and the 64 bit one was

Re: Breaking /emul/ia32-linux for squeeze

2009-03-17 Thread Goswin von Brederlow
Stephen Gran sg...@debian.org writes: This one time, at band camp, Goswin von Brederlow said: 1) How to specify an arch in sources.list? Don't. Specify it in apt.conf Suggestion: deb [arch=i386,amd64] http://ftp.debian.org sid main APT::Arches i386,amd64 Or something. What if one

Re: Breaking /emul/ia32-linux for squeeze

2009-03-17 Thread Stephen Gran
This one time, at band camp, Goswin von Brederlow said: Stephen Gran sg...@debian.org writes: This one time, at band camp, Goswin von Brederlow said: 1) How to specify an arch in sources.list? Don't. Specify it in apt.conf Suggestion: deb [arch=i386,amd64] http://ftp.debian.org

Re: Breaking /emul/ia32-linux for squeeze

2009-03-17 Thread Ian Campbell
On Tue, 2009-03-17 at 11:52 +0100, Goswin von Brederlow wrote: Ian Campbell i...@hellion.org.uk writes: On Mon, 2009-03-16 at 14:36 +0100, Goswin von Brederlow wrote: Note that libc6 and libc6-i386/amd64 will neccessarily always conflict due to the dynamic linker Really? I thought

Re: Breaking /emul/ia32-linux for squeeze

2009-03-17 Thread Simon Richter
Hi, On Mon, Mar 16, 2009 at 03:21:44PM +0100, Marco d'Itri wrote: I think it would be very helpful if somebody could summarize why a multiarch system is useful, except for the obvious case of installing proprietary i386 software on amd64 systems. Most applications don't really need the

Re: Breaking /emul/ia32-linux for squeeze

2009-03-17 Thread Goswin von Brederlow
Stephen Gran sg...@debian.org writes: This one time, at band camp, Goswin von Brederlow said: Stephen Gran sg...@debian.org writes: This one time, at band camp, Goswin von Brederlow said: 1) How to specify an arch in sources.list? Don't. Specify it in apt.conf Suggestion: deb

Re: Breaking /emul/ia32-linux for squeeze

2009-03-17 Thread Steve Langasek
On Tue, Mar 17, 2009 at 06:29:08PM +0100, Simon Richter wrote: On Mon, Mar 16, 2009 at 03:21:44PM +0100, Marco d'Itri wrote: I think it would be very helpful if somebody could summarize why a multiarch system is useful, except for the obvious case of installing proprietary i386 software

Re: Breaking /emul/ia32-linux for squeeze

2009-03-17 Thread Goswin von Brederlow
Steve Langasek vor...@debian.org writes: On Tue, Mar 17, 2009 at 06:29:08PM +0100, Simon Richter wrote: On Mon, Mar 16, 2009 at 03:21:44PM +0100, Marco d'Itri wrote: I think it would be very helpful if somebody could summarize why a multiarch system is useful, except for the obvious case

Re: Breaking /emul/ia32-linux for squeeze

2009-03-17 Thread Hector Oron
Hello Goswin et al, IMHO, the things you are talking about are quite nice. They way it works sounds to me a little complex, that it is very close to the idea of crosscompiling, as the *right way*, as opposed to accumulate dirty hacks and workarrounds that it is what most embedded distros do out

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Goswin von Brederlow
Josselin Mouette j...@debian.org writes: Le dimanche 15 mars 2009 à 01:30 +0100, Goswin von Brederlow a écrit : Say you have acrobat reader installed which depend on ia32-libs-gtk. You also have libgtk2.0 (i386) installed with a newer version that breaks acrobat reader (like it did last

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Goswin von Brederlow
Aurelien Jarno aurel...@aurel32.net writes: On Wed, Mar 11, 2009 at 09:55:33PM -0700, Steve Langasek wrote: On Wed, Mar 11, 2009 at 11:16:47PM +0100, Tollef Fog Heen wrote: ]] Clint Adams | It may be time to change packages installing files to | /emul/ia32-linux (which violates the

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Steve Langasek
On Mon, Mar 16, 2009 at 10:55:36AM +0100, Goswin von Brederlow wrote: Josselin Mouette j...@debian.org writes: Le dimanche 15 mars 2009 à 01:30 +0100, Goswin von Brederlow a écrit : Say you have acrobat reader installed which depend on ia32-libs-gtk. You also have libgtk2.0 (i386)

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Aurelien Jarno
Goswin von Brederlow a écrit : Aurelien Jarno aurel...@aurel32.net writes: On Wed, Mar 11, 2009 at 09:55:33PM -0700, Steve Langasek wrote: On Wed, Mar 11, 2009 at 11:16:47PM +0100, Tollef Fog Heen wrote: ]] Clint Adams | It may be time to change packages installing files to |

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Goswin von Brederlow
Steve Langasek vor...@debian.org writes: On Mon, Mar 16, 2009 at 10:55:36AM +0100, Goswin von Brederlow wrote: Josselin Mouette j...@debian.org writes: Le dimanche 15 mars 2009 à 01:30 +0100, Goswin von Brederlow a écrit : Say you have acrobat reader installed which depend on

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Simon Richter
Hi, On Fri, Mar 13, 2009 at 11:27:47PM -0700, Steve Langasek wrote: On Fri, Mar 13, 2009 at 05:57:32PM +0100, Simon Richter wrote: That is actually beneficial if we wanted to merge both architectures into one, which would IMO be the sanest thing to do, IMO that's not a sane thing to do at

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Goswin von Brederlow
Aurelien Jarno aurel...@aurel32.net writes: Goswin von Brederlow a écrit : Aurelien Jarno aurel...@aurel32.net writes: On Wed, Mar 11, 2009 at 09:55:33PM -0700, Steve Langasek wrote: On Wed, Mar 11, 2009 at 11:16:47PM +0100, Tollef Fog Heen wrote: ]] Clint Adams | It may be time to

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Roger Leigh
On Mon, Mar 16, 2009 at 02:36:17PM +0100, Goswin von Brederlow wrote: Aurelien Jarno aurel...@aurel32.net writes: Goswin von Brederlow a écrit : Aurelien Jarno aurel...@aurel32.net writes: One of the goal of multiarch is to avoid having packages containing binaries of a different

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Steve Langasek
On Mon, Mar 16, 2009 at 01:55:40PM +, Roger Leigh wrote: We are not using multiarch paths in Debian, so this has never happens. When using standard /usr/lib paths, people are expecting that the paths collide. When using multiarch they do not expect that, as it the goal of

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Marco d'Itri
On Mar 16, Simon Richter s...@debian.org wrote: Well, it would get i386/amd64 in line with sparc/sparc64, powerpc/powerpc64 and s390/s390x. That would allow us to get rid of a lot of specianl cases, including the hack for libc6-386. I think it would be very helpful if somebody could summarize

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Mike Hommey
On Mon, Mar 16, 2009 at 03:21:44PM +0100, Marco d'Itri m...@linux.it wrote: On Mar 16, Simon Richter s...@debian.org wrote: Well, it would get i386/amd64 in line with sparc/sparc64, powerpc/powerpc64 and s390/s390x. That would allow us to get rid of a lot of specianl cases, including the

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread David Bremner
Mike Hommey wrote: On Mon, Mar 16, 2009 at 03:21:44PM +0100, Marco d'Itri m...@linux.it wrote: I think it would be very helpful if somebody could summarize why a multiarch system is useful, except for the obvious case of installing proprietary i386 software on amd64 systems. s/proprietary//

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Michael Poole
m...@linux.it writes: On Mar 16, Simon Richter s...@debian.org wrote: Well, it would get i386/amd64 in line with sparc/sparc64, powerpc/powerpc64 and s390/s390x. That would allow us to get rid of a lot of specianl cases, including the hack for libc6-386. I think it would be very helpful if

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Ian Campbell
On Mon, 2009-03-16 at 14:36 +0100, Goswin von Brederlow wrote: Note that libc6 and libc6-i386/amd64 will neccessarily always conflict due to the dynamic linker Really? I thought the i386 dynamic linker was /lib/ld-linux.so.2 and the 64 bit one was /lib/ld-linux-x86-64.so.2. Ian. -- Ian

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Goswin von Brederlow
m...@linux.it (Marco d'Itri) writes: On Mar 16, Simon Richter s...@debian.org wrote: Well, it would get i386/amd64 in line with sparc/sparc64, powerpc/powerpc64 and s390/s390x. That would allow us to get rid of a lot of specianl cases, including the hack for libc6-386. I don't see

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Goswin von Brederlow
Roger Leigh rle...@codelibre.net writes: On Mon, Mar 16, 2009 at 02:36:17PM +0100, Goswin von Brederlow wrote: Aurelien Jarno aurel...@aurel32.net writes: Goswin von Brederlow a écrit : Aurelien Jarno aurel...@aurel32.net writes: One of the goal of multiarch is to avoid having

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Stephen Gran
This one time, at band camp, Goswin von Brederlow said: 1) How to specify an arch in sources.list? Don't. Specify it in apt.conf Suggestion: deb [arch=i386,amd64] http://ftp.debian.org sid main APT::Arches i386,amd64 Or something. 2) How to specify a package including the architecture?

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Tollef Fog Heen
]] Stephen Gran | Put another way, I can't think of a valid use for an amd64 binary | depending on a ppc32 binary. Package: foo Depends: sed (sed is Essential: yes, but I think you get the point.) -- Tollef Fog Heen Redpill Linpro -- Changing the game! t: +47 21 54 41 73 -- To

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Aurelien Jarno
On Mon, Mar 16, 2009 at 02:36:17PM +0100, Goswin von Brederlow wrote: Aurelien Jarno aurel...@aurel32.net writes: Goswin von Brederlow a écrit : Aurelien Jarno aurel...@aurel32.net writes: On Wed, Mar 11, 2009 at 09:55:33PM -0700, Steve Langasek wrote: On Wed, Mar 11, 2009 at

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Stephen Gran
This one time, at band camp, Tollef Fog Heen said: ]] Stephen Gran | Put another way, I can't think of a valid use for an amd64 binary | depending on a ppc32 binary. Package: foo Depends: sed (sed is Essential: yes, but I think you get the point.) I don't see what the architecture of

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Marco d'Itri
On Mar 16, Mike Hommey m...@glandium.org wrote: I think it would be very helpful if somebody could summarize why a multiarch system is useful, except for the obvious case of installing proprietary i386 software on amd64 systems. s/proprietary// ; there you have your obvious case. Not

Re: Breaking /emul/ia32-linux for squeeze

2009-03-16 Thread Mike Hommey
On Mon, Mar 16, 2009 at 10:45:32PM +0100, Marco d'Itri wrote: On Mar 16, Mike Hommey m...@glandium.org wrote: I think it would be very helpful if somebody could summarize why a multiarch system is useful, except for the obvious case of installing proprietary i386 software on amd64

Re: Breaking /emul/ia32-linux for squeeze

2009-03-15 Thread Josselin Mouette
Le dimanche 15 mars 2009 à 01:30 +0100, Goswin von Brederlow a écrit : Say you have acrobat reader installed which depend on ia32-libs-gtk. You also have libgtk2.0 (i386) installed with a newer version that breaks acrobat reader (like it did last year). Then acrobat reader will use the newer

Re: Breaking /emul/ia32-linux for squeeze

2009-03-15 Thread Aurelien Jarno
On Wed, Mar 11, 2009 at 09:55:33PM -0700, Steve Langasek wrote: On Wed, Mar 11, 2009 at 11:16:47PM +0100, Tollef Fog Heen wrote: ]] Clint Adams | It may be time to change packages installing files to | /emul/ia32-linux (which violates the FHS) to use | /usr/lib32 instead. Could we

Re: Breaking /emul/ia32-linux for squeeze

2009-03-14 Thread Steve Langasek
On Fri, Mar 13, 2009 at 05:57:32PM +0100, Simon Richter wrote: On Wed, Mar 11, 2009 at 10:10:13PM -0700, Steve Langasek wrote: But moving the 32-bit libs to /usr/lib32 does not make us standards-conformant on amd64, because the FHS (yuckily) standardized on storing the *32-bit* libs in

Re: Breaking /emul/ia32-linux for squeeze

2009-03-14 Thread Tollef Fog Heen
]] Goswin von Brederlow | Is that even true? /lib32 and /usr/lib32 are system library paths | while the multiarch dirs are custom paths added via | /etc/ld.so.conf.d/x86_64-linux-gnu.conf. I think they come last. While I haven't investigated the load order, my /lib/ld-linux-x86-64.so.2 seems to

Re: Breaking /emul/ia32-linux for squeeze

2009-03-14 Thread Steve Langasek
On Fri, Mar 13, 2009 at 12:05:42PM +0100, Goswin von Brederlow wrote: - multiarch will supersede all previous biarch implementations - multiarch will be before biarch in the search path Is that even true? /lib32 and /usr/lib32 are system library paths while the multiarch dirs are custom

Re: Breaking /emul/ia32-linux for squeeze

2009-03-14 Thread Goswin von Brederlow
Steve Langasek vor...@debian.org writes: On Fri, Mar 13, 2009 at 12:05:42PM +0100, Goswin von Brederlow wrote: Taken together, this guarantees the newer libs would always be found before the older libs, so there's no need to do extra special-casing for those libs that were previously

Re: Breaking /emul/ia32-linux for squeeze

2009-03-13 Thread Goswin von Brederlow
Steve Langasek vor...@debian.org writes: On Thu, Mar 12, 2009 at 08:52:04PM +0100, Goswin von Brederlow wrote: Steve Langasek vor...@debian.org writes: On Thu, Mar 12, 2009 at 11:03:06AM +0100, Goswin von Brederlow wrote: What transitional issues is that going to cause us if and when

Re: Breaking /emul/ia32-linux for squeeze

2009-03-13 Thread Simon Richter
Hi, On Wed, Mar 11, 2009 at 10:10:13PM -0700, Steve Langasek wrote: But moving the 32-bit libs to /usr/lib32 does not make us standards-conformant on amd64, because the FHS (yuckily) standardized on storing the *32-bit* libs in /usr/lib on this architecture, with 64-bit libs in /usr/lib64.

Re: Breaking /emul/ia32-linux for squeeze

2009-03-12 Thread Goswin von Brederlow
Clint Adams sch...@debian.org writes: It may be time to change packages installing files to /emul/ia32-linux (which violates the FHS) to use /usr/lib32 instead. NO NO NO NO NO NO NO NO. It is high time to change to the multiarch dir. For that gcc needs to be fixed first so compiling 32bit

Re: Breaking /emul/ia32-linux for squeeze

2009-03-12 Thread Goswin von Brederlow
Steve Langasek vor...@debian.org writes: On Wed, Mar 11, 2009 at 10:50:23PM +, Clint Adams wrote: On Wed, Mar 11, 2009 at 11:16:47PM +0100, Tollef Fog Heen wrote: Could we pretty please use the multiarch paths here if we start moving stuff around? We're going to need to patch

Re: Breaking /emul/ia32-linux for squeeze

2009-03-12 Thread Goswin von Brederlow
Steve Langasek vor...@debian.org writes: On Wed, Mar 11, 2009 at 11:16:47PM +0100, Tollef Fog Heen wrote: ]] Clint Adams | It may be time to change packages installing files to | /emul/ia32-linux (which violates the FHS) to use | /usr/lib32 instead. Could we pretty please use the

Re: Breaking /emul/ia32-linux for squeeze

2009-03-12 Thread Steve Langasek
On Thu, Mar 12, 2009 at 11:03:06AM +0100, Goswin von Brederlow wrote: What transitional issues is that going to cause us if and when multiarch becomes generally available, if biarch packages start using the path now? libfoo i386 then needs Replaces: lib32foo. But it already needs

Re: Breaking /emul/ia32-linux for squeeze

2009-03-12 Thread Goswin von Brederlow
Steve Langasek vor...@debian.org writes: On Thu, Mar 12, 2009 at 11:03:06AM +0100, Goswin von Brederlow wrote: What transitional issues is that going to cause us if and when multiarch becomes generally available, if biarch packages start using the path now? libfoo i386 then needs

Re: Breaking /emul/ia32-linux for squeeze

2009-03-12 Thread Steve Langasek
On Thu, Mar 12, 2009 at 08:52:04PM +0100, Goswin von Brederlow wrote: Steve Langasek vor...@debian.org writes: On Thu, Mar 12, 2009 at 11:03:06AM +0100, Goswin von Brederlow wrote: What transitional issues is that going to cause us if and when multiarch becomes generally available, if

Breaking /emul/ia32-linux for squeeze

2009-03-11 Thread Clint Adams
It may be time to change packages installing files to /emul/ia32-linux (which violates the FHS) to use /usr/lib32 instead. I believe the affected packages are fakechroot fakeroot gnu-efi ia32-libs ia32-libs-gtk lib32asound2 lib32asound2-dev lib32bz2-1.0 lib32bz2-dev lib32ffi5 lib32ffi-dev

Re: Breaking /emul/ia32-linux for squeeze

2009-03-11 Thread Aníbal Monsalve Salazar
On Wed, Mar 11, 2009 at 05:46:31PM +, Clint Adams wrote: glibc will need to change first, and the remaining packages will be broken until they are changed as well. Do you have a date for the glibc change? -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of

Re: Breaking /emul/ia32-linux for squeeze

2009-03-11 Thread Kurt Roeckx
On Wed, Mar 11, 2009 at 05:46:31PM +, Clint Adams wrote: It may be time to change packages installing files to /emul/ia32-linux (which violates the FHS) to use /usr/lib32 instead. /usr/lib32 isn't exactly FHS either, but it's better than /emul/ia32-linux Will this also change for ia64?

Re: Breaking /emul/ia32-linux for squeeze

2009-03-11 Thread Michael S. Gilbert
On Wed, 11 Mar 2009 21:12:31 +0100, Kurt Roeckx wrote: On Wed, Mar 11, 2009 at 05:46:31PM +, Clint Adams wrote: It may be time to change packages installing files to /emul/ia32-linux (which violates the FHS) to use /usr/lib32 instead. /usr/lib32 isn't exactly FHS either, but it's

Re: Breaking /emul/ia32-linux for squeeze

2009-03-11 Thread Tollef Fog Heen
]] Clint Adams | It may be time to change packages installing files to | /emul/ia32-linux (which violates the FHS) to use | /usr/lib32 instead. Could we pretty please use the multiarch paths here if we start moving stuff around? We're going to need to patch gcc/binutils if we're to compile

Re: Breaking /emul/ia32-linux for squeeze

2009-03-11 Thread Clint Adams
On Thu, Mar 12, 2009 at 04:54:51AM +1100, Aníbal Monsalve Salazar wrote: Do you have a date for the glibc change? I was hoping for pretty soon after a thorough discussion. On Wed, Mar 11, 2009 at 09:12:31PM +0100, Kurt Roeckx wrote: /usr/lib32 isn't exactly FHS either, but it's better than

Re: Breaking /emul/ia32-linux for squeeze

2009-03-11 Thread Roger Leigh
On Wed, Mar 11, 2009 at 05:46:31PM +, Clint Adams wrote: It may be time to change packages installing files to /emul/ia32-linux (which violates the FHS) to use /usr/lib32 instead. While I hate /emul with a passion (another top level dir filling up my root filesystem), shouldn't we be using

Re: Breaking /emul/ia32-linux for squeeze

2009-03-11 Thread Kurt Roeckx
On Wed, Mar 11, 2009 at 10:50:23PM +, Clint Adams wrote: On Wed, Mar 11, 2009 at 09:12:31PM +0100, Kurt Roeckx wrote: /usr/lib32 isn't exactly FHS either, but it's better than /emul/ia32-linux Will this also change for ia64? As far as I know, there that path is hardcoded in the

Re: Breaking /emul/ia32-linux for squeeze

2009-03-11 Thread Steve Langasek
On Wed, Mar 11, 2009 at 11:16:47PM +0100, Tollef Fog Heen wrote: ]] Clint Adams | It may be time to change packages installing files to | /emul/ia32-linux (which violates the FHS) to use | /usr/lib32 instead. Could we pretty please use the multiarch paths here if we start moving stuff

Re: Breaking /emul/ia32-linux for squeeze

2009-03-11 Thread Steve Langasek
On Wed, Mar 11, 2009 at 10:50:23PM +, Clint Adams wrote: On Wed, Mar 11, 2009 at 05:36:26PM -0400, Michael S. Gilbert wrote: Is this necessary? There are already softlinks set up: /usr/lib32-/emul/ia32-linux/usr/lib and /lib32-/emul/ia32-linux/lib. It's not necessary any more than