[Debian-astro-maintainers] Bug#966866: aoflagger: FTBFS: colormap.cpp:32:15: error: ‘runtime_error’ is not a member of ‘std’

Lucas Nussbaum lucas at debian.org
Mon Aug 3 08:59:28 BST 2020


Source: aoflagger
Version: 2.15.0-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  -DHAVE_GTKMM -DHAVE_POSIX_FALLOCATE -Daoflagger_EXPORTS -I/usr/include/casacore -I/usr/include/libxml2 -I/usr/include/python3.8 -I/usr/include/lua5.3 -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror=vla -DNDEBUG -funroll-loops -O3 -std=c++11 -fPIC   -o CMakeFiles/aoflagger.dir/structures/colormap.cpp.o -c /<<PKGBUILDDIR>>/src/structures/colormap.cpp
> /<<PKGBUILDDIR>>/src/structures/colormap.cpp: In static member function ‘static std::unique_ptr<ColorMap> ColorMap::CreateColorMap(ColorMap::Type)’:
> /<<PKGBUILDDIR>>/src/structures/colormap.cpp:32:15: error: ‘runtime_error’ is not a member of ‘std’
>    32 |    throw std::runtime_error("Unknown color map specified in call to CreateColorMap()");
>       |               ^~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/structures/colormap.cpp:31:3: warning: control reaches end of non-void function [-Wreturn-type]
>    31 |   default:
>       |   ^~~~~~~
> make[3]: *** [src/CMakeFiles/aoflagger.dir/build.make:1210: src/CMakeFiles/aoflagger.dir/structures/colormap.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/aoflagger_2.15.0-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-astro-maintainers mailing list