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
1 On 3/16/06, Kito <kito@g.o> wrote:
2 >
3 > On Mar 15, 2006, at 3:36 PM, m h wrote:
4 >
5 > > So I tried using Kito's solaris configure code this morning. I don't
6 > > think it changed much.
7 > >
8 >
9 > First thing is the ${PREFIX}/etc/make.profile symlink is invalid,
10 > note the `!` .
11 >
12
13 I'll look into what's causing the "!". Still getting it after updating..
14
15
16 >
17 > Provided packages don't necessarily need an existing ${PV} in the
18 > tree, so to start it is usually best to document which versions are
19 > actually available on the host as opposed to which versions are in
20 > PORTDIR. Take a look the 'packages' files in other profiles to see
21 > examples of excluding/including system packages to a profile and
22 > locking down specific versions.
23 >
24
25 Still confused on this. Ideally I'd like to be using libc from the
26 base system, but have everything else(excluding stuff like udev)
27 build under the prefix.... (I just want to use the native
28 compiler/python/bash to bootstrap).
29
30 > Also, try the portage-prefix-2.1.10 snapshot, it adds the
31 > DEFAULT_PATH variable in make.globals, this allows you to set the
32 > PATH available to portage. It defaults to only ${PREFIX} paths, but
33 > it can be overridden in the profiles or make.conf.
34 >
35
36 Tried the 2.1.10 and there seems to be a simple issue :
37 emerge --info
38 ....
39 Performing Global Updates: /tmp/Mar16/usr/portage/profiles/updates/4Q-2005
40 (Could take a couple of minutes if you have a lot of binary packages.)
41 .='update pass' *='binary update' @='/var/db move'
42 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
43 ..................
44 Traceback (most recent call last):
45 File "/tmp/Mar16/usr/bin/emerge", line 11, in ?
46 import portage
47 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6933, in ?
48 global_updates()
49 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6887, in global_updates
50 update_config_files(myupd)
51 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6844, in
52 update_config_files
53 write_atomic(os.path.join("/", WORLD_FILE), "\n".join(worldlist))
54 File "/tmp/Mar16/usr/lib/portage/pym/portage_util.py", line 601, in
55 write_atomic
56 f.close()
57 File "/tmp/Mar16/usr/lib/portage/pym/portage_util.py", line 565, in close
58 apply_stat_permissions(self.name, os.stat(self._real_name))
59 OSError: [Errno 2] No such file or directory: '/tmp/Mar16/var/lib/portage/world'
60
61 Touching the file made this go away.
62
63 Now my emerge --info looks like this:
64 $ emerge --info
65 !!! Problem with sandbox binary. Disabling...
66
67
68
69 Performing Global Updates: /tmp/Mar16/usr/portage/profiles/updates/3Q-2002
70 (Could take a couple of minutes if you have a lot of binary packages.)
71 .='update pass' *='binary update' @='/var/db move'
72 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
73 ........................................................................................
74
75
76 SNIP/SNIP
77
78 Performing Global Updates: /tmp/Mar16/usr/portage/profiles/updates/4Q-2005
79 (Could take a couple of minutes if you have a lot of binary packages.)
80 .='update pass' *='binary update' @='/var/db move'
81 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
82 ..................
83
84
85 emerge: wheel group use is being deprecated. Please update group and passwd to
86 include the portage user as noted above, and then use group portage.
87 !!! Relying on the shell to locate gcc, this may break
88 !!! DISTCC, installing gcc-config and setting your current gcc
89 !!! profile will fix this
90 Portage 2.1.10 (!/home/spike/portage/portage-alt-prefix/profiles/linux/x86/fc3,
91 gcc-3.4.3, unavailable, 2.6.9-5.EL i686)
92 =================================================================
93 System uname: 2.6.9-5.EL i686 i686
94 Unknown Host Operating System
95 dev-lang/python: [Not Present]
96 sys-apps/sandbox: [Not Present]
97 sys-devel/autoconf: [Not Present]
98 sys-devel/automake: [Not Present]
99 sys-devel/binutils: [Not Present]
100 sys-devel/libtool: [Not Present]
101 sys-devel/odcctools: [Not Present]
102 virtual/os-headers: [Not Present]
103 ACCEPT_KEYWORDS="x86 ~x86"
104 AUTOCLEAN="yes"
105 CBUILD="i686-pc-linux-gnu"
106 CFLAGS="-O2 -mcpu=i686 -pipe"
107 CHOST="i686-pc-linux-gnu"
108 CONFIG_PROTECT="/etc /tmp/Mar16/etc /usr/kde/2/share/config
109 /usr/kde/3/share/config /usr/share/config /var/qmail/control"
110 CONFIG_PROTECT_MASK="/etc/gconf /tmp/Mar16/etc/env.d"
111 CXXFLAGS="-O2 -mcpu=i686 -pipe"
112 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"
113 DISTDIR="/tmp/Mar16/usr/portage/distfiles"
114 FEATURES="autoconfig distlocks metadata-transfer sfperms strict"
115 GENTOO_MIRRORS="http://distfiles.gentoo.org
116 http://distro.ibiblio.org/pub/linux/distributions/gentoo"
117 LANG="en_US.UTF-8"
118 PKGDIR="/tmp/Mar16/usr/portage/packages"
119 PORTAGE_TMPDIR="/tmp/Mar16/var/tmp"
120 PORTDIR="/tmp/Mar16/usr/portage"
121 PREFIX="/tmp/Mar16"
122 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
123 USE="x86 berkdb crypt ipv6 ncurses nls pam perl python readline ssl
124 tcpd zlib elibc_glibc kernel_linux userland_GNU"
125 Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS,
126 LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
127
128
129 Trying to emerge the system gives me:
130 $ emerge -av system
131 !!! Problem with sandbox binary. Disabling...
132
133
134
135 Performing Global Updates: /tmp/Mar16/usr/portage/profiles/updates/3Q-2002
136 (Could take a couple of minutes if you have a lot of binary packages.)
137 .='update pass' *='binary update' @='/var/db move'
138 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
139 ........................................................................................
140
141 SNIP/SNIP
142 Performing Global Updates: /tmp/Mar16/usr/portage/profiles/updates/4Q-2005
143 (Could take a couple of minutes if you have a lot of binary packages.)
144 .='update pass' *='binary update' @='/var/db move'
145 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
146 ..................
147
148
149 emerge: wheel group use is being deprecated. Please update group and passwd to
150 include the portage user as noted above, and then use group portage.
151
152 These are the packages that would be merged, in order:
153
154 Calculating system dependencies |
155 emerge: there are no ebuilds to satisfy "virtual/libintl".
156 (dependency required by "sys-apps/sed-4.1.4-r1" [ebuild])
157
158
159
160 !!! Problem resolving dependencies for virtual/libc
161 !!! Depgraph creation failed.
162
163
164 I'll start off looking at why my profile has a ! in front....
165
166 --
167 gentoo-osx@g.o mailing list

Replies