ports/100582: x11-toolkits/xview's msgfmt conflicts with devel/gettext's

Jean-Baptiste Quenot jbq at caraldi.com
Wed Jul 19 22:40:17 UTC 2006


>Number:         100582
>Category:       ports
>Synopsis:       x11-toolkits/xview's msgfmt conflicts with devel/gettext's
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 19 22:40:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Baptiste Quenot
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD watt.intra.caraldi.com 6.0-STABLE FreeBSD 6.0-STABLE #7: Fri Mar 24 22:13:55 CET 2006 jbq at watt.intra.caraldi.com:/usr/src/sys/i386/compile/WATT i386
>Description:
Once x11-toolkits/xview is installed, many ports fail to build because there is
a conflict between xview's msgfmt installed in X11BASE and gettext's msgfmt
installed in LOCALBASE.  Depending on the PATH, the first can be picked instead
of the latter and ports depending on gettext's msgfmt fail to build.

This is because most ports do not specify the exact location of msgfmt in their
build.  The right location to pick is ${LOCALBASE}/bin/msgfmt

See http://lists.freebsd.org/pipermail/freebsd-ports/2006-July/033956.html
>How-To-Repeat:
0. set PATH /usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin
1. install xview
2. try to install devel/subversion, audio/audacity, mail/mutt-ng or
   audio/sound-juicer, the build will fail when invoking msgfmt
>Fix:
Workaround is to change PATH to /usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin or
to rename /usr/X11R6/bin/msgfmt to /usr/X11R6/bin/xview_msgfmt

The same problem for xgettext.

Maybe xview's Makefile should rename those files in post-install.  Another
solution is to fix all ports depending on gettext to specify
MSGFMT=${LOCALBASE}/bin/msgfmt in CONFIGURE_ENV.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list