Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229229 - dev-util/strace fails to build on ~sparc
Summary: dev-util/strace 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: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 16:51 UTC by Raúl Porcel (RETIRED)
Modified: 2008-06-29 14:28 UTC (History)
1 user (show)

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


Attachments
strace-4.5.16-sparc-229229.tar.bz2 (strace-4.5.16-sparc-229229.tar.bz2,4.17 KB, application/octet-stream)
2008-06-28 17:46 UTC, SpanKY
Details
strace-4.5.16-sparc-229229.tar.bz2 (strace-4.5.16-sparc-229229.tar.bz2,4.31 KB, application/octet-stream)
2008-06-29 11:12 UTC, SpanKY
Details
strace-4.5.16-sparc-229229.tar.bz2 (strace-4.5.16-sparc-229229.tar.bz2,4.32 KB, application/octet-stream)
2008-06-29 11:41 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raúl Porcel (RETIRED) gentoo-dev 2008-06-24 16:51:34 UTC
This is with glibc-2.8 and gcc-4.3.1

sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Ilinux/sparc -I./linux/sparc -Ilinux -I./linux   -Wall -O2 -mcpu=ultrasparc -pipe -MT signal.o -MD -MP -MF .deps/signal.Tpo -c -o signal.o signal.c
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Ilinux/sparc -I./linux/sparc -Ilinux -I./linux   -Wall -O2 -mcpu=ultrasparc -pipe -MT sock.o -MD -MP -MF .deps/sock.Tpo -c -o sock.o sock.c
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Ilinux/sparc -I./linux/sparc -Ilinux -I./linux   -Wall -O2 -mcpu=ultrasparc -pipe -MT system.o -MD -MP -MF .deps/system.Tpo -c -o system.o system.c
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Ilinux/sparc -I./linux/sparc -Ilinux -I./linux   -Wall -O2 -mcpu=ultrasparc -pipe -MT term.o -MD -MP -MF .deps/term.Tpo -c -o term.o term.c
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Ilinux/sparc -I./linux/sparc -Ilinux -I./linux   -Wall -O2 -mcpu=ultrasparc -pipe -MT time.o -MD -MP -MF .deps/time.Tpo -c -o time.o time.c
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Ilinux/sparc -I./linux/sparc -Ilinux -I./linux   -Wall -O2 -mcpu=ultrasparc -pipe -MT proc.o -MD -MP -MF .deps/proc.Tpo -c -o proc.o proc.c
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Ilinux/sparc -I./linux/sparc -Ilinux -I./linux   -Wall -O2 -mcpu=ultrasparc -pipe -MT scsi.o -MD -MP -MF .deps/scsi.Tpo -c -o scsi.o scsi.c
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Ilinux/sparc -I./linux/sparc -Ilinux -I./linux   -Wall -O2 -mcpu=ultrasparc -pipe -MT stream.o -MD -MP -MF .deps/stream.Tpo -c -o stream.o stream.c
In file included from io.c:33:
defs.h:195:25: error: linux/a.out.h: No such file or directory
In file included from quota.c:34:
defs.h:195:25: error: linux/a.out.h: No such file or directory
In file included from util.c:36:
In file included from syscall.c:36:
defs.h:195:25: error: linux/a.out.h: No such file or directory
defs.h:195:25:In file included from file.c:34:
defs.h:195:25: error: linux/a.out.h: No such file or directory
 error: linux/a.out.h: No such file or directory
In file included from desc.c:33In file included from count.c:38:
defs.h:195:25: error: linux/a.out.h: No such file or directory
:
defs.h:195:25:In file included from strace.c:33:
defs.h:195:25: error: linux/a.out.h: No such file or directory
 error: linux/a.out.h: No such file or directory
In file included from process.c:40:
defs.h:195:25:In file included from ipc.c:33:
defs.h:195:25: error: linux/a.out.h: No such file or directory
In file included from mem.c:35:
defs.h:195:25: error: linux/a.out.h: No such file or directory
 error: linux/a.out.h: No such file or directory
