Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2022 10:40:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268579] lang/gnustep-base: Update to 1.28.0
Message-ID:  <bug-268579-7788-cv9g7S0rt1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268579-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268579-7788@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=3D268579

--- Comment #5 from Martin Waschb=C3=BCsch <martin@waschbuesch.de> ---
(In reply to Li-Wen Hsu from comment #2)

I got the same results on 12.3 and 12.4.

configure.ac in 1.28 seems to try and enable unwind by default:

----

# Enable unwind if found by default
AC_ARG_WITH(unwind,
  AS_HELP_STRING([--without-unwind], [Ignore unwind if found and disable it=
]))

AS_IF([test "x$with_unwind" !=3D "xno"],
  [AC_CHECK_HEADERS(unwind.h)] [AC_CHECK_FUNCS(_Unwind_GetIP)],
  [have_unwind=3Dno])

AS_IF([test "x$ac_cv_func__Unwind_GetIP" =3D "xyes"],
  [have_unwind=3Dyes],
  [have_unwind=3Dno])

AS_IF([test "x$have_unwind" =3D "xyes"],
  [AC_DEFINE([WITH_UNWIND], [1], [Have and use Unwind library])],
  [AS_IF([test "x$with_unwind" =3D "xyes"],
         [AC_MSG_ERROR([unwind requested but not found])
  ])
])

----

It seems that while the check for unwind.h fails, somehow the check for
_Unwind_GetIP does succeed which results in the assumption that unwind can =
be
enabled, which in turn leads to unwind.h being expected.

1.27 does not do that, but only checks if the header file is present.

I have added a dependency on devel/libunwind, which will make it compile on
12.x
Can you try the updated patch?
(However, perhaps it would be better to only add the dependency for 12.x?)

--=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-268579-7788-cv9g7S0rt1>