Subject: USE_GNU_READLINE useless?
To: None <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 04/13/2004 21:41:31
I'm trying to build chat/i2cb on 1.6.2/i386, but it doesn't seem to pull
in the GNU readline pkg even though the pkg commands it so:

	yui% grep READL Makefile
	USE_GNU_READLINE=       yes
	yui% make
	===> Checking for vulnerabilities in i2cb-6.0_ALPHA
	=> Checksum OK for i2cb-6.0_ALPHA.tar.gz.
	work.i386 -> /usr/tmp/pkgsrc/chat/i2cb/work.i386
	===> Extracting for i2cb-6.0_ALPHA
	===> Required installed package tcl>=8.3.4: tcl-8.3.4 found
	/bin/rm -f /usr/tmp/pkgsrc/chat/i2cb/work.i386/icb/src/.depend
	===> Patching for i2cb-6.0_ALPHA
	===> Applying pkgsrc patches for i2cb-6.0_ALPHA
	===> Overriding tools for i2cb-6.0_ALPHA
	===> Buildlinking for i2cb-6.0_ALPHA
	===> Configuring for i2cb-6.0_ALPHA
	===> Building for i2cb-6.0_ALPHA
	Making in src

Aparently it's not pulling in the readline pkg, but sets buildlink up for
the system's builtin readline, which leads to:

	gcc -O2 -I/usr/pkg/include -I/usr/include -Wall -Werror -g -I/usr/pkg/include -I/usr/pkg/include/tcl/generic -DLOCALBASE=\"/usr/pkg\"   -I/usr/pkg/include -I/usr/include -c oset.c
	cc1: warnings being treated as errors
	oset.c: In function `varsanity':
	oset.c:298: warning: implicit declaration of function `rl_emacs_editing_mode'
	oset.c:302: warning: implicit declaration of function `rl_vi_editing_mode'
	*** Error code 1

So what's broken here?
(This is pkgsrc-current, FWIW)

 - Hubert

Hubert Feyrer <>