Subject: pkg/11039: pkg devel/gettext fails to compile if already installed [incl. fix]
To: None <gnats-bugs@gnats.netbsd.org, rhialto@polderland.nl, packages@netbsd.org>
From: None <rhialto@polderland.nl>
List: netbsd-bugs
Date: 09/18/2000 15:49:22
>Number:         11039
>Category:       pkg
>Synopsis:       devel/gettext fails to compile if already installed
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 18 15:55:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Rhialto
>Release:        pkgsrc supped as of just now
>Organization:
	
>Environment:
	
System: NetBSD azenomei.falu.nl 1.4.1 NetBSD 1.4.1 (AZENOMEI) #27: Wed Jun 14 01:41:57 CEST 2000 rhialto@azenomei.falu.nl:/usr/src/sys/arch/alpha/compile/AZENOMEI alpha


>Description:
	If gettext is already installed (any version), the configure
	script omits a compatibility object file from libintl.{a,so}, on
	the grounds that it does not want to interfere with
	system-supplied versions of several functions. Comments indicate
	it tries to avoid this if the encountered version is GNU gettext
	itself, but that strategy seems to fail.

	As a result, the build fails when an executable won't link.

	I classified this as critical/high because so many packages
	depend on this one, and therefore upgrading will be impossible
	while this is not resolved. Fortunately the fix is easy (see
	below).

>How-To-Repeat:
	cd devel/gettext && make install && make clean && make
>Fix:
	Add this line to devel/gettext/Makefile:

	CONFIGURE_ARGS+=        --with-included-gettext

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@polder   -- Ah only did well at school
\X/ land.nl      -- tae git intae an O level class tae git away fae Begbie.
>Release-Note:
>Audit-Trail:
>Unformatted: