On 18. 01. 19 23:54, Jordan Ogas wrote:
Greetings,
My subpackage, charliecloud-devel, includes the following test files:
_libdir/charliecloud/test/sotest/libsotest.so -> ./libsotest.so.1.0*
_libdir/charliecloud/test/sotest/libsotest.so.1 -> ./libsotest.so.1.0*
_libdir/charliecloud/test/sotest/libsotest.so.1.0*
These files are *not* used on the host. During the charliecloud test suite execution,
specifically the test 'ch-fromhost (Debian)', these files are injected into a
debian container image filesystem. It is there, in the debian guest environment
(charliecloud container), where /sbin/ldconfig is executed.
So rpmlint see's these files and errors as follows:
charliecloud-devel.x86_64: E: no-ldconfig-symlink
/usr/lib64/charliecloud-0.9.6/test/sotest/lib/libsotest.so.1.0
charliecloud-devel.x86_64: E: postun-without-ldconfig
/usr/lib64/charliecloud-0.9.6/test/sotest/lib/libsotest.so.1.0
This is understandable. However, this error is not applicable for here. How do I move
forward?
It is not uncommon that files intended for tests are reported as error. In
Python package, we had that kind of reports for certificate files etc.
At the end we went with a rpmlint config fiel that simply silences those errors.
See our config file here:
https://src.fedoraproject.org/rpms/python3/blob/master/f/python3.rpmlintrc
And information about how to use it is located here:
https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint
https://github.com/rpm-software-management/rpmlint#configuration
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok