From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2HHFHctzvF6HWQAA0tVLHw (envelope-from ) for ; Wed, 13 May 2020 22:25:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0DM5GMtzvF7zMgAAB5/wlQ (envelope-from ) for ; Wed, 13 May 2020 22:25:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4DEC0940DEA for ; Wed, 13 May 2020 22:25:12 +0000 (UTC) Received: from localhost ([::1]:51048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYzoP-0005eK-Ag for larch@yhetil.org; Wed, 13 May 2020 18:25:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYzoF-0005ds-M5 for bug-guix@gnu.org; Wed, 13 May 2020 18:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48218) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYzoF-0007EC-Cw for bug-guix@gnu.org; Wed, 13 May 2020 18:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jYzoF-0003kX-9R for bug-guix@gnu.org; Wed, 13 May 2020 18:25:03 -0400 Subject: bug#41246: freehdl fails to build Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 13 May 2020 22:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41246 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: tsmish , 41246-done@debbugs.gnu.org Mail-Followup-To: 41246@debbugs.gnu.org, mbakke@fastmail.com, tsymsh@gmail.com Received: via spool by 41246-done@debbugs.gnu.org id=D41246.158940864314309 (code D ref 41246); Wed, 13 May 2020 22:25:03 +0000 Received: (at 41246-done) by debbugs.gnu.org; 13 May 2020 22:24:03 +0000 Received: from localhost ([127.0.0.1]:59757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYznH-0003ii-6Y for submit@debbugs.gnu.org; Wed, 13 May 2020 18:24:03 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:35261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYznF-0003iF-30 for 41246-done@debbugs.gnu.org; Wed, 13 May 2020 18:24:01 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 0B4BF4DA; Wed, 13 May 2020 18:23:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 13 May 2020 18:23:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=SbTq4m5YHnE+QU3Z0kE+6rIj5p sih563JzOWi91LYh0=; b=P5tP5Fo7pisOChjj+hWhZIgBbQW9RanzrCPHzbbiJO E/SXVTPT+pS2gnOOEOi2DwjvI2pi6/LroHToQwxO+bAAMI+gl97k+X6k/tWgH0wE YsQoNjMLGgi9o68jAymTFrzoVrgPwst635hFAmFGjjMTggB8G0iu9stjYCoJxlrx TZnMQ/NPh2CxYFB2JB7ndY7mWlOsz32puT7Wn0CLFUWamlmsXe18mF4QZlqn7xoB 3vvJunGm1pqgv9TZcom4xT5B6WHDK1jNsUvTZp7cmOQXjzvHdO3M5G9Bj8Gc/34t kXyrKfWxk4cFhmd/HW8ss6rMRP7ick4Mmm117G/OpsOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=SbTq4m 5YHnE+QU3Z0kE+6rIj5psih563JzOWi91LYh0=; b=iikimqWmlDjLAzGkRYzMW4 L/7cGtgIn/f1AMFi405e9BTCjRVUkNVkdW8DdBaT2M7IipCedQE6Dj3jkKLbpWMD 1BXbb2aFFiFZfycafTOxNpVAb4TlmLSOiaVW+kGb0Iy5Qev3OlNy++kUZ4THJXhw GqejlI7cUXrcwK50t20m8U/3HlwWetGS7WXcObFgV/oUMQJI2+cUIRUUMYE8XBkZ LzhTyJptTUUoMWMYMD9mznjH95NLrAotVi7qVAifP6bd54sLZyTyfBR+PH97TO79 vbV+jOs9tHCz/esgmNPchw7x6lin56is4zA1ymFBQD6k+Fz44LW5W5yCAEp0LGaQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrleehgddtlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhgffffkgggtsehgtderre dtreejnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshht mhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeekuefhgedufffghedviefhhffgve efgefgtdeifeeltdduuefhiefgveehueeivdenucffohhmrghinheprghrtghhlhhinhhu gidrohhrghenucfkphepkeegrddvtddvrdeikedrjeehnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghilhdr tghomh X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 2F96F3066322; Wed, 13 May 2020 18:23:54 -0400 (EDT) From: Marius Bakke In-Reply-To: References: User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 14 May 2020 00:23:52 +0200 Message-ID: <87h7wjv5hj.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -2.01 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=fastmail.com header.s=fm2 header.b=P5tP5Fo7; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm2 header.b=iikimqWm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [-2.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.53957569076318]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; FREEMAIL_FROM(0.00)[fastmail.com]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.05), country: US(-0.00), ip: 209.51.188.17(-0.54)]; R_DKIM_REJECT(1.00)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[fastmail.com:-,messagingengine.com:-]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com,debbugs.gnu.org]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[mbakke@fastmail.com,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; URIBL_BLOCKED(0.00)[archlinux.org:url]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[10]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[fastmail.com : SPF not aligned (relaxed),none] X-TUID: yfP+uzCVRAht --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable tsmish writes: > Attaching build log. > commit: 8ba4d8a347fbdf9fe09e8ac801b4ac0586ac382a Thanks! > /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib= :266:22: error: =E2=80=98__gnu_cxx::strtold=E2=80=99 has not been declared > using ::__gnu_cxx::strtold; > ^ > In file included from fire-types.cc:9:0: > /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/stdlib.= h:38:12: error: =E2=80=98std::abort=E2=80=99 has not been declared > using std::abort; Using multiple versions of GCC in the same package is poorly supported since the recent 'core-updates' merge, causing these obscure errors. The actual problem with FreeHDL is that it assumes std::string, std::hash, etc is available in the default namespace, which is why it was built with GCC 5 instead of the default GCC 7. I found a patch over at Arch that makes it work with newer versions of GCC and C++: https://git.archlinux.org/svntogit/community.git/tree/trunk/build-fix.patch= ?h=3Dpackages/freehdl I applied it to our package with commit 1a044e3936ac4c1ba1575fe791bf59577b039cf9 and removed the GCC 5 input. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl68c3gACgkQoqBt8qM6 VPp8aAf/SXvzVgPnirI61fcmGAzLPfAN0MEMfj+AGelRFqm+TGJwqRCZ8X5YRojq sa3H3nGBUW4Ce2X4fNpc5dDtZlBizAlJucDWwfNiPUnvkH3a8Uq2FUK3Eeb/3wre RKUg1xozK+VjIOX57p2SwhPq7A/QMQ1fEgMEXOyCav+bVZN8W4pDJyVcIgT8M0iN bPrMm+cfB722US6XCtgTTpx1Ba5Go8Off0qaJX5HlMXRBopzllcedTnJdaaQRVy8 4DCLFAmrAwkZyKkDVPgV8WOM/hlEgL0hcmqMhZu5dJntCXBEn8iiS684mIoSojb+ xMMPZIPG33E/U8+bF+GEzoO83lcYiQ== =9HEO -----END PGP SIGNATURE----- --=-=-=--