[opensuse-buildservice] Unresolvable build status of package

Hello. I have private instance of OBS v2.9 for building some CentOS packages for testing. I use CentOS repo from build.opensuse.org as build target: .. <path project="openSUSE.org:CentOS:CentOS-7" repository="standard"/> .. I also copied prjconf from that project. The problem is that im not able to build some packages that i import from srpm's. Srpm's are from http://vault.centos.org/7.5.1804/os/Source/SPackages/ Some builds fine, some not. For example shim-signed-12-1.el7.centos.src.rpm. It's status is unresolvable(nothing provides shim-unsigned-x64 = 12-1.el7, nothing provides shim-unsigned-ia32 = 12-1.el7) But target repo clearly has this packages. Also i was trying to setup local DoD repo, but result was the same. What i'm doing wrong? Any help would be appreciated! Thanks! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On Fri, Jun 22, 2018 at 08:17:49AM +0300, Vladimir Voinovich wrote:
Hello. I have private instance of OBS v2.9 for building some CentOS packages for testing. I use CentOS repo from build.opensuse.org as build target: .. <path project="openSUSE.org:CentOS:CentOS-7" repository="standard"/> .. I also copied prjconf from that project.
The problem is that im not able to build some packages that i import from srpm's. Srpm's are from http://vault.centos.org/7.5.1804/os/Source/SPackages/ Some builds fine, some not. For example shim-signed-12-1.el7.centos.src.rpm. It's status is unresolvable(nothing provides shim-unsigned-x64 = 12-1.el7, nothing provides shim-unsigned-ia32 = 12-1.el7) But target repo clearly has this packages.
No, it doesn't. The repo has: shim-unsigned-x64 = 12-1.el7.centos shim-unsigned-ia32 = 12-1.el7.centos Note the trailing ".centos" in the release. Cheers, 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

Yes. Thank you. I noticed it already. But there's another package that i unable to build: openssl098e-0.9.8e-29.el7.centos.3.x86_64.rpm It complains about "nothing provides /usr/bin/cmp, nothing provides /usr/bin/rename". Its "diffutils" and "util-linux" packages AFAIK. If i explicitly overwrite BuildRequires to package names instead of path's to binaries, then package will start build process without error.(fails at the end though, but its another question:)) It's possible that OBS parse path's to binaries as package names and can't find it because of that? 22.06.2018, 11:36, "Michael Schroeder" <mls@suse.de>:
On Fri, Jun 22, 2018 at 08:17:49AM +0300, Vladimir Voinovich wrote:
Hello. I have private instance of OBS v2.9 for building some CentOS packages for testing. I use CentOS repo from build.opensuse.org as build target: .. <path project="openSUSE.org:CentOS:CentOS-7" repository="standard"/> .. I also copied prjconf from that project.
The problem is that im not able to build some packages that i import from srpm's. Srpm's are from http://vault.centos.org/7.5.1804/os/Source/SPackages/ Some builds fine, some not. For example shim-signed-12-1.el7.centos.src.rpm. It's status is unresolvable(nothing provides shim-unsigned-x64 = 12-1.el7, nothing provides shim-unsigned-ia32 = 12-1.el7) But target repo clearly has this packages.
No, it doesn't. The repo has: shim-unsigned-x64 = 12-1.el7.centos shim-unsigned-ia32 = 12-1.el7.centos
Note the trailing ".centos" in the release.
Cheers, 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

On Fri, Jun 22, 2018 at 12:52:54PM +0300, Vladimir Voinovich wrote:
Yes. Thank you. I noticed it already. But there's another package that i unable to build: openssl098e-0.9.8e-29.el7.centos.3.x86_64.rpm It complains about "nothing provides /usr/bin/cmp, nothing provides /usr/bin/rename". Its "diffutils" and "util-linux" packages AFAIK. If i explicitly overwrite BuildRequires to package names instead of path's to binaries, then package will start build process without error.(fails at the end though, but its another question:)) It's possible that OBS parse path's to binaries as package names and can't find it because of that?
Yes, OBS is somewhat limited when it comes to file dependencies. The problem is that the file lists are just way to big to handle, so OBS chickens out and relies on the project config containing entries that tell it which file belongs to which package. I added entries for /usr/bin/cmp and /usr/bin/rename to our CentOS:CentOS-7 project, so building should work now. Cheers, 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

Thank you for your explanation! All clear now. 22.06.2018, 13:01, "Michael Schroeder" <mls@suse.de>:
On Fri, Jun 22, 2018 at 12:52:54PM +0300, Vladimir Voinovich wrote:
Yes. Thank you. I noticed it already. But there's another package that i unable to build: openssl098e-0.9.8e-29.el7.centos.3.x86_64.rpm It complains about "nothing provides /usr/bin/cmp, nothing provides /usr/bin/rename". Its "diffutils" and "util-linux" packages AFAIK. If i explicitly overwrite BuildRequires to package names instead of path's to binaries, then package will start build process without error.(fails at the end though, but its another question:)) It's possible that OBS parse path's to binaries as package names and can't find it because of that?
Yes, OBS is somewhat limited when it comes to file dependencies. The problem is that the file lists are just way to big to handle, so OBS chickens out and relies on the project config containing entries that tell it which file belongs to which package.
I added entries for /usr/bin/cmp and /usr/bin/rename to our CentOS:CentOS-7 project, so building should work now.
Cheers, 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
-
Vladimir Voinovich