Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo for Mac OS X (Portage for Mac OS X)
  • Search

Emerge Portage: `__ptr_t' undeclared

Running Portage on Mac OS X and need help with a problem? Post here.
Locked
Advanced search
5 posts • Page 1 of 1
Author
Message
iBormuth
n00b
n00b
User avatar
Posts: 59
Joined: Tue Jan 13, 2004 9:16 pm

Emerge Portage: `__ptr_t' undeclared

  • Quote

Post by iBormuth » Fri Jan 21, 2005 7:36 pm

Hmm... tried to emerge portage ... without success:

Error: getcwd.c:346: error: `__ptr_t' undeclared (first use in this function)
XCode: 1.5
Portage: 2.0.51-r14
Quite new gentoo for MacOsX install. So customisation yet.

That error was reported several times at several places,
but I never saw a solution or even discussion on the
toppic. It might be I missed something.
Please give me a hint.

Thanks

========================


Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.51-r14 to /
>>> Downloading >>> md5 src_uri ;-) portage-2.0.51-r14.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.51-r14.tar.bz2 to /var/tmp/portage/portage-2.0.51-r14/work
patching file pym/portage.py
>>> 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

!!! ERROR: sys-apps/portage-2.0.51-r14 failed.
!!! Function src_compile, Line 115, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message
Top
pindar
Apprentice
Apprentice
Posts: 220
Joined: Fri Apr 30, 2004 1:33 pm

  • Quote

Post by pindar » Fri Jan 21, 2005 8:52 pm

http://forums.gentoo.org/viewtopic.php?t=242214
http://forums.gentoo.org/viewtopic.php?t=254322
Top
iBormuth
n00b
n00b
User avatar
Posts: 59
Joined: Tue Jan 13, 2004 9:16 pm

  • Quote

Post by iBormuth » Thu Jan 27, 2005 8:26 pm

I tried both suggestions - no success ...

The Error stays the same

$ emerge info:
Portage 2.0.51-r3 (default-macos-10.3, gcc-3.3, libsystem-7.1-r0, 7.7.0 Power Macintosh)
=================================================================
System uname: 7.7.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
Autoconf:
Automake:
Binutils:
Headers:
Libtools:
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distlocks"
GENTOO_MIRRORS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="macos"
Top
pindar
Apprentice
Apprentice
Posts: 220
Joined: Fri Apr 30, 2004 1:33 pm

  • Quote

Post by pindar » Fri Jan 28, 2005 11:44 am

http://bugs.gentoo.org/show_bug.cgi?id=68502
Top
iBormuth
n00b
n00b
User avatar
Posts: 59
Joined: Tue Jan 13, 2004 9:16 pm

  • Quote

Post by iBormuth » Fri Jan 28, 2005 8:35 pm

Thank you,
linking /etc/make.profile to /usr/portage/profiles/default-darwin/macos/10.3 did the job.
Top
Locked

5 posts • Page 1 of 1

Return to “Gentoo for Mac OS X (Portage for Mac OS X)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic