#32 Remove leftover .la files
Merged 2 years ago by nickc. Opened 2 years ago by tbaeder.
rpms/ tbaeder/binutils rawhide  into  rawhide

file modified
+1
@@ -740,6 +740,7 @@ 

  

  # Remove libtool files, which reference the .so libs

  rm -f %{buildroot}%{_libdir}/lib{bfd,opcodes}.la

+ rm -f %{buildroot}%{_libdir}/*.la

  

  # Fix multilib conflicts of generated values by __WORDSIZE-based expressions.

  %ifarch %{ix86} x86_64 ppc %{power64} s390 s390x sh3 sh4 sparc sparc64 arm

The rpm included /usr/lib64/libctf-nobfd.la and /usr/lib64/libctf.la via
the libctf* wildcard in %files.

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Hmm, rpm-linter now complains:

binutils.x86_64: W: devel-file-in-non-devel-package /usr/lib64/libctf-nobfd.a
binutils.x86_64: W: devel-file-in-non-devel-package /usr/lib64/libctf-nobfd.so
binutils.x86_64: E: postin-without-ldconfig /usr/lib64/libctf-nobfd.so.0.0.0
binutils.x86_64: E: postun-without-ldconfig /usr/lib64/libctf-nobfd.so.0.0.0
binutils.x86_64: W: devel-file-in-non-devel-package /usr/lib64/libctf.a
binutils.x86_64: W: devel-file-in-non-devel-package /usr/lib64/libctf.so
binutils.x86_64: E: postin-without-ldconfig /usr/lib64/libctf.so.0.0.0
binutils.x86_64: E: postun-without-ldconfig /usr/lib64/libctf.so.0.0.0

And the rpm-install-test fails because the libctf.a and libctf-nobfd.a conflict.

Edit: Oh, the test fails because I didn't increase the release I guess. Are the errors from rpm-linter new?

Pull-Request has been merged by nickc

2 years ago
Metadata