Subject: devel/gtexinfo build fails on Solaris 9/sparc
To: None <>
From: John D. Baker <>
List: tech-pkg
Date: 07/23/2004 22:14:44
Trying to build lang/gcc34, devel/gtexinfo is built as a dependency.
Part of the build process creates a tool 'makedoc'.  attempting to run
'makedoc' fails because can't be found:

Making all in info
if gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/pkg/lib/locale\" -DINFODIR=\"/usr/pkg/info\"  -DINFODIR2=\"/usr/pkg/share/info\" -DPKGSRC_INFOPATH=\"/usr/pkg/info:/usr/openwin/info:/usr/pkg/info\" -I. -I. -I.. -I. -I../lib -I../intl -I.. -I.   -I/usr/pkg/include  -O -I/usr/pkg/include -MT makedoc.o -MD -MP -MF ".deps/makedoc.Tpo" -c -o makedoc.o makedoc.c;  then mv -f ".deps/makedoc.Tpo" ".deps/makedoc.Po"; else rm -f ".deps/makedoc.Tpo"; exit 1; fi
gcc  -O -I/usr/pkg/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o makedoc  makedoc.o ../lib/libtxi.a -lcurses /usr/pkg/lib/ /usr/pkg/lib/ -lc -R/usr/pkg/lib -lintl -liconv
rm -f doc.c funs.h key.c
./makedoc ./session.c ./echo-area.c ./infodoc.c  ./m-x.c ./indices.c ./nodemenu.c  ./footnotes.c ./variables.c ./makedoc: fatal: open failed: No such file or directory
*** Signal 9

bmake: stopped in /usr/pkgsrc/devel/gtexinfo/work/texinfo-4.7/info


The compiler being used to bootstrap pkgsrc and lang/gcc34 is the gcc-3.4
from, so '' is in /usr/local/lib.

The intention is that once a pkgsrc-derived gcc is built, the external
gcc will be uninstalled and pkgsrc and gcc will be re-bootstrapped using
the freshly-installed compiler.

I've done this several times before with no problems at all, but it seems
recent changes to pkgsrc have introduced problems like that shown above
(and with lang/gcc3, which I posted about earlier).

Thanks for your help.

John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
jdbaker(at)mylinuxisp(dot)com                 OpenBSD            FreeBSD
BSD -- It just sits there and _works_!