1 |
Daniel Glaser wrote: |
2 |
> How it is exactly masked? There are many different ways to mask |
3 |
> something. When you try to emerge it, portage tells you something like |
4 |
> |
5 |
> - - something/somepackage (masked by: missing keyword) |
6 |
> |
7 |
> The round brackets at the end of this line tells you, why it can't be |
8 |
> merged. There are differnt kind of masks. One possibility is the |
9 |
> profile. If something is masked by profile, you only have the ability |
10 |
> to change the link in etc/make.profile to get out of this. |
11 |
> Perhaps in your case it can be done with |
12 |
> echo "something/somepackage" >> /etc/portage/package.unmask |
13 |
> |
14 |
Hi, |
15 |
I've already put >=dev-libs/apr-util in package.unmask and also tested |
16 |
with ~x86 flag in package.keywords. I'm familiar with portage and is |
17 |
configuration, but gnap/Catalyst gives slightly another output and has |
18 |
slightly different rules. |
19 |
|
20 |
>> I have found that commenting out the line: |
21 |
>> |
22 |
>> inherit eutils flag-o-matic libtool db-use |
23 |
>> |
24 |
> This is bad! |
25 |
> |
26 |
> |
27 |
Well... I'm sure that could make very nasty things, and I surely won't |
28 |
go with this, that was just a test. Anyway, is this the line which |
29 |
delivers extra parameters which tells the gnap/catalyst that package is |
30 |
masked, isn't it? |
31 |
|
32 |
Everything looks good for me, except that gnap/Catalyst perceives |
33 |
apr-util as masked although it should not. My gnap output is: |
34 |
|
35 |
Gentoo Catalyst, version 2.0_rc40 |
36 |
Copyright 2003-2005 The Gentoo Foundation |
37 |
Distributed under the GNU General Public License version 2 |
38 |
|
39 |
Using command line specified Catalyst configuration file, |
40 |
/etc/catalyst2/catalyst2.conf |
41 |
Setting sharedir to config file value "/usr/lib/catalyst2" |
42 |
Setting snapshot_cache to default value "/var/tmp/catalyst2/snapshot_cache" |
43 |
Setting hash_function to config file value "crc32" |
44 |
Setting storedir to config file value "/var/tmp/catalyst2" |
45 |
Setting portdir to default value "/usr/portage" |
46 |
Setting distdir to config file value "/usr/portage/distfiles" |
47 |
Setting options to config file value "autoresume kerncache pkgcache |
48 |
seedcache snapcache" |
49 |
Package cache support enabled. |
50 |
Snapshot cache support enabled. |
51 |
Seed cache support enabled. |
52 |
Kernel cache support enabled. |
53 |
Autoresuming support enabled. |
54 |
|
55 |
WARNING: No value set for key: grp/use |
56 |
deleting key: grp/use |
57 |
|
58 |
Using target: grp |
59 |
Building natively for x86 |
60 |
Source path set to |
61 |
/var/tmp/catalyst2/builds/gnap/stage3-x86-20060929.tar.bz2 |
62 |
Caching snapshot to /var/tmp/catalyst2/snapshot_cache/20060929/ |
63 |
The autoresume path is |
64 |
/var/tmp/catalyst2/tmp/gnap/.autoresume-grp-x86-20060929/ |
65 |
Resume point detected, skipping target path setup operation... |
66 |
Location of the package cache is |
67 |
/var/tmp/catalyst2/packages/gnap/grp-x86-20060929/ |
68 |
Location of the kerncache is |
69 |
/var/tmp/catalyst2/kerncache/gnap/grp-x86-20060929/ |
70 |
Checking for processes running in chroot and killing them. |
71 |
Running action sequence: unpack |
72 |
Resume point detected, skipping unpack operation... |
73 |
Running action sequence: unpack_snapshot |
74 |
Valid snapshot cache, skipping unpack of portage tree ... |
75 |
Running action sequence: config_profile_link |
76 |
Resume point detected, skipping config_profile_link operation... |
77 |
Running action sequence: setup_confdir |
78 |
Running action sequence: bind |
79 |
Running action sequence: chroot_setup |
80 |
Resume point detected, skipping chroot_setup operation... |
81 |
Running action sequence: setup_environment |
82 |
Running action sequence: run_local |
83 |
copying grp-chroot.sh to /var/tmp/catalyst2/tmp/gnap/grp-x86-20060929/tmp/ |
84 |
copying chroot-functions.sh to |
85 |
/var/tmp/catalyst2/tmp/gnap/grp-x86-20060929/tmp/ |
86 |
Running grp-chroot.sh in chroot |
87 |
/var/tmp/catalyst2/tmp/gnap/grp-x86-20060929/ |
88 |
Portage Autoresume point found not emerging portage |
89 |
>>> --newuse implies --update... adding --update to options. |
90 |
Calculating dependencies |
91 |
!!! All ebuilds that could satisfy "~dev-libs/apr-util-0.9.12" have been |
92 |
masked. |
93 |
!!! One of the following masked packages is required to complete your |
94 |
request: |
95 |
|
96 |
|
97 |
!!! Problem in net-www/apache dependencies. |
98 |
!!! exceptions |
99 |
|
100 |
Traceback (most recent call last): |
101 |
File "modules/grp_target.py", line 58, in run_local |
102 |
+" "+pkgset+" "+mypackages,env=self.env) |
103 |
File "/usr/lib/catalyst2/modules/catalyst_support.py", line 485, in cmd |
104 |
raise CatalystError,myexc |
105 |
CatalystError: <unprintable instance object> |
106 |
None |
107 |
|
108 |
!!! catalyst: GRP build aborting due to error. |
109 |
|
110 |
|
111 |
Catalyst aborting.... |
112 |
|
113 |
|
114 |
|
115 |
While this occurs, I have: |
116 |
packages.unmask: >=dev-libs/apr-util-0.9.12 |
117 |
packages.keywords: |
118 |
dev-libs/apr-util ~x86 |
119 |
dev-libs/apr ~x86 |
120 |
net-www/apache ~x86 |
121 |
|
122 |
extensions.conf: |
123 |
extensions: apache php |
124 |
apache/packlist: apache |
125 |
apache/cleanup: /usr/share |
126 |
php/packlist: php |
127 |
#php/cleanup: |
128 |
|
129 |
Other files are gnap standard. I do not have anything special changed in |
130 |
relation to base system. And I make extensions using right |
131 |
portage.tar.bz2 and myspecs, I managed to do a few gnap based devices |
132 |
before ;-) |
133 |
|
134 |
Janusz |
135 |
|
136 |
|
137 |
|
138 |
last but not least - emerge --info |
139 |
Portage 2.1.2_pre1-r4 (default-linux/x86/2006.0, gcc-3.4.6, |
140 |
glibc-2.4-r3, 2.6.17-gentoo-r7 i686) |
141 |
================================================================= |
142 |
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz |
143 |
Gentoo Base System version 1.12.5 |
144 |
Last Sync: Fri, 29 Sep 2006 10:00:01 +0000 |
145 |
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) |
146 |
[disabled] |
147 |
app-admin/eselect-compiler: [Not Present] |
148 |
dev-java/java-config: 1.2.11-r1 |
149 |
dev-lang/python: 2.4.3-r4 |
150 |
dev-python/pycrypto: 2.0.1-r5 |
151 |
dev-util/ccache: [Not Present] |
152 |
dev-util/confcache: [Not Present] |
153 |
sys-apps/sandbox: 1.2.18.1 |
154 |
sys-devel/autoconf: 2.13, 2.60 |
155 |
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 |
156 |
sys-devel/binutils: 2.17 |
157 |
sys-devel/gcc-config: 1.3.13-r2 |
158 |
sys-devel/libtool: 1.4.3-r4, 1.5.22 |
159 |
virtual/os-headers: 2.6.17-r1 |
160 |
ACCEPT_KEYWORDS="x86 ~x86" |
161 |
AUTOCLEAN="yes" |
162 |
CBUILD="i686-pc-linux-gnu" |
163 |
CFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe" |
164 |
CHOST="i686-pc-linux-gnu" |
165 |
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config |
166 |
/usr/kde/3.4/shutdown /usr/lib/fax /usr/share/X11/xkb /var/spool/fax/etc |
167 |
/var/vpopmail/domains /var/vpopmail/etc" |
168 |
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild |
169 |
/etc/terminfo" |
170 |
CXXFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe" |
171 |
DISTDIR="/usr/portage/distfiles" |
172 |
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox |
173 |
sfperms strict" |
174 |
GENTOO_MIRRORS="http://distfiles.gentoo.org |
175 |
http://distro.ibiblio.org/pub/linux/distributions/gentoo" |
176 |
LINGUAS="en pl hu" |
177 |
MAKEOPTS="-j3" |
178 |
PKGDIR="/usr/portage/packages" |
179 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
180 |
--compress --force --whole-file --delete --delete-after --stats |
181 |
--timeout=180 --exclude='/distfiles' --exclude='/local' |
182 |
--exclude='/packages'" |
183 |
PORTAGE_TMPDIR="/opt/portage-tmp" |
184 |
PORTDIR="/usr/portage" |
185 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
186 |
USE="x86 X alsa apache2 apm arts berkdb bitmap-fonts cli crypt cups dbus |
187 |
dlloader dri dvd dvdr eds elibc_glibc emboss encode esd foomaticdb |
188 |
fortran gif gnome gpm gstreamer gtk gtk2 hal imlib |
189 |
input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde |
190 |
kdeenablefinal kernel_linux ldap libg++ libwww linguas_en linguas_hu |
191 |
linguas_pl mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg |
192 |
opengl oss pam pcre perl png pppd python qt3 qt4 quicktime rdesktop |
193 |
readline reflection samba sasl sdl session spell spl ssl tcpd truetype |
194 |
truetype-fonts type1-fonts udev userland_GNU video_cards_ati |
195 |
video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vga |
196 |
vorbis win32codecs xml xmms xorg xv zlib" |
197 |
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, |
198 |
LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
199 |
-- |
200 |
gentoo-embedded@g.o mailing list |