pkgsrc-Bugs archive

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

pkg/50188: pkgtools/pkg_install DragonFly 4.3 /usr/lib/libbz2.so.2: error adding symbols



>Number:         50188
>Category:       pkg
>Synopsis:       pkgtools/pkg_install DragonFly 4.3 /usr/lib/libbz2.so.2: error adding symbols
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 02 00:05:00 +0000 2015
>Originator:     David Shao
>Release:        pkgsrc current
>Organization:
>Environment:
DragonFly  4.3-DEVELOPMENT DragonFly v4.3.1.395.g2c005-DEVELOPMENT #0: Tue Sep  1 14:57:07 PDT 2015     xxxxx@:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
>Description:
After updating to latest pkgsrc cvs through

Module Name:    pkgsrc
Date:           Tue Sep  1 23:27:35 UTC 2015

Modified Files:
        pkgsrc/doc: CHANGES-2015

Log Message:
Updated security/p5-IO-Socket-SSL to 2.019

replacing pkg_install fails on DragonFly 4.3-DEVELOPMENT with

perform.c: In function 'pkg_do':
perform.c:1550:3: warning: 'archive_read_finish' is deprecated [-Wdeprecated-declarations]
   archive_read_finish(pkg->archive);
   ^
In file included from perform.c:57:0:
/usr/include/archive.h:585:17: note: declared here
 __LA_DECL int   archive_read_finish(struct archive *) __LA_DEPRECATED;
                 ^
cc -lssl -lcrypto -L/usr/pkgsrc/pkgtools/pkg_install/work/libfetch -L/usr/pkgsrc/pkgtools/pkg_install/work/netpgpverify -L/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L../lib -o pkg_add main.o perform.o -linstall -larchive -lfetch -lnetpgpverify -lssl -lcrypto -lnbcompat
/usr/libexec/binutils225/elf/ld.bfd: /usr/pkgsrc/pkgtools/pkg_install/work/netpgpverify/libnetpgpverify.a(libverify.o): undefined reference to symbol 'BZ2_bzDecompress@@BZ_1.0.6'
/usr/lib/libbz2.so.2: error adding symbols: DSO missing from command line
*** Error code 1

This may be some of the feared clash of symbols as discussed earlier on the mailing lists.  DragonFly 4.3-DEVELOPMENT has libbz2 in base:

$ ls -la /usr/lib | grep bz2
-r--r--r--  1 root  wheel    285858 Sep  1 15:01 libbz2.a
lrwxr-xr-x  1 root  wheel        11 Sep  1 15:01 libbz2.so -> libbz2.so.2
-r--r--r--  1 root  wheel    210328 Sep  1 15:01 libbz2.so.2

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index