Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84932 - portage-2.0.51.19 fails
Summary: portage-2.0.51.19 fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-11 21:43 UTC by Ben Powers
Modified: 2006-04-12 10:52 UTC (History)
0 users

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 Ben Powers 2005-03-11 21:43:05 UTC
I cannot complete emerge portage on Mac OS X

>>> Source unpacked.
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... ./create-localdecls: line 1: ldd: command not found

./create-localdecls: line 1: /bin/uname: No such file or directory
./create-localdecls: line 56: [: mips: unary operator expected

gcc -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
libsandbox.c: In function `open':
libsandbox.c:544: warning: `mode_t' is promoted to `int' when passed through `...'
libsandbox.c:544: warning: (so you should pass `int' not `mode_t' to `va_arg')
libsandbox.c: In function `init_env_entries':
libsandbox.c:958: warning: implicit declaration of function `strndupa'
libsandbox.c:958: warning: assignment makes pointer from integer without a cast
libsandbox.c:967: warning: implicit declaration of function `strndup'
libsandbox.c:967: warning: assignment makes pointer from integer without a cast
In file included from libsandbox.c:1380:
getcwd.c:224:1: warning: "__lstat" redefined
getcwd.c:207:1: warning: this is the location of the previous definition
In file included from libsandbox.c:1380:
getcwd.c: In function `__egetcwd':
getcwd.c:346: error: `__ptr_t' undeclared (first use in this function)
getcwd.c:346: error: (Each undeclared identifier is reported only once
getcwd.c:346: error: for each function it appears in.)
getcwd.c:346: error: parse error before "dotlist"
getcwd.c:388: warning: implicit declaration of function `_D_ALLOC_NAMLEN'
getcwd.c:419: warning: implicit declaration of function `_D_EXACT_NAMLEN'
getcwd.c:443: error: void value not ignored as it ought to be
getcwd.c:461: error: parse error before "dotlist"
getcwd.c:472: error: parse error before "dotlist"
getcwd.c: In function `egetcwd':
getcwd.c:483: error: argument `size' doesn't match prototype
libsandbox.c:137: error: prototype declaration
In file included from libsandbox.c:1381:
canonicalize.c: In function `erealpath':
canonicalize.c:153: warning: implicit declaration of function `__mempcpy'
canonicalize.c:153: warning: assignment makes pointer from integer without a cast
canonicalize.c:163: error: void value not ignored as it ought to be
make: *** [libsandbox.o] Error 1
Comment 1 Lina Pezzella (RETIRED) gentoo-dev 2005-03-12 09:48:55 UTC
Please add -sandbox to your FEATURES in make.conf and retry.
Sandbox does not currently work on any ppc architecture AFAIK.

Reopen if that doesn't fix it.
Comment 2 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-03-12 10:20:25 UTC
Sandbox works on all Linuxes, including Linux on PowerPC. There's just no implementation for Mac OS X.
Comment 3 Ben Powers 2005-03-12 10:24:38 UTC
Through correspondence with Lina, I have tried to disable sandbox by putting
FEATURES="collision-protect -sandbox" in /etc/make.conf
as well as using FEATURES="-sandbox" emerge portage
to no avail
Comment 4 Ciaran McCreesh 2005-03-12 10:37:07 UTC
Re comment #2 -- not entirely true. Sandbox won't work on Linux archs which have weird ABI requirements.