Source: yiyantang
Version: 0.7.0-10
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: LI Daobing <[email protected]>, [email protected]
Hi,
yiyantang Version: 0.7.0-10 is FTBFS now[1].
The last build error log is:
zhinit.c: In function ‘_initgb’:
zhinit.c:46:9: error: too few arguments to function ‘hz2gb_init’; expected 1,
have 0
46 | hz2gb_init ();
| ^~~~~~~~~~
In file included from zhinit.c:26:
/usr/include/hz.h:41:7: note: declared here
41 | int hz2gb_init(char*);
| ^~~~~~~~~~
zhinit.c:51:9: error: too few arguments to function ‘big2gb_init’; expected 1,
have 0
51 | big2gb_init ();
| ^~~~~~~~~~~
/usr/include/hz.h is come from libhz-dev package, in sid, this libhz-dev package
version is 0.3.16-10.1.
When I downgrade libhz-dev package to stable 0.3.16-10 version, the yiyantang
will build success.
The diff between in libhz-dev stable and sid is that it added the
018-gcc-15.patch,
this patch changed /usr/include/hz.h file,it changed many functions like
hz2gb_init
that they need arguments.
Patch is weclome to this bug.
[1]
https://buildd.debian.org/status/fetch.php?pkg=yiyantang&arch=amd64&ver=0.7.0-11&stamp=1774579285&raw=0
Regards,
xiao sheng wen
-- System Information:
Architecture: x86_64
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8),
LANGUAGE=zh_CN:zh
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled