[Debian-zh-dev] Bug#1075605: unicon: ftbfs with GCC-14

LI Daobing (Nikko) lidaobing at gmail.com
Mon Jul 29 00:15:27 BST 2024


https://salsa.debian.org/chinese-team/unicon/-/merge_requests/3/diffs

I provided a MR to fix gcc compiling problem of unicon

But
1. I don't know how to merge my patch with yours, I no longer know how
top use quilt
2. I did not modify the patch header(it no longer required if you
merged the patch into one)

Thanks,
LI Daobing



On Sun, Jul 7, 2024 at 12:43 AM xiao sheng wen(肖盛文) <atzlinux at sina.com> wrote:
>
> 这个 bug,我刚才在 salsa 提交了一个补丁,修复了这个 configure
> 时无法找到编译器的错误。
>
> 但是这个软件包,在 gcc14 下编译,还有其它报错,需要进一步的工作:
>
>
> 欢迎大家继续哈!
>
> 在 2024/7/3 20:47, Matthias Klose 写道:
> > Package: src:unicon
> > Version: 3.0.4+dfsg1-5
> > Severity: important
> > Tags: sid trixie
> > User: debian-gcc at lists.debian.org
> > Usertags: ftbfs-gcc-14
> >
> > [This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
> > severity of this report will be raised before the trixie release.
> >
> > The full build log can be found at:
> > http://qa-logs.debian.net/2024/07/01/unicon_3.0.4+dfsg1-5_unstable_gccexp.log
> > The last lines of the build log are at the end of this report.
> >
> > To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
> > or install the gcc, g++, gfortran, ... packages from experimental.
> >
> >    apt-get -t=experimental install g++
> >
> > 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-14/porting_to.html
> >
> > [...]
> > dpkg-source: info: applying 008-ImmModules-turbo-Makefile.in-add-FLAGS.patch
> > dpkg-source: info: applying 009-ImmModules-cce-inputs-Makefile.in-add-FLAGS.patch
> > dpkg-source: info: applying 010-client-Makefile.in-add-FLAGS.patch
> > dpkg-source: info: applying 011-add-include-ctype.h.patch
> >
> > Check disk space
> > ----------------
> >
> > Sufficient free space for build
> >
> > User Environment
> > ----------------
> >
> > APT_CONFIG=/var/lib/sbuild/apt.conf
> > HOME=/sbuild-nonexistent
> > LANG=C.UTF-8
> > LC_ALL=C.UTF-8
> > LOGNAME=user42
> > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> > SCHROOT_ALIAS_NAME=unstable
> > SCHROOT_CHROOT_NAME=sid-amd64-sbuild
> > SCHROOT_COMMAND=env
> > SCHROOT_GID=1001
> > SCHROOT_GROUP=user42
> > SCHROOT_SESSION_ID=sid-amd64-sbuild-9e25d755-acd1-45a3-b8a3-39350ca5ee65
> > SCHROOT_UID=1001
> > SCHROOT_USER=user42
> > SHELL=/bin/sh
> > USER=user42
> >
> > dpkg-buildpackage
> > -----------------
> >
> > Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
> > dpkg-buildpackage: info: source package unicon
> > dpkg-buildpackage: info: source version 3.0.4+dfsg1-5
> > dpkg-buildpackage: info: source distribution unstable
> > dpkg-buildpackage: info: source changed by xiao sheng wen <atzlinux at sina.com>
> >   dpkg-source --before-build .
> > dpkg-buildpackage: info: host architecture amd64
> >   fakeroot debian/rules clean
> > dh clean --with pkgkde_symbolshelper
> >     dh_clean
> >       rm -f debian/debhelper-build-stamp
> >       rm -rf debian/.debhelper/
> >       rm -f -- debian/unicon-imc2.substvars debian/files
> >       rm -fr -- debian/unicon-imc2/ debian/tmp/
> >       find .  \( \( \
> >               \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
> >               \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
> >                -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
> >                -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
> >                -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
> >               \) -exec rm -f {} + \) -o \
> >               \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
> >   debian/rules build
> > dh build --with pkgkde_symbolshelper
> >     dh_update_autotools_config
> >     debian/rules override_dh_auto_configure
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\/include --mandir=\/share/man --infodir=\/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking
> > creating cache ./config.cache
> > checking for mawk... mawk
> > checking for gcc... gcc
> > checking whether the C compiler (gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now) works... no
> > configure: error: installation or configuration problem: C compiler cannot create executables.
> > make[1]: *** [debian/rules:21: override_dh_auto_configure] Error 1
> > make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> > make: *** [debian/rules:16: build] Error 2
> > dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
> >
> > _______________________________________________
> > Chinese-developers mailing list
> > Chinese-developers at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/chinese-developers
>
> --
> 肖盛文 xiao sheng wen
> https://www.atzlinux.com 《铜豌豆 Linux》基于 Debian 的 Linux 中文 桌面
> 操作系统
> Debian QA page:
> https://qa.debian.org/developer.php?login=atzlinux%40sina.com
> Debian salsa: https://salsa.debian.org/atzlinux-guest
> GnuPG Public Key: 0x00186602339240CB
> _______________________________________________
> Chinese-developers mailing list
> Chinese-developers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/chinese-developers



-- 
Best Regards
LI Daobing



More information about the Chinese-developers mailing list