GNU bug report logs - #73670
Casacore update compilation issue

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Mon, 7 Oct 2024 00:16:01 UTC

Severity: normal

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Full log


View this message in rfc822 format

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 73670 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>
Subject: [bug#73670] Casacore update compilation issue
Date: Mon, 07 Oct 2024 01:15:05 +0100
[Message part 1 (text/plain, inline)]
Hi Guix,

casacore from 3.4.0 to 3.6.1

I might need to appeal to some help as my numerous attempts to update
casacore to the latest version sequentially failed.


--8<---------------cut here---------------start------------->8---
In file included from /gnu/store/cj0vs5x7xzwn2av9acg19bgg6ma3yfyb-boost-1.86.0/include/boost/test/included/unit_test.hpp:23,
                 from /tmp/guix-build-casacore-3.6.1.drv-0/source/tables/Dysco/tests/runtests.cc:4:
/gnu/store/cj0vs5x7xzwn2av9acg19bgg6ma3yfyb-boost-1.86.0/include/boost/test/impl/execution_monitor.ipp: In function ‘unsigned int boost::fpe::enable(unsigned int)’:
/gnu/store/cj0vs5x7xzwn2av9acg19bgg6ma3yfyb-boost-1.86.0/include/boost/test/impl/execution_monitor.ipp:1490:5: error: ‘feclearexcept’ was not declared in this scope
 1490 |     feclearexcept(BOOST_FPE_ALL);
      |     ^~~~~~~~~~~~~
/gnu/store/cj0vs5x7xzwn2av9acg19bgg6ma3yfyb-boost-1.86.0/include/boost/test/impl/execution_monitor.ipp:1491:15: error: ‘feenableexcept’ was not declared in this scope
 1491 |     int res = feenableexcept( mask );
      |               ^~~~~~~~~~~~~~
/gnu/store/cj0vs5x7xzwn2av9acg19bgg6ma3yfyb-boost-1.86.0/include/boost/test/impl/execution_monitor.ipp: In function ‘unsigned int boost::fpe::disable(unsigned int)’:
/gnu/store/cj0vs5x7xzwn2av9acg19bgg6ma3yfyb-boost-1.86.0/include/boost/test/impl/execution_monitor.ipp:1526:5: error: ‘feclearexcept’ was not declared in this scope
 1526 |     feclearexcept(BOOST_FPE_ALL);
      |     ^~~~~~~~~~~~~
/gnu/store/cj0vs5x7xzwn2av9acg19bgg6ma3yfyb-boost-1.86.0/include/boost/test/impl/execution_monitor.ipp:1527:15: error: ‘fedisableexcept’ was not declared in this scope
 1527 |     int res = fedisableexcept( mask );
      |               ^~~~~~~~~~~~~~~
--8<---------------cut here---------------end--------------->8---

I'm not sure which combinatin brought that issue, I've even tried to
update boost to the latest version, gcc-12, 11 and 14 were used to compile.

Some reference to simirlar issues with GCC and Boost:
- execution_monitor.ipp dosn't compile with glibc 2.17  https://github.com/boostorg/test/issues/391
- Compilation fails with GCC 14 https://github.com/casacore/casacore/issues/1344
- Compilation error with gcc 12.2 (Debian 12) https://github.com/casacore/casacore/issues/1338

--
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 23 days ago.

Previous Next


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