1 |
I know that it's not hardened related, but I'm curious if you experienced |
2 |
this problems as well. |
3 |
|
4 |
While I try to compile recent libreoffice I got an error message about |
5 |
insufficient disk space. I have a separate partition for /tmp and another |
6 |
for /var/tmp as well. /tmp is 9.6Gb, /var/tmp is 14.4Gb. The free disk |
7 |
space is usually lower than 9Gb in case of /tmp. |
8 |
|
9 |
" |
10 |
>>> Running pre-merge checks for app-office/libreoffice-3.4.4.2-r1 |
11 |
* Checking for at least 1 gibibytes RAM ... [ ok ] |
12 |
* Checking for at least 9 gibibytes disk space at |
13 |
"/tmp/.private/root/tmpukf53U/portage/app-office/libreoffice-3.4.4.2-r1/temp" |
14 |
... [ !! ] |
15 |
" |
16 |
|
17 |
As you can see it tampers with /tmp. Why? |
18 |
Something has changed in the ebuild. The check-reqs_pkg_pretend function |
19 |
has been moved to pkg_pretend(). |
20 |
The function is defined in check-reqs.eclass, where the function is |
21 |
evaluated for checking memory, disk, var, usr. |
22 |
If I track down the function I end up here: |
23 |
|
24 |
" |
25 |
[[ -n ${CHECKREQS_DISK_BUILD} ]] && \ |
26 |
check-reqs_disk \ |
27 |
"${T}" \ |
28 |
"${CHECKREQS_DISK_BUILD}" |
29 |
" |
30 |
|
31 |
I don't know how "${T}" is defined during or before pkg_pretend(). But the |
32 |
path it has been checking is definitely incorrect. I'm using the default |
33 |
temporary portage directory at /var/tmp/portage. So I don't know from |
34 |
where it takes /tmp. But the compilation happens in /var/tmp/portage as it |
35 |
can be expected. |
36 |
|
37 |
Any clues on what can be a problem and to where I should report it? |
38 |
|
39 |
Another one: |
40 |
libreoffice 3.4.4.2-r1 wouldn't start with -jemalloc. It tries RWX mapping |
41 |
immediately upon start, which it didn't want to do previously. The USE |
42 |
flag has been recently introduced in the ebuild. Now I try to recompile it |
43 |
with jemalloc. Any ideas on this? |
44 |
|
45 |
Thanks: |
46 |
Dwokfur |
47 |
-- |
48 |
dr Tóth Attila, Radiológus, 06-20-825-8057 |
49 |
Attila Toth MD, Radiologist, +36-20-825-805 |