Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem bootstrapping portage on Mac OS 10.4.8, awk,
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
nyholku2
n00b
n00b


Joined: 03 Mar 2007
Posts: 2

PostPosted: Sun Mar 04, 2007 6:26 am    Post subject: Problem bootstrapping portage on Mac OS 10.4.8, awk, Reply with quote

Originally posted on Installing Gentoo -> moderated to Alternative Architectures -> moved it here by myself

Hi,

I'm trying to get portage to work on my Mac OS X 10.4.8 (dual core Intel) in order to try to get ebuilds work to build OpenCASCADE.

I found your excellent instructions from:

http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml

I've tried to follow the instructions to the letter but I'm running in difficulties:

1) gawk install failed, when executing:

./bootstrap-prefix.sh $EPREFIX/tmp gawk

Results in listing 1 below

2) emerge bash failed when I executed

emerge --oneshot bash


Results in listing 2 below


Can you help here or point me to somewhere where I could get/find help?

I've tried to do my homework but I've been now in this dependency loop (you need that to build that to fix this which you need to get those working which are required to build OpenCASCADE on Mac) for two weeks now and I'm a bit weary.

Not your problem though.

While on that subject, am I on the right track here as far as getting ebuilds to work on Mac OS? Your instructions seem pretty recent and thus I would presume they are not outdated.

Is ebuilds the way to go today to implement some easy to use ports of opensource software for Mac?

br Kusti

==============================================================================
LISTING 1: gaw install problem

nyholkumac:~/Gentoo nyholku$ ./bootstrap-prefix.sh $EPREFIX/tmp gawk
* Bootstrapping Gentoo prefixed portage installation using
* host: i386-apple-darwin8
* prefix: /Users/nyholku/Gentoo/tmp
* ready to bootstrap gawk
* Bootstrapping gawk
* Fetching gawk-3.1.5.tar.gz
--10:28:36-- http://ftp.gnu.org/gnu/gawk/gawk-3.1.5.tar.gz
=> `gawk-3.1.5.tar.gz'
Resolving ftp.gnu.org... 199.232.41.7
Connecting to ftp.gnu.org|199.232.41.7|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,310,919 (2.2M) [application/x-tar]

100%[====================================>] 2,310,919 206.42K/s ETA 00:00

10:28:54 (125.92 KB/s) - `gawk-3.1.5.tar.gz' saved [2310919/2310919]

