NetBSD Problem Report #56707

From www@netbsd.org  Sun Feb 13 10:33:22 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_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 9DE791A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 13 Feb 2022 10:33:22 +0000 (UTC)
Message-Id: <20220213103321.134481A923C@mollari.NetBSD.org>
Date: Sun, 13 Feb 2022 10:33:21 +0000 (UTC)
From: nia@pkgsrc.org
Reply-To: nia@pkgsrc.org
To: gnats-bugs@NetBSD.org
Subject: gnuradio-core build broken on netbsd-9
X-Send-Pr-Version: www-1.0

>Number:         56707
>Category:       pkg
>Synopsis:       gnuradio-core build broken on netbsd-9
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 13 10:35:00 +0000 2022
>Closed-Date:    Wed May 18 04:14:03 +0000 2022
>Last-Modified:  Wed May 18 04:14:03 +0000 2022
>Originator:     nia
>Release:        pkgsrc current, netbsd-9
>Organization:
The NetBSD Foundation
>Environment:
>Description:
gnuradio-core has started to require std::filesystem.

This is unavailable with the GCC 7 system compiler used in
NetBSD 9.

This isn't a problem with the way we're building boost - std::filesystem
is a dependency that has been introduced upstream in GNU Radio.

NetBSD's gcc7 is unusual because it doesn't ship with "experimental"
headers that are usually included with GCC. Thus this problem is unique
to NetBSD.
>How-To-Repeat:
Attempt to build gnuradio-core, observe errors:


In file included from /usr/pkg/include/boost/dll/runtime_symbol_info.hpp:11:0,
                 from /tmp/ham/gnuradio-core/work/gnuradio-3.10.0.0/build/gnuradio-runtime/lib/constants.cc:16:
/usr/pkg/include/boost/dll/config.hpp:47:22: error: 'filesystem' is not a namespace-name
 using namespace std::filesystem;
                      ^~~~~~~~~~
>Fix:
Downgrade gnuradio-core, or force pkgsrc gcc and break ARM support.

>Release-Note:

>Audit-Trail:
From: "David H. Gutteridge" <david@gutteridge.ca>
To: Gnats Bugs <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: pkg/56707: gnuradio-core build broken on netbsd-9
Date: Mon, 14 Feb 2022 22:28:04 -0500

 I don't have any reasonable hardware to reproduce with, but from what I
 gleaned from bulk build logs, GCC 7 specifically does build from pkgsrc
 for 32-bit ARM and mrg@ recently fixed GCC 10 as well. So it could be
 possible to use a pkgsrc GCC here, I think.

 I'm not arguing that's necessarily the best move here. Reverting might
 be simpler, I don't know -- I don't use this package.

 Dave

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 18 May 2022 04:14:03 +0000
State-Changed-Why:
fixed 20220220 by mef@ in -r1.38/39 of Makefile.common


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.