Monday, December 11, 2023

Re: What might cause a difference in building using the ports system vs trying to build manually?

The build shown in the logs in your post is using GCC rather than clang
(clang is the usual compiler for OpenBSD; due to incompatible C++ standard
libraries between the two it's not possible to combine C++ programs
compiled with gcc with libraries compiled with clang). The port in that
link has a patch which looks like it will cause it to use clang instead of gcc.

--
Sent from a phone, apologies for poor formatting.

On 11 December 2023 06:57:53 Matti Viljamaa <mavaviljggroup@gmail.com> wrote:

> I am new to the ports system, but I was trying to build pycxx for OpenBSD.
> I was expecting the Unix installation guide at https://cxx.sourceforge.net/
> to work.
>
> Then I was met with the following kinds of problems:
>
> "OpenBSD 7.4-current port and test produces an Abort trap at callback_bad
> with 'callback_args string'"
> https://sourceforge.net/p/cxx/mailman/cxx-users/thread/CAN4RswNr_0mbTvuxAe3jr4a6K7TzPOkpCaXVmPL%3DuFNiwS3SNQ%40mail.gmail.com/#msg58711015
>
> I have attempted the build several times by trying to mimic the commands
> available in a working port at:
>
> https://www.thyssentishman.com/git/ports/files.html
>
> But I am failing to get past the errors given in the SourceForge link.
>
> I am on 7.4-current.
>
> Maybe someone could attempt the same builds to see if we get the same
> results?

No comments:

Post a Comment