Hello,
Earlier today I tried to build the SCST source RPM via the CentOS Community Build System (CBS). The first attempt failed because kernel headers under /lib/modules/%{kver} were missing. So I added "BuildRequires: kernel-devel" in the SCST spec. However, this caused the build server to install the kernel-debug-devel RPM instead of the kernel-devel RPM (see also https://cbs.centos.org/koji/taskinfo?taskID=6041 for the logs). Does anyone know whether I am doing something wrong or whether this is an issue with the build system ?
An attempt to build against the bananas6-el6 target also failed. In the logs generated for this target I found the following: http://mirror.rdu2.centos.org/centos/6/os/x86_64/Packages/audit-libs-2.2-2.e...: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found". See also https://cbs.centos.org/koji/taskinfo?taskID=6043. Is this error message expected ?
Is this the right mailing list for such questions ?
Thanks,
Bart.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 14/01/15 15:24, Bart Van Assche wrote:
Hello,
Earlier today I tried to build the SCST source RPM via the CentOS Community Build System (CBS). The first attempt failed because kernel headers under /lib/modules/%{kver} were missing. So I added "BuildRequires: kernel-devel" in the SCST spec. However, this caused the build server to install the kernel-debug-devel RPM instead of the kernel-devel RPM (see also https://cbs.centos.org/koji/taskinfo?taskID=6041 for the logs). Does anyone know whether I am doing something wrong or whether this is an issue with the build system ?
An attempt to build against the bananas6-el6 target also failed. In the logs generated for this target I found the following: http://mirror.rdu2.centos.org/centos/6/os/x86_64/Packages/audit-libs-2.2-2.e...:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not
Found". See also https://cbs.centos.org/koji/taskinfo?taskID=6043. Is this error message expected ?
Is this the right mailing list for such questions ?
Thanks,
Bart.
Well, regarding the audit-libs error, that's due to Koji using outdated repodata. The current audit-libs package for CentOS 6 (so in 6.6) should be http://mirror.rdu2.centos.org/centos/6/os/x86_64/Packages/audit-libs-2.3.7-5.... Something to have a look a the Koji side, but I remember that Thomas was talking about koji regen-repo and a possible trigger or at least a cron job
- --
Fabian Arrotin The CentOS Project | http://www.centos.org gpg key: 56BEC54E | twitter: @arrfab
On Wed, Jan 14, 2015 at 9:24 AM, Bart Van Assche bvanassche@acm.org wrote:
However, this caused the build server to install the kernel-debug-devel RPM instead of the kernel-devel RPM (see also https://cbs.centos.org/koji/taskinfo?taskID=6041 for the logs).
I've encountered the same problem with the openafs-kmod package. The only solution I've found was to have a
BuildRequires: kernel-devel = %{kver}
... because the kernel-debug-devel provides "kernel-devel = 3.10.0-123.13.2.el7.debug"
This is why it finds it when you don't specify the kversion. Red Hat, in their infinite wisdom, made the kernel-debug-devel provide kernel-devel, and the RPM sorting algorithm finds that "3.10.0-123.13.2.el7.debug" is a later version-release than "3.10.0-123.13.2.el7".
On 01/14/15 15:34, Jonathan Billings wrote:
On Wed, Jan 14, 2015 at 9:24 AM, Bart Van Assche <bvanassche@acm.org mailto:bvanassche@acm.org> wrote:
However, this caused the build server to install the kernel-debug-devel RPM instead of the kernel-devel RPM (see also https://cbs.centos.org/koji/taskinfo?taskID=6041 for the logs).
I've encountered the same problem with the openafs-kmod package. The only solution I've found was to have a
BuildRequires: kernel-devel = %{kver}
... because the kernel-debug-devel provides "kernel-devel = 3.10.0-123.13.2.el7.debug"
This is why it finds it when you don't specify the kversion. Red Hat, in their infinite wisdom, made the kernel-debug-devel provide kernel-devel, and the RPM sorting algorithm finds that "3.10.0-123.13.2.el7.debug" is a later version-release than "3.10.0-123.13.2.el7".
Thanks for the help. As you can see your advice had the following very positive effect:
$ koji build --scratch bananas7-el7 scst-3.18.1+-3.1.0.19a02ce-1.src.rpm [ ... ] 6123 build (bananas7-el7, scst-3.18.1+-3.1.0.19a02ce-1.src.rpm) completed successfully
The next step is to test the generated RPM.
Bart.
Hi,
On 01/14/2015 03:24 PM, Bart Van Assche wrote:
An attempt to build against the bananas6-el6 target also failed. In the logs generated for this target I found the following: http://mirror.rdu2.centos.org/centos/6/os/x86_64/Packages/audit-libs-2.2-2.e...: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found". See also https://cbs.centos.org/koji/taskinfo?taskID=6043. Is this error message expected ?
It should be fixed now. Please retry.
On 01/14/15 16:08, Thomas Oulevey wrote:
On 01/14/2015 03:24 PM, Bart Van Assche wrote:
An attempt to build against the bananas6-el6 target also failed. In the logs generated for this target I found the following: http://mirror.rdu2.centos.org/centos/6/os/x86_64/Packages/audit-libs-2.2-2.e...: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found". See also https://cbs.centos.org/koji/taskinfo?taskID=6043. Is this error message expected ?
It should be fixed now. Please retry.
Works fine now. Thanks !
Bart.