1 |
Hi again, |
2 |
|
3 |
What I've done is created a small chroot initially populated with a |
4 |
2008.0 stage3 filesystem (should I be using a 2007.0 ?). That chroot |
5 |
will be the image for the eee pc root (merging binary packages to a |
6 |
magnetic disk takes a fraction of the time required merging to flash |
7 |
devices - afterwards I can just rsync the image I've made). |
8 |
|
9 |
I installed a very basic apache setup, directed the chroot to download |
10 |
from localhost via a symbolic link in the apache webroot, and used the |
11 |
genpkgindex from tinderbox to create the proper package index file. Both |
12 |
emerge and qmerge download and read the Packages file and the tbz2 file |
13 |
properly. Qmerge INSTALL_MASK properly when installing but emerge doesn't. |
14 |
|
15 |
Below is the output of a very simple emerge operation on a .tbz2 package |
16 |
fetched via http. Note that the package was not installed beforehand. |
17 |
Also note that *.la, *.a, and *.h file slip by even though they are |
18 |
obviously excluded via INSTALL_MASK. |
19 |
|
20 |
Sorry for all of the excessive text :P |
21 |
|
22 |
Cheers, |
23 |
|
24 |
Chris |
25 |
|
26 |
===================== emerge --info ============================== |
27 |
sith / # emerge --info |
28 |
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, |
29 |
2.6.23-gentoo i686) |
30 |
================================================================= |
31 |
System uname: 2.6.23-gentoo i686 Intel(R) Pentium(R) M processor 1.73GHz |
32 |
Timestamp of tree: Sat, 19 Apr 2008 08:00:04 +0000 |
33 |
app-shells/bash: 3.2_p17-r1 |
34 |
dev-java/java-config: 1.3.7, 2.1.4 |
35 |
dev-lang/python: 2.4.4-r9, 2.5.2-r1 |
36 |
dev-python/pycrypto: 2.0.1-r6 |
37 |
sys-apps/baselayout: 1.12.11.1 |
38 |
sys-apps/sandbox: 1.2.18.1-r2 |
39 |
sys-devel/autoconf: 2.61-r1 |
40 |
sys-devel/automake: 1.10.1 |
41 |
sys-devel/binutils: 2.18-r1 |
42 |
sys-devel/gcc-config: 1.4.0-r4 |
43 |
sys-devel/libtool: 1.5.24 |
44 |
virtual/os-headers: 2.6.23-r3 |
45 |
ACCEPT_KEYWORDS="x86" |
46 |
CBUILD="i686-pc-linux-gnu" |
47 |
CFLAGS="-O2 -march=i686 -mtune=pentium-m -pipe -fomit-frame-pointer" |
48 |
CHOST="i686-pc-linux-gnu" |
49 |
CONFIG_PROTECT="/etc" |
50 |
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf |
51 |
/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" |
52 |
CXXFLAGS="-O2 -march=i686 -mtune=pentium-m -pipe -fomit-frame-pointer" |
53 |
DISTDIR="/usr/portage/distfiles" |
54 |
EMERGE_DEFAULT_OPTS="-K" |
55 |
FEATURES="distlocks getbinpkg metadata-transfer nodoc noinfo sandbox |
56 |
sfperms strict unmerge-orphans userfetch" |
57 |
GENTOO_MIRRORS="ftp://lug.mtu.edu/gentoo/ |
58 |
ftp://mirror.datapipe.net/gentoo |
59 |
http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ |
60 |
ftp://ftp.ussg.iu.edu/pub/linux/gentoo |
61 |
ftp://pandemonium.tiscali.de/pub/gentoo/" |
62 |
INSTALL_MASK="*.h *.a *.la /usr/share/locale /usr/share/info |
63 |
/usr/share/*doc /usr/include" |
64 |
LINGUAS="en en_GB de fr_CA" |
65 |
MAKEOPTS="-j2" |
66 |
PKGDIR="/var/tmp/binpkgs" |
67 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
68 |
--compress --force --whole-file --delete --stats --timeout=180 |
69 |
--exclude=/distfiles --exclude=/local --exclude=/packages" |
70 |
PORTAGE_TMPDIR="/var/tmp" |
71 |
PORTDIR="/usr/portage" |
72 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
73 |
USE="X aalib acl acpi alsa amr avahi berkdb bluetooth branding bzip2 |
74 |
cairo cjk cli cracklib crypt cups dbus dga directfb djvu dri dvi eds |
75 |
encode fbcon ffmpeg flac fontconfig fortran galago gif glitz gmp gnome |
76 |
gnutls gpm gstreamer gtk hal iconv idn imlib java jpeg lcms ldap |
77 |
libnotify mad midi mmx mono mpeg ncurses network networkmanager nptl |
78 |
nptlonly odbc ogg opengl pcre perl png ppds python qt3 qt4 readline |
79 |
samba sdl session spell sse sse2 ssl svg svga sysfs tcpd theora tiff |
80 |
truetype unicode v4l v4l2 vorbis x264 x86 xattr xcb xinerama xml xorg |
81 |
xpm xprint xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" |
82 |
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug |
83 |
file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null |
84 |
plug rate route share shm softvol" APACHE2_MODULES="actions alias |
85 |
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file |
86 |
authz_dbm authz_default authz_groupfile authz_host authz_owner |
87 |
authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache |
88 |
env expires ext_filter file_cache filter headers include info log_config |
89 |
logio mem_cache mime mime_magic negotiation rewrite setenvif speling |
90 |
status unique_id userdir usertrack vhost_alias" ELIBC="glibc" |
91 |
INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="ncurses text" |
92 |
LINGUAS="en en_GB de fr_CA" USERLAND="GNU" VIDEO_CARDS="i810 vesa vga" |
93 |
Unset: CPPFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, |
94 |
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
95 |
|
96 |
===================== output of emerge op ============================== |
97 |
sith / # emerge -av1 lzo |
98 |
|
99 |
These are the packages that would be merged, in order: |
100 |
|
101 |
Calculating dependencies - |
102 |
/ |
103 |
Fetching bininfo from http://sith/packages/All |
104 |
Loaded metadata pickle. |
105 |
cache miss: '0' --- cache hit: '1046' |
106 |
... done! |
107 |
[binary N ] dev-libs/lzo-2.02-r1 USE="-examples" |
108 |
|
109 |
Total: 1 package (1 new), Size of downloads: 0 kB |
110 |
|
111 |
Would you like to merge these packages? [Yes/No] |
112 |
>>> Emerging (1 of 1) dev-libs/lzo-2.02-r1 to / |
113 |
>>> Extracting info |
114 |
>>> Extracting lzo-2.02-r1 |
115 |
* checking 28 files for package collisions |
116 |
>>> Merging dev-libs/lzo-2.02-r1 to / |
117 |
* Removing /usr/share/info |
118 |
* Removing /usr/share/doc |
119 |
--- /usr/ |
120 |
--- /usr/lib/ |
121 |
>>> /usr/lib/liblzo2.la |
122 |
>>> /usr/lib/liblzo2.so.2.0.0 |
123 |
>>> /usr/lib/liblzo2.a |
124 |
>>> /usr/lib/liblzo2.so.2 -> liblzo2.so.2.0.0 |
125 |
--- /usr/include/ |
126 |
>>> /usr/include/lzo/ |
127 |
>>> /usr/include/lzo/lzo1x.h |
128 |
>>> /usr/include/lzo/lzo1z.h |
129 |
>>> /usr/include/lzo/lzo1c.h |
130 |
>>> /usr/include/lzo/lzodefs.h |
131 |
>>> /usr/include/lzo/lzoconf.h |
132 |
>>> /usr/include/lzo/lzo_asm.h |
133 |
>>> /usr/include/lzo/lzo1b.h |
134 |
>>> /usr/include/lzo/lzoutil.h |
135 |
>>> /usr/include/lzo/lzo2a.h |
136 |
>>> /usr/include/lzo/lzo1f.h |
137 |
>>> /usr/include/lzo/lzo1y.h |
138 |
>>> /usr/include/lzo/lzo1a.h |
139 |
>>> /usr/include/lzo/lzo1.h |
140 |
>>> /usr/lib/liblzo2.so -> liblzo2.so.2.0.0 |
141 |
>>> Regenerating /etc/ld.so.cache... |
142 |
>>> dev-libs/lzo-2.02-r1 merged. |
143 |
|
144 |
>>> No packages selected for removal by clean |
145 |
>>> Auto-cleaning packages... |
146 |
|
147 |
>>> No outdated packages were found on your system. |
148 |
|
149 |
sith / # ls -la /usr/lib/liblzo*{so,a,la} /usr/include/lzo/lzo2a.h |
150 |
-rw-r--r-- 1 root root 2984 Apr 24 21:03 /usr/include/lzo/lzo2a.h |
151 |
-rw-r--r-- 1 root root 181136 Apr 24 21:03 /usr/lib/liblzo2.a |
152 |
-rw-r--r-- 1 root root 798 Apr 24 21:03 /usr/lib/liblzo2.la |
153 |
-rw-r--r-- 1 root root 798 Apr 24 21:03 /usr/lib/liblzo2.la |
154 |
lrwxrwxrwx 1 root root 16 Apr 24 21:08 /usr/lib/liblzo2.so -> |
155 |
liblzo2.so.2.0.0 |
156 |
sith / # grep "^INSTALL_MASK=" /etc/make.conf |
157 |
INSTALL_MASK="*.h *.a *.la /usr/share/locale /usr/share/info |
158 |
/usr/share/*doc /usr/include" |
159 |
|
160 |
|
161 |
======================== make.conf ===================================== |
162 |
CHOST="i686-pc-linux-gnu" |
163 |
CFLAGS="-O2 -march=i686 -mtune=pentium-m -pipe -fomit-frame-pointer" |
164 |
CXXFLAGS="${CFLAGS}" |
165 |
USE="aalib acl acpi alsa amr avahi berkdb bluetooth branding bzip2 cairo |
166 |
cjk cli cracklib crypt cups dbus dga directfb djvu dri dvi eds encode |
167 |
fbcon ffmpeg flac fontconfig fortran galago gif glitz gmp gnome gnutls |
168 |
gpm gstreamer gtk hal iconv idn imlib java jpeg lcms ldap libnotify mad |
169 |
midi mmx mono mpeg ncurses network networkmanager nptl nptlonly odbc ogg |
170 |
opengl pcre perl png ppds python qt3 qt4 readline samba session sdl |
171 |
spell sse sse2 ssl svg svga sysfs tcpd theora tiff truetype unicode v4l |
172 |
v4l2 vorbis X x264 xattr xcb xinerama xml xorg xpm xprint xulrunner xv |
173 |
xvid zlib -cdr -cdparanoia -cddb -cdda -dvd -dvdr -dvdread -gdbm -ipv6 |
174 |
-isdnlog -mudflap -nls -openmp -pam -pppd -reflection -spl -vcd" |
175 |
ALSA_CARDS="hda-intel" |
176 |
MAKEOPTS="-j2" |
177 |
FEATURES="-ccache getbinpkg nodoc noinfo" |
178 |
EMERGE_DEFAULT_OPTS="-K" |
179 |
LINGUAS="en en_GB de fr_CA" |
180 |
INPUT_DEVICES="keyboard mouse" |
181 |
VIDEO_CARDS="i810 vesa vga" |
182 |
LCD_DEVICES="ncurses text" |
183 |
GENTOO_MIRRORS="ftp://lug.mtu.edu/gentoo/ |
184 |
ftp://mirror.datapipe.net/gentoo |
185 |
http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ |
186 |
ftp://ftp.ussg.iu.edu/pub/linux/gentoo |
187 |
ftp://pandemonium.tiscali.de/pub/gentoo/" |
188 |
PORTAGE_BINHOST="http://sith/packages/All" |
189 |
PKGDIR=/var/tmp/binpkgs |
190 |
INSTALL_MASK="*.h *.a *.la /usr/share/locale /usr/share/info |
191 |
/usr/share/*doc /usr/include" |
192 |
========================================================================= |
193 |
|
194 |
|
195 |
|
196 |
|
197 |
Ned Ludd wrote: |
198 |
> Please show exact steps to reproduce the misbehavior. If it's indeed a |
199 |
> real bug. Then reopen the old one or file a new bug. But it's been |
200 |
> working for me fine as recently as yesterday afternoon and others as |
201 |
> noted here on this list. |
202 |
> |
203 |
> |
204 |
> On Wed, 2008-04-23 at 13:08 -0400, Christopher Friedt wrote: |
205 |
>> Hi everyone, |
206 |
>> |
207 |
>> I'm in the process of installing a bunch of packages to make an EEE pc |
208 |
>> root filesystem right now, and I've noticed that INSTALL_MASK is not |
209 |
>> masking out the *.h files that I don't need. |
210 |
>> |
211 |
>> After doing a bit of looking, I found this gentoo bug that seems to be |
212 |
>> from portage-2.1_pre6 |
213 |
>> |
214 |
>> http://bugs.gentoo.org/show_bug.cgi?id=81025 |
215 |
>> |
216 |
>> I'm using portage-2.1.4.4 and I can only guess that INSTALL_MASK is |
217 |
>> still not implemented for installing from binary packages. |
218 |
>> |
219 |
>> Does anyone know if that is correct? |
220 |
>> |
221 |
>> Cheers, |
222 |
>> |
223 |
>> Chris |
224 |
-- |
225 |
gentoo-embedded@l.g.o mailing list |