Gentoo Archives: gentoo-osx

From: m h <sesquile@×××××.com>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] [PREFIX] Creating a profile (package.provided)
Date: Thu, 16 Mar 2006 19:13:43
Message-Id: e36b84ee0603161112g141edf91r4e3bd5f7bf2659d@mail.gmail.com
In Reply to: Re: [gentoo-osx] [PREFIX] Creating a profile (package.provided) by Kito
On 3/16/06, Kito <kito@g.o> wrote:
> > On Mar 15, 2006, at 3:36 PM, m h wrote: > > > So I tried using Kito's solaris configure code this morning. I don't > > think it changed much. > > > > First thing is the ${PREFIX}/etc/make.profile symlink is invalid, > note the `!` . >
I'll look into what's causing the "!". Still getting it after updating..
> > Provided packages don't necessarily need an existing ${PV} in the > tree, so to start it is usually best to document which versions are > actually available on the host as opposed to which versions are in > PORTDIR. Take a look the 'packages' files in other profiles to see > examples of excluding/including system packages to a profile and > locking down specific versions. >
Still confused on this. Ideally I'd like to be using libc from the base system, but have everything else(excluding stuff like udev) build under the prefix.... (I just want to use the native compiler/python/bash to bootstrap).
> Also, try the portage-prefix-2.1.10 snapshot, it adds the > DEFAULT_PATH variable in make.globals, this allows you to set the > PATH available to portage. It defaults to only ${PREFIX} paths, but > it can be overridden in the profiles or make.conf. >
Tried the 2.1.10 and there seems to be a simple issue : emerge --info .... Performing Global Updates: /tmp/Mar16/usr/portage/profiles/updates/4Q-2005 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' .................. Traceback (most recent call last): File "/tmp/Mar16/usr/bin/emerge", line 11, in ? import portage File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6933, in ? global_updates() File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6887, in global_updates update_config_files(myupd) File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6844, in update_config_files write_atomic(os.path.join("/", WORLD_FILE), "\n".join(worldlist)) File "/tmp/Mar16/usr/lib/portage/pym/portage_util.py", line 601, in write_atomic f.close() File "/tmp/Mar16/usr/lib/portage/pym/portage_util.py", line 565, in close apply_stat_permissions(self.name, os.stat(self._real_name)) OSError: [Errno 2] No such file or directory: '/tmp/Mar16/var/lib/portage/world' Touching the file made this go away. Now my emerge --info looks like this: $ emerge --info !!! Problem with sandbox binary. Disabling... Performing Global Updates: /tmp/Mar16/usr/portage/profiles/updates/3Q-2002 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' ........................................................................................ SNIP/SNIP Performing Global Updates: /tmp/Mar16/usr/portage/profiles/updates/4Q-2005 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' .................. emerge: wheel group use is being deprecated. Please update group and passwd to include the portage user as noted above, and then use group portage. !!! 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.1.10 (!/home/spike/portage/portage-alt-prefix/profiles/linux/x86/fc3, gcc-3.4.3, unavailable, 2.6.9-5.EL i686) ================================================================= System uname: 2.6.9-5.EL i686 i686 Unknown Host Operating System dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] sys-devel/odcctools: [Not Present] virtual/os-headers: [Not Present] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /tmp/Mar16/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /tmp/Mar16/etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DEFAULT_PATH="/tmp/Mar16/sbin:/tmp/Mar16/usr/sbin:/tmp/Mar16/bin:/tmp/Mar16/usr/bin:/tmp/Mar16/usr/lib/portage/bin:/usr/bin:/usr/sbin:/bin:/sbin" DISTDIR="/tmp/Mar16/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" PKGDIR="/tmp/Mar16/usr/portage/packages" PORTAGE_TMPDIR="/tmp/Mar16/var/tmp" PORTDIR="/tmp/Mar16/usr/portage" PREFIX="/tmp/Mar16" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 berkdb crypt ipv6 ncurses nls pam perl python readline ssl tcpd zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY Trying to emerge the system gives me: $ emerge -av system !!! Problem with sandbox binary. Disabling... Performing Global Updates: /tmp/Mar16/usr/portage/profiles/updates/3Q-2002 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' ........................................................................................ SNIP/SNIP Performing Global Updates: /tmp/Mar16/usr/portage/profiles/updates/4Q-2005 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' .................. emerge: wheel group use is being deprecated. Please update group and passwd to include the portage user as noted above, and then use group portage. These are the packages that would be merged, in order: Calculating system dependencies | emerge: there are no ebuilds to satisfy "virtual/libintl". (dependency required by "sys-apps/sed-4.1.4-r1" [ebuild]) !!! Problem resolving dependencies for virtual/libc !!! Depgraph creation failed. I'll start off looking at why my profile has a ! in front.... -- gentoo-osx@g.o mailing list

Replies