[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building ports with systrace
Hi,
today, I tried building my ports with "USE_SYSTRACE= Yes" in
/etc/mk.conf. It appears to work, but I am getting errors. It's always
"systrace: intercept_get_string: ioctl: Invalid argument", and it
happens a lot during `configure` and when linking, during the build. For
example (libshout-2.0):
[...]
cc -Wall -ffast-math -fsigned-char -pthread -I/usr/local/include -O2 -o
.libs/example example.o -L../src/.libs -lshout -L/usr/local/lib -lvorbis
-lm -logg -Wl,-rpath,/usr/local/lib
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
systrace: intercept_get_string: ioctl: Invalid argument
creating example
[...]
I want to fix this, however, I have no idea where to start - except for
these, I have no log entries whatsoever that could point me anywhere.
Most important for me is the answer to this: Whose fault is it? The
systrace policies, or the configure script and build doing
weird/forbidden stuff?
Unfortunately, I'm still very unfamiliar with systrace and unsure if I
can come up with a solution anytime soon - but since I'm now some of the
ports' janitor, I want to do it right. ;P A nudge in the right direction
would be highly appreciated.
Thanks,
Moritz