Subject: pkg/24528: freeradius fails compilation (libtool tag) (xs4)
To: None <gnats-bugs@gnats.netbsd.org>
From: Rogier Krieger <rogier@virgiel.nl>
List: netbsd-bugs
Date: 02/22/2004 18:35:07
>Number:         24528
>Category:       pkg
>Synopsis:       pkgsrc freeradius fails during make on libtool complaint regarding tags
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 22 18:36:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rogier Krieger
>Release:        NetBSD 1.6.1
>Organization:
Iverdahl.net
	
>Environment:
	
	
System: NetBSD karres.wep.tudelft.nl 1.6.1 NetBSD 1.6.1 (KARRES) #1: Sun Oct 12 05:00:57 CEST 2003 root@terrance.bytepark.net:/usr/src/sys/arch/i386/compile/KARRES i386
Architecture: i386
Machine: i386
>Description:
	On attempting to build the freeradius package, gmake exits error code 1 once
	it comes to building libradius.a, stating its inability to 'infer tagged
	configuration'.

	From that point, the pkgsrc make process is terminated.
	

	For a complete output, see [ http://iverdahl.net/pub/20040222-freeradius-pkgsrc.log ]

	<snip>
	/usr/obj/pkg/net/freeradius/work/freeradius-0.9.3/libtool --mode=link ld \
	-module -static  -O2 -I/usr/pkg/include -Wall -D_GNU_SOURCE -DNDEBUG  -D_LIBRADIUS -I../include dict.o print.o radius.o 
	valuepair.o token.o misc.o log.o filters.o missing.o md4.o md5.o sha1.o hmac.o snprintf.o isaac.o smbdes.o crypt.o -o 
	libradius.a 
	libtool: link: unable to infer tagged configuration
	libtool: link: specify a tag with `--tag'
	gmake[4]: *** [libradius.a] Error 1
	gmake[4]: Leaving directory `/usr/obj/pkg/net/freeradius/work/freeradius-0.9.3/src/lib'
	gmake[3]: *** [common] Error 1
	gmake[3]: Leaving directory `/usr/obj/pkg/net/freeradius/work/freeradius-0.9.3/src'
	gmake[2]: *** [all] Error 2
	gmake[2]: Leaving directory `/usr/obj/pkg/net/freeradius/work/freeradius-0.9.3/src'
	gmake[1]: *** [common] Error 1
	gmake[1]: Leaving directory `/usr/obj/pkg/net/freeradius/work/freeradius-0.9.3'
	gmake: *** [all] Error 2
	*** Error code 2

	Stop.
	make: stopped in /usr/pkgsrc/net/freeradius
	*** Error code 1

	Stop.
	make: stopped in /usr/pkgsrc/net/freeradius


	I have the following packages installed to fulfill prerequisites for freeradius.
	===> Required installed package gdbm>=1.8.3: gdbm-1.8.3 found
	===> Required installed package libtool-base>=1.5.2: libtool-base-1.5.2nb3 found
	===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.5.2nb3 found
	===> Required installed package gmake>=3.78: gmake-3.80nb1 found

>How-To-Repeat:
	cd /usr/pkgsrc/net/freeradius
	make clean; make
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: