Subject: pkg/19787: [buildlink2] libgtop2 fails to build if already installed
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@menta.net>
List: netbsd-bugs
Date: 01/11/2003 16:21:54
>Number:         19787
>Category:       pkg
>Synopsis:       [buildlink2] libgtop2 fails to build if already installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 11 07:16:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Julio Merino
>Release:        NetBSD 1.6L
>Organization:
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/
>Environment:
	
	
System: NetBSD darkstar 1.6L NetBSD 1.6L (DARKSTAR) #188: Sat Jan 11 11:29:29 CET 2003 sysbuild@darkstar:/var/build/current/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
	The libgtop2 package fails to build if it is already installed in the
	system. Running gmake inside the package itself works fine.

	Log of the second try:

Script started on Sat Jan 11 16:19:24 2003
$ make
^D===> Building for libgtop2-2.0.0nb2
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0'
Making all in po
gmake[2]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/po'
Making all in support
gmake[2]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/support'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/support'
Making all in misc
gmake[2]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/misc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/misc'
Making all in include
gmake[2]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/include'
Making all in glibtop
gmake[3]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/include/glibtop'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/include/glibtop'
gmake[3]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/include'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/include'
gmake[2]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/include'
Making all in sysdeps
gmake[2]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/sysdeps'
Making all in freebsd
gmake[3]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/sysdeps/freebsd'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/sysdeps/freebsd'
Making all in common
gmake[3]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/sysdeps/common'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/sysdeps/common'
Making all in names
gmake[3]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/sysdeps/names'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/sysdeps/names'
gmake[3]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/sysdeps'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/sysdeps'
gmake[2]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/sysdeps'
Making all in lib
gmake[2]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/lib'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/lib'
Making all in src
gmake[2]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/src'
Making all in daemon
gmake[3]: Entering directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/src/daemon'
/bin/sh ../../libtool --mode=link cc -O2 -pipe -O2 -march=pentiumpro -I/usr/pkg/include -I/usr/X11R6/include -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o libgtop_daemon2 -static gnuserv.o slave.o main.o io.o version.o ../../lib/libgtop-2.0.la 				  ../../sysdeps/common/libgtop_common-2.0.la 				  ../../sysdeps/freebsd/libgtop_sysdeps-2.0.la 				  ../../sysdeps/freebsd/libgtop_sysdeps_suid-2.0.la 				  ../../sysdeps/freebsd/libgtop_sysdeps_suid-2.0.la ../../sysdeps/common/libgtop_suid_common-2.0.la 				  -L/usr/pkg/lib -lgtop-2.0 -lgtop_sysdeps-2.0 -lgtop_common-2.0 				  ../../support/libgnomesupport-2.0.la  -lintl -L/usr/X11R6/lib -lXau -lkvm  -lintl
cc -O2 -pipe -O2 -march=pentiumpro -I/var/build/obj.pkgsrc/devel/libgtop2/work.i386/.buildlink/include -I/var/build/obj.pkgsrc/devel/libgtop2/work.i386/.buildlink-x11/include -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -o libgtop_daemon2 gnuserv.o slave.o main.o io.o version.o  -L/var/build/obj.pkgsrc/devel/libgtop2/work.i386/.buildlink-x11/lib -L/var/build/obj.pkgsrc/devel/libgtop2/work.i386/.buildlink/lib -L/usr/pkg/lib ../../sysdeps/freebsd/.libs/libgtop_sysdeps-2.0.a ../../sysdeps/freebsd/.libs/libgtop_sysdeps_suid-2.0.a ../../sysdeps/common/.libs/libgtop_suid_common-2.0.a ../../lib/.libs/libgtop-2.0.a /usr/pkg/lib/libgtop_sysdeps-2.0.a -L/usr/X11R6/lib ../../sysdeps/common/.libs/libgtop_common-2.0.a /usr/pkg/lib/libglib-2.0.a -lintl /usr/pkg/lib/libiconv.a -lm ../../support/.libs/libgnomesupport-2.0.a -lXau -lkvm /usr/lib/libintl.a
cc: /var/build/obj.pkgsrc/devel/libgtop2/work.i386/.buildlink/lib/libgtop_sysdeps-2.0.a: No such file or directory
gmake[3]: *** [libgtop_daemon2] Error 1
gmake[3]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/src/daemon'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/build/obj.pkgsrc/devel/libgtop2/work.i386/libgtop-2.0.0'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
make: stopped in /s/pkgsrc/devel/libgtop2
*** Error code 1

Stop.
make: stopped in /s/pkgsrc/devel/libgtop2
$ 
Script done on Sat Jan 11 16:19:41 2003

>How-To-Repeat:
	$ cd pkgsrc/devel/libgtop2
	$ make install
	$ make clean
	$ make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: