Package: src:conky
Version: 1.22.0-1
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15
[This bug is NOT targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/conky_1.22.0-1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html
[...]
56 | Colour(const Colour &) = default;
| ^~~~~~
/build/reproducible-path/conky-1.22.0/src/colours.h:56:3: note: candidate expects 1 argument, 3 provided
/build/reproducible-path/conky-1.22.0/src/colours.h:55:12: note: candidate 3: ‘Colour::Colour(const std::string&)’
55 | explicit Colour(const std::string &name);
| ^~~~~~
/build/reproducible-path/conky-1.22.0/src/colours.h:55:12: note: candidate expects 1 argument, 3 provided
/build/reproducible-path/conky-1.22.0/src/colours.h:52:3: note: candidate 4: ‘constexpr Colour::Colour()’
52 | Colour() = default;
| ^~~~~~
/build/reproducible-path/conky-1.22.0/src/colours.h:52:3: note: candidate expects 0 arguments, 3 provided
/build/reproducible-path/conky-1.22.0/src/colours.cc: In function ‘std::optional<Colour> parse_hex_color(const std::string&)’:
/build/reproducible-path/conky-1.22.0/src/colours.cc:134:51: error: no matching function for call to ‘Colour::Colour(uint8_t&, uint8_t&, uint8_t&, uint8_t&)’
134 | return Colour(argb[1], argb[2], argb[3], argb[0]);
| ^
/build/reproducible-path/conky-1.22.0/src/colours.cc:134:51: note: there are 4 candidates
/build/reproducible-path/conky-1.22.0/src/colours.h:57:3: note: candidate 1: ‘constexpr Colour::Colour(Colour&&)’
57 | Colour(Colour &&) = default;
| ^~~~~~
/build/reproducible-path/conky-1.22.0/src/colours.h:57:3: note: candidate expects 1 argument, 4 provided
/build/reproducible-path/conky-1.22.0/src/colours.h:56:3: note: candidate 2: ‘constexpr Colour::Colour(const Colour&)’
56 | Colour(const Colour &) = default;
| ^~~~~~
/build/reproducible-path/conky-1.22.0/src/colours.h:56:3: note: candidate expects 1 argument, 4 provided
/build/reproducible-path/conky-1.22.0/src/colours.h:55:12: note: candidate 3: ‘Colour::Colour(const std::string&)’
55 | explicit Colour(const std::string &name);
| ^~~~~~
/build/reproducible-path/conky-1.22.0/src/colours.h:55:12: note: candidate expects 1 argument, 4 provided
/build/reproducible-path/conky-1.22.0/src/colours.h:52:3: note: candidate 4: ‘constexpr Colour::Colour()’
52 | Colour() = default;
| ^~~~~~
/build/reproducible-path/conky-1.22.0/src/colours.h:52:3: note: candidate expects 0 arguments, 4 provided
/build/reproducible-path/conky-1.22.0/src/colours.cc: In constructor ‘Colour::Colour(const std::string&)’:
/build/reproducible-path/conky-1.22.0/src/colours.cc:155:9: error: ‘struct Colour’ has no member named ‘red’
155 | this->red = result.red;
| ^~~
/build/reproducible-path/conky-1.22.0/src/colours.cc:155:22: error: ‘const struct Colour’ has no member named ‘red’
155 | this->red = result.red;
| ^~~
/build/reproducible-path/conky-1.22.0/src/colours.cc:156:9: error: ‘struct Colour’ has no member named ‘green’
156 | this->green = result.green;
| ^~~~~
/build/reproducible-path/conky-1.22.0/src/colours.cc:156:24: error: ‘const struct Colour’ has no member named ‘green’
156 | this->green = result.green;
| ^~~~~
/build/reproducible-path/conky-1.22.0/src/colours.cc:157:9: error: ‘struct Colour’ has no member named ‘blue’
157 | this->blue = result.blue;
| ^~~~
/build/reproducible-path/conky-1.22.0/src/colours.cc:157:23: error: ‘const struct Colour’ has no member named ‘blue’
157 | this->blue = result.blue;
| ^~~~
/build/reproducible-path/conky-1.22.0/src/colours.cc:158:9: error: ‘struct Colour’ has no member named ‘alpha’
158 | this->alpha = result.alpha;
| ^~~~~
/build/reproducible-path/conky-1.22.0/src/colours.cc:158:24: error: ‘const struct Colour’ has no member named ‘alpha’
158 | this->alpha = result.alpha;
| ^~~~~
make[4]: *** [src/CMakeFiles/conky.dir/build.make:140: src/CMakeFiles/conky.dir/colours.cc.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [src/CMakeFiles/conky.dir/build.make:126: src/CMakeFiles/conky.dir/colour-settings.cc.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/conky-1.22.0/build-std'
make[3]: *** [CMakeFiles/Makefile2:767: src/CMakeFiles/conky.dir/all] Error 2
make[3]: Leaving directory '/build/reproducible-path/conky-1.22.0/build-std'
make[2]: *** [Makefile:159: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/conky-1.22.0/build-std'
dh_auto_build: error: cd build-std && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:79: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/conky-1.22.0'
make: *** [debian/rules:37: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.