Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260 - findutils-4.1.7.ebuild fails
Summary: findutils-4.1.7.ebuild fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-21 09:34 UTC by Nicholas Burlett
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Burlett 2002-01-21 09:34:49 UTC
findutils-4.1.7.ebuild fails to build on my box as follows: 

[snip]
Making all in intl
make[2]: Entering directory
`/var/tmp/portage/findutils-4.1.7/work/findutils-4.1.7/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/findutils-4.1.7/work/findutils-4.1.7/intl'
Making all in find
make[2]: Entering directory
`/var/tmp/portage/findutils-4.1.7/work/findutils-4.1.7/find'
Making all in testsuite
make[3]: Entering directory
`/var/tmp/portage/findutils-4.1.7/work/findutils-4.1.7/find/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/var/tmp/portage/findutils-4.1.7/work/findutils-4.1.7/find/testsuite'
make[3]: Entering directory
`/var/tmp/portage/findutils-4.1.7/work/findutils-4.1.7/find'
i686-pc-linux-gnu-gcc  -mcpu=i686 -march=i686 -O3 -pipe   -o find  find.o
fstype.o parser.o pred.o tree.o util.o version.o ../lib/libfind.a  
fstype.o: In function `filesystem_type_uncached':
fstype.o(.text+0x1c3): undefined reference to `pioctl'
collect2: ld returned 1 exit status
make[3]: *** [find] Error 1
make[3]: Leaving directory
`/var/tmp/portage/findutils-4.1.7/work/findutils-4.1.7/find'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/findutils-4.1.7/work/findutils-4.1.7/find'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/findutils-4.1.7/work/findutils-4.1.7'
make: *** [all-redirect] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 4, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/sys-apps/findutils/findutils-4.1.7.ebuild .


If there's anything more you need to know that I didn't think to include, feel
free to email me: nrb23@cornell.edu
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-01-23 17:16:01 UTC
Not sure as to why this happens ... what version binutils are you using ?
Comment 2 Nicholas Burlett 2002-01-23 17:47:33 UTC
could this be the problem?

bash-2.05a# /usr/lib/portage/bin/pkglist | grep binutils
sys-devel/binutils-2.11.92.0.12.3-r1
sys-devel/binutils-2.11.90.0.7

I'm not sure why there are two binutils in the package list.. 
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-01-25 23:41:49 UTC
no, that's not the problem.  Hmm...
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2002-02-02 11:40:44 UTC
And I'm assuming that this happens every time you try to merge the findutils
ebuild?  It dies in the exact same place?
Comment 5 Nicholas Burlett 2002-02-02 12:43:31 UTC
Yes, although I haven't attempted to re-build it since I reported the bug. 
Comment 6 Daniel Robbins (RETIRED) gentoo-dev 2002-02-09 22:17:17 UTC
try rebuilding it with an updated Portage tree and see what happens.
Comment 7 Daniel Robbins (RETIRED) gentoo-dev 2002-02-20 00:10:21 UTC
due to lack of info, marking as WORKSFORME for now.
Comment 8 Marcus Spading 2002-09-27 17:13:27 UTC
the problem is still there and IMHO it is AFS-related. if you have AFS installed, the findutils ebuild fails at exactly the same location. 
Comment 9 Brad Cowan (RETIRED) gentoo-dev 2002-11-06 03:18:52 UTC
I have just confirmed the afs findutils bug, Have to look into how to fix it
Comment 10 John Jolly 2002-11-08 10:11:31 UTC
I found when I added the following lines to the findutils ebuild, things worked.

--- findutils-4.1.7-r1.ebuild	2002-11-08 09:05:10.000000000 -0700
+++ findutils-4.1.7-r1.ebuild.new	2002-11-07 16:51:50.000000000 -0700
@@ -22,6 +22,10 @@
 
 	use nls || myconf="${myconf} --disable-nls"
 
+	export CPPFLAGS=-I/usr/afsws/include
+	export LDFLAGS=-lpam
+	export LIBS=/usr/afsws/lib/pam_afs.so.1
+
 	./configure --host=${CHOST} \
 		--prefix=/usr \
 		--localstatedir=/var/spool/locate \

I don't propose this as a fix, but simply as where to look for a fix.  I'll 
leave the final resolution to the paid experts ;-)
Comment 11 Brad Cowan (RETIRED) gentoo-dev 2002-11-30 04:13:11 UTC
I commited this as a temp fix if use afs is present THX