[Bug 276190] www/lagrange: Fails to build on 15-CURRENT

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Jan 2024 22:51:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276190

            Bug ID: 276190
           Summary: www/lagrange: Fails to build on 15-CURRENT
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: lcook@freebsd.org
          Reporter: agh@riseup.net
             Flags: maintainer-feedback?(lcook@freebsd.org)
          Assignee: lcook@freebsd.org

Hello, current Port (1.16.5), and 1.17.x updates fail to build on FreeBSD:

> FAILED: lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/punycode.c.o
> /usr/bin/cc -DiIsLibraryBuild -I/tmp/lagrange/net/fafnir/git/worktrees/lagrange-20240107/www/lagrange/work/lagrange-1.17.5/lib/the_Foundation/include -I/tmp/lagrange/net/fafnir/git/worktrees/lagrange-20240107/www/lagrange/work/.build/lib/the_Foundation -I/usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  > -DNDEBUG -std=gnu11 -Wall -Wpedantic -Werror -Wno-deprecated-declarations -Wno-format-pedantic -Wno-format -msse4.1 -MD -MT lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/punycode.c.o -MF lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/punycode.c.o.d -o lib/the_Foundation/CMakeFiles/the_Foundation.dir/src/punycode.c.o -c /tmp/lagrange/net/fafnir/git/worktrees/lagrange-20240107/www/lagrange/work/lagrange-1.17.5/lib/the_Foundation/src/punycode.c
> In file included from /tmp/lagrange/net/fafnir/git/worktrees/lagrange-20240107/www/lagrange/work/lagrange-1.17.5/lib/the_Foundation/src/punycode.c:41:
> /usr/local/include/unistr.h:203:39: error: [[]] attributes are a C2x extension [-Werror,-Wc2x-extensions]
>   203 |                    const uint32_t *s, _GL_ATTRIBUTE_MAYBE_UNUSED size_t n)
>       |                                       ^
> /usr/local/include/unistring/cdefs.h:44:37: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
>    44 | # define _GL_ATTRIBUTE_MAYBE_UNUSED _UC_ATTRIBUTE_MAYBE_UNUSED
>       |                                     ^
> /usr/local/include/unistring/cdefs.h:105:37: note: expanded from macro '_UC_ATTRIBUTE_MAYBE_UNUSED'
>   105 | # define _UC_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
>       |                                     ^
> In file included from /tmp/lagrange/net/fafnir/git/worktrees/lagrange-20240107/www/lagrange/work/lagrange-1.17.5/lib/the_Foundation/src/punycode.c:41:
> /usr/local/include/unistr.h:270:13: error: [[]] attributes are a C2x extension [-Werror,-Wc2x-extensions]
>   270 |             _GL_ATTRIBUTE_MAYBE_UNUSED size_t n)
>       |             ^
> /usr/local/include/unistring/cdefs.h:44:37: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
>    44 | # define _GL_ATTRIBUTE_MAYBE_UNUSED _UC_ATTRIBUTE_MAYBE_UNUSED
>       |                                     ^
> /usr/local/include/unistring/cdefs.h:105:37: note: expanded from macro '_UC_ATTRIBUTE_MAYBE_UNUSED'
>   105 | # define _UC_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
>       |                                     ^
> 2 errors generated.
> ninja: build stopped: subcommand failed.
> *** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.