* Unpacking gawk
* Compiling gawk
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for i386-apple-darwin8-strip... no
checking for strip... strip
checking for egrep... grep -E
checking for bison... bison -y
checking whether ln -s works... yes
checking for i386-apple-darwin8-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for i386-apple-darwin8-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... ./install-sh -c
checking whether make sets $(MAKE)... (cached) yes
checking for special development options... no
checking for AIX... no
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for AIX compilation hacks... no
checking for Linux/Alpha compilation hacks... no
checking for i386-apple-darwin8-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for function prototypes... yes
checking for string.h... (cached) yes
checking whether NLS is requested... yes
checking for msgfmt... /sw/bin/msgfmt
checking for gmsgfmt... /sw/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking build system type... i686-apple-darwin8.8.1
checking host system type... i386-apple-darwin8
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl -Wl,-framework -Wl,CoreFoundation
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking mcheck.h usability... no
checking mcheck.h presence... no
checking for mcheck.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking signum.h usability... no
checking signum.h presence... no
checking for signum.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for memory.h... (cached) yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for long long... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for ssize_t... yes
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for socklen_t... yes
checking for vprintf... yes
checking for _doprnt... no
checking for stdlib.h... (cached) yes
checking for strtod... yes
checking for strtod with C89 semantics... no
checking for stdlib.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for fmod in -lm... yes
checking for fmod... yes
checking for getgrent... yes
checking for getgroups... yes
checking for grantpt... yes
checking for iswctype... yes
checking for mbrlen... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for setlocale... yes
checking for snprintf... yes
checking for strchr... yes
checking for strerror... yes
checking for strftime... yes
checking for strncasecmp... yes
checking for strtod... (cached) yes
checking for strtoul... yes
checking for system... yes
checking for tzset... yes
checking for isascii... yes
checking for btowc... yes
checking for iswlower... yes
checking for iswupper... yes
checking for towlower... yes
checking for towupper... yes
checking for wcrtomb... yes
checking for wcscoll... yes
checking for wcscoll... (cached) yes
checking for wctype... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... yes
checking whether getpgrp requires zero arguments... yes
checking for printf %F format... yes
checking for gethostbyname... yes
checking for connect... yes
checking where to find the socket library calls... the standard library
checking for struct stat.st_blksize... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking whether char is unsigned... no
checking for an ANSI C-conforming const... yes
checking for C/C++ restrict keyword... __restrict
checking for inline... inline
checking for preprocessor stringizing operator... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating awklib/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating test/Makefile
config.status: creating version.c
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: fixing Makefile to keep version.c
make 'CFLAGS=-O2 -pipe' 'LDFLAGS=' all-recursive
Making all in .
if gcc -DDEFPATH="\".:/Users/nyholku/Gentoo/tmp/usr/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/Users/nyholku/Gentoo/tmp/usr/share/locale\"" -I. -I. -I. -O2 -pipe -MT array.o -MD -MP -MF ".deps/array.Tpo" -c -o array.o array.c; \
then mv -f ".deps/array.Tpo" ".deps/array.Po"; else rm -f ".deps/array.Tpo"; exit 1; fi
if gcc -DDEFPATH="\".:/Users/nyholku/Gentoo/tmp/usr/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/Users/nyholku/Gentoo/tmp/usr/share/locale\"" -I. -I. -I. -O2 -pipe -MT awkgram.o -MD -MP -MF ".deps/awkgram.Tpo" -c -o awkgram.o awkgram.c; \
then mv -f ".deps/awkgram.Tpo" ".deps/awkgram.Po"; else rm -f ".deps/awkgram.Tpo"; exit 1; fi
if gcc -DDEFPATH="\".:/Users/nyholku/Gentoo/tmp/usr/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/Users/nyholku/Gentoo/tmp/usr/share/locale\"" -I. -I. -I. -O2 -pipe -MT builtin.o -MD -MP -MF ".deps/builtin.Tpo" -c -o builtin.o builtin.c; \
then mv -f ".deps/builtin.Tpo" ".deps/builtin.Po"; else rm -f ".deps/builtin.Tpo"; exit 1; fi
builtin.c: In function 'wide_tolower_toupper':
builtin.c:1764: warning: pointer targets in assignment differ in signedness
builtin.c:1775: warning: pointer targets in assignment differ in signedness
builtin.c:1812: warning: pointer targets in passing argument 1 of 'make_str_node' differ in signedness
if gcc -DDEFPATH="\".:/Users/nyholku/Gentoo/tmp/usr/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/Users/nyholku/Gentoo/tmp/usr/share/locale\"" -I. -I. -I. -O2 -pipe -MT dfa.o -MD -MP -MF ".deps/dfa.Tpo" -c -o dfa.o dfa.c; \
then mv -f ".deps/dfa.Tpo" ".deps/dfa.Po"; else rm -f ".deps/dfa.Tpo"; exit 1; fi
In file included from dfa.c:112:
hard-locale.h: In function 'hard_locale':
hard-locale.h:43: error: invalid storage class for function 'xmalloc'
hard-locale.h:45: warning: initialization makes pointer from integer without a cast
dfa.c: At top level:
dfa.c:125: error: conflicting types for 'xmalloc'
hard-locale.h:45: error: previous implicit declaration of 'xmalloc' was here
dfa.c: In function 'update_mb_len_index':
dfa.c:417: warning: pointer targets in passing argument 1 of 'mbrlen' differ in signedness
dfa.c: In function 'lex':
dfa.c:793: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:941: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:947: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:957: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:965: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:980: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:1083: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:1086: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:1110: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:1114: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:1115: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:1118: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:1130: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c:1131: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness
dfa.c: In function 'match_mb_charset':
dfa.c:2602: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness
dfa.c:2609: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness
dfa.c:2622: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness
dfa.c: In function 'dfaexec':
dfa.c:2879: warning: pointer targets in assignment differ in signedness
dfa.c:2880: warning: pointer targets in assignment differ in signedness
make[2]: *** [dfa.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
nyholkumac:~/Gentoo nyholku$

===============================================
Listing 2: emerge --oneshot bash
nyholkumac:~/Gentoo nyholku$ emerge --oneshot bash
--- 'profiles/arch.list' is empty or not available. Empty portage tree?
Adjusting permissions recursively: '/Users/nyholku/Gentoo/tmp/var/cache/edb/dep'
--- 'profiles/updates' is empty or not available. Empty portage tree?
emergelog(): [Errno 2] No such file or directory: '/Users/nyholku/Gentoo/tmp/var/log/emerge.log'
emergelog(): [Errno 2] No such file or directory: '/Users/nyholku/Gentoo/tmp/var/log/emerge.log'
!!! ARCH is not set... Are you missing the '/etc/make.profile' symlink?
!!! Is the symlink correct? Is your portage tree complete?

emergelog(): [Errno 2] No such file or directory: '/Users/nyholku/Gentoo/tmp/var/log/emerge.log'
Back to top
View user's profile Send private message
jvogt
n00b
n00b


Joined: 10 Mar 2007
Posts: 1

PostPosted: Sat Mar 10, 2007 7:18 am    Post subject: MacPro Dual Xeon Dual Core processors. Reply with quote

Has anyone got Gentoo installed on a MacPro? I'm having problems similar to nyholku2.

Thanks.
_________________
http://www.HomeOfHiDef.com : Low prices and great selection of HD DVD Blu-Ray High Definition Movies and Electronics
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Williamstown, MA

PostPosted: Tue Mar 13, 2007 4:24 pm    Post subject: Reply with quote

Quote:
!!! ARCH is not set... Are you missing the '/etc/make.profile' symlink?
!!! Is the symlink correct? Is your portage tree complete?


This is rather telling that the bootstrap procedure was not followed exactly. It even sounds like EPREFIX was not set, or got unset somehow. Considering you are so close to the beginning, if I were you, I'd just start over. The section that install some packages into EPREFIX/tmp has been quite prone to user error, imho.
_________________
jñanam bandha
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Williamstown, MA

PostPosted: Tue Mar 13, 2007 4:25 pm    Post subject: Reply with quote

... and yes, I have prefix-portage running on an MBP 15'' Core Duo.
_________________
jñanam bandha
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum