NetBSD Problem Report #53936
From tsutsui@ceres.dti.ne.jp Sun Feb 3 04:22:41 2019
Return-Path: <tsutsui@ceres.dti.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id A35B17A1AB
for <gnats-bugs@gnats.NetBSD.org>; Sun, 3 Feb 2019 04:22:41 +0000 (UTC)
Message-Id: <201902030422.x134MZ7D002576@ceres.dti.ne.jp>
Date: Sun, 3 Feb 2019 13:22:35 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: pkgsrc/x11/qt5-qtbase build fails on NetBSD/amd64 7.2
X-Send-Pr-Version: 3.95
>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: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 03 04:25:00 +0000 2019
>Closed-Date: Sun Feb 23 00:21:55 +0000 2020
>Last-Modified: Sun Feb 23 00:21:55 +0000 2020
>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.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Sun, 23 Feb 2020 00:21:55 +0000
State-Changed-Why:
netbsd-7 will be EOL and worked with gcc 5.x.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.