1 |
On Fri, 20 Nov 2009 15:37:55 +0100, Ramon van Alteren |
2 |
<ramon@××××××××××.nl> |
3 |
wrote: |
4 |
> All, |
5 |
> |
6 |
> Recent question on IRC about a ebuild shell which can drop you in a |
7 |
ebuild |
8 |
> environment on prefix in any stage of the ebuild revealed that we |
9 |
actually |
10 |
> have such a thing. Originally made by haubi... |
11 |
> |
12 |
> Is there any docs on how to use this ? |
13 |
> |
14 |
> I would dearly love using it, it would help hone my newly developing |
15 |
> ebuild writing skills |
16 |
> Any pointers to source or docs would be very appreciated. |
17 |
> |
18 |
> Regards |
19 |
> |
20 |
> Ramon |
21 |
|
22 |
Yea, it could be documented better. But don't expect much unless this bug |
23 |
is resolved and added to portage proper http://bugs.gentoo.org/155161 |
24 |
|
25 |
Until then, just emerge something with FEATURES=ebuildhsell |
26 |
|
27 |
%% FEATURES=ebuildshell emerge -av bash |
28 |
|
29 |
These are the packages that would be merged, in order: |
30 |
|
31 |
Calculating dependencies... done! |
32 |
[ebuild R ] app-shells/bash-4.0_p35 USE="net nls -afs -bashlogger |
33 |
-examples (-i6fork) -plugins -vanilla" 0 kB |
34 |
|
35 |
Total: 1 package (1 reinstall), Size of downloads: 0 kB |
36 |
|
37 |
Would you like to merge these packages? [Yes/No] yes |
38 |
|
39 |
>>> Verifying ebuild manifests |
40 |
|
41 |
>>> Emerging (1 of 1) app-shells/bash-4.0_p35 |
42 |
* checking ebuild checksums ;-) ... [ |
43 |
ok ] |
44 |
* checking auxfile checksums ;-) ... [ |
45 |
ok ] |
46 |
* checking miscfile checksums ;-) ... [ |
47 |
ok ] |
48 |
bash: no job control in this shell |
49 |
pkg_setup is a function |
50 |
pkg_setup () |
51 |
{ |
52 |
if is-flag -malign-double; then |
53 |
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"; |
54 |
eerror "as it breaks LFS (struct stat64) on x86."; |
55 |
die "remove -malign-double from your CFLAGS mr ricer"; |
56 |
fi |
57 |
} |
58 |
WANTED: pkg_setup |
59 |
EBUILD bash pkg_setup $ |