[opensuse-buildservice] 32bit dependencies expansion
Hello. I have a problem building centos grub2 package. Its .spec contains "BuildRequires: /usr/lib/crt1.o glibc-static(x86-32) glibc-devel(x86-32)". I have created multiarch repo but got an error: "unresolvable: "nothing provides glibc-static(x86-32) nothing provides glibc-devel(x86-32)" Can OBS recognize such form of package architecture definition? Or i need to edit something in a .spec or prjconf? Below is a repo: ------------------------------------------------- <repository name="base"> <download arch="x86_64" url="http://centos-mirror.rbc.ru/pub/centos/7.5.1804/os/x86_64/" repotype="rpmmd"/> <download arch="i586" url="http://centos-mirror.rbc.ru/pub/centos/7.5.1804/os/x86_64/" repotype="rpmmd"/> <arch>x86_64</arch> <arch>i586</arch </repository> -------------------------------------------------- Thanks. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thu, Jul 05, 2018 at 10:31:41AM +0300, Mitya Ivanov wrote:
Hello. I have a problem building centos grub2 package. Its .spec contains "BuildRequires: /usr/lib/crt1.o glibc-static(x86-32) glibc-devel(x86-32)". I have created multiarch repo but got an error: "unresolvable: "nothing provides glibc-static(x86-32) nothing provides glibc-devel(x86-32)" Can OBS recognize such form of package architecture definition? Or i need to edit something in a .spec or prjconf?
That's actually not a package architecture definition, but a standard provides that rpm adds. So it is recognized. That was the good news, now the bad: OBS does not support RedHat's multiarch handling at all. For building grub2 you would need to install both glibc.i586 and glibc.x86_64. That's currently impossible with OBS, it allows just one architecture for each package. Sorry, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Thanks for the info! Well thats a bit sad :( Fortunately there's quite few packages require i686 rpms to build. 05.07.2018, 11:56, "Michael Schroeder" <mls@suse.de>:
On Thu, Jul 05, 2018 at 10:31:41AM +0300, Mitya Ivanov wrote:
Hello. I have a problem building centos grub2 package. Its .spec contains "BuildRequires: /usr/lib/crt1.o glibc-static(x86-32) glibc-devel(x86-32)". I have created multiarch repo but got an error: "unresolvable: "nothing provides glibc-static(x86-32) nothing provides glibc-devel(x86-32)" Can OBS recognize such form of package architecture definition? Or i need to edit something in a .spec or prjconf?
That's actually not a package architecture definition, but a standard provides that rpm adds. So it is recognized.
That was the good news, now the bad: OBS does not support RedHat's multiarch handling at all. For building grub2 you would need to install both glibc.i586 and glibc.x86_64. That's currently impossible with OBS, it allows just one architecture for each package.
Sorry, Michael.
-- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Michael Schroeder
-
Mitya Ivanov