Monday, April 01, 2019

Re: OpenBSD: problem with installing XFCE

On Sun, Mar 31 2019, George Koehler <kernigh@gmail.com> wrote:
> Cc maintainers of devel/vte3. I attach a diff that allows amd64 to
> build and package vte3 with COMPILER=ports-gcc.
>
> On Thu, 28 Mar 2019 08:08:12 +0100
> Landry Breuil <landry@openbsd.org> wrote:
>
>> vte3 (a dependency of xfce4-terminal) is broken on macppc since a whilei (cf
>> http://build-failures.rhaalovely.net/powerpc/2019-02-04/devel/vte3.log)
>> and nobody was bothered enough to look. Will probably be the same in
>> 6.5.
>
> vte3-0.54.3 in OpenBSD-current requires a C++14 compiler. macppc
> doesn't have base-clang and uses ports-gcc 4.9, but 4.9 is too old
> and fails the C++14 check.
>
> My macppc machine (a PowerBook G4) is using ports-gcc 8.3 instead of
> the default 4.9. This machine built vte3 with gcc 8.3 and now has a
> working xfce4-terminal; but gcc 8.3 conflicts with gcc 4.9, and
> snapshot packages need 4.9, so you can't build vte3 with 8.3 while
> you are using snapshot packages. (I would like OpenBSD to move the
> default to ports-gcc>=8, but gcc 8 breaks some packages.)
>
> I now attach a diff to build vte3 with 4.9. This diff is for
> OpenBSD-current, not for OpenBSD 6.4. This diff disables the C++14
> check and changes some C++ code to prevent errors from gcc. I have
> only built this patch in my amd64 vm (using COMPILER=ports-gcc to
> switch away from the default base-clang), and I didn't try to run it,
> because this vm has packages built with base-clang, and programs tend
> to crash when they use libc++ from base-clang and libestdc++ from
> ports-gcc at the same time.

Thanks for your work on this. No strong objection, but I feel like the
resulting diff is too intrusive for my taste.

My two cents,
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

No comments:

Post a Comment