[MacPorts] #70869: gss @1.0.4: config.h:1001:37: an attribute list cannot appear here

MacPorts noreply at macports.org
Sun Sep 22 23:29:13 UTC 2024


#70869: gss @1.0.4: config.h:1001:37: an attribute list cannot appear here
---------------------------+---------------------
  Reporter:  ShadSterling  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.1
Resolution:                |   Keywords:  sequoia
      Port:  gss           |
---------------------------+---------------------

Comment (by kencu):

 It looks to me like the glib included in gss needs updating. The version
 is several years old.

 I tried to do that, but my glib skills are not up to snuff. Even after
 updating glib and adding the additional macros to configure.ac that seemed
 to be needed, I still go these errors about {{{an attribute list cannot
 appear here}}}.

 A brute-force method did work for me:

 {{{
 % port -v installed gss
 The following ports are currently installed:
   gss @1.0.4_0 (active) requested_variants='' platform='darwin 24'
 archs='arm64' date='2024-09-22T16:25:19-0700'
 }}}

 and passes all tests:

 {{{
 /Library/Developer/CommandLineTools/usr/bin/make  check-TESTS
 PASS: threadsafety.sh
 PASS: basic
 PASS: saslname
 ============================================================================
 Testsuite summary for GNU Generic Security Service 1.0.4
 ============================================================================
 # TOTAL: 3
 # PASS:  3
 # SKIP:  0
 # XFAIL: 0
 # FAIL:  0
 # XPASS: 0
 # ERROR: 0
 }}}

 but it's not pretty. I will attach the (simple) patches I used.

 Clearly, upstream gss needs to fix this, and maybe upstream glib as well.

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


More information about the macports-tickets mailing list