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

MacPorts noreply at macports.org
Sat Jul 24 14:12:09 UTC 2021


#60910: spice-gtk @0.38_1: Build fails with undeclared identifier ACL_USER,
ACL_READ, ACL_WRITE
------------------------+------------------------
  Reporter:  abusse     |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.3
Resolution:             |   Keywords:
      Port:  spice-gtk  |
------------------------+------------------------
Changes (by ryandesign):

 * owner:  danchr => ryandesign
 * status:  assigned => accepted


Comment:

 The files you listed were hidden by trace mode during the ''build'' phase.
 I don't think any of them are relevant to this issue. On my system, the
 files that were hidden by trade mode during the ''configure'' phase were:
 {{{
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt/local/bin/ar
   /opt/local/bin/cmake
   /opt/local/bin/ctags
   /opt/local/bin/git
   /opt/local/bin/gtkdoc-scan
   /opt/local/bin/lipo
   /opt/local/bin/pod2man
   /opt/local/lib/pkgconfig/libpulse-mainloop-glib.pc
   /opt/local/lib/pkgconfig/libsasl2.pc
   /opt/local/lib/pkgconfig/polkit-gobject-1.pc
 }}}
 I think one of those is relevant. Based on the "acl" in this configure
 output when not using trace mode, I guess it's the presence of policykit:
 {{{
 :info:configure Run-time dependency polkit-gobject-1 found: YES 0.116
 :info:configure Checking for function "polkit_authority_get_sync" with
 dependency polkit-gobject-1: YES
 :info:configure Checking for function
 "polkit_authorization_result_get_dismissed" with dependency polkit-
 gobject-1: YES
 :info:configure Checking for function "acl_get_file" : YES
 }}}
 I guess the port should explicitly disable the use of policykit. The other
 pkgconfig files found by the configure phase are a problem too. The build
 either needs to depend on those or make sure they don't get used.

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


More information about the macports-tickets mailing list