pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/binutils broken on CentOS 7



On 2020-02-17 19:21, Jason Bacon wrote:

Anyone else having trouble with this?

This is an odd problem in that the library is being built successfully, just not installed.

Any suggestions would be appreciated.

Thanks...

=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for binutils-2.34
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /home/bacon/Pkgsrc/pkgsrc/devel/binutils/work/.destdir/home/bacon/Pkgsrc/pkg: ERROR: /home/bacon/Pkgsrc/pkgsrc/devel/binutils/work/.destdir/home/bacon/Pkgsrc/pkg/include/ctf-api.h ERROR: /home/bacon/Pkgsrc/pkgsrc/devel/binutils/work/.destdir/home/bacon/Pkgsrc/pkg/include/ctf.h ERROR: /home/bacon/Pkgsrc/pkgsrc/devel/binutils/work/.destdir/home/bacon/Pkgsrc/pkg/lib/libctf.la ERROR: /home/bacon/Pkgsrc/pkgsrc/devel/binutils/work/.destdir/home/bacon/Pkgsrc/pkg/lib/libctf-nobfd.la
*** Error code 1

Stop.
bmake.bin[1]: stopped in /home/bacon/Pkgsrc/pkgsrc/devel/binutils
*** Error code 1

Stop.
bmake.bin: stopped in /home/bacon/Pkgsrc/pkgsrc/devel/binutils
Linux ramora.uits  bacon ~/Pkgsrc/pkgsrc/devel/binutils 277: find . -name 'libctf*'
./work/binutils-2.34/libctf
./work/binutils-2.34/libctf/libctf.ver
./work/binutils-2.34/libctf/.libs/libctf.a
./work/binutils-2.34/libctf/.libs/libctf.la
./work/binutils-2.34/libctf/.libs/libctf-nobfd.a
./work/binutils-2.34/libctf/.libs/libctf-nobfd.la
./work/binutils-2.34/libctf/libctf.la
./work/binutils-2.34/libctf/libctf-nobfd.la


Any objections to the following patch?

Index: PLIST.NetBSD
===================================================================
RCS file: /cvsroot/pkgsrc/devel/binutils/PLIST.NetBSD,v
retrieving revision 1.2
diff -u -r1.2 PLIST.NetBSD
--- PLIST.NetBSD        12 Apr 2013 08:27:15 -0000      1.2
+++ PLIST.NetBSD        28 Feb 2020 14:49:32 -0000
@@ -4,3 +4,7 @@
 ${MACHINE_GNU_PLATFORM}/lib/ldscripts/i386nbsd.xn
 ${MACHINE_GNU_PLATFORM}/lib/ldscripts/i386nbsd.xr
 ${MACHINE_GNU_PLATFORM}/lib/ldscripts/i386nbsd.xu
+include/ctf-api.h
+include/ctf.h
+lib/libctf-nobfd.la
+lib/libctf.la
Index: PLIST.common
===================================================================
RCS file: /cvsroot/pkgsrc/devel/binutils/PLIST.common,v
retrieving revision 1.29
diff -u -r1.29 PLIST.common
--- PLIST.common        5 Feb 2020 06:18:34 -0000       1.29
+++ PLIST.common        28 Feb 2020 14:49:32 -0000
@@ -68,8 +68,6 @@
 include/bfd.h
 include/bfd_stdint.h
 include/bfdlink.h
-include/ctf-api.h
-include/ctf.h
 include/diagnostics.h
 include/dis-asm.h
 include/plugin-api.h
@@ -80,8 +78,6 @@
 ${PLIST.gprof}info/gprof.info
 info/ld.info
 lib/libbfd.la
-lib/libctf-nobfd.la
-lib/libctf.la
 lib/libopcodes.la
 man/man1/gaddr2line.1
 man/man1/gar.1

It appears that libctf support is very new to Linux and may not be functional on CentOS 7.

If someone is actually using it on a more bleeding-edge Linux distro, we can try to disable it just for RHEL-based systems.

    JB



Home | Main Index | Thread Index | Old Index