pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53936: pkgsrc/x11/qt5-qtbase build fails on NetBSD/amd64 7.2
>Number: 53936
>Category: pkg
>Synopsis: pkgsrc/x11/qt5-qtbase build fails on NetBSD/amd64 7.2
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 03 04:25:00 +0000 2019
>Originator: Izumi Tsutsui
>Release: NetBSD 7.2 + pkgsrc-2018Q4
>Organization:
>Environment:
System: NetBSD 7.2
Architecture: x86_64
Machine: amd64
>Description:
pkgsrc/x11/qt5-qtbase build fails on NetBSD/amd64 7.x as pkgbuild reports:
http://mail-index.netbsd.org/pkgsrc-bulk/2019/01/31/msg016951.html
http://nyftp.netbsd.org/pub/pkgsrc/packages/reports/2018Q4/NetBSD-7.0-x86_64/20190129.1456/qt5-qtbase-5.12.0/configure.log
> => Checking for portability problems in extracted files
> Creating qmake...
> In file included from /work/x11/qt5-qtbase/work/qtbase-everywhere-src-5.12.0/include/QtCore/qendian.h:1:0,
> from /work/x11/qt5-qtbase/work/qtbase-everywhere-src-5.12.0/src/corelib/codecs/qutfcodec.cpp:43:
> /work/x11/qt5-qtbase/work/qtbase-everywhere-src-5.12.0/include/QtCore/../../src/corelib/global/qendian.h:165:61: error: redeclaration 'constexpr T qbswap(T) [with T = qfloat16]' differs in 'constexpr'
> template <> inline qfloat16 qbswap<qfloat16>(qfloat16 source)
:
Note no problem on NetBSD/amd64 8.0.
>How-To-Repeat:
See above.
>Fix:
Adding
> GCC_REQD+= 5.0
to pkgsrc/x11/qt5-qtbase/Makefile.common fixes the problem
(confirmed by isaki@ on NetBSD/amd64 7.2),
though not confirmed the exact REQD version for current Qt packages.
Home |
Main Index |
Thread Index |
Old Index