Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 136164

Summary: stabilize dev-util/strace-4.5.12
Product: Gentoo Linux Reporter: Thierry Terrier <terrier.thierry>
Component: [OLD] DevelopmentAssignee: MIPS Porters <mips>
Status: RESOLVED FIXED    
Severity: normal CC: jakub, terrier.thierry
Priority: Highest    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thierry Terrier 2006-06-09 02:16:56 UTC
strace doesn't built on amd64

if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/x86_64 -I./linux/x86_64 -Ilinux -I./linux   -Wall -g -O2 -MT resource.o -MD -MP -MF ".deps/resource.Tpo" -c -o resource.o resource.c; \
then mv -f ".deps/resource.Tpo" ".deps/resource.Po"; else rm -f ".deps/resource.Tpo"; exit 1; fi
resource.c:478: error: `Q_SETUSE' undeclared here (not in a function)
resource.c:478: error: initializer element is not constant
resource.c:478: error: (near initialization for `quotacmds[4].val')
...
make[1]: *** [resource.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/strace-4.5.11/work/strace-4.5.11'
make: *** [all] Error 2

Applying patch strace-4.5.12-quota.patch solves the problem.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-09 02:26:29 UTC
Yet another dupe of Bug 102080. About enough, amd64 please stabilize something that actually compiles, it's been fixed 10 months ago:

18 Aug 2005; Mike Frysinger <vapier@gentoo.org>
  +files/strace-4.5.12-quota.patch, strace-4.5.12.ebuild:
  Fix building with newer glibc snapshots with a patch from upstream cvs
  #102080 by Alexey Maximov/Hanno Meyer-Thurow/Mark Loeser.
Comment 2 Thierry Terrier 2006-06-09 02:45:09 UTC
Sorry for the noise.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-09 02:47:44 UTC
(In reply to comment #2)
> Sorry for the noise.

Don't close this, please. We need a working version stable, 4.5.11 does not compile w/ current stable glibc.


Comment 4 Thierry Terrier 2006-06-09 03:31:10 UTC
If I put these lines in /etc/portage/package.keywords
# dev-util/strace-4.5.11 problem
dev-util/strace-4.5.12 ~amd64

I can't emerge testing version with
emerge --ask --oneshot =dev-util/strace-4.5.12

But if I use:
ebuild /usr/portage/dev-util/strace/strace-4.5.12.ebuild unpack compile install qmerge
All gone OK and strace is operationnal

Thanks.
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-06-11 03:05:44 UTC
works fine here, marked stable
Comment 6 SpanKY gentoo-dev 2006-06-25 01:58:50 UTC
mips is moved to Bug 137914