Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Dec 2022 16:50:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268231] textproc/augeas: fix build with clang 15
Message-ID:  <bug-268231-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268231

            Bug ID: 268231
           Summary: textproc/augeas: fix build with clang 15
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: puppet@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: puppet@FreeBSD.org
             Flags: maintainer-feedback?(puppet@FreeBSD.org)

During an exp-run for llvm 15 (see bug 265425), it turned out that
textproc/augeas failed to build with clang 15:

  internal.c:436:12: error: incompatible integer to pointer conversion
returning 'int' from a function with result type 'const char *'
[-Wint-conversion]
      return strerror_r(errnum, buf, len);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1 error generated.

This is because the GNU variant of strerror_r() is erroneously chosen. Use =
the
BSD variant instead.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268231-7788>