From nobody@FreeBSD.org  Thu Jan  1 10:18:30 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1941716A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 Jan 2004 10:18:30 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7C9B143D46
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 Jan 2004 10:18:28 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i01IISdL079802
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 1 Jan 2004 10:18:28 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i01IISpC079801;
	Thu, 1 Jan 2004 10:18:28 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200401011818.i01IISpC079801@www.freebsd.org>
Date: Thu, 1 Jan 2004 10:18:28 -0800 (PST)
From: Mark Nipper <nipsy@tamu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: vorbis-tools-1.0.1 will not build entirely; problems with gettext
X-Send-Pr-Version: www-2.0

>Number:         60789
>Category:       ports
>Synopsis:       vorbis-tools-1.0.1 will not build entirely; problems with gettext
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 01 10:20:18 PST 2004
>Closed-Date:    Thu Jan 01 14:39:32 PST 2004
>Last-Modified:  Thu Jan 01 14:39:32 PST 2004
>Originator:     Mark Nipper
>Release:        5.1-RELEASE-p10
>Organization:
>Environment:
FreeBSD newops.tamu.edu 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Mon Oct 27 09:40:44 CST 2003     root@newops.tamu.edu:/usr/obj/usr/src/sys/OPS  i386

>Description:
I get as far as ogg123 in vorbis-tools before my make dies.  The output (after a failed attempt) is as follows:
---
root@newops/p1:/usr/ports/audio/vorbis-tools> make
===>  Building for vorbis-tools-1.0.1,3
Making all in po
Making all in intl
Making all in include
Making all in share
Making all in debian
Making all in win32
Making all in ogg123
/bin/sh ../libtool --mode=link cc  -fsigned-char -O -pipe -march=athlon-mp   -rpath=/usr/lib:/usr/local/lib  -rpath=/usr/lib:/usr/local/lib -o ogg123  audio.o buffer.o callbacks.o  cfgfile_options.o cmdline_options.o  file_transport.o format.o  http_transport.o ogg123.o  oggvorbis_format.o playlist.o status.o  transport.o vorbis_comments.o ../share/libutf8.a ../share/libgetopt.a  -L/usr/local/lib -lvorbisfile -L/usr/local/lib -lvorbis -lm  -L/usr/local/lib -logg -L/usr/local/lib -lao   -L/usr/local/lib -lcurl -D_THREAD_SAFE -D_THREAD_SAFE  -lc_r ../intl/libintl.a 
cc -fsigned-char -O -pipe -march=athlon-mp -rpath=/usr/lib:/usr/local/lib -rpath=/usr/lib:/usr/local/lib -o ogg123 audio.o buffer.o callbacks.o cfgfile_options.o cmdline_options.o file_transport.o format.o http_transport.o ogg123.o oggvorbis_format.o playlist.o status.o transport.o vorbis_comments.o ../share/libutf8.a ../share/libgetopt.a -L/usr/local/lib -lvorbisfile -L/usr/local/lib -lvorbis -lm -L/usr/local/lib -logg -L/usr/local/lib -lao -L/usr/local/lib -lcurl -D_THREAD_SAFE -D_THREAD_SAFE -lc_r ../intl/libintl.a 
buffer.o: In function `malloc_action':
buffer.o(.text+0x120): undefined reference to `libintl_gettext'
buffer.o: In function `malloc_buffer_stats':
buffer.o(.text+0x5de): undefined reference to `libintl_gettext'
callbacks.o: In function `audio_reopen_action':
callbacks.o(.text+0x134): undefined reference to `libintl_gettext'
callbacks.o(.text+0x16e): undefined reference to `libintl_gettext'
callbacks.o(.text+0x188): undefined reference to `libintl_gettext'
callbacks.o(.text+0x1a0): more undefined references to `libintl_gettext' follow
ogg123.o: In function `main':
ogg123.o(.text+0x449): undefined reference to `libintl_bindtextdomain'
ogg123.o(.text+0x455): undefined reference to `libintl_textdomain'
ogg123.o(.text+0x514): undefined reference to `libintl_gettext'
ogg123.o(.text+0x628): undefined reference to `libintl_gettext'
ogg123.o: In function `play':
ogg123.o(.text+0x806): undefined reference to `libintl_gettext'
ogg123.o(.text+0x82d): undefined reference to `libintl_gettext'
ogg123.o(.text+0x887): undefined reference to `libintl_gettext'
ogg123.o(.text+0x8ff): more undefined references to `libintl_gettext' follow
*** Error code 1

Stop in /usr/ports/audio/vorbis-tools/work/vorbis-tools-1.0.1/ogg123.
*** Error code 1

Stop in /usr/ports/audio/vorbis-tools/work/vorbis-tools-1.0.1.
*** Error code 1

Stop in /usr/ports/audio/vorbis-tools.

First off, I'm not sure why it's not using gettext on the system.  I have it installed:
---
root@newops/p1:/usr/ports/audio/vorbis-tools> pkg_info|grep gettext
gettext-0.12.1      GNU gettext package

But the output from the build makes it seem like it is trying to use the included version.  I've tried forcing it to use the system version, but to no avail.  Anyway, I'm kind of at a loss at this point and I was hoping someone else might be seeing this same kind of problem.
>How-To-Repeat:
I've only got this one system and it happens every time I type make.
>Fix:

>Release-Note:
>Audit-Trail:

From: Mark Nipper <nipsy@tamu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/60789: vorbis-tools-1.0.1 will not build entirely; problems with gettext
Date: Thu, 1 Jan 2004 13:27:27 -0600

 	For what it's worth, I did the following after a 'make
 clean':
 ---
 LDFLAGS="-L/lib -L/usr/lib -L/usr/local/lib" CFLAGS="-I/usr/include -I/usr/local/include" make
 
 and it compiled cleanly.  It also picked up some stuff it didn't
 see previously like OggFlac.  I assumed this would all have been
 handled properly by the standard make stuff in ports, but who
 knows?
 
 	Other stuff in ports generally makes and compiles without
 problems on this system, so it's not a critical make.conf issue
 or anything similar.
 
 	Anyway, this can be closed or whatever.  I'm happy.  :)
 
 -- 
 Mark Nipper                                                e-contacts:
 Computing and Information Services                      nipsy@tamu.edu
 Texas A&M University                        http://ops.tamu.edu/nipsy/
 College Station, TX 77843-3142     AIM/Yahoo: texasnipsy ICQ: 66971617
 (979)575-3193                                      MSN: nipsy@tamu.edu
 
 -----BEGIN GEEK CODE BLOCK-----
 GG/IT d- s++:+ a- C++$ UBL+++$ P--->+++ L+++$ E---
 W++ N+ o K++ w(---) O++ M V(--) PS+++(+) PE(--) Y+
 PGP++(+) t 5 X R tv b+++ DI+(++) D+ G e h r++ y+(**)
 ------END GEEK CODE BLOCK------
 
 ---begin random quote of the moment---
 Information flows into the public domain as water to the sea.
 Copyright is an increasingly ineffectual dam.
 ----end random quote of the moment----
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Thu Jan 1 14:39:23 PST 2004 
State-Changed-Why:  
Close: submitter is happy now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60789 
>Unformatted:
