From jbq@caraldi.com  Wed Jul 19 22:31:45 2006
Return-Path: <jbq@caraldi.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3BD4016A4DA
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Jul 2006 22:31:45 +0000 (UTC)
	(envelope-from jbq@caraldi.com)
Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D9BF643D45
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Jul 2006 22:31:44 +0000 (GMT)
	(envelope-from jbq@caraldi.com)
Received: from watt.caraldi.com (laf31-2-82-224-106-41.fbx.proxad.net [82.224.106.41])
	by smtp4-g19.free.fr (Postfix) with ESMTP id DB0D05470A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Jul 2006 00:31:43 +0200 (CEST)
Received: by watt.caraldi.com (Postfix, from userid 1001)
	id 70CB517D; Thu, 20 Jul 2006 00:31:38 +0200 (CEST)
Message-Id: <20060719223138.70CB517D@watt.caraldi.com>
Date: Thu, 20 Jul 2006 00:31:38 +0200 (CEST)
From: Jean-Baptiste Quenot <jbq@caraldi.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: x11-toolkits/xview's msgfmt conflicts with devel/gettext's
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 19 22:40:15 GMT 2006
>Closed-Date:    Fri Sep 22 14:04:34 GMT 2006
>Last-Modified:  Fri Sep 22 14:10:24 GMT 2006
>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:
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Fri Sep 22 14:04:08 UTC 2006 
State-Changed-Why:  
I have modified the xview port to not install these programs. 



http://www.freebsd.org/cgi/query-pr.cgi?pr=100582 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/100582: commit references a PR
Date: Fri, 22 Sep 2006 14:03:47 +0000 (UTC)

 arved       2006-09-22 14:03:42 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11-toolkits/xview   Makefile pkg-plist 
   Log:
   Don't install msgfmt and xgettext.
   They may break devel/gettext if a user has set /usr/X11R6/bin before
   /usr/local/bin.
   
   PR:             100582
   Reported by:    Jean-Baptiste Quenot <jbq@caraldi.com>
   
   Revision  Changes    Path
   1.41      +4 -2      ports/x11-toolkits/xview/Makefile
   1.14      +0 -2      ports/x11-toolkits/xview/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
