Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117449 - portage 2.1-pre3 does not build on OS X 10.3
Summary: portage 2.1-pre3 does not build on OS X 10.3
Status: RESOLVED LATER
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All Other
: High normal
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-02 07:23 UTC by Michal Suchanek
Modified: 2006-04-12 10:54 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 Michal Suchanek 2006-01-02 07:23:31 UTC
Just after installation I emerged portage as specified in the howto. The 2.1 portage ebuild fails.

FEATURES="-collision-protect" emerge --nodeps portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.1_pre3-r1 to /
*** Adjusting cvs-src permissions for portage user...
>>> Downloading http://gentoo.osuosl.org/distfiles/portage-2.1_pre3.tar.bz2
######################################################################## 100.0%
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) portage-2.0.51.22-r3.ebuild
>>> md5 files   ;-) portage-2.0.53.ebuild
>>> md5 files   ;-) portage-2.0.54.ebuild
>>> md5 files   ;-) portage-2.1_pre3-r1.ebuild
>>> md5 files   ;-) files/05portage.envd
>>> md5 files   ;-) files/2.0.51.22-fixes.patch
>>> md5 files   ;-) files/digest-portage-2.0.51.22-r3
>>> md5 files   ;-) files/digest-portage-2.0.53
>>> md5 files   ;-) files/digest-portage-2.0.54
>>> md5 files   ;-) files/digest-portage-2.1_pre3-r1
>>> md5 files   ;-) files/README.RESCUE
>>> md5 files   ;-) files/xterm-titles.patch
>>> md5 src_uri ;-) portage-2.1_pre3.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.1_pre3.tar.bz2 to /var/tmp/portage/portage-2.1_pre3-r1/work
patching file pym/output.py
patching file pym/portage.py
>>> Source unpacked.
Listing /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym ...
Listing /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/__init__.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/anydbm.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/cache_errors.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/flat_hash.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/flat_list.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/fs_template.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/mappings.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/metadata.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/sql_template.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/sqlite.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/template.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cache/util.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/cvstree.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/dcdialog.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/dispatch_conf.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/eclass_cache.py ...
Listing /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/elog_modules ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/elog_modules/__init__.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/elog_modules/mod_custom.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/elog_modules/mod_mail.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/elog_modules/mod_save.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/elog_modules/mod_syslog.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/emergehelp.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/getbinpkg.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/output.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_checksum.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_const.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_contents.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_data.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_dep.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_exception.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_exec.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_file.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_gpg.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_localization.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_locks.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_util.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/portage_versions.py ...
Compiling /var/tmp/portage/portage-2.1_pre3-r1/work/portage-2.1_pre3/pym/xpak.py ...
QA Notice: USE Flag 'userland_Darwin' not in IUSE for sys-apps/portage-2.1_pre3-r1
running build
running build_ext
building 'missingos' extension
creating build
creating build/temp.darwin-7.9.0-Power_Macintosh-2.3
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c missingos.c -o build/temp.darwin-7.9.0-Power_Macintosh-2.3/missingos.o
missingos.c: In function `missingos_lchown':
missingos.c:45: warning: implicit declaration of function `lchown'
creating build/lib.darwin-7.9.0-Power_Macintosh-2.3
gcc -Wl,-F. -Wl,-F. -bundle -framework Python -O2 -pipe build/temp.darwin-7.9.0-Power_Macintosh-2.3/missingos.o -o build/lib.darwin-7.9.0-Power_Macintosh-2.3/missingos.so
ld: Undefined symbols:
_lchown
error: command 'gcc' failed with exit status 1

!!! ERROR: sys-apps/portage-2.1_pre3-r1 failed.
!!! Function src_compile, Line 39, Exitcode 1
!!! Failed to build missingos module
!!! If you need support, post the topmost build error, NOT this status message.


emerge info
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51-r3 (default-darwin/macos/10.3, gcc-3.3, unavailable, 7.9.0 Power Macintosh)
=================================================================
System uname: 7.9.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 ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin7"
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 autoconfig ccache collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc emboss opengl ppc-macos userland_BSD kernel_Darwin elibc_Darwin"
Comment 1 Fabian Groffen gentoo-dev 2006-01-02 07:36:46 UTC
Which howto are you referring to?

In any way, please use stable portage for ppc-macos, as the unstable ones are known to have glitches or not work as all for us.
Comment 2 Michal Suchanek 2006-01-03 07:26:44 UTC
As does the 'stable' one.  Some packages do not merge because there are the symlink problems.
Upgrading to the latest stable portage at least allows to build portage 2.0.53 which does not build with the portage in the installer either.

I started with setting ACCEPT_KEYWORDS to allow unstable packages because I read http://www.gentoo.org/proj/en/gentoo-alt/macos/keywording.xml
which says that stable packages are just historical relict for now.


The howto: http://gentoo-wiki.com/HOWTO_Gentoo_on_MAC_OSX. I found only this one.
Comment 3 Fabian Groffen gentoo-dev 2006-01-03 07:35:35 UTC
(In reply to comment #2)
> I started with setting ACCEPT_KEYWORDS to allow unstable packages because I
> read http://www.gentoo.org/proj/en/gentoo-alt/macos/keywording.xml
> which says that stable packages are just historical relict for now.

It says we try to avoid marking stable, just because of this kind of issues.  The latest stable portage for ppc-macos is the one known to more or less work.  It has symlink problems, yes.

Remember that the gentoo-wiki.com website is not an official Gentoo resource.
Comment 4 Fabian Groffen gentoo-dev 2006-01-03 07:38:50 UTC
... however, if you are challenged enough, feel free to drop us a note, to for instance participate in things like this: http://thread.gmane.org/gmane.linux.gentoo.macosx/768 which we have a more or less 'working' version for OSX.