#1136251 nanopolish: FTBFS with libeigen3-dev 5.0 (major version transition)

#1136251#5
Date:
2026-05-11 05:29:11 UTC
From:
To:
Dear Maintainer,

your package depends on libeigen3-dev. The upstream released a
new major version of this mathematical library, 5.0.0. Some
basic information about new features and changes in this version
can be found here:

https://libeigen.gitlab.io/releases/5.0/

This is a major version change and may require code changes in packages
depending on eigen3. The key breaking changes include:

  - Minimum required C++ standard is now C++14
  - Changes in the build system integration
  - Some API name changes

nanopolish FTBFS with libeigen3-dev 5.0.1. The full build log is available at:

https://debusine.debian.net/debian/developers-gladk-eigen3/artifact/3759200/

Here is the most probably relevant part of the failing build log:
    ===========================================
g++ -o src/common/nanopolish_variant.o -c -g -O2 -ffile-prefix-map=/build/reproducible-path/nanopolish-0.14.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -flto -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64  -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/hdf5/serial -I/usr/include/eigen3 -I/usr/include/minimap2   -I/usr/include/minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods   -fPIC src/common/nanopolish_variant.cpp
In file included from /usr/include/eigen3/Eigen/Core:22,
                 from /usr/include/eigen3/Eigen/Dense:1,
                 from src/nanopolish_methyltrain.cpp:48:
/usr/include/eigen3/Eigen/src/Core/util/Macros.h:749:2: error: #error Eigen requires at least c++14 support.
  749 | #error Eigen requires at least c++14 support.
      |  ^~~~~

    ===========================================
libeigen3-dev_5.0.1-1 is available in experimental.

When this package version lands into unstable (probably at the beginning
of June 2026), this bug will be increased in severity to serious.

Thanks,

Anton

#1136251#8
Date:
2026-06-11 19:16:24 UTC
From:
To:
Hello,

Bug #1136251 in nanopolish reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/med-team/nanopolish/-/commit/e4f90e7e0a43166f6eab49d959647a02366a92ea
------------------------------------------------------------------------
libeigen 5.0 requires minimum -std=c++14 Closes: #1136251
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1136251

#1136251#15
Date:
2026-06-11 19:33:41 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
nanopolish, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1136251@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated nanopolish package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 11 Jun 2026 21:17:19 +0200
Source: nanopolish
Architecture: source
Version: 0.14.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 1136251
Changes:
 nanopolish (0.14.0-3) unstable; urgency=medium
 .
   * d/watch: version=5
   * libeigen 5.0 requires minimum -std=c++14
     Closes: #1136251
   * Standards-Version: 4.7.4 (routine-update)
   * Reflow Uploaders field (cme)
   * Remove Priority field (cme)
   * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
   * Drop 'Rules-Requires-Root: no' from d/control (routine-update)
   * Reformat the Last-Update date as ISO YYYY-MM-DD.
Checksums-Sha1:
 22570762ab7eca2f2ad717075d8dcc949d11bd18 2124 nanopolish_0.14.0-3.dsc
 1e90808858b3f80ff99709bbbd859cd66dd55fa6 9532 nanopolish_0.14.0-3.debian.tar.xz
 702a6dc437713037792ed564db1270069a72cfaf 9177 nanopolish_0.14.0-3_amd64.buildinfo
Checksums-Sha256:
 58ba9e411188612366a14e762ba9364f2cfcf421610b009a9d9d9a7683a2dc1c 2124 nanopolish_0.14.0-3.dsc
 ee68e640826644e64073cc88d15d6344566783370e557de1d8ac814a98ba7c23 9532 nanopolish_0.14.0-3.debian.tar.xz
 2a7727d6f59a48f10651861dbb827420a3045407c2c707d901f3d61e9c836e7c 9177 nanopolish_0.14.0-3_amd64.buildinfo
Files:
 9eb4093bdc929b845de7b011eb1f478e 2124 science optional nanopolish_0.14.0-3.dsc
 00969b0523505dc3f748c81310820a21 9532 science optional nanopolish_0.14.0-3.debian.tar.xz
 e4380ff4b9851b135d8db0143c7c2e12 9177 science optional nanopolish_0.14.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmorCrMRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtGQhBAAjjXOMiBUTOk8qviR4SWKOoAtGCPU66mi
e+cxa39arcjWvaqFddNyQCHH1HHhp2zzKX1Qvls1G7jkRPeW8bUzug2aI7QWNcHe
PYK7yRy0JoVWqxI4MryjlBNxTppBbs0jLeQa/F4vsjpk0R0y7V/CU+UvFcAKbqIq
YXyAySvECUnRJqLFbuUfEHecxK0ll811C5V8h2w+1hRR2jmwi7XzaM0kE44I4TJT
dFFbZhzv9V4LnNxsi2SxYiF45KGPoBv0DX1yLGy629mZ87lXNQAB9ZR4LlUW7xR1
/GjDqgX1dIn6r2CmuJjFT08XU03eYMzX5rBuYREyZSeq8cNIiOX8QWnFt/DZz8ph
DdvQ+xnzQvU+XzrXUihSyfsK74yZGhW0Vi0+Ew6XX0RQoI7XO/SCQezSOMyCxhhX
yawnFTudW0RKXgnxL4k8EMmiaXgtHr30tededoK1i7tgaF31oJxmDpRFGr8NfSws
kyPkMqk9IwtaBXagLezoh1dsYTGdQIpG60Kh89WYWg6C2ttai0UdvfMdO0isyeiH
F1hiWdnZuza53Q5fbrfX+lnJAYZkQzE6SIlGyARiDI7/NUbPAvfumgIYh1nO2e0r
x0/vCjbPFm00ZboAXK0QVSy2Da9jmRFiOSRzupmHv3U2m+/52uOQsEz+zMww3hSb
kE6HMHdUgu8=
=nXH0
-----END PGP SIGNATURE-----