Subject: bin/21444: make(1) fails to build various packages
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 05/04/2003 10:37:56
>Number:         21444
>Category:       bin
>Synopsis:       make(1) fails to build various packages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 04 08:39:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6R (2003-05-03 sources)
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.de 1.6R NetBSD 1.6R (LYSSA) #0: Sat May 3 18:36:39 CEST 2003 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
The "pine" package cannot be built with NetBSD-current's make(1):

/src/NetBSD-current/pkgsrc/mail/pine/work/.buildlink/bin/cc -O2 -I/usr/pkg/include  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib   -DDEBUG -DDEBUGJOURNAL    -DNETBSD -DSYSTYPE=\"NEB\" -DMOUSE -I/usr/pkg/include/c-client  -c os.c
cc: -R/usr/pkg/lib: linker input file unused since linking not done
make: don't know how to make -lpico. Stop

make: stopped in /src/NetBSD-current/pkgsrc/mail/pine/work/pine4.53/pine
*** Error code 2
[...]

A similar problem happens in the "glade" package if "USE_GMAKE= yes" is
removed which I added as a work arround there:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../intl  -I/usr/pkg/include/gnome-1.0 -I/usr/pkg/include/gdk-pixbuf-1.0  -I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/pkg/lib/gnome-libs/include -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/X11R6/include/freetype2 -I/usr/pkg/include/gnome-xml -I/usr/pkg/include -I/usr/pkg/include/orbit-1.0  -O2 -I/usr/pkg/include -I/usr/X11R6/include -Wall -c utils.c
make: don't know how to make -lintl. Stop

make: stopped in /src/NetBSD-current/pkgsrc/devel/glade/work/glade-0.6.4/glade
*** Error code 1

>How-To-Repeat:
cd pkgsrc/mail/pine; make

>Fix:
None provided.

>Release-Note:
>Audit-Trail:
>Unformatted: