xtrs: FTBFS with GCC 5: trs_memory.c:152:6: error: type of 'state' defaults to 'int' [-Werror=implicit-int]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xtrs (Debian) |
Fix Released
|
Unknown
|
|||
xtrs (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Wily |
Triaged
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned |
Bug Description
Imported from Debian bug http://
Package: xtrs
Version: 4.9c-3.4
Severity: serious
Tags: sid stretch
Justification: fails to build from source (but built successfully in the past)
Hi,
xtrs FTBFS in sid with GCC 5:
[...]
/usr/bin/make DEBUG="-Wall -Werror -Wno-error=
make[1]: Entering directory '/tmp/buildd/
cc -Wall -Werror -Wno-error=
cc -Wall -Werror -Wno-error=
cc -Wall -Werror -Wno-error=
cc -Wall -Werror -Wno-error=
cc -Wall -Werror -Wno-error=
trs_memory.c: In function 'mem_romin':
trs_memory.c:152:6: error: type of 'state' defaults to 'int' [-Werror=
void mem_romin(state)
^
cc1: all warnings being treated as errors
<builtin>: recipe for target 'trs_memory.o' failed
make[1]: *** [trs_memory.o] Error 1
make[1]: Leaving directory '/tmp/buildd/
debian/rules:34: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Andreas
Changed in xtrs (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: ftbfs |
description: | updated |
Changed in xtrs (Debian): | |
importance: | Undecided → Unknown |
Changed in xtrs (Debian): | |
status: | New → Fix Released |
Changed in xtrs (Ubuntu Wily): | |
status: | New → Triaged |
importance: | Undecided → High |
This bug was fixed in the package xtrs - 4.9c-3.5ubuntu1
---------------
xtrs (4.9c-3.5ubuntu1) xenial; urgency=medium
* Merge from Debian unstable (LP: #1508289). Remaining changes:
- {debug,dis}.c: fix instances of "format not a string literal and no
format arguments" to fix build failure.
- Makefile: Remove -DHAVE_SIGIO to stop hangs on startup.
- trs_disk.c: Override unchecked usages of ftruncate, fwrite, and fread, as
there is no error checking on any other function around there.
- mkdisk.c: Handle errors from fwrite.
- trs_xinterface.c: Fix unused result warning and ignored retval error,
resolving FTBFS.
xtrs (4.9c-3.5) unstable; urgency=medium
* Non-maintainer upload. Werror= implicit- int] (Closes: #798765)
* Fix function declare: type of 'state' defaults to 'int'
[-
-- Logan Rosen <email address hidden> Sat, 24 Oct 2015 03:01:58 -0400