Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2024 05:35:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 276743] Many SIG* macros in <signal.h> are not visible without _XOPEN_SOURCE
Message-ID:  <bug-276743-99-kBRk8cfU1P@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276743-99@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276743-99@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D69beefcd6c22c38ec003efafe329d59=
481d02d70

commit 69beefcd6c22c38ec003efafe329d59481d02d70
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-01-31 05:24:05 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-01-31 05:33:40 +0000

    x11-wm/wlmaker: unbreak build on non-x86 architectures

    Upstream defines _POSIX_C_SOURCE to 1, 199309L, 200112L, 200809L in
    multiple files, all of which hide SIGTRAP on FreeBSD. Drop POSIX as
    BSD (unlike GNU) enable extensions by default.

    submodules/libbase/subprocess.c:496:9: error: use of undeclared identif=
ier
'SIGTRAP'
      496 |         BS_ASSERT(rv =3D=3D subprocess_ptr->pid);
          |         ^
    submodules/libbase/assert.h:45:13: note: expanded from macro 'BS_ASSERT'
       45 |             BS_ABORT();=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20
    \
          |             ^
    submodules/libbase/assert.h:34:28: note: expanded from macro 'BS_ABORT'
       34 | #define BS_ABORT() { raise(SIGTRAP); }
          |                            ^

    PR:             276743
    Reported by:    pkg-fallout (aarch64)

 x11-wm/wlmaker/Makefile | 3 +++
 1 file changed, 3 insertions(+)

--=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-276743-99-kBRk8cfU1P>