Few things:
1) You don't need the epel-release package since you already have the
Fedora:EPEL:7 repo in the project meta configuration.
2) You are requiring devtoolset-7 for the build, but then you never
enable the devtoolset before the actual configure and make commands.
You should add something like the following before:
%if 0%{?el7}
# enable devtoolset7
. /opt/rh/devtoolset-7/enable
%endif
3) I remember that for me, requiring the whole devtoolset-7 was
broken, and since I needed just the basics for building, I solved it
by requiring only the following packages:
devtoolset-7-gcc-c++
devtoolset-7-elfutils
devtoolset-7-binutils
devtoolset-7-make
devtoolset-7-toolchain
--
ONDŘEJ MUSIL | Core System Developer
M: +420603305490
QORE Technologies s.r.o.
Přemyslovská 1939/28 • 130 00 Prague 3 – Žižkov • Czech Republic
www.qoretechnologies.com
On Fri, 20 Mar 2020 at 09:00, Adrian Schröter
On Freitag, 20. März 2020, 00:53:08 CET wrote Johanna Amann:
Hi Adrian,
I am trying to build a package for CentOS that requires some packages from epel + the developer toolset to be built.
I added the repositories in the project meta configuration - which looks like this:
<repository name="CentOS_7"> <path project="security:zeek" repository="CentOS_7"/> <path project="Fedora:EPEL:7" repository="standard"/> <path project="CentOS:CentOS-7" repository="scl-rhscl"/> <path project="CentOS:CentOS-7" repository="standard"/> <arch>x86_64</arch> </repository>
The spec file then require some packages from the repository, speficically:
BuildRequires: epel-release kernel-devel cmake3 devtoolset-7
After trying this, the build has been blocked with the status “downloading 6 dod packages”.
Could anyone point me to what I am doing wrong?
this shouldn't be a problem anymore, right?
I see that there were unsigned repos in the past on the mirrors we use. So the download was blocked...
This is actually still broken. I made a new example package at https://build.opensuse.org/package/show/home:0xxon:branches:security:zeek/ze.... It again shows that it is waiting for the download of 6 DOD packages.
hm, structure and signing keys on centos server seem to have changed again. That will need some research later :/
--
Adrian Schroeter email: adrian@suse.de
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5 90409 Nürnberg Germany
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org