Bug#992694: reprotest: kernel variation makes ldconfig abort with message "FATAL: Kernel too old"

Baptiste Beauplat lyknode at debian.org
Sun Aug 22 14:03:14 BST 2021


Package: reprotest
Version: 0.7.16
Severity: normal

Dear Maintainer,

While trying to debug
https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/191, I found
out that the kernel variation makes ldconfig abort with the following
message: "FATAL: Kernel too old"

This bug can be reproduced using two methods:

The low level:

`setarch --uname-2.6 ldconfig -v`

The high level:

```
cd /tmp; (mkdir -p test-0.1; cd test-0.1; dh_make -n -s -c mit -y; echo -e "override_dh_auto_install:\n\tldconfig --version" >> debian/rules)
sudo reprotest --vary=-all,kernel --auto-build /tmp/test-0.1 -- schroot unstable-amd64-sbuild
```

This behavour is partially documented in the manpage under:

```
Kernel
------

The "kernel" variation is currently not working for RPM based packages.
While building with this variation enabled, the tool `/usr/lib/rpm/redhat/brp-ldconfig`
compains about `FATAL: kernel too old` and aborts the build.
```

However all version of ldconfig (at least since 2017) require a kernel
3.2, not just the RPM ldconfig.

I think the documentation should be updated to warn users about ldconfig
not working in all cases.

-- 
Baptiste Beauplat - lyknode
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20210822/5f504220/attachment.sig>


More information about the Reproducible-builds mailing list