Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2006 00:31:38 +0200 (CEST)
From:      Jean-Baptiste Quenot <jbq@caraldi.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100582: x11-toolkits/xview's msgfmt conflicts with devel/gettext's
Message-ID:  <20060719223138.70CB517D@watt.caraldi.com>
Resent-Message-ID: <200607192240.k6JMeF2t011442@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060719223138.70CB517D>