#1150093 wsclean: FTBFS: /<<PKGBUILDDIR>>/main/../msproviders/contiguousms.h:31:13: error: 'string' does not name a type; did you mean 'stdin'?

#1150093#5
Date:
2026-10-05 16:41:05 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:wsclean, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
      |            ^
[ 46%] Building CXX object CMakeFiles/wsclean-object.dir/gridding/averagecorrection.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DBOOST_FILESYSTEM_DYN_LINK -D [too-long-redacted] /gridding/averagecorrection.cpp
In file included from /<<PKGBUILDDIR>>/main/wsclean.cpp:33:
/<<PKGBUILDDIR>>/main/../msproviders/contiguousms.h: At global scope:
/<<PKGBUILDDIR>>/main/../msproviders/contiguousms.h:31:13: error: ‘string’ does not name a type; did you mean ‘stdin’?
   31 |       const string& msPath, const std::string& dataColumnName,
      |             ^~~~~~
      |             stdin
[ 47%] Building CXX object CMakeFiles/wsclean-object.dir/gridding/directmsgridder.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DBOOST_FILESYSTEM_DYN_LINK -D [too-long-redacted] >>/gridding/directmsgridder.cpp
make[3]: *** [CMakeFiles/wsclean-object.dir/build.make:208: CMakeFiles/wsclean-object.dir/main/wsclean.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/gridding/directmsgridder.cpp: In instantiation of ‘void wsclean::DirectMSGridder<num_t>::InvertMeasurementSet(const wsclean::MsProviderCollection::MsData&, size_t) [with num_t = float; size_t = long unsigned int]’:
/<<PKGBUILDDIR>>/gridding/directmsgridder.cpp:241:16:   required from here
  241 | template class DirectMSGridder<float>;
      |                ^~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gridding/directmsgridder.cpp:152:10: warning: variable ‘rowIndex’ set but not used [-Wunused-but-set-variable=]
  152 |   size_t rowIndex = 0;
      |          ^~~~~~~~
/<<PKGBUILDDIR>>/gridding/directmsgridder.cpp: In instantiation of ‘void wsclean::DirectMSGridder<num_t>::InvertMeasurementSet(const wsclean::MsProviderCollection::MsData&, size_t) [with num_t = double; size_t = long unsigned int]’:
/<<PKGBUILDDIR>>/gridding/directmsgridder.cpp:242:16:   required from here
  242 | template class DirectMSGridder<double>;
      |                ^~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gridding/directmsgridder.cpp:152:10: warning: variable ‘rowIndex’ set but not used [-Wunused-but-set-variable=]
  152 |   size_t rowIndex = 0;
      |          ^~~~~~~~
/<<PKGBUILDDIR>>/gridding/directmsgridder.cpp: In instantiation of ‘void wsclean::DirectMSGridder<num_t>::InvertMeasurementSet(const wsclean::MsProviderCollection::MsData&, size_t) [with num_t = long double; size_t = long unsigned int]’:
/<<PKGBUILDDIR>>/gridding/directmsgridder.cpp:243:16:   required from here
  243 | template class DirectMSGridder<long double>;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/gridding/directmsgridder.cpp:152:10: warning: variable ‘rowIndex’ set but not used [-Wunused-but-set-variable=]
  152 |   size_t rowIndex = 0;
      |          ^~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:300: CMakeFiles/wsclean-object.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: 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
--------------------------------------------------------------------------------

#1150093#10
Date:
2026-10-06 06:50:00 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
wsclean, 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 1150093@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 wsclean 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 07:54:28 +0200
Source: wsclean
Architecture: source
Version: 3.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <debian-astro-maintainers@lists.alioth.debian.org>
Changed-By: Ole Streicher <olebole@debian.org>
Closes: 1150093
Changes:
 wsclean (3.7-3) unstable; urgency=medium
 .
   * Add std:: namespace to string (upstream fix) (Closes: #1150093)
   * Push dh-compat to 14; no changes needed
Checksums-Sha1:
 02de81d4c06e33e46fd5bfd4f11c5ad7ac3c98e9 2328 wsclean_3.7-3.dsc
 0930b0689d00a46b48e9baa401d2e698a61bd726 14880 wsclean_3.7-3.debian.tar.xz
Checksums-Sha256:
 72503790869d9fe4a3f08b1ba9030408e0690df5feac2ef2e03bdb0e6a796af1 2328 wsclean_3.7-3.dsc
 4701ec7c86b21bcd36ccea5f3fb07fefa5191de6d9f124c07884cff8ad1f49b2 14880 wsclean_3.7-3.debian.tar.xz
Files:
 e720cb9553d1c96f6c4a6346842d2a6c 2328 science optional wsclean_3.7-3.dsc
 59a05467fa9ed634c1f1a619fc6b4539 14880 science optional wsclean_3.7-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmrEl2IACgkQcRWv0HcQ
3Pcbqg/+IVYuxItG7hkugvoKxr0c98vyi6b/gPtXtiX6ZZJCHDfFWvQ7/Hm2yb2g
/Cbh8PU0RxjUkQNZ20l92dx3xX/+W5wppCxv3G70ZEbl6qgCqt1ZIIquKyMKQGNK
EIaYhusGfFWRrUzHHB2bkwOnWJcKbluJc5dCBPT5CTkmhhieoQe3XH0DJwozFJAp
Az/M2PrU17FxsmqqM3/+RWiKb3T/999j+rfCjyUjDXOpfiKE54Y4FXNeCag3s4+B
Qb4soebWH6HKNsJF4tK746Nv6Vse+KGaWIPI7jqZnAsW0LqmBVBnS7m6FqWzg9MC
NWMb/SIGc6qoHa81W5ZfEj0JH5Ls58tDoiffrihM6SDwJ6SgcSyrD43WQ7/jVNJP
8ZT2Lmcj+e+8Ow9XvsZULOngnPDcdohD/j7TyZPJAWTtuuYpLOZe+uzPtZobpjcL
7C1fNVFyuz//6rkRxaBvwN73/gczqR972all+qLYp3WYy8hnD2ALIcWig6Iyk8L0
n/w196AEmIRL3vOAGGUeNUTBiYIpKtqDV7ci5RsWBNpTIpB+RR2n0liQ2WU4QRNr
3XPOsnSVMVUR+K6OEbBeBYHqRh1M5S9HcX0z2yeNdWvIYqWY7VY8BGSgAgQUUWgU
NP12jyFkvf6ZHKLTAbVDdNJHpe1BY64D3TswTeI//ZWeDtnUrxM=
=Po3d
-----END PGP SIGNATURE-----