[MacPorts] #71273: gnutls-devel @3.8.8: error: initializer element is not a compile-time constant

MacPorts noreply at macports.org
Sun Nov 10 07:51:02 UTC 2024


#71273: gnutls-devel @3.8.8: error: initializer element is not a compile-time
constant
---------------------------+-------------------------
  Reporter:  ryandesign    |      Owner:  Schamschula
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.4
Resolution:                |   Keywords:
      Port:  gnutls-devel  |
---------------------------+-------------------------

Old description:

> https://build.macports.org/builders/ports-
> 14_x86_64-builder/builds/50991/steps/install-port/logs/stdio
> {{{
> libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../..
> -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl
> -I./.. -I/opt/local/include
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -Wtype-
> limits -Wall -Wbad-function-cast -Wdate-time -Wdisabled-optimization
> -Wdouble-promotion -Wextra -Winit-self -Winvalid-pch -Wmissing-
> declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs
> -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith
> -Wshadow -Wstrict-prototypes -Wuninitialized -Wunknown-pragmas
> -Wvariadic-macros -Wwrite-strings -Wformat=2 -Wno-missing-field-
> initializers -Wno-unused-parameter -fdiagnostics-show-option -fno-
> builtin-strcmp -I/opt/local/include/p11-kit-1 -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch
> x86_64 -c mac.c  -fno-common -DPIC -o .libs/mac.o
> groups.c:93:2: error: initializer element is not a compile-time constant
>         group_x25519,
>         ^~~~~~~~~~~~
> 1 error generated.
> }}}
> https://gitlab.com/gnutls/gnutls/-/issues/1228

New description:

 https://build.macports.org/builders/ports-
 14_x86_64-builder/builds/50991/steps/install-port/logs/stdio
 {{{
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I./../../gl
 -I./../../gl -I./../includes -I./../includes -I./../../gl -I./..
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -Wtype-
 limits -Wall -Wbad-function-cast -Wdate-time -Wdisabled-optimization
 -Wdouble-promotion -Wextra -Winit-self -Winvalid-pch -Wmissing-
 declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs
 -Wnull-dereference -Wold-style-definition -Wpacked -Wpointer-arith
 -Wshadow -Wstrict-prototypes -Wuninitialized -Wunknown-pragmas -Wvariadic-
 macros -Wwrite-strings -Wformat=2 -Wno-missing-field-initializers -Wno-
 unused-parameter -fdiagnostics-show-option -fno-builtin-strcmp
 -I/opt/local/include/p11-kit-1 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch
 x86_64 -c mac.c  -fno-common -DPIC -o .libs/mac.o
 groups.c:93:2: error: initializer element is not a compile-time constant
         group_x25519,
         ^~~~~~~~~~~~
 1 error generated.
 }}}
 ~~https://gitlab.com/gnutls/gnutls/-/issues/1228~~

--

Comment (by ryandesign):

 No that ticket is a different instance of this compiler error. The one
 we're seeing here is new in 3.8.8 and affects macOS 14 and earlier. Filed
 a new issue as https://gitlab.com/gnutls/gnutls/-/issues/1604.

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


More information about the macports-tickets mailing list