ports/143823: gettext picks up wrong depenencies

Andrea Venturoli ml at netfence.it
Thu Feb 11 21:10:02 UTC 2010


>Number:         143823
>Category:       ports
>Synopsis:       gettext picks up wrong depenencies
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 11 21:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Andrea Venturoli
>Release:        7.2p6 (i386)
>Organization:
NetFence
>Environment:
alamar# uname -a
FreeBSD alamar.ventu 7.2-RELEASE-p6 FreeBSD 7.2-RELEASE-p6 #0: Tue Feb  9 11:53:47 CET 2010     root at alamar.ventu:/usr/obj/usr/src/sys/ALAMAR  i386

>Description:
If some other ports are installed while configuring gettext, autotools will pick up some libraries which are not listed as run dependencies.

See the following:

# pkg_info -r gettext\*
Information for gettext-0.17_1:

Depends on:
Dependency: libiconv-1.13.1_1

# pkg_which /usr/local/bin/msgcat
gettext-0.17_1

# ldd /usr/local/bin/msgcat
/usr/local/bin/msgcat:
        libgettextsrc-0.17.so => /usr/local/lib/libgettextsrc-0.17.so (0x33c7f000)
        libgettextlib-0.17.so => /usr/local/lib/libgettextlib-0.17.so (0x33cb4000)
        libcroco-0.6.so.3 => /usr/local/lib/libcroco-0.6.so.3 (0x33d91000)
        libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x33dc6000)
        libz.so.4 => /lib/libz.so.4 (0x33ef2000)
        libm.so.5 => /lib/libm.so.5 (0x33f04000)
        libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x33f19000)
        libintl.so.8 => /usr/local/lib/libintl.so.8 (0x33fc8000)
        libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x33fd1000)
        libncurses.so.7 => /lib/libncurses.so.7 (0x34004000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x34043000)
        libc.so.7 => /lib/libc.so.7 (0x3413a000)
        libz.so.3 => /lib/libz.so.3 (0x3423c000)
        libm.so.4 => /lib/libm.so.4 (0x3424d000)

# pkg_which /usr/local/lib/libcroco-0.6.so.3
libcroco-0.6.2

alamar# pkg_which /usr/local/lib/libxml2.so.5
libxml2-2.7.6_1

# pkg_which /usr/local/lib/libglib-2.0.so.0
glib-2.22.4

# pkg_which /usr/local/lib/libpcre.so.0
pcre-8.00



So now gettext really depends on libcroco, libxml2, glib and pcre too.
>How-To-Repeat:
Install or upgrade gettext after installing libcroco, libxml2, glib and pcre.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list