GNU bug report logs - #41246
freehdl fails to build

Previous Next

Package: guix;

Reported by: tsmish <tsymsh <at> gmail.com>

Date: Wed, 13 May 2020 22:01:02 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41246 in the body.
You can then email your comments to 41246 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#41246; Package guix. (Wed, 13 May 2020 22:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to tsmish <tsymsh <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 13 May 2020 22:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: tsmish <tsymsh <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: freehdl fails to build
Date: Thu, 14 May 2020 01:00:02 +0300
[Message part 1 (text/plain, inline)]
Attaching build log.
commit: 8ba4d8a347fbdf9fe09e8ac801b4ac0586ac382a
[freehdl-buildlog.txt (text/plain, attachment)]

Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Wed, 13 May 2020 22:25:03 GMT) Full text and rfc822 format available.

Notification sent to tsmish <tsymsh <at> gmail.com>:
bug acknowledged by developer. (Wed, 13 May 2020 22:25:03 GMT) Full text and rfc822 format available.

Message #10 received at 41246-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: tsmish <tsymsh <at> gmail.com>, 41246-done <at> debbugs.gnu.org
Subject: Re: bug#41246: freehdl fails to build
Date: Thu, 14 May 2020 00:23:52 +0200
[Message part 1 (text/plain, inline)]
tsmish <tsymsh <at> gmail.com> writes:

> Attaching build log.
> commit: 8ba4d8a347fbdf9fe09e8ac801b4ac0586ac382a

Thanks!

> /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0/include/c++/cstdlib:266:22: error: ‘__gnu_cxx::strtold’ 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: ‘std::abort’ 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=packages/freehdl

I applied it to our package with commit
1a044e3936ac4c1ba1575fe791bf59577b039cf9 and removed the GCC 5 input.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 11 Jun 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 309 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.