pkgsrc-Bugs archive

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

pkg/51830: new dependency on libunistring breaks net/wireshark



>Number:         51830
>Category:       pkg
>Synopsis:       new dependency on libunistring breaks net/wireshark
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 11 17:00:00 +0000 2017
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
The recent addition of a dependency on libunistring breaks wireshark. On NetBSD 7.0.1/amd64, during compilation this warning is shown

  CCLD     libwireshark.la 

*** Warning: linker path does not have real file for library -lunistring.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libunistring and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libc.so
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

and much later compilation of tshark fails with

  CCLD     editcap
ld: cannot find -lunistring
Makefile:1895: recipe for target 'tshark' failed 
gmake[2]: *** [tshark] Error 1
gmake[2]: *** Waiting for unfinished jobs.... 
ld: cannot find -lunistring
Makefile:1903: recipe for target 'wireshark-gtk' failed
gmake[2]: *** [wireshark-gtk] Error 1 
gmake[2]: Leaving directory '/usr/pkgsrc/net/wireshark/work/wireshark-2.2.3'
Makefile:3408: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/net/wireshark/work/wireshark-2.2.3'
Makefile:1737: recipe for target 'all' failed
gmake: *** [all] Error 2

On Solaris 11.2/i86 compilation fails with

  CCLD     libwireshark.la
ld: warning: file ../wsutil/.libs/libwsutil.so: linked to /opt/pkgsrc/pkg-hrz/pkgsrc/net/wireshark/work.pkgsrc-sol11i86/wireshark-2.2.3/wsutil/.libs/libwsutil.so: attempted multiple inclusion of file
ld: fatal: library -lunistring: not found
collect2: error: ld returned 1 exit status
gmake[4]: *** [libwireshark.la] Error 1
gmake[4]: Leaving directory `/opt/pkgsrc/pkg-hrz/pkgsrc/net/wireshark/work.pkgsrc-sol11i86/wireshark-2.2.3/epan'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/opt/pkgsrc/pkg-hrz/pkgsrc/net/wireshark/work.pkgsrc-sol11i86/wireshark-2.2.3/epan'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/opt/pkgsrc/pkg-hrz/pkgsrc/net/wireshark/work.pkgsrc-sol11i86/wireshark-2.2.3/epan'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/pkgsrc/pkg-hrz/pkgsrc/net/wireshark/work.pkgsrc-sol11i86/wireshark-2.2.3'
gmake: *** [all] Error 2
*** Error code 2

(and this is even independent of cwrappers turned on or off, it fails in both cases :)

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index