NetBSD Problem Report #49009
From www@NetBSD.org Thu Jul 17 19:06:26 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0AD20A654B
for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Jul 2014 19:06:26 +0000 (UTC)
Message-Id: <20140717190624.4B4C5A655B@mollari.NetBSD.org>
Date: Thu, 17 Jul 2014 19:06:24 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: x11/kde-workspace4, x11/kde-baseapps4 need newer GCC on netbsd-5/i386
X-Send-Pr-Version: www-1.0
>Number: 49009
>Category: pkg
>Synopsis: x11/kde-workspace4, x11/kde-baseapps4 need newer GCC on netbsd-5/i386
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: markd
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 17 19:10:00 +0000 2014
>Closed-Date: Sun Dec 20 01:23:28 +0000 2015
>Last-Modified: Sun Dec 20 01:23:28 +0000 2015
>Originator: John D. Baker
>Release: NetBSD/i386-5.2_STABLE, pksgsrc-2014Q2
>Organization:
>Environment:
>Description:
Building "x11/kde-workspace4" fails on netbsd-5/i386 using native gcc
4.1.3 with lots of warnings about type mismatches and implicit
conversions. It eventually fails when it can't find some function or
another.
Adding "x11/kde-workspace4" to my list of packages for which
"GCC_REQD+=4.6" is defined silences all of these warnings and allows
the package to build and install successfully.
Likewise, building "x11/kde-baseapps4" fails linking with undefined
references to a myriad of C++ mangled identifiers. This behavior
was seen in a previous package (and thus a previous PR).
Adding "x11/kde-baseapps4" to my list of packages for which
"GCC_REQD+=4.6" is defined allows the package to build and install
successfully.
>How-To-Repeat:
Attempt to build "x11/kde-workspace4" or "x11/kde-baseapps4" from
pkgsrc-2014Q2 with netbsd-5/i386 native gcc 4.1.3.
Make clean, add something like:
.if "${PKGPATH}" == "x11/kde-workspace4" || \
"${PKGPATH}" == "x11/kde-baseapps4"
GCC_REQD+=4.5 # or 4.6 or later
.endif
to /etc/mk.conf and build again.
>Fix:
"x11/kde-workspace4" and "x11/kde-baseapps4" need "GCC_REQD+=4.5" for
netbsd-5/i386 (or later for some platforms).
(I see a possible fix has been committed for packages depending on
"devel/boost-libs" via "devel/boost-libs/buildlink3.mk". Will try
it ASAP.)
>Release-Note:
>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/49009: x11/kde-workspace4, x11/kde-baseapps4 need newer GCC
on netbsd-5/i386
Date: Thu, 17 Jul 2014 18:56:51 -0500 (CDT)
Following update of "devel/boost-libs" (and removing "x11/kde-workspace4"
and "x11/kde-baseapps4" from my "GCC_REQD+=4.6" override list), running
'make' in "x11/kde-workspace4" attempted to build "lang/gcc45", so this
was apparently sufficient for that.
Doing the same with "x11/kde-baseapps4" did not attempt to build
"lang/gcc45", so presumedly the pkgsrc framework will attempt to use
the native gcc 4.1.3, which won't work.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sun, 20 Jul 2014 12:53:55 +0000
Responsible-Changed-Why:
Over to maintainer.
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/49009 (x11/kde-workspace4, x11/kde-baseapps4 need newer GCC
on netbsd-5/i386)
Date: Fri, 18 Dec 2015 16:40:39 -0600 (CST)
As netbsd-5 is EOL, this PR is no-longer relevant and may be closed.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
State-Changed-From-To: open->closed
State-Changed-By: markd@NetBSD.org
State-Changed-When: Sun, 20 Dec 2015 01:23:28 +0000
State-Changed-Why:
NetBSD 5 EOL.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.