Thursday, August 22, 2019

Re: Potential cad/qcad sparc64 fix

On Thu, Aug 22, 2019 at 12:35:28PM +0200, Ingo Feinerer wrote:

> according to
> http://build-failures.rhaalovely.net//sparc64/2019-08-18/cad/qcad.log
> cad/qcad compilation fails on sparc64 with

> cc1plus: error: one or more PCH files were found, but they were invalid
> cc1plus: error: use -Winvalid-pch for more information
> cc1plus: fatal error: qcadecmaapi: No such file or directory

> My guess (I do not have a sparc64 system for testing) is that following
> diff (see below) might fix this.

> PCH files are PreCompiled Headers in Qt-land
> (https://doc.qt.io/qt-5/qmake-precompiledheaders.html) which work only
> "on some platforms and build environments". As NetBSD and FreeBSD ports
> have a similar patch I hope this is the right fix.

> Anyone willing with a sparc64 to test this?

It took all day on my sparc64, but unfortunately, it died at the end.

Can be seen at http://www.se.rit.edu/~kurt/qcad-error.txt

--Kurt

No comments:

Post a Comment