Control: tag 1097155 help
Jonathan,
how are you? Long time no see.
Do you have capacity to look after lcd4linux?
It hasn't been touched in years, I'm thinking about requesting it to be
removed from Debian.
Let me know what you think.
-rt
On 2025-02-17 12:30, Matthias Klose wrote:
Package: src:lcd4linux
Version: 0.11.0~svn1203-3
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/lcd4linux_0.11.0~svn1203-3_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
[...]
| |
| void (*)(RESULT *)
evaluator.h:53:58: note: expected ‘void (*)(void)’ but argument is of
type ‘void (*)(RESULT *)’
53 | int AddFunction(const char *name, const int argc, void (*func)
());
|
~~~~~~~^~~~~~~~
drv_generic.c:78:13: note: ‘my_xres’ declared here
78 | static void my_xres(RESULT * result)
| ^~~~~~~
drv_generic.c:109:33: error: passing argument 3 of ‘AddFunction’ from
incompatible pointer type [-Wincompatible-pointer-types]
109 | AddFunction("LCD::yres", 0, my_yres);
| ^~~~~~~
| |
| void (*)(RESULT *)
evaluator.h:53:58: note: expected ‘void (*)(void)’ but argument is of
type ‘void (*)(RESULT *)’
53 | int AddFunction(const char *name, const int argc, void (*func)
());
|
~~~~~~~^~~~~~~~
drv_generic.c:84:13: note: ‘my_yres’ declared here
84 | static void my_yres(RESULT * result)
| ^~~~~~~
drv_generic.c:111:38: error: passing argument 3 of ‘AddFunction’ from
incompatible pointer type [-Wincompatible-pointer-types]
111 | AddFunction("Layout::height", 0, my_lrows);
| ^~~~~~~~
| |
| void (*)(RESULT *)
evaluator.h:53:58: note: expected ‘void (*)(void)’ but argument is of
type ‘void (*)(RESULT *)’
53 | int AddFunction(const char *name, const int argc, void (*func)
());
|
~~~~~~~^~~~~~~~
drv_generic.c:90:13: note: ‘my_lrows’ declared here
90 | static void my_lrows(RESULT * result)
| ^~~~~~~~
drv_generic.c:112:37: error: passing argument 3 of ‘AddFunction’ from
incompatible pointer type [-Wincompatible-pointer-types]
112 | AddFunction("Layout::width", 0, my_lcols);
| ^~~~~~~~
| |
| void (*)(RESULT *)
evaluator.h:53:58: note: expected ‘void (*)(void)’ but argument is of
type ‘void (*)(RESULT *)’
53 | int AddFunction(const char *name, const int argc, void (*func)
());
|
~~~~~~~^~~~~~~~
drv_generic.c:96:13: note: ‘my_lcols’ declared here
96 | static void my_lcols(RESULT * result)
| ^~~~~~~~
make[2]: *** [Makefile:868: drv_generic.o] Error 1
make[2]: *** Waiting for unfinished jobs....
lcd4linux.c: In function ‘interactive_mode’:
lcd4linux.c:112:10: warning: ignoring return value of ‘fgets’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
112 | for (fgets(line, sizeof(line), stdin); !feof(stdin);
fgets(line, sizeof(line), stdin)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lcd4linux.c:112:58: warning: ignoring return value of ‘fgets’ declared
with attribute ‘warn_unused_result’ [-Wunused-result]
112 | for (fgets(line, sizeof(line), stdin); !feof(stdin);
fgets(line, sizeof(line), stdin)) {
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evaluator.c: In function ‘EvalTree’:
evaluator.c:1135:13: error: too many arguments to function
‘Root->Function->func’; expected 0, have 3
1135 | Root->Function->func(Root->Result, argc, ¶m);
| ^~~~ ~~~~~~~~~~~~
evaluator.c:151:12: note: declared here
151 | void (*func) ();
| ^~~~
evaluator.c:1137:13: error: too many arguments to function
‘Root->Function->func’; expected 0, have 11
1137 | Root->Function->func(Root->Result, param[0],
param[1], param[2], param[3], param[4], param[5], param[6],
| ^~~~ ~~~~~~~~~~~~
evaluator.c:151:12: note: declared here
151 | void (*func) ();
| ^~~~
make[2]: *** [Makefile:868: evaluator.o] Error 1
make[2]: Leaving directory
'/build/reproducible-path/lcd4linux-0.11.0~svn1203'
make[1]: *** [Makefile:619: all] Error 2
make[1]: Leaving directory
'/build/reproducible-path/lcd4linux-0.11.0~svn1203'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:43: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2