1 |
Hello people, |
2 |
I am new to gentoo, and even newer to selinux. |
3 |
First of all, congratulations to the gentoo masterminds. :) |
4 |
Second of all, procmail won't compile on my selinux. |
5 |
Portage is synced, and world is -uD. |
6 |
|
7 |
|
8 |
This is the error I get. If you need I can send you the whole output. |
9 |
|
10 |
./autoconf: line 1081: 5234 Segmentation fault grepfor $func "#define NO$func" |
11 |
./autoconf: line 1081: 5235 Segmentation fault grepfor $func "#define NO$func" |
12 |
./autoconf: line 1081: 5236 Segmentation fault grepfor $func "#define NO$func" |
13 |
./autoconf: line 1081: 5237 Segmentation fault grepfor $func "#define NO$func" |
14 |
./autoconf: line 1081: 5238 Segmentation fault grepfor $func "#define NO$func" |
15 |
./autoconf: line 1081: 5239 Segmentation fault grepfor $func "#define NO$func" |
16 |
./autoconf: line 1081: 5240 Segmentation fault grepfor $func "#define NO$func" |
17 |
./autoconf: line 1081: 5241 Segmentation fault grepfor $func "#define NO$func" |
18 |
./autoconf: line 1081: 5242 Segmentation fault grepfor $func "#define NO$func" |
19 |
./autoconf: line 1081: 5243 Segmentation fault grepfor $func "#define NO$func" |
20 |
./autoconf: line 1081: 5244 Segmentation fault grepfor $func "#define NO$func" |
21 |
./autoconf: line 1081: 5245 Segmentation fault grepfor $func "#define NO$func" |
22 |
./autoconf: line 1081: 5246 Segmentation fault grepfor $func "#define NO$func" |
23 |
./autoconf: line 1081: 5247 Segmentation fault grepfor $func "#define NO$func" |
24 |
./autoconf: line 1081: 5248 Segmentation fault grepfor $func "#define NO$func" |
25 |
./autoconf: line 1081: 5249 Segmentation fault grepfor $func "#define NO$func" |
26 |
./autoconf: line 1081: 5250 Segmentation fault grepfor $func "#define NO$func" |
27 |
./autoconf: line 1084: 5251 Segmentation fault grepfor strerror "#define NOstrerror" |
28 |
./autoconf: line 1090: 5252 Segmentation fault grepfor opendir " |
29 |
#define NOopendir /* the readdir library does not seem to be available |
30 |
this will slightly affect the way a filenumber is |
31 |
selected in MH-folders by procmail */ |
32 |
" |
33 |
./autoconf: line 1092: 5253 Segmentation fault grepfor setrgid '#define NOsetrgid' |
34 |
./autoconf: line 1097: 5254 Segmentation fault grepfor setegid '#define NOsetegid' |
35 |
./autoconf: line 1098: 5255 Segmentation fault grepfor strchr '#define strchr(s,c) index(s,c)' |
36 |
./autoconf: line 1101: 5256 Segmentation fault grepfor uname "#define NOuname /* <sys/utsname.h> defines it, the libraries don't */" |
37 |
./autoconf: line 1102: 5257 Segmentation fault grepfor endpwent '#define endpwent()' |
38 |
./autoconf: line 1103: 5258 Segmentation fault grepfor endgrent '#define endgrent()' |
39 |
./autoconf: line 1112: 5259 Segmentation fault grepfor gethostbyname '#define NO_COMSAT' |
40 |
./autoconf: line 1112: 5260 Segmentation fault grepfor getprotobyname '#define UDP_protocolno 17' |
41 |
./autoconf: line 1112: 5261 Segmentation fault grepfor endhostent '#define endhostent()' |
42 |
./autoconf: line 1112: 5262 Segmentation fault grepfor endservent '#define endservent()' |
43 |
./autoconf: line 1112: 5263 Segmentation fault grepfor endprotoent '#define endprotoent()' |
44 |
./autoconf: line 1114: 5264 Segmentation fault grepfor strstr '#define SLOWstrstr' |
45 |
./autoconf: line 1114: 5265 Segmentation fault grepfor clock '#define SLOWstrstr' |
46 |
./autoconf: line 1179: 5266 Segmentation fault grepfor memmove '#define NOmemmove' |
47 |
Determining the maximum number of 16 byte arguments execv() takes |
48 |
Whoeaaa! This actually can't happen. |
49 |
You have a look and see if you detect anything uncanny: |
50 |
******************************************************* |
51 |
_autotst.o(.text+0x5f6): In function `main': |
52 |
: undefined reference to `setrgid' |
53 |
_autotst.o(.text+0x6a1): In function `main': |
54 |
: undefined reference to `setrgid' |
55 |
collect2: ld returned 1 exit status |
56 |
make[2]: *** [_autotst] Error 1 |
57 |
******************************************************* |
58 |
I suggest you take a look at the definition of LDFLAGS* |
59 |
in the Makefile before you try make again. |
60 |
make[1]: *** [../autoconf.h] Error 1 |
61 |
make[1]: Leaving directory `/var/tmp/portage/procmail-3.22-r6/work/procmail-3.22/src' |
62 |
make: *** [autoconf.h] Error 2 |
63 |
|
64 |
!!! ERROR: net-mail/procmail-3.22-r6 failed. |
65 |
!!! Function src_compile, Line 41, Exitcode 2 |
66 |
!!! (no error message) |
67 |
|
68 |
|
69 |
|
70 |
However, if I compile the same sources(the ones in distfiles) manually with make, it's all ok. |
71 |
Even more that that, I extracted this lines from the ebuild(from src_compile()) and executed them as a bash script, and compiling works. |
72 |
|
73 |
CFLAGS="${CFLAGS} -fno-inline-functions" |
74 |
sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \ |
75 |
-e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \ |
76 |
-e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" \ |
77 |
-i Makefile |
78 |
|
79 |
make |
80 |
|
81 |
I don't know what this is all about, as I am new to the selinux concept, I figure it has something to do with the portage not having enough permissions or something? |
82 |
I would appreciate if you could give me a hint or something. |
83 |
|
84 |
Thanks in advance, |
85 |
Dadi |
86 |
|
87 |
-- |
88 |
gentoo-hardened@g.o mailing list |