xemacs21: ftbfs with GCC-5

Bug #1506980 reported by Logan Rosen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xemacs21 (Debian)
Fix Released
Unknown
xemacs21 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/778180:

Package: src:xemacs21
Version: 21.4.22-11
Severity: normal
Tags: sid stretch
User: <email address hidden>
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

Tags: ftbfs
Logan Rosen (logan)
Changed in xemacs21 (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: ftbfs
Changed in xemacs21 (Debian):
importance: Undecided → Unknown
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xemacs21 - 21.4.22-14ubuntu1

---------------
xemacs21 (21.4.22-14ubuntu1) xenial; urgency=low

  * Merge from Debian unstable. Remaining changes:
    - debian/patches/fix_maximisation-bug.patch:
      + Fix maximisation issue where xemacs21 stayed in an infinite loop.
    - debian/patches/force-docs.patch:
      + Force generating documentation (hundreds of warnings with new
        makeinfo).
  * Drop following changes:
    - debian/README.source:
      + No longer needed since package uses quilt.
    - debian/control:
      + Don't bump Build-Depends on libtiff-dev
        since Debian bumped on libtiff5-dev.
  * debian/patches/ftbfs-gcc5.patch:
    - Fix FTBFS with GCC 5. (LP: #1506980, Closes: #778180)

 -- Artur Rona <email address hidden> Sun, 27 Dec 2015 01:40:46 +0100

Changed in xemacs21 (Ubuntu):
status: Triaged → Fix Released
Changed in xemacs21 (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.