1 |
Fabian Groffen wrote: |
2 |
> On 17-01-2009 23:28:36 +0100, "C. Bergström" wrote: |
3 |
> |
4 |
>> So.. it finally came up on my TODO list again and I got sandbox to |
5 |
>> compile on open Solaris.. |
6 |
>> |
7 |
> |
8 |
> Cool! |
9 |
> |
10 |
It builds.. it runs.. and now trying to get it to run correctly.. |
11 |
(forgive the verbose post please) I've been building everything as |
12 |
64bit.. and wonder if I need a 32bit libsandbox.so as well? (I need to |
13 |
fix scanelf as it's been broken, but that wouldn't account for why rm |
14 |
gave the same error) |
15 |
|
16 |
Small note.. this seems to be needed.. |
17 |
SANDBOX_WRITE="/dev/fd:/proc/self/fd:/dev/dtrace/helper" |
18 |
|
19 |
Thanks |
20 |
|
21 |
./Christopher |
22 |
|
23 |
|
24 |
Logs.. |
25 |
------------------ |
26 |
|
27 |
pmerge -1 tail |
28 |
WARNING: non-root builds disabled. |
29 |
|
30 |
* Resolving... |
31 |
Processing 1 of 1: sys-cmds/tail-1 |
32 |
WARNING: atom doesn't have a proper Manifest |
33 |
WARNING: Source is missing checksum |
34 |
ld.so.1: rm: fatal: libsandbox.so: open failed: No such file or directory |
35 |
/usr/lib/python2.5/site-packages/pkgcore/bin/ebuild-env/ebuild-default-functions.sh: line 309: 20270 Killed rm -rf "${D}" |
36 |
mkdir: cannot create directory `/var/tmp/portage/sys-cmds/tail-1/image/': File exists |
37 |
|
38 |
>>> Install tail-1 into /var/tmp/portage/sys-cmds/tail-1/image/ category sys-cmds |
39 |
ld.so.1: install: fatal: libsandbox.so: open failed: No such file or directory |
40 |
/usr/lib/python2.5/site-packages/pkgcore/bin/ebuild-helpers/dobin: line 12: 20273 Killed install -d "${D}${DESTTREE}/bin" |
41 |
ld.so.1: scanelf: fatal: libsandbox.so: open failed: No such file or directory |
42 |
ld.so.1: scanelf: fatal: libsandbox.so: open failed: No such file or directory |
43 |
ld.so.1: scanelf: fatal: libsandbox.so: open failed: No such file or directory |
44 |
ld.so.1: scanelf: fatal: libsandbox.so: open failed: No such file or directory |
45 |
ld.so.1: scanelf: fatal: libsandbox.so: open failed: No such file or directory |
46 |
ld.so.1: scanelf: fatal: libsandbox.so: open failed: No such file or directory |
47 |
ld.so.1: scanelf: fatal: libsandbox.so: open failed: No such file or directory |
48 |
ld.so.1: scanelf: fatal: libsandbox.so: open failed: No such file or directory |
49 |
>>> Completed installing tail-1 into /var/tmp/portage/sys-cmds/tail-1/image/ |
50 |
|
51 |
|
52 |
>>> Reinstalling sys-cmds/tail-1 |
53 |
info: installing built ebuild: sys-cmds/tail-1 to <pkgcore.binpkg.repository.tree object at 0xcc6c50> |
54 |
<<< file:/usr/bin/tail |
55 |
-------------- |
56 |
finished |
57 |
|
58 |
|
59 |
So started making a multilib ebuild for it and hit a bit of 32bit |
60 |
uncleanness I think.. (I've not looked exactly why.. almost certainly my |
61 |
fault..) |
62 |
|
63 |
"wrapper-funcs/__wrapper_simple.c", line 21: syntax error before or at: __off64_t |
64 |
"wrapper-funcs/__wrapper_simple.c", line 21: warning: undefined or missing type for: __off64_t |
65 |
|
66 |
|
67 |
------ |
68 |
|
69 |
/opt/SUNWspro/prod/bin/cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libsbutil -I../libsbutil/include "-DETCDIR=\"/usr/etc\"" "-DLIBSANDBOX_PATH=\"/usr/lib\"" "-DSANDBOX_BASHRC_PATH=\"/usr/share/sandbox\"" -DPIC -fPIC -D_REENTRANT -fexceptions -i -xO4 -xspace -xstrconst -Kpic -fast -xregs=no%frameptr -c wrappers.c -KPIC -DPIC -o .libs/libsandbox_la-wrappers.o |
70 |
cc: Warning: illegal option -fexceptions |
71 |
"../libsbutil/sbutil.h", line 101: warning: attribute parameter "__printf__" is undefined |
72 |
"../libsbutil/sbutil.h", line 102: warning: attribute parameter "__printf__" is undefined |
73 |
"../libsbutil/sbutil.h", line 103: warning: attribute parameter "__printf__" is undefined |
74 |
"../libsbutil/sbutil.h", line 104: warning: attribute parameter "__printf__" is undefined |
75 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
76 |
pointer to function(pointer to const char, unsigned long) returning int "=" pointer to void |
77 |
"symbols.h", line 30: warning: syntax error: empty declaration |
78 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
79 |
pointer to function(pointer to const char, unsigned int, unsigned int) returning int "=" pointer to void |
80 |
"symbols.h", line 57: warning: syntax error: empty declaration |
81 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
82 |
pointer to function(int, pointer to const char, unsigned int, unsigned int, int) returning int "=" pointer to void |
83 |
"symbols.h", line 83: warning: syntax error: empty declaration |
84 |
"wrapper-funcs/openat.c", line 47: warning: assignment type mismatch: |
85 |
pointer to function(pointer to const char, int, ...) returning int "=" pointer to void |
86 |
"symbols.h", line 109: warning: syntax error: empty declaration |
87 |
"wrapper-funcs/openat.c", line 47: warning: assignment type mismatch: |
88 |
pointer to function(int, pointer to const char, int, ...) returning int "=" pointer to void |
89 |
"symbols.h", line 135: warning: syntax error: empty declaration |
90 |
"wrapper-funcs/creat.c", line 23: warning: assignment type mismatch: |
91 |
pointer to function(pointer to const char, int, ...) returning int "=" pointer to void |
92 |
"symbols.h", line 161: warning: syntax error: empty declaration |
93 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
94 |
pointer to function(pointer to const char, pointer to const char) returning pointer to struct __FILE {int _cnt, pointer to unsigned char _ptr, pointer to unsigned char _base, unsigned char _flag, unsigned char _magic, unsigned int __orientation :2, unsigned int __ionolock :1, unsigned int __seekable :1, unsigned int __extendedfd :1, unsigned int __xf_nocheck :1, unsigned int __filler :10} "=" pointer to void |
95 |
"symbols.h", line 187: warning: syntax error: empty declaration |
96 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
97 |
pointer to function(pointer to const char, unsigned int, unsigned int) returning int "=" pointer to void |
98 |
"symbols.h", line 213: warning: syntax error: empty declaration |
99 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
100 |
pointer to function(pointer to const char, pointer to const char) returning int "=" pointer to void |
101 |
"symbols.h", line 239: warning: syntax error: empty declaration |
102 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
103 |
pointer to function(pointer to const char, unsigned long) returning int "=" pointer to void |
104 |
"symbols.h", line 266: warning: syntax error: empty declaration |
105 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
106 |
pointer to function(pointer to const char) returning pointer to struct {int dd_fd, int dd_loc, int dd_size, pointer to char dd_buf} "=" pointer to void |
107 |
"symbols.h", line 293: warning: syntax error: empty declaration |
108 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
109 |
pointer to function(pointer to const char, unsigned long, unsigned long) returning int "=" pointer to void |
110 |
"symbols.h", line 319: warning: mknod is defined, attribute "alias" ignored |
111 |
"symbols.h", line 319: warning: syntax error: empty declaration |
112 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
113 |
pointer to function(pointer to const char, unsigned long) returning int "=" pointer to void |
114 |
"symbols.h", line 347: warning: syntax error: empty declaration |
115 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
116 |
pointer to function(pointer to const char, int) returning int "=" pointer to void |
117 |
"symbols.h", line 374: warning: syntax error: empty declaration |
118 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
119 |
pointer to function(pointer to const char, pointer to const char) returning int "=" pointer to void |
120 |
"symbols.h", line 401: warning: syntax error: empty declaration |
121 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
122 |
pointer to function(int, pointer to const char, int, pointer to const char) returning int "=" pointer to void |
123 |
"symbols.h", line 427: warning: syntax error: empty declaration |
124 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
125 |
pointer to function(pointer to const char) returning int "=" pointer to void |
126 |
"symbols.h", line 453: warning: syntax error: empty declaration |
127 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
128 |
pointer to function(pointer to const char, pointer to const char) returning int "=" pointer to void |
129 |
"symbols.h", line 479: warning: syntax error: empty declaration |
130 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
131 |
pointer to function(pointer to const char, long) returning int "=" pointer to void |
132 |
"symbols.h", line 506: warning: syntax error: empty declaration |
133 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
134 |
pointer to function(pointer to const char) returning int "=" pointer to void |
135 |
"symbols.h", line 532: warning: syntax error: empty declaration |
136 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
137 |
pointer to function(int, pointer to const char, int) returning int "=" pointer to void |
138 |
"symbols.h", line 558: warning: syntax error: empty declaration |
139 |
"wrapper-funcs/getcwd.c", line 26: warning: assignment type mismatch: |
140 |
pointer to function(pointer to char, unsigned int) returning pointer to char "=" pointer to void |
141 |
"symbols.h", line 584: warning: syntax error: empty declaration |
142 |
"wrapper-funcs/openat.c", line 47: warning: assignment type mismatch: |
143 |
pointer to function(pointer to const char, int, ...) returning int "=" pointer to void |
144 |
"symbols.h", line 610: warning: syntax error: empty declaration |
145 |
"wrapper-funcs/openat.c", line 47: warning: assignment type mismatch: |
146 |
pointer to function(int, pointer to const char, int, ...) returning int "=" pointer to void |
147 |
"symbols.h", line 636: warning: syntax error: empty declaration |
148 |
"wrapper-funcs/creat64.c", line 23: warning: assignment type mismatch: |
149 |
pointer to function(pointer to const char, int, ...) returning int "=" pointer to void |
150 |
"symbols.h", line 662: warning: syntax error: empty declaration |
151 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
152 |
pointer to function(pointer to const char, pointer to const char) returning pointer to struct __FILE {int _cnt, pointer to unsigned char _ptr, pointer to unsigned char _base, unsigned char _flag, unsigned char _magic, unsigned int __orientation :2, unsigned int __ionolock :1, unsigned int __seekable :1, unsigned int __extendedfd :1, unsigned int __xf_nocheck :1, unsigned int __filler :10} "=" pointer to void |
153 |
"symbols.h", line 688: warning: syntax error: empty declaration |
154 |
"wrapper-funcs/__wrapper_simple.c", line 21: syntax error before or at: __off64_t |
155 |
"wrapper-funcs/__wrapper_simple.c", line 21: warning: undefined or missing type for: __off64_t |
156 |
"wrapper-funcs/__wrapper_simple.c", line 22: syntax error before or at: __off64_t |
157 |
"wrapper-funcs/__wrapper_simple.c", line 22: warning: undefined or missing type for: __off64_t |
158 |
"wrapper-funcs/__wrapper_simple.c", line 24: syntax error before or at: __off64_t |
159 |
"wrapper-funcs/__wrapper_simple.c", line 24: warning: undefined or missing type for: __off64_t |
160 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
161 |
pointer to function() returning int "=" pointer to void |
162 |
"wrapper-funcs/__wrapper_simple.c", line 32: undefined symbol: length |
163 |
"symbols.h", line 714: warning: identifier redeclared: truncate64 |
164 |
current : function() returning int |
165 |
previous: function(pointer to const char, long long) returning int : "/usr/include/unistd.h", line 572 |
166 |
"symbols.h", line 714: warning: syntax error: empty declaration |
167 |
"wrapper-funcs/execve.c", line 30: warning: assignment type mismatch: |
168 |
pointer to unsigned char "=" pointer to char |
169 |
"wrapper-funcs/execve.c", line 63: warning: argument #1 is incompatible with prototype: |
170 |
prototype: pointer to char : "/usr/include/sys/mman.h", line 238 |
171 |
argument : pointer to unsigned char |
172 |
"wrapper-funcs/execve.c", line 123: warning: assignment type mismatch: |
173 |
pointer to function(pointer to const char, pointer to const pointer to char, pointer to const pointer to char) returning int "=" pointer to void |
174 |
"symbols.h", line 740: warning: syntax error: empty declaration |
175 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
176 |
pointer to function(pointer to const char, pointer to const struct utimbuf {long actime, long modtime}) returning int "=" pointer to void |
177 |
"symbols.h", line 766: warning: syntax error: empty declaration |
178 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
179 |
pointer to function(pointer to const char, pointer to const struct timeval {long tv_sec, long tv_usec}) returning int "=" pointer to void |
180 |
"symbols.h", line 792: warning: syntax error: empty declaration |
181 |
"wrapper-funcs/__wrapper_simple.c", line 31: warning: assignment type mismatch: |
182 |
pointer to function(int, pointer to const char, pointer to const struct timeval {long tv_sec, long tv_usec}) returning int "=" pointer to void |
183 |
"symbols.h", line 819: warning: syntax error: empty declaration |
184 |
"wrappers.c", line 90: warning: assignment type mismatch: |
185 |
pointer to function(pointer to const char, int, ...) returning int "=" pointer to void |
186 |
"wrappers.c", line 102: warning: assignment type mismatch: |
187 |
pointer to function(pointer to char, unsigned int) returning pointer to char "=" pointer to void |
188 |
cc: acomp failed for wrappers.c |