Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265020 - sys-apps/sandbox-1.8 fails to build on arm/hppa due to garbled trace_syscalls.h
Summary: sys-apps/sandbox-1.8 fails to build on arm/hppa due to garbled trace_syscalls.h
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
: 265348 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-05 20:27 UTC by Ryan Tandy
Modified: 2009-04-09 10:28 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 Ryan Tandy 2009-04-05 20:27:38 UTC
the awk script that generates trace_syscalls.h expects the syscall numbers defined like this:

#define __NR_lchown 16

on arm, it looks like this:

#define __NR_lchown (__NR_SYSCALL_BASE+ 16)

which results in an unusable trace_syscalls.h.

Portage 2.1.6.11 (default/linux/arm/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo armv5tel)
=================================================================
System uname: Linux-2.6.29-gentoo-armv5tel-Feroceon_rev_0_-v5l-with-glibc2.4
Timestamp of tree: Sun, 05 Apr 2009 17:15:01 +0000
app-shells/bash:     4.0_p10-r1
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="arm ~arm"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-Os -mcpu=arm926ej-s -fomit-frame-pointer -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -mcpu=arm926ej-s -fomit-frame-pointer -pipe"
DISTDIR="/srv/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.osuosl.org/pub/gentoo"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2 -s"
PKGDIR="/srv/packages/armv5tel-softfloat-linux-gnueabi"
PORTAGE_CONFIGROOT="/"
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="/srv/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="arm bzip2 cxx glibc-omitfp iconv idn lzma multiuser ncurses nethack pam pcre readline sha512 ssl symlink unicode urandom vim-syntax webdav-neon xml zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident    vga voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 SpanKY gentoo-dev 2009-04-09 10:28:01 UTC
*** Bug 265348 has been marked as a duplicate of this bug. ***