In file included from bjm.c:32:
In file included from ioctl.c:33:
defs.h:195:25: error: linux/a.out.h: No such file or directory
defs.h:195:25: error: linux/a.out.h: No such file or directory
make[1]: *** [io.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from net.c:33:
defs.h:195:25: error: linux/a.out.h: No such file or directory
In file included from sock.c:30:
defs.h:195:25: error: linux/a.out.h: No such file or directory
In file included from scsi.c:1:
In file included from resource.c:33:
defs.h:195:25: error: linux/a.out.h: No such file or directory
defs.h:195:25: error: linux/a.out.h: No such file or directory
In file included from signal.c:36:
defs.h:195:25: error: linux/a.out.h: No such file or directory
In file included from term.c:30:
defs.h:195:25: error: linux/a.out.h: No such file or directory
In file included from proc.c:30make[1]: *** [quota.o] Error 1
In file included from time.c:32:
defs.h:195:25: error: linux/a.out.h: No such file or directory
:
defs.h:195:25: error: linux/a.out.h: No such file or directory
In file included from system.c:33:
defs.h:195:25: error: linux/a.out.h: No such file or directory
In file included from stream.c:31:
defs.h:195:25: error: linux/a.out.h: No such file or directory
make[1]: *** [proc.o] Error 1
make[1]: *** [scsi.o] Error 1
make[1]: *** [bjm.o] Error 1
make[1]: *** [count.o] Error 1
make[1]: *** [resource.o] Error 1
make[1]: *** [stream.o] Error 1
make[1]: *** [ipc.o] Error 1
make[1]: *** [mem.o] Error 1
util.c: In function 'printcall':
file.c: In function 'realprintstat':
file.c:922: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
util.c:1186: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'int'
make[1]: *** [sock.o] Error 1
make[1]: *** [term.o] Error 1
make[1]: *** [desc.o] Error 1
make[1]: *** [signal.o] Error 1
make[1]: *** [util.o] Error 1
make[1]: *** [time.o] Error 1
make[1]: *** [strace.o] Error 1
make[1]: *** [net.o] Error 1
make[1]: *** [system.o] Error 1
syscall.c: In function 'get_scno':
syscall.c:1210: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
syscall.c: In function 'syscall_fixup':
syscall.c:1337: warning: unused variable 'pid'
syscall.c: In function 'syscall_enter':
syscall.c:1915: warning: unused variable 'pid'
make[1]: *** [process.o] Error 1
make[1]: *** [file.o] Error 1
make[1]: *** [ioctl.o] Error 1
make[1]: *** [syscall.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/strace-4.5.16-r1/work/strace-4.5.16'
make: *** [all] Error 2

Portage 2.2_rc1 (default/linux/sparc/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 sparc64)
=================================================================
System uname: Linux-2.6.25-gentoo-r4-sparc64-sun4v-with-glibc2.0
Timestamp of tree: Tue, 24 Jun 2008 11:30:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="sparc ~sparc"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans usebinpkg userfetch"
GENTOO_MIRRORS="ftp://gentoo.osuosl.org/pub/gentoo"
LDFLAGS=""
MAKEOPTS="-j33"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://raptor.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gcc64 gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session sparc spl ssl tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2008-06-28 17:46:15 UTC
Created attachment 158791 [details]
strace-4.5.16-sparc-229229.tar.bz2

try this strace-4.5.16-r1.ebuild please ... just unpack it into the strace dir
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-06-29 10:04:42 UTC
Fails:
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-am
make[1]: Entering directory `/var/tmp/portage/dev-util/strace-4.5.16-r1/work/strace-4.5.16'
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Ilinux/sparc -I./linux/sparc -Ilinux -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. -Ilinux/sparc -I./linux/sparc -Ilinux -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:129:
linux/sparc/syscallent.h:153: error: ‘sys_inotify_add_watch’ undeclared here (not in a function)
linux/sparc/syscallent.h:157: error: ‘sys_inotify_rm_watch’ undeclared here (not in a function)
linux/sparc/syscallent.h:203: error: ‘sys_oldlstat’ undeclared here (not in a function)
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)
syscall.c: In function ‘get_scno’:
syscall.c:1165: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘long unsigned int’
syscall.c: In function ‘syscall_fixup’:
syscall.c:1292: warning: unused variable ‘pid’
syscall.c: In function ‘syscall_enter’:
syscall.c:1870: warning: unused variable ‘pid’
make[1]: *** [syscall.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/strace-4.5.16-r1/work/strace-4.5.16'
make: *** [all] Error 2
 *
 * ERROR: dev-util/strace-4.5.16-r1 failed.
 * Call stack:
Comment 3 SpanKY gentoo-dev 2008-06-29 11:12:58 UTC
Created attachment 158845 [details]
strace-4.5.16-sparc-229229.tar.bz2

this should fix that error
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2008-06-29 11:18:14 UTC
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-am
make[1]: Entering directory `/var/tmp/portage/dev-util/strace-4.5.16-r1/work/strace-4.5.16'
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Ilinux/sparc -I./linux/sparc -Ilinux -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. -Ilinux/sparc -I./linux/sparc -Ilinux -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:129:
linux/sparc/syscallent.h:311: error: ‘sys_utimensat’ undeclared here (not in a function)
syscall.c: In function ‘get_scno’:
syscall.c:1165: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘long unsigned int’
syscall.c: In function ‘syscall_fixup’:
syscall.c:1292: warning: unused variable ‘pid’
syscall.c: In function ‘syscall_enter’:
syscall.c:1870: warning: unused variable ‘pid’
make[1]: *** [syscall.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/strace-4.5.16-r1/work/strace-4.5.16'
make: *** [all] Error 2
 *
 * ERROR: dev-util/strace-4.5.16-r1 failed.
 * Call stack:
Comment 5 SpanKY gentoo-dev 2008-06-29 11:41:07 UTC
Created attachment 158847 [details]
strace-4.5.16-sparc-229229.tar.bz2
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2008-06-29 14:04:34 UTC
Now it compiles and works, thanks :)