Bug 23232

Summary: gettext/xview port collision
Product: Ports & Packages Reporter: sec
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me CC: ade
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description sec 2000-12-02 13:50:01 UTC
I built the ORBit port on FreeBSD-4.2. It failed on me with a message
about not beeing able to find libgettext.

It took me some time to find out why.

I had an /usr/X11R6/bin/xgettext installed
(additionally to the /usr/local/bin/xgettext from the gettext port)
As I had /usr/X11R6/bin in the path before /usr/local/bin, the configure
script picked the wrong version, and failed.
The wrong version was installed by the xview-3.2.1 - port.
(it then continues to output a config.log file which has nothing to do
with the failure which is misleading at best)

Here is the error:

[running configure in work/ORBit-0.5.4/popt/]
checking for GNU xgettext... configure: error:
*** GNU gettext is required. The latest version
*** is always available from ftp://ftp.gnu.org/gnu/gettext/.
configure: error: ./configure failed for popt
===>  Script "configure" failed: here are the contents of "config.log"
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
[outputting the config.log from work/ORBit-0.5.4/config.log]

Fix: 

either change xview to not install xgettext, or specify the path in ORBit
exactly
How-To-Repeat: 
install xview port
PATH=/usr/X11R6/bin:${PATH}
build ORBit port
Comment 1 Ade Lovett freebsd_committer freebsd_triage 2000-12-02 21:25:10 UTC
State Changed
From-To: open->analyzed

Nothing to do with ORBit -- just an artefact of the way a *lot* of 
ports looking for gettext. 

The problem is with x11-toolkits/xview -- since you appear to be one 
of the few people that use this, and its currently unmaintained, perhaps 
you'd like to submit patches to prevent xview from clashing with gettext. 

I don't see there being any other particularly good solution other than 
marking x11-toolkits/xview BROKEN.
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2002-04-13 04:02:42 UTC
State Changed
From-To: analyzed->closed

Timeout in analyzed (16 months :) 


Comment 3 Ade Lovett freebsd_committer freebsd_triage 2002-04-13 04:02:42 UTC
Responsible Changed
From-To: freebsd-ports->ade

My fault[tm]