[MacPorts] #60910: spice-gtk @0.38_1: Build fails with undeclared identifier ACL_USER, ACL_READ, ACL_WRITE

MacPorts noreply at macports.org
Tue Jul 28 08:15:44 UTC 2020


#60910: spice-gtk @0.38_1: Build fails with undeclared identifier ACL_USER,
ACL_READ, ACL_WRITE
--------------------+-----------------------
 Reporter:  abusse  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.6.3
 Keywords:          |       Port:  spice-gtk
--------------------+-----------------------
 Building the port fails with an error for spice-client-glib-usb-acl-
 helper.c:

 {{{
 :info:build [14/115] /usr/bin/clang -Isrc/spice-client-glib-usb-acl-
 helper.p -Isrc -I../spice-gtk-0.38/src -I. -I../spice-gtk-0.38
 -I/opt/local/include/polkit-1 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gio-unix-2.0/
 -I/opt/local/include -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch
 -Wextra -O2 -g -DHAVE_CONFIG_H -DSPICE_COMPILATION
 '-DG_LOG_DOMAIN="GSpice"' -Wno-sign-compare -Wno-unused-parameter
 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_46
 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_46
 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_22
 -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_22 -ObjC -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
 x86_64 -D_XOPEN_SOURCE
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIE
 -D_REENTRANT -MD -MQ src/spice-client-glib-usb-acl-helper.p/spice-client-
 glib-usb-acl-helper.c.o -MF src/spice-client-glib-usb-acl-helper.p/spice-
 client-glib-usb-acl-helper.c.o.d -o src/spice-client-glib-usb-acl-helper.p
 /spice-client-glib-usb-acl-helper.c.o -c ../spice-gtk-0.38/src/spice-
 client-glib-usb-acl-helper.c
 :info:build FAILED: src/spice-client-glib-usb-acl-helper.p/spice-client-
 glib-usb-acl-helper.c.o
 :info:build /usr/bin/clang -Isrc/spice-client-glib-usb-acl-helper.p -Isrc
 -I../spice-gtk-0.38/src -I. -I../spice-gtk-0.38
 -I/opt/local/include/polkit-1 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gio-unix-2.0/
 -I/opt/local/include -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch
 -Wextra -O2 -g -DHAVE_CONFIG_H -DSPICE_COMPILATION
 '-DG_LOG_DOMAIN="GSpice"' -Wno-sign-compare -Wno-unused-parameter
 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_46
 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_46
 -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_22
 -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_22 -ObjC -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
 x86_64 -D_XOPEN_SOURCE
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIE
 -D_REENTRANT -MD -MQ src/spice-client-glib-usb-acl-helper.p/spice-client-
 glib-usb-acl-helper.c.o -MF src/spice-client-glib-usb-acl-helper.p/spice-
 client-glib-usb-acl-helper.c.o.d -o src/spice-client-glib-usb-acl-helper.p
 /spice-client-glib-usb-acl-helper.c.o -c ../spice-gtk-0.38/src/spice-
 client-glib-usb-acl-helper.c
 :info:build ../spice-gtk-0.38/src/spice-client-glib-usb-acl-
 helper.c:97:18: error: use of undeclared identifier 'ACL_USER'
 :info:build         if (t == ACL_USER) {
 :info:build                  ^
 :info:build ../spice-gtk-0.38/src/spice-client-glib-usb-acl-
 helper.c:131:33: error: use of undeclared identifier 'ACL_USER'
 :info:build         acl_set_tag_type(entry, ACL_USER);
 :info:build                                 ^
 :info:build ../spice-gtk-0.38/src/spice-client-glib-usb-acl-
 helper.c:137:27: error: use of undeclared identifier 'ACL_READ'
 :info:build     acl_add_perm(permset, ACL_READ|ACL_WRITE);
 :info:build                           ^
 :info:build ../spice-gtk-0.38/src/spice-client-glib-usb-acl-
 helper.c:137:36: error: use of undeclared identifier 'ACL_WRITE'
 :info:build     acl_add_perm(permset, ACL_READ|ACL_WRITE);
 :info:build                                    ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60910>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list