[opensuse-buildservice] Building xxx-32bit and xxx-devel-32bit
Hello, on Opensuse-11.0 several xxx-32bit and xxx-devel-32bit can be installed. This is needed for third party software that comes only in 32 bit. To run other 32 bit only software (for me Xilinx ISE and Impact) I need to compile an additional program (libusb-driver) for 32-bit, that depends on libusb and libftdi as 32-bit. Other own software using libusb/libftdi should however be compile for 64-bit. I can circumvebnt be extracting the relevant files form the i586 packages while installing the XXX.x86_64.rpm packages. However cleaner would be a possibility to build xxx-32bit and xxx-devel-32bit from the source rpms. A receipe how to do that would be very welcome. Thanks -- Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Uwe Bonnes wrote:
However cleaner would be a possibility to build xxx-32bit and xxx-devel-32bit from the source rpms. A receipe how to do that would be very welcome.
See http://en.opensuse.org/Build_Service/Tips_and_Tricks#Building_xxbit_packages... Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
"Michal" == Michal Marek <mmarek@suse.cz> writes:
Michal> Uwe Bonnes wrote: >> However cleaner would be a possibility to build xxx-32bit and >> xxx-devel-32bit from the source rpms. A receipe how to do that would >> be very welcome. Michal> See Michal> http://en.opensuse.org/Build_Service/Tips_and_Tricks#Building_xxbit_packages... Michal> Michal Thanks, there are already libusb and libftdi packages in the buildservice repositories. Should I get a new package builder and trigger building new packages or should I try to get in contact with the people who build libusb and libftdi to expand them? Bye -- Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Uwe Bonnes wrote:
"Michal" == Michal Marek <mmarek@suse.cz> writes:
Michal> Uwe Bonnes wrote: >> However cleaner would be a possibility to build xxx-32bit and >> xxx-devel-32bit from the source rpms. A receipe how to do that would >> be very welcome.
Michal> See Michal> http://en.opensuse.org/Build_Service/Tips_and_Tricks#Building_xxbit_packages...
Michal> Michal
Thanks,
there are already libusb and libftdi packages in the buildservice repositories. Should I get a new package builder and trigger building new packages or should I try to get in contact with the people who build libusb and libftdi to expand them?
There should be a libusb-32bit already. If you have a special one you may try $ echo libusb > baselibs.conf $ /usr/lib/build/mkbaselibs -c /usr/lib/build/baselibs_global.conf -c baselibs.conf libusb-2342.i586.rpm libusb(ia64:x86): writing specfile... libusb(ia64:x86): running build... libusb(x86_64:32bit): writing specfile... libusb(x86_64:32bit): running build... $ l /usr/src/packages/RPMS/* ... cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
"Ludwig" == Ludwig Nussel <ludwig.nussel@suse.de> writes:
Ludwig> Uwe Bonnes wrote: >> >>>>> "Michal" == Michal Marek <mmarek@suse.cz> writes: >> Michal> Uwe Bonnes wrote: >> >> However cleaner would be a possibility to build xxx-32bit and >> >> xxx-devel-32bit from the source rpms. A receipe how to do that would >> >> be very welcome. >> Michal> See Michal> http://en.opensuse.org/Build_Service/Tips_and_Tricks#Building_xxbit_packages... >> Michal> Michal >> Thanks, >> >> there are already libusb and libftdi packages in the buildservice >> repositories. Should I get a new package builder and trigger building >> new packages or should I try to get in contact with the people who >> build libusb and libftdi to expand them? Ludwig> There should be a libusb-32bit already. If you have a special Ludwig> one you may try $ echo libusb > baselibs.conf $ Ludwig> /usr/lib/build/mkbaselibs -c /usr/lib/build/baselibs_global.conf Ludwig> -c baselibs.conf libusb-2342.i586.rpm libusb(ia64:x86): writing Ludwig> specfile... libusb(ia64:x86): running build... Ludwig> libusb(x86_64:32bit): writing specfile... libusb(x86_64:32bit): Ludwig> running build... $ l /usr/src/packages/RPMS/* ... You are right in the existance of libusb-32bit. But libusb-devel-32bit is missing, so compiling a 32 bit programm using libusb doesn't work. -- Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ---------- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Uwe Bonnes wrote:
You are right in the existance of libusb-32bit. But libusb-devel-32bit is missing, so compiling a 32 bit programm using libusb doesn't work.
You can link the libusb package from Factory and add a replacement baselibs.conf file with libusb libusb-devel to create -32bit packages for both. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Ludwig Nussel
-
Michal Marek
-
Uwe Bonnes