Bug 143823

Summary: devel/gettext picks up wrong depenencies
Product: Ports & Packages Reporter: ml
Component: Individual Port(s)Assignee: autotools
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description ml 2010-02-11 21:10:02 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-02-11 21:44:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->autools

Over to maintainer(s).
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2010-02-11 21:56:31 UTC
Responsible Changed
From-To: autools->autotools

I'm too dumb to spel proparly todai.
Comment 3 Ade Lovett freebsd_committer freebsd_triage 2010-06-04 23:12:29 UTC
State Changed
From-To: open->closed

Fixed in gettext-0.18_1