Hi,

In the OpenBSD 5.1 tagged portstree it is currently not possible to
build some ports with USE_SYSTRACE. Base system is also OpenBSD 5.1.

$ cat /etc/mk.conf
SUDO=/usr/bin/sudo
USE_SYSTRACE=yes
WARNINGS=yes

$ cat /usr/ports/CVS/Tag
TOPENBSD_5_1

e.g. net/avahi or devel/git:

$ sudo make
===> avahi-0.6.30p6 depends on: xmltoman-* -> xmltoman-0.4
===> avahi-0.6.30p6 depends on: gobject-introspection-* ->
gobject-introspection-1.30.0p4
===> avahi-0.6.30p6 depends on: gtar-* -> gtar-1.26p0
===> avahi-0.6.30p6 depends on: gettext->=0.10.38 -> gettext-0.18.1p1
===> avahi-0.6.30p6 depends on: intltool->=0.41.1p0 -> intltool-0.50.0
===> avahi-0.6.30p6 depends on: gmake-* -> gmake-3.82
===> avahi-0.6.30p6 depends on: libiconv-* -> libiconv-1.14
===> avahi-0.6.30p6 depends on: glib2-* -> glib2-2.30.2p5
===> avahi-0.6.30p6 depends on: gdbm-* -> gdbm-1.8.3p0
===> avahi-0.6.30p6 depends on: libdaemon->=0.14 -> libdaemon-0.14
===> avahi-0.6.30p6 depends on: dbus-* -> dbus-1.4.16p2v0
===>  Verifying specs: intl>=5 iconv>=6 c expat glib-2.0 gobject-2.0
pcre pthread  gthread-2.0 gdbm daemon dbus-1 ffi  intl>=5 iconv>=6
===>  found intl.6.0 iconv.6.0 c.62.0 expat.9.0 glib-2.0.2992.0
gobject-2.0.2992.0 pcre.2.5 pthread.13.3 gthread-2.0.2992.0 gdbm.3.0
daemon.3.2 dbus-1.9.1 ffi.0.0
===>  Checking files for avahi-0.6.30
`/usr/ports/distfiles/avahi-0.6.30.tar.gz' is up to date.
>> (SHA256) avahi-0.6.30.tar.gz: OK
===>  Extracting for avahi-0.6.30
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-python/avahi-discover: Cannot
change mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-python/avahi: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-python: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/tests: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-compat-howl/include/corby:
Cannot change mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-compat-howl/include/salt:
Cannot change mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar:
avahi-0.6.30/avahi-compat-howl/include/rendezvous: Cannot change mode
to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-compat-howl/include/discovery:
Cannot change mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-compat-howl/include: Cannot
change mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-compat-howl/samples: Cannot
change mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-compat-howl: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-autoipd: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-gobject: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-daemon: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/service-type-database: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/man: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-qt: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-ui-sharp/en/Avahi.UI: Cannot
change mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-ui-sharp/en: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-ui-sharp: Cannot change mode
to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-utils: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-sharp/en/Avahi: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-sharp/en: Cannot change mode
to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-sharp: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-linkat(317)
/usr/local/bin/gtar: avahi-0.6.30/po/en_GB.po: Cannot hard link to
`avahi-0.6.30/po/en_NZ.po': Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/po: Cannot change mode to rwxrwxr-x:
Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-common: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/initscript/lfs: Cannot change mode
to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/initscript/debian: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/initscript/archlinux: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/initscript/fedora: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/initscript/slackware: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/initscript/mandriva: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/initscript/freebsd: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/initscript/darwin: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/initscript/suse: Cannot change mode
to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/initscript/gentoo: Cannot change
mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/initscript: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/examples: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-glib: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-discover-standalone: Cannot
change mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-core: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/docs: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-dnsconfd: Cannot change mode
to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-ui: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/common: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-client: Cannot change mode to
rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30/avahi-compat-libdns_sd: Cannot
change mode to rwxrwxr-x: Operation not permitted
systrace: deny user: root, prog: /usr/local/bin/gtar, pid:
27915(0)[652], policy: /usr/bin/make, filters: 241, syscall:
native-fchmodat(314)
/usr/local/bin/gtar: avahi-0.6.30: Cannot change mode to rwxrwxr-x:
Operation not permitted
/usr/local/bin/gtar: Exiting with failure status due to previous errors
*** Error code 2

Stop in /usr/ports/net/avahi (line 2280 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/net/avahi (line 2256 of
/usr/ports/infrastructure/mk/bsd.port.mk).


Since fchmodat, linkat and CO are part of the systrace.policy, I can't
see where this errors are coming from.
To unset USE_SYSTRACE is not an option.

Greetz
Stefan

Reply via email to