#1150082 aoflagger: FTBFS: /<<PKGBUILDDIR>>/rfigui/controllers/../../imagesets/../msio/baselinereader.h:155:56: error: 'string' does not name a type; did you mean 'GString'?

#1150082#5
Date:
2026-10-05 16:40:41 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:aoflagger, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
[  4%] Building CXX object CMakeFiles/aoflaggergui.dir/rfigui/controllers/rfiguicontroller.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DHAVE_GTKMM -DHAVE_POSIX_FALL [too-long-redacted] ontrollers/rfiguicontroller.cpp
In file included from /<<PKGBUILDDIR>>/rfigui/controllers/../../imagesets/msimageset.h:16,
                 from /<<PKGBUILDDIR>>/rfigui/controllers/../../imagesets/joinedspwset.h:6,
                 from /<<PKGBUILDDIR>>/rfigui/controllers/rfiguicontroller.cpp:10:
/<<PKGBUILDDIR>>/rfigui/controllers/../../imagesets/../msio/baselinereader.h:155:56: error: ‘string’ does not name a type; did you mean ‘GString’?
  155 |   static uint64_t MeasurementSetIntervalDataSize(const string& filename,
      |                                                        ^~~~~~
      |                                                        GString
[  4%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/baselinetimeplaneimager.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] hms/baselinetimeplaneimager.cpp
make[3]: *** [CMakeFiles/aoflaggergui.dir/build.make:96: CMakeFiles/aoflaggergui.dir/rfigui/controllers/rfiguicontroller.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1145: CMakeFiles/aoflaggergui.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[  5%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/combinatorialthresholder.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] ms/combinatorialthresholder.cpp
[  5%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/fringetestcreater.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] lgorithms/fringetestcreater.cpp
[  6%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/highpassfilter.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] >/algorithms/highpassfilter.cpp
[  7%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/morphology.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] DIR>>/algorithms/morphology.cpp
[  7%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/sinusfitter.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] IR>>/algorithms/sinusfitter.cpp
[  8%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/siroperator.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] IR>>/algorithms/siroperator.cpp
[  9%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/morphologicalflagger.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] rithms/morphologicalflagger.cpp
[  9%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/sumthreshold.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] R>>/algorithms/sumthreshold.cpp
[ 10%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/sumthresholdmissing.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] orithms/sumthresholdmissing.cpp
[ 11%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/svdmitigater.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] R>>/algorithms/svdmitigater.cpp
[ 11%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/testsetgenerator.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] algorithms/testsetgenerator.cpp
[ 12%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/thresholdconfig.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] /algorithms/thresholdconfig.cpp
[ 12%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/thresholdtools.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] >/algorithms/thresholdtools.cpp
[ 13%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/timefrequencystatistics.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] hms/timefrequencystatistics.cpp
[ 14%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/sisco/sisco.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] IR>>/algorithms/sisco/sisco.cpp
[ 14%] Building CXX object CMakeFiles/aoflagger-lib.dir/algorithms/sisco/predictresidual.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] ithms/sisco/predictresidual.cpp
[ 15%] Building CXX object CMakeFiles/aoflagger-lib.dir/rfigui/maskedheatmap.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] DDIR>>/rfigui/maskedheatmap.cpp
[ 16%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/colorscale.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] GBUILDDIR>>/plot/colorscale.cpp
[ 16%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/heatmap.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] <PKGBUILDDIR>>/plot/heatmap.cpp
[ 17%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/horizontalplotscale.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] >>/plot/horizontalplotscale.cpp
[ 17%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/legend.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] <<PKGBUILDDIR>>/plot/legend.cpp
[ 18%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/plotbase.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] PKGBUILDDIR>>/plot/plotbase.cpp
[ 19%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/plotpropertieswindow.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] >/plot/plotpropertieswindow.cpp
[ 19%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/plotwidget.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] GBUILDDIR>>/plot/plotwidget.cpp
[ 20%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/statistics.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] GBUILDDIR>>/plot/statistics.cpp
[ 21%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/title.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] /<<PKGBUILDDIR>>/plot/title.cpp
[ 21%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/vectorimage.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] BUILDDIR>>/plot/vectorimage.cpp
[ 22%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/verticalplotscale.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] IR>>/plot/verticalplotscale.cpp
[ 23%] Building CXX object CMakeFiles/aoflagger-lib.dir/plot/xyplot.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] <<PKGBUILDDIR>>/plot/xyplot.cpp
[ 23%] Building CXX object CMakeFiles/aoflagger-lib.dir/imagesets/bhfitsimageset.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] >>/imagesets/bhfitsimageset.cpp
[ 24%] Building CXX object CMakeFiles/aoflagger-lib.dir/imagesets/filterbankset.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] R>>/imagesets/filterbankset.cpp
[ 24%] Building CXX object CMakeFiles/aoflagger-lib.dir/imagesets/fitsimageset.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] IR>>/imagesets/fitsimageset.cpp
[ 25%] Building CXX object CMakeFiles/aoflagger-lib.dir/imagesets/h5imageset.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] DDIR>>/imagesets/h5imageset.cpp
[ 26%] Building CXX object CMakeFiles/aoflagger-lib.dir/imagesets/imageset.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] ILDDIR>>/imagesets/imageset.cpp
[ 26%] Building CXX object CMakeFiles/aoflagger-lib.dir/imagesets/indexableset.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DH5_BUILT_AS_DYNAMIC_LIB -DHA [too-long-redacted] IR>>/imagesets/indexableset.cpp
In file included from /<<PKGBUILDDIR>>/imagesets/msimageset.h:16,
                 from /<<PKGBUILDDIR>>/imagesets/coaddedimageset.h:5,
                 from /<<PKGBUILDDIR>>/imagesets/imageset.cpp:5:
