1 |
Hi, |
2 |
|
3 |
recently, I've tried to compile libreoffice using paludis and I've |
4 |
noticed the following problem: |
5 |
|
6 |
8< ------------------------------------------------- |
7 |
kraken ~ # cave resolve libreoffice |
8 |
Done: 3905 steps |
9 |
|
10 |
These are the actions I will take, in order: |
11 |
|
12 |
r app-office/libreoffice:0::gentoo 3.5.2.2 to ::installed replacing |
13 |
3.5.2.2 |
14 |
(-aqua) -binfilter branding cups dbus eds gnome graphite gstreamer |
15 |
gtk -java jemalloc -kde -mysql -nlpsolver nsplugin -odk opengl pdfimport |
16 |
-postgres svg vba webdav xmlsec (-test) build_options: symbols=split |
17 |
-optional_tests -trace -preserve_work |
18 |
Reasons: target, !=app-office/libreoffice-3.4.9999-r1 from |
19 |
app-office/libreoffice-l10n, !=app-office/libreoffice-9999-r1 from |
20 |
app-office/libreoffice-l10n, 2 more |
21 |
|
22 |
Total: 1 reinstalls |
23 |
|
24 |
Executing pretend actions: 1 of 1 |
25 |
libreoffice-3.5.2.2> * Checking for at least 512 mebibytes RAM ... |
26 |
[ ok ] |
27 |
libreoffice-3.5.2.2> DISK CHECK: path="", size="6G" |
28 |
libreoffice-3.5.2.2> * Checking for at least 6 gibibytes disk space at |
29 |
[ !! ] |
30 |
libreoffice-3.5.2.2> |
31 |
libreoffice-3.5.2.2> * Couldn't determine disk space, skipping... |
32 |
8< ------------------------------------------------- |
33 |
|
34 |
the check-reqs is not getting the "${T}" value properly when it's being |
35 |
run from pkg_prepare. I've added an echo to the eclass to confirm this. |
36 |
The ebuild detects free space properly when run under emerge: |
37 |
|
38 |
8< ------------------------------------------------- |
39 |
kraken ~ # emerge --nodeps -p -v libreoffice |
40 |
|
41 |
These are the packages that would be merged, in order: |
42 |
|
43 |
[ebuild R ] app-office/libreoffice-3.5.2.2::gentoo |
44 |
[3.5.2.2::__unknown__] USE="branding cups dbus graphite gtk nsplugin |
45 |
opengl svg vba webdav xmlsec (-aqua) -binfilter -eds* -gnome* |
46 |
-gstreamer* -java -jemalloc* -kde -mysql -nlpsolver -odk -pdfimport* |
47 |
-postgres -test" 0 kB |
48 |
|
49 |
Total: 1 package (1 reinstall), Size of downloads: 0 kB |
50 |
|
51 |
* IMPORTANT: 2 news items need reading for repository 'gentoo'. |
52 |
* Use eselect news to read news items. |
53 |
|
54 |
kraken ~ # emerge --nodeps -v libreoffice |
55 |
|
56 |
These are the packages that would be merged, in order: |
57 |
|
58 |
[ebuild R ] app-office/libreoffice-3.5.2.2::gentoo |
59 |
[3.5.2.2::__unknown__] USE="branding cups dbus graphite gtk nsplugin |
60 |
opengl svg vba webdav xmlsec (-aqua) -binfilter -eds* -gnome* |
61 |
-gstreamer* -java -jemalloc* -kde -mysql -nlpsolver -odk -pdfimport* |
62 |
-postgres -test" 0 kB |
63 |
|
64 |
Total: 1 package (1 reinstall), Size of downloads: 0 kB |
65 |
|
66 |
|
67 |
>>> Verifying ebuild manifests |
68 |
>>> Running pre-merge checks for app-office/libreoffice-3.5.2.2 |
69 |
* Checking for at least 512 mebibytes RAM |
70 |
... |
71 |
[ ok ] |
72 |
DISK CHECK: path="/var/tmp/portage/app-office/libreoffice-3.5.2.2/temp", |
73 |
size="6G" |
74 |
* Checking for at least 6 gibibytes disk space at |
75 |
"/var/tmp/portage/app-office/libreoffice-3.5.2.2/temp" |
76 |
... [ ok ] |
77 |
|
78 |
>>> Emerging (1 of 1) app-office/libreoffice-3.5.2.2 |
79 |
^C |
80 |
|
81 |
kraken ~ # |
82 |
8< ------------------------------------------------- |
83 |
|
84 |
|
85 |
I've read the PMS and I haven't found information whether this variable |
86 |
is supposed to be set during pkg_prepare or not. Therefore I ask, what |
87 |
is the proper behaviour here ? Is there documentation on what special |
88 |
env variables are supposed to be defined in each stage ? |
89 |
Can this be considered as a bug in paludis ? |
90 |
|
91 |
Thanks for your help. |
92 |
|
93 |
Best regards, |
94 |
Maciej Grela |