Sunday, October 13, 2024

Re: MAINTAINER UPDATE: games/classicube to 1.3.7

On Sun, 13 Oct 2024 14:35:29 -0500
izzy Meyer <izder456@disroot.org> wrote:

> Hey ports@
>
> This is an update to 1.3.7, everything works, but for now needs to be
> built with gcc as upstream changed some stuff with libunwind, which
> breaks clang compat.
>
> I am working with upstream in their discord to get clang supported. I
> am not a very good C dev so IDK where to start.
>
> Diff is attached. OK to merge for now until Clang compat patch comes
> and I can send a new diff?
>
> Thanks-
>

For more information, heres the error when compiling outside the ports
tree.

/tmp/ClassiCube-1.3.7 gmake
gmake ClassiCube PLAT=openbsd
gmake[1]: Entering directory '/tmp/ClassiCube-1.3.7'
mkdir -p build-openbsd

### See PLAT? its properly detecting OpenBSD

## rest of cc build logs...

## then the linker...

ld: error: undefined symbol: _Unwind_Backtrace
>>> referenced by Logger.c:1363 (src/Logger.c:1363)
>>> build-openbsd/Logger.o:(Logger_Backtrace)

ld: error: undefined symbol: _Unwind_GetIP
>>> referenced by Logger.c:1355 (src/Logger.c:1355)
>>> build-openbsd/Logger.o:(UnwindFrame)
cc: error: linker command failed with exit code 1 (use -v to see
invocation) gmake[1]: *** [Makefile:247: ClassiCube] Error 1
gmake[1]: Leaving directory '/tmp/ClassiCube-1.3.7'
gmake: *** [Makefile:175: openbsd] Error 2

It seems to be some sort of GLIBC dependance maybe?

Unsure.

Thanks-

--
iz (they/them)

> i like to say mundane things,
> there are too many uninteresting things
> that go unnoticed.

izder456 (dot) neocities (dot) org

No comments:

Post a Comment