/<<PKGBUILDDIR>>/imagesets/../msio/baselinereader.h:155:56: error: ‘string’ does not name a type; did you mean ‘stdin’?
  155 |   static uint64_t MeasurementSetIntervalDataSize(const string& filename,
      |                                                        ^~~~~~
      |                                                        stdin
/<<PKGBUILDDIR>>/imagesets/imageset.cpp:123:39: error: ‘string’ does not name a type; did you mean ‘stdin’?
  123 | bool ImageSet::IsQualityStatSet(const string& file) {
      |                                       ^~~~~~
      |                                       stdin
/<<PKGBUILDDIR>>/imagesets/imageset.cpp:123:6: error: no declaration matches ‘bool imagesets::ImageSet::IsQualityStatSet(const int&)’
  123 | bool ImageSet::IsQualityStatSet(const string& file) {
      |      ^~~~~~~~
  • there is 1 candidate
In file included from /<<PKGBUILDDIR>>/imagesets/imageset.cpp:1:
    • candidate is: ‘static bool imagesets::ImageSet::IsQualityStatSet(const std::string&)’
      /<<PKGBUILDDIR>>/imagesets/imageset.h:123:15:
        123 |   static bool IsQualityStatSet(const std::string& file);
            |               ^~~~~~~~~~~~~~~~
      • parameter 1 of candidate has type ‘const std::string&’ {aka ‘const std::__cxx11::basic_string<char>&’}...
        /<<PKGBUILDDIR>>/imagesets/imageset.h:123:51:
          123 |   static bool IsQualityStatSet(const std::string& file);
              |                                ~~~~~~~~~~~~~~~~~~~^~~~
      • ...which does not match type ‘const int&’
        /<<PKGBUILDDIR>>/imagesets/imageset.cpp:123:47:
          123 | bool ImageSet::IsQualityStatSet(const string& file) {
              |                                 ~~~~~~~~~~~~~~^~~~
/<<PKGBUILDDIR>>/imagesets/imageset.h:61:7: note: ‘class imagesets::ImageSet’ defined here
   61 | class ImageSet {
      |       ^~~~~~~~
In file included from /<<PKGBUILDDIR>>/imagesets/indexableset.h:6,
                 from /<<PKGBUILDDIR>>/imagesets/indexableset.cpp:1:
/<<PKGBUILDDIR>>/imagesets/../msio/baselinereader.h:155:56: error: ‘string’ does not name a type; did you mean ‘stdin’?
  155 |   static uint64_t MeasurementSetIntervalDataSize(const string& filename,
      |                                                        ^~~~~~
      |                                                        stdin
make[3]: *** [CMakeFiles/aoflagger-lib.dir/build.make:600: CMakeFiles/aoflagger-lib.dir/imagesets/indexableset.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/aoflagger-lib.dir/build.make:586: CMakeFiles/aoflagger-lib.dir/imagesets/imageset.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1081: CMakeFiles/aoflagger-lib.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1150082#10
Date:
2026-10-06 06:49:13 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
aoflagger, 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 1150082@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ole Streicher <olebole@debian.org> (supplier of updated aoflagger 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: Tue, 06 Oct 2026 08:02:12 +0200
Source: aoflagger
Architecture: source
Version: 3.5.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <debian-astro-maintainers@lists.alioth.debian.org>
Changed-By: Ole Streicher <olebole@debian.org>
Closes: 1150082
Changes:
 aoflagger (3.5.1-3) unstable; urgency=medium
 .
   * Add std:: before string where necessary (Closes: #1150082)
   * Push Standards-Version to 4.7.4, dh-compat to 14; no changes needed
Checksums-Sha1:
 17737e2cf2729256da85a05423c7bbc711c519ac 2465 aoflagger_3.5.1-3.dsc
 54ab27fa56431759851aefadaf8339ee65b60834 10904 aoflagger_3.5.1-3.debian.tar.xz
Checksums-Sha256:
 30ee84a347012c0fc20bb7d6766022a67861b74ef02f8caacdbd1224e08a658c 2465 aoflagger_3.5.1-3.dsc
 78202fc22b422c93a47b930d7ec96e465cc2d38fefc647969ae144d15154f1a3 10904 aoflagger_3.5.1-3.debian.tar.xz
Files:
 399cb396a9308fbc13a3eabac003aea9 2465 science optional aoflagger_3.5.1-3.dsc
 578b8a1808370afbf6cc5472fa378941 10904 science optional aoflagger_3.5.1-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmrEl4cACgkQcRWv0HcQ
3PcM3A//SKq8F1LZes5I8aFCXAzXZY5ZTkh7Mv6mPhiUXZL/aj4vRF3xeSCTc2hD
ApYU645LLjlrsfANmWFl2D3kfdYQR4RhILASqxAFIp5tp1OTHzwgROBVx3P238bv
gbAJvSfZGGTnHZJ0f5t5RYV9EWd+GTOcrz5QqRq760MYRuHq/VTm6f1fw3AJaeSQ
i3BYoETaTnoMWu8XeV1Ycmg4//nnvSnmN8s2vK00StGekcrJBsDaqtrW2Vzdky3I
ikTgt4BJ/s1Slm1HkEu2biXSanN/I+hWdSpY9OEWcizor4on6glSfsRDBHS/+qhu
XlMAy8BUovKi7kNTraVuRWa7UBVEiLkhLBvunlK1Q8o7U9QSvpHB621sfH2ZSqcZ
W/sippmQNuK4cOn2bU0K/YA4pIyiH6f2Nr0lt6dWcD9pTqeI5ImuGjWiQS3pkqSH
3LhUXizDw6kpnZHmWeOLEL78a4TpD7LwVR8Sokh0Kl9+1ltLqbwXpc/hH9XQojg/
F4tPafebQzfx5h1hhXIAl/BL9a02MTNlY6i/i/ZMPHABKxwq4pqIWGy0CWWpoq9m
pwZhS4tXt+D/Z8cDQs/tMcR5Y8muvHgvM+yfGveXjF7GCxi7f8O3J9+sqST5qsC9
qyopahO1K880NEEj1QrjWs70riGm+GK0ZKEkx4jiYtr3AH1zc0Q=
=hqfi
-----END PGP SIGNATURE-----