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