Subject: pkg/30628: with BUILD_F77, lang/gcc34 has a hardcoded path to the work directory tools links
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jwise@netbsd.org>
List: pkgsrc-bugs
Date: 06/28/2005 22:33:00
>Number:         30628
>Category:       pkg
>Synopsis:       with BUILD_F77, lang/gcc34 has a hardcoded path to the work directory tools links
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 28 22:33:00 +0000 2005
>Originator:     Jim Wise
>Release:        pkgsrc-current 2005-06-28
>Organization:
>Environment:
NetBSD/i386, all BUILD_XXX options enabled in mk.conf
System:
Architecture: i386
Machine: i386
>Description:
	===> Checking for work-directory references in gcc34-3.4.4
Binary file /usr/pkg/gcc34/lib/libg2c.a matches
Binary file /usr/pkg/gcc34/lib/libg2c.a matches
Binary file /usr/pkg/gcc34/lib/libg2c.so matches
Binary file /usr/pkg/gcc34/lib/libg2c.so matches
Binary file /usr/pkg/gcc34/lib/libg2c.so.0 matches
Binary file /usr/pkg/gcc34/lib/libg2c.so.0 matches
Binary file /usr/pkg/gcc34/lib/libg2c.so.0.0 matches
Binary file /usr/pkg/gcc34/lib/libg2c.so.0.0 matches
***
*** The above files still have references to the build directory.
*** This is possibly an error that should be fixed by unwrapping
*** the files or adding missing tools to the package makefile!
***
*** Error code 1

Stop.
make: stopped in /home/NetBSD/source/pkgsrc/lang/gcc34
*** Error code 1

Stop.
make: stopped in /home/NetBSD/source/pkgsrc/lang/gcc34
*** Error code 1

Stop.
make: stopped in /home/NetBSD/source/pkgsrc/lang/gcc34
*** Error code 1

Stop.
make: stopped in /home/NetBSD/source/pkgsrc/lang/gcc34
# strings /usr/pkg/gcc34/lib/libg2c.a | grep work
f__workdone
f__workdone
f__workdone
f__workdone
/home/NetBSD/build/pkgobj/i386/lang/gcc34/work/.tools/bin/chmod

>How-To-Repeat:
	Build lang/gcc34, run `strings /usr/pkg/gcc34/lib/libg2c.a | grep work'
>Fix:
	Not sure.