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

MacPorts noreply at macports.org
Sun Sep 22 18:49:19 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
 Keywords:  sequoia       |       Port:  gss
--------------------------+--------------------
 2018 Intel macbook just upgraded to Sequoia, `sudo port migrate` largely
 failed on #70750 and then #70849, after addressing those `sudo port
 restore --last` also largely fails due to this error building `gss`:
 {{{
 :info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../..
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -Wno-cast-
 qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-
 unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-
 fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
 x86_64 -MT libgnu_la-fd-hook.lo -MD -MP -MF .deps/libgnu_la-fd-hook.Tpo -c
 fd-hook.c -o libgnu_la-fd-hook.o >/dev/null 2>&1
 :info:build In file included from ialloc.c:21:
 :info:build ./ialloc.h:39:1: error: an attribute list cannot appear here
 :info:build    39 | IALLOC_INLINE void * _GL_ATTRIBUTE_COLD
 :info:build       | ^~~~~~~~~~~~~
 :info:build ialloc.c:20:23: note: expanded from macro 'IALLOC_INLINE'
 :info:build    20 | #define IALLOC_INLINE _GL_EXTERN_INLINE
 :info:build       |                       ^~~~~~~~~~~~~~~~~
 :info:build ../../config.h:1193:35: note: expanded from macro
 '_GL_EXTERN_INLINE'
 :info:build  1193 | # define _GL_EXTERN_INLINE static _GL_UNUSED
 :info:build       |                                   ^~~~~~~~~~
 :info:build ../../config.h:1006:20libtool: compile:  /usr/bin/clang
 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -Wno-cast-
 qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-
 unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-
 fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
 x86_64 -MT libgnu_la-getprogname.lo -MD -MP -MF .deps/libgnu_la-
 getprogname.Tpo -c getprogname.c -o libgnu_la-getprogname.o >/dev/null
 2>&1
 :info:build : note: expanded from macro '_GL_UNUSED'
 :info:build  1006 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
 :info:build       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build ../../config.h:1001:37: note: expanded from macro
 '_GL_ATTRIBUTE_MAYBE_UNUSED'
 :info:build  1001 | # define _GL_ATTRIBUTE_MAYBE_UNUSED
 [[__maybe_unused__]]
 :info:build       |
 ^~~~~~~~~~~~~~~~~~~~
 }}}

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


More information about the macports-tickets mailing list