[CentOS-devel] Building kernel modules via the CBS ?

Wed Jan 14 14:34:03 UTC 2015
Fabian Arrotin <arrfab at centos.org>

-----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.el6.x86_64.rpm:
>
> 
[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.el6.x86_64.rpm.
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlS2flsACgkQnVkHo1a+xU612ACcDsb/5txBIpU6DXRGErMfaCgS
Z9oAnA14dSeIlPqcFjlei3XC9/SMh7cp
=Tkow
-----END PGP SIGNATURE-----