Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197326 - sys-apps/findutils-4.3.8-r1 fails to build with glibc-2.7
Summary: sys-apps/findutils-4.3.8-r1 fails to build with glibc-2.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-28 20:18 UTC by Peter Alfredsen (RETIRED)
Modified: 2007-10-28 21:21 UTC (History)
0 users

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


Attachments
findutils-4.3.8-ptrdiff_t.patch (findutils-4.3.8-ptrdiff_t.patch,445 bytes, patch)
2007-10-28 20:30 UTC, Peter Alfredsen (RETIRED)
Details | Diff
findutils-4.3.8-r1.patch (findutils-4.3.8-r1.patch,551 bytes, patch)
2007-10-28 20:35 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2007-10-28 20:18:45 UTC
findutils fails to build against sys-libs/glibc-2.7. Error:
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../intl   -O2 -march=athlon-xp -pipe -ggdb3 -MT mbslen.o -MD -MP -MF .deps/mbslen.Tpo -c -o mbslen.o mbslen.c
In file included from mbslen.c:26:
mbuiter.h:185: error: expected declaration specifiers or ‘...’ before ‘ptrdiff_t’
mbuiter.h: In function ‘mbuiter_multi_reloc’:
mbuiter.h:187: error: ‘ptrdiff’ undeclared (first use in this function)
mbuiter.h:187: error: (Each undeclared identifier is reported only once
mbuiter.h:187: error: for each function it appears in.)


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2007-10-28 20:30:50 UTC
Created attachment 134566 [details, diff]
findutils-4.3.8-ptrdiff_t.patch

This fixes it for me. Place in FILESDIR.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2007-10-28 20:35:24 UTC
Created attachment 134571 [details, diff]
findutils-4.3.8-r1.patch

Patch for ebuild
Comment 3 SpanKY gentoo-dev 2007-10-28 21:21:08 UTC
fixed in cvs, cheers