Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336939 - =dev-util/strace-4.5.20 fails to build on SPARC
Summary: =dev-util/strace-4.5.20 fails to build on SPARC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://patch-tracker.debian.org/patch...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-12 18:22 UTC by Raúl Porcel (RETIRED)
Modified: 2010-09-12 19:40 UTC (History)
1 user (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 Raúl Porcel (RETIRED) gentoo-dev 2010-09-12 18:22:27 UTC
This patch from debian fixes it:
http://patch-tracker.debian.org/patch/series/dl/strace/4.5.20-2/sparc-syscalls.diff

make[1]: Entering directory `/var/tmp/portage/dev-util/strace-4.5.20/work/strace-4.5.20'
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./linux/sparc -I./linux   -Wall -O2 -mcpu=ultrasparc -pipe -MT strace.o -MD -MP -MF .deps/strace.Tpo -c -o strace.o strace.c
mv -f .deps/strace.Tpo .deps/strace.Po
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./linux/sparc -I./linux   -Wall -O2 -mcpu=ultrasparc -pipe -MT syscall.o -MD -MP -MF .deps/syscall.Tpo -c -o syscall.o syscall.c
In file included from syscall.c:114:
./linux/sparc/syscallent.h:304: error: 'sys_mbind' undeclared here (not in a function)
./linux/sparc/syscallent.h:305: error: 'sys_get_mempolicy' undeclared here (not in a function)
./linux/sparc/syscallent.h:306: error: 'sys_set_mempolicy' undeclared here (not in a function)
./linux/sparc/syscallent.h:311: error: 'sys_utimensat' undeclared here (not in a function)
./linux/sparc/syscallent.h:313: error: 'sys_timerfd_create' undeclared here (not in a function)
./linux/sparc/syscallent.h:315: error: 'sys_fallocate' undeclared here (not in a function)
./linux/sparc/syscallent.h:316: error: 'sys_timerfd_settime' undeclared here (not in a function)
./linux/sparc/syscallent.h:317: error: 'sys_timerfd_gettime' undeclared here (not in a function)
./linux/sparc/syscallent.h:318: error: 'sys_signalfd4' undeclared here (not in a function)
./linux/sparc/syscallent.h:319: error: 'sys_eventfd2' undeclared here (not in a function)
./linux/sparc/syscallent.h:320: error: 'sys_epoll_create1' undeclared here (not in a function)
./linux/sparc/syscallent.h:321: error: 'sys_dup3' undeclared here (not in a function)
./linux/sparc/syscallent.h:322: error: 'sys_pipe2' undeclared here (not in a function)
./linux/sparc/syscallent.h:323: error: 'sys_inotify_init1' undeclared here (not in a function)
make[1]: *** [syscall.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/strace-4.5.20/work/strace-4.5.20'
make: *** [all] Error 2
emake failed
 * ERROR: dev-util/strace-4.5.20 failed:
 *   (no error message)
Comment 1 SpanKY gentoo-dev 2010-09-12 19:40:47 UTC
ive added the commit from upstream (not exactly the same, but functionality equivalent)

http://sources.gentoo.org/dev-util/strace/strace-4.5.20.ebuild?r1=1.1&r2=1.2
http://sources.gentoo.org/dev-util/strace/files/strace-4.5.20-sparc.patch?rev=1.1