Public bug reported: Imported from Debian bug http://bugs.debian.org/778180:
Package: src:xemacs21 Version: 21.4.22-11 Severity: normal Tags: sid stretch User: [email protected] Usertags: ftbfs-gcc-5 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-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The severity of this report may be raised before the stretch release. The full build log can be found at: http://people.debian.org/~doko/logs/gcc5-20150205/xemacs21_21.4.22-11_unstable_gcc5.log The last lines of the build log are at the end of this report. To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t experimental install g++ Common build failures are C11 as the default C mode, 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-5/porting_to.html [...] ^ xlwcheckbox.c: At top level: xlwcheckbox.c:280:1: warning: 'CheckboxDestroy' defined but not used [-Wunused-function] CheckboxDestroy (Widget w, ^ gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -fno-strict-aliasing -Wshadow -I. -DHAVE_CONFIG_H xlwgauge.c xlwgauge.c: In function 'GaugeExpose': xlwgauge.c:379:6: warning: variable 'hgt' set but not used [-Wunused-but-set-variable] int hgt ; /* height (width) of widget */ ^ xlwgauge.c: In function 'XawGaugeSetValue': xlwgauge.c:842:4: warning: missing sentinel in function call [-Wformat=] XtVaSetValues(w, XtNvalue, value, 0) ; ^ gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -fno-strict-aliasing -Wshadow -I. -DHAVE_CONFIG_H lwlib-Xlw.c lwlib-Xlw.c: In function 'xlw_update_tab_control': lwlib-Xlw.c:454:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0, cur = val->contents; i < num_children; i++) ^ lwlib-Xlw.c: In function 'xlw_update_one_widget': lwlib-Xlw.c:564:21: warning: variable 'mw' set but not used [-Wunused-but-set-variable] XlwMenuWidget mw; ^ rm -f liblw.a ar cq liblw.a lwlib.o lwlib-utils.o lwlib-config.o lwlib-Xaw.o xlwmenu.o xlwscrollbar.o xlwtabs.o xlwgcs.o xlwradio.o xlwcheckbox.o xlwgauge.o lwlib-Xlw.o make[3]: Leaving directory '/«PKGBUILDDIR»/lwlib' cd ./src && /usr/bin/make all make[3]: Entering directory '/«PKGBUILDDIR»/src' gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -fno-strict-aliasing -Wshadow -Demacs -I. -DHAVE_CONFIG_H abbrev.c In file included from abbrev.c:35:0: lisp.h:204:3: error: conflicting types for 'max_align_t' } max_align_t; ^ In file included from lisp.h:44:0, from abbrev.c:35: /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h:429:3: note: previous declaration of 'max_align_t' was here } max_align_t; ^ make[3]: *** [abbrev.o] Error 1 GNUmakefile:58: recipe for target 'abbrev.o' failed make[3]: Leaving directory '/«PKGBUILDDIR»/src' make[2]: *** [src] Error 2 GNUmakefile:123: recipe for target 'src' failed make[2]: Leaving directory '/«PKGBUILDDIR»' make[1]: *** [canna-wnn-build-stamp] Error 2 debian/PackagesMakefile:382: recipe for target 'canna-wnn-build-stamp' failed make[1]: Leaving directory '/«PKGBUILDDIR»' make: *** [build-stamp] Error 2 debian/rules:47: recipe for target 'build-stamp' failed dpkg-buildpackage: error: debian/rules build gave error exit status 2 ** Affects: xemacs21 (Ubuntu) Importance: High Status: Triaged ** Affects: xemacs21 (Debian) Importance: Undecided Status: New ** Tags: ftbfs ** Bug watch added: Debian Bug tracker #778180 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778180 ** Changed in: xemacs21 (Debian) Remote watch: None => Debian Bug tracker #778180 ** Changed in: xemacs21 (Ubuntu) Status: New => Triaged ** Changed in: xemacs21 (Ubuntu) Importance: Undecided => High ** Tags added: ftbfs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1506980 Title: xemacs21: ftbfs with GCC-5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xemacs21/+bug/1506980/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
