Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-15 Thread Alexis Ballier
On Sun, 10 Mar 2013 14:42:43 +0100 Michał Górny mgo...@gentoo.org wrote: If you consider the argv trick fragile, which is understandable, the same wrapper idea can be used differently: If you want to wrap a binary foo, move it to foo_${abi} and build a wrapper with hardcoded 'foo' instead

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-15 Thread Michał Górny
On Fri, 15 Mar 2013 11:32:31 +0100 Alexis Ballier aball...@gentoo.org wrote: On Sun, 10 Mar 2013 14:42:43 +0100 Michał Górny mgo...@gentoo.org wrote: Let alone qmake, how do you suggest dealing with *-config scripts? Some packages are just not written with multilib in mind, or have to

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-10 Thread Michał Górny
On Sat, 9 Mar 2013 11:10:11 +0100 Alexis Ballier aball...@gentoo.org wrote: On Fri, 8 Mar 2013 17:30:10 +0100 Michał Górny mgo...@gentoo.org wrote: We're talking about two different tricks. Busybox checks argv to support symlinking for a standard tool. With invalid argv[0], it still

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-09 Thread Alexis Ballier
On Fri, 8 Mar 2013 17:30:10 +0100 Michał Górny mgo...@gentoo.org wrote: On Thu, 7 Mar 2013 17:25:23 +0100 Alexis Ballier aball...@gentoo.org wrote: On Mon, 4 Mar 2013 21:49:48 +0100 Michał Górny mgo...@gentoo.org wrote: I'm afraid that's the first potential point of failure. Relying

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-09 Thread Alexis Ballier
On Fri, 08 Mar 2013 15:44:16 +0100 Thomas Sachau to...@gentoo.org wrote: Alexis Ballier schrieb: On Thu, 07 Mar 2013 19:59:35 +0100 Thomas Sachau to...@gentoo.org wrote: I dont have a list of binaries, i either noticed myself some abi-specific behaviour or got user reports for

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-08 Thread Alexis Ballier
On Thu, 07 Mar 2013 19:59:35 +0100 Thomas Sachau to...@gentoo.org wrote: I dont have a list of binaries, i either noticed myself some abi-specific behaviour or got user reports for abi-specific behaviour. As an example i remember, dev-libs/libIDL has a config binary not matching the usual

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-08 Thread Alexis Ballier
On Fri, 8 Mar 2013 05:47:23 +0100 Michał Górny mgo...@gentoo.org wrote: On Thu, 07 Mar 2013 19:59:35 +0100 Thomas Sachau to...@gentoo.org wrote: I am not sure about the target of your qmake question, so as a general answer: qmake is something like configure for qmake based build

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-08 Thread Thomas Sachau
Davide Pesavento schrieb: On Thu, Mar 7, 2013 at 10:59 AM, Thomas Sachau to...@gentoo.org wrote: Alexis Ballier schrieb: On Mon, 04 Mar 2013 21:17:50 +0100 Thomas Sachau to...@gentoo.org wrote: dev-db/mysql abiwrapper dev-lang/perl abiwrapper dev-lang/python abiwrapper dev-lang/ruby

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-08 Thread Thomas Sachau
Alexis Ballier schrieb: On Thu, 07 Mar 2013 19:59:35 +0100 Thomas Sachau to...@gentoo.org wrote: I dont have a list of binaries, i either noticed myself some abi-specific behaviour or got user reports for abi-specific behaviour. As an example i remember, dev-libs/libIDL has a config binary

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-08 Thread Michał Górny
On Thu, 7 Mar 2013 17:25:23 +0100 Alexis Ballier aball...@gentoo.org wrote: On Mon, 4 Mar 2013 21:49:48 +0100 Michał Górny mgo...@gentoo.org wrote: I'm afraid that's the first potential point of failure. Relying on argv[0] is a poor idea and means that any application calling exec()

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-07 Thread Alexis Ballier
On Mon, 4 Mar 2013 21:49:48 +0100 Michał Górny mgo...@gentoo.org wrote: On Mon, 4 Mar 2013 11:02:40 +0100 Alexis Ballier aball...@gentoo.org wrote: On Sun, 3 Mar 2013 23:25:03 +0100 Michał Górny mgo...@gentoo.org wrote: On Sun, 3 Mar 2013 18:18:12 +0100 Alexis Ballier

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-07 Thread Alexis Ballier
On Mon, 04 Mar 2013 21:17:50 +0100 Thomas Sachau to...@gentoo.org wrote: The actual list of packages with wrapped binaries is in the profiles dir of the multilib-portage overlay (expect this to be a minimal list, there are probably more out there we did not yet catch): Thanks. dev-db/mysql

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-07 Thread Thomas Sachau
Alexis Ballier schrieb: On Mon, 04 Mar 2013 21:17:50 +0100 Thomas Sachau to...@gentoo.org wrote: dev-db/mysql abiwrapper dev-lang/perl abiwrapper dev-lang/python abiwrapper dev-lang/ruby abiwrapper dev-libs/gobject-introspection abiwrapper dev-libs/libIDL abiwrapper dev-scheme/guile

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-07 Thread Davide Pesavento
On Thu, Mar 7, 2013 at 10:59 AM, Thomas Sachau to...@gentoo.org wrote: Alexis Ballier schrieb: On Mon, 04 Mar 2013 21:17:50 +0100 Thomas Sachau to...@gentoo.org wrote: dev-db/mysql abiwrapper dev-lang/perl abiwrapper dev-lang/python abiwrapper dev-lang/ruby abiwrapper

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-07 Thread Michał Górny
On Thu, 07 Mar 2013 19:59:35 +0100 Thomas Sachau to...@gentoo.org wrote: I am not sure about the target of your qmake question, so as a general answer: qmake is something like configure for qmake based build systems. If you want to see the difference between qmake (32bit) and qmake (64bit),

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-04 Thread Alexis Ballier
On Sun, 03 Mar 2013 22:39:42 +0100 Thomas Sachau to...@gentoo.org wrote: The wrapper is already in a seperate package [1], the currently active and tested version (1.0) is in bash, also there is a (currently masked) version 2.0 written by binki in C doing the same natively. So you even have a

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-04 Thread Alexis Ballier
On Sun, 3 Mar 2013 23:25:03 +0100 Michał Górny mgo...@gentoo.org wrote: On Sun, 3 Mar 2013 18:18:12 +0100 Alexis Ballier aball...@gentoo.org wrote: On Sun, 3 Mar 2013 17:58:26 +0100 Michał Górny mgo...@gentoo.org wrote: What do we need that wrapper for? What does the wrapper do?

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-04 Thread Thomas Sachau
Alexis Ballier schrieb: On Sun, 3 Mar 2013 23:25:03 +0100 Michał Górny mgo...@gentoo.org wrote: On Sun, 3 Mar 2013 18:18:12 +0100 Alexis Ballier aball...@gentoo.org wrote: On Sun, 3 Mar 2013 17:58:26 +0100 Michał Górny mgo...@gentoo.org wrote: What do we need that wrapper for? What does

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-04 Thread Michał Górny
On Mon, 4 Mar 2013 11:02:40 +0100 Alexis Ballier aball...@gentoo.org wrote: On Sun, 3 Mar 2013 23:25:03 +0100 Michał Górny mgo...@gentoo.org wrote: On Sun, 3 Mar 2013 18:18:12 +0100 Alexis Ballier aball...@gentoo.org wrote: On Sun, 3 Mar 2013 17:58:26 +0100 Michał Górny

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-04 Thread Thomas Sachau
Michał Górny schrieb: On Mon, 4 Mar 2013 11:02:40 +0100 Alexis Ballier aball...@gentoo.org wrote: On Sun, 3 Mar 2013 23:25:03 +0100 Michał Górny mgo...@gentoo.org wrote: On Sun, 3 Mar 2013 18:18:12 +0100 Alexis Ballier aball...@gentoo.org wrote: On Sun, 3 Mar 2013 17:58:26 +0100 Michał

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-04 Thread Michał Górny
On Mon, 04 Mar 2013 23:21:36 +0100 Thomas Sachau to...@gentoo.org wrote: Michał Górny schrieb: On Mon, 4 Mar 2013 11:02:40 +0100 Alexis Ballier aball...@gentoo.org wrote: you are called with ABI=sth argv[0] = your name I'm afraid that's the first potential point of failure. Relying

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-03 Thread Alexis Ballier
On Sun, 03 Mar 2013 14:02:58 +0100 Thomas Sachau to...@gentoo.org wrote: Once the eclass has per-ABI header I think this is needed. and binaries support, but here, could you enlighten me on its use cases ? I can't imagine why having multi binaries support would be useful. Alexis.

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-03 Thread Thomas Sachau
Alexis Ballier schrieb: On Sun, 03 Mar 2013 14:02:58 +0100 Thomas Sachau to...@gentoo.org wrote: Once the eclass has per-ABI header I think this is needed. and binaries support, but here, could you enlighten me on its use cases ? I can't imagine why having multi binaries support

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-03 Thread Chí-Thanh Christopher Nguyễn
Alexis Ballier schrieb: and binaries support, but here, could you enlighten me on its use cases ? I can't imagine why having multi binaries support would be useful. One example is glxinfo from the mesa-progs package, it will display the information for the ABI it is compiled with. So if you

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-03 Thread Alexis Ballier
On Sun, 03 Mar 2013 16:47:43 +0100 Thomas Sachau to...@gentoo.org wrote: Alexis Ballier schrieb: On Sun, 03 Mar 2013 14:02:58 +0100 Thomas Sachau to...@gentoo.org wrote: Once the eclass has per-ABI header I think this is needed. and binaries support, but here, could you

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-03 Thread Thomas Sachau
Alexis Ballier schrieb: On Sun, 03 Mar 2013 16:47:43 +0100 Thomas Sachau to...@gentoo.org wrote: Alexis Ballier schrieb: On Sun, 03 Mar 2013 14:02:58 +0100 Thomas Sachau to...@gentoo.org wrote: Once the eclass has per-ABI header I think this is needed. and binaries support, but

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-03 Thread Alexis Ballier
On Sun, 03 Mar 2013 17:27:50 +0100 Thomas Sachau to...@gentoo.org wrote: Alexis Ballier schrieb: On Sun, 03 Mar 2013 16:47:43 +0100 Thomas Sachau to...@gentoo.org wrote: Alexis Ballier schrieb: On Sun, 03 Mar 2013 14:02:58 +0100 Thomas Sachau to...@gentoo.org wrote: Once the

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-03 Thread Michał Górny
On Sun, 03 Mar 2013 17:27:50 +0100 Thomas Sachau to...@gentoo.org wrote: Alexis Ballier schrieb: On Sun, 03 Mar 2013 16:47:43 +0100 Thomas Sachau to...@gentoo.org wrote: Alexis Ballier schrieb: On Sun, 03 Mar 2013 14:02:58 +0100 Thomas Sachau to...@gentoo.org wrote: Once the

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-03 Thread Thomas Sachau
Alexis Ballier schrieb: On Sun, 03 Mar 2013 17:27:50 +0100 Thomas Sachau to...@gentoo.org wrote: Alexis Ballier schrieb: On Sun, 03 Mar 2013 16:47:43 +0100 Thomas Sachau to...@gentoo.org wrote: Alexis Ballier schrieb: On Sun, 03 Mar 2013 14:02:58 +0100 Thomas Sachau to...@gentoo.org

Re: [gentoo-dev] Re: [RFC] multilib-build.eclass and restricting unsupported ABIs

2013-03-03 Thread Michał Górny
On Sun, 3 Mar 2013 18:18:12 +0100 Alexis Ballier aball...@gentoo.org wrote: On Sun, 3 Mar 2013 17:58:26 +0100 Michał Górny mgo...@gentoo.org wrote: What do we need that wrapper for? What does the wrapper do? Does it just rely on custom 'ABI' variable? yes -- it must perform some checks