Debian Bug report logs -
#701355
sdl-ball: ftbfs with GCC-4.8
Reported by: Matthias Klose <doko@debian.org>
Date: Sat, 23 Feb 2013 11:26:47 UTC
Severity: serious
Tags: jessie, patch, sid
Found in version sdl-ball/1.01-3
Fixed in version sdl-ball/1.01-4
Done: Evgeni Golov <evgeni@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#701355; Package src:sdl-ball.
(Sat, 23 Feb 2013 11:26:50 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Sat, 23 Feb 2013 11:26:50 GMT) (full text, mbox, link).
Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):
Package: src:sdl-ball
Version: 1.01-3
Severity: important
Tags: sid jessie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-4.8
The package fails to build in a test rebuild on at least amd64 with
gcc-4.8/g++-4.8, but succeeds to build with gcc-4.7/g++-4.7. The
severity of this report may be raised before the jessie release.
main.cpp:1423:76: error: stray ',' at end of member declaration
The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/sdl-ball_1.01-3_unstable_gcc48.log
The last lines of the build log are at the end of this report.
To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev
The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.
[...]
SCHROOT_SESSION_ID=unstable-amd64-sbuild-397c31ec-4fc9-4a12-b197-f16f92cd1f99
SCHROOT_UID=1000
SCHROOT_USER=user
SHELL=/bin/sh
USER=user
dpkg-buildpackage
─────────────────
dpkg-buildpackage: source package sdl-ball
dpkg-buildpackage: source version 1.01-3
dpkg-buildpackage: source changed by Evgeni Golov <evgeni@debian.org>
dpkg-source --before-build sdl-ball-1.01
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
make[1]: Entering directory `/«PKGBUILDDIR»'
rm -f *.o sdl-ball
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_clean
debian/rules build-arch
dh build-arch
dh_testdir -a
dh_auto_configure -a
dh_auto_build -a
make[1]: Entering directory `/«PKGBUILDDIR»'
g++ -DDATADIR="\"/usr/share/games/sdl-ball/\"" -c -Wall `sdl-config --cflags` main.cpp -o main.o
main.cpp:1423:76: error: stray ',' at end of member declaration
GLfloat x[100], y[100], r[100], g[100], b[100], a[100],s[100], cr,cg,cb,;
^
main.cpp: In function 'bool screenShot()':
main.cpp:3687:42: warning: narrowing conversion of '(setting.settings::resx % 256)' from 'int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char header[6] = {setting.resx%256,setting.resx/256,setting.resy%256,setting.resy/256,24,0};
^
main.cpp:3687:59: warning: narrowing conversion of '(setting.settings::resx / 256)' from 'int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char header[6] = {setting.resx%256,setting.resx/256,setting.resy%256,setting.resy/256,24,0};
^
main.cpp:3687:76: warning: narrowing conversion of '(setting.settings::resy % 256)' from 'int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char header[6] = {setting.resx%256,setting.resx/256,setting.resy%256,setting.resy/256,24,0};
^
main.cpp:3687:93: warning: narrowing conversion of '(setting.settings::resy / 256)' from 'int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char header[6] = {setting.resx%256,setting.resx/256,setting.resy%256,setting.resy/256,24,0};
^
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
Added tag(s) jessie.
Request was from Julien Cristau <jcristau@debian.org>
to control@bugs.debian.org.
(Thu, 18 Apr 2013 17:33:36 GMT) (full text, mbox, link).
Severity set to 'serious' from 'important'
Request was from Matthias Klose <doko@debian.org>
to control@bugs.debian.org.
(Tue, 28 May 2013 11:16:16 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#701355; Package src:sdl-ball.
(Thu, 06 Jun 2013 16:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Juhani Numminen <juhaninumminen0@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Thu, 06 Jun 2013 16:21:04 GMT) (full text, mbox, link).
Message #14 received at 701355@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags -1 patch
Hi!
You’ll find my patch to fix this FTBFS (caused by a stray comma)
attached.
Regards,
Juhani Numminen
[gcc-4.8-ftbfs.patch (text/x-patch, attachment)]
Added tag(s) patch.
Request was from Juhani Numminen <juhaninumminen0@gmail.com>
to 701355-submit@bugs.debian.org.
(Thu, 06 Jun 2013 16:21:04 GMT) (full text, mbox, link).
Reply sent
to Evgeni Golov <evgeni@debian.org>:
You have taken responsibility.
(Sun, 23 Jun 2013 12:36:05 GMT) (full text, mbox, link).
Notification sent
to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer.
(Sun, 23 Jun 2013 12:36:05 GMT) (full text, mbox, link).
Message #21 received at 701355-close@bugs.debian.org (full text, mbox, reply):
Source: sdl-ball
Source-Version: 1.01-4
We believe that the bug you reported is fixed in the latest version of
sdl-ball, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 701355@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Evgeni Golov <evgeni@debian.org> (supplier of updated sdl-ball package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 23 Jun 2013 14:09:01 +0200
Source: sdl-ball
Binary: sdl-ball sdl-ball-data
Architecture: source amd64 all
Version: 1.01-4
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Evgeni Golov <evgeni@debian.org>
Description:
sdl-ball - brick-breaking game like DX-Ball/Arkanoid
sdl-ball-data - brick-breaking game like DX-Ball/Arkanoid - data files
Closes: 701355
Changes:
sdl-ball (1.01-4) unstable; urgency=low
.
* Fix FTBFS with gcc 4.8 due to stray ‘,’.
Thanks: Juhani Numminen <juhaninumminen0@gmail.com>
Closes: #701355
* Use canonical URLs in Vcs-* entries.
* Use debhelper 9 compat.
* Honour CPPFLAGS from dpkg-buildflags to properly harden the build.
* Standards-Version: 3.9.4
* Improve the desktop file.
Checksums-Sha1:
89e76371e555b71d5f86c98b930435c3ca2343ea 1481 sdl-ball_1.01-4.dsc
2bf6288152253fcac513da3dad601585a35fc4fa 4335 sdl-ball_1.01-4.debian.tar.gz
cab156fb87a17bd7ae5c49ba1e3dfc3aa390a2b1 106276 sdl-ball_1.01-4_amd64.deb
a89acf4db8528eaf7a201bfc19a6c7676ad581d3 3040722 sdl-ball-data_1.01-4_all.deb
Checksums-Sha256:
3950336e9516e85f0be8c5ec418906a4363aa8a11ae5f0c09e4bbdf54eddc226 1481 sdl-ball_1.01-4.dsc
ed0dc8ccea6e7187bd6af29af72224f7de8e169ba76938115e7485d526d34904 4335 sdl-ball_1.01-4.debian.tar.gz
025cc195704de75716ffdc73e0bc4849af7c0f2c10950f979ff4b49ea0288a7f 106276 sdl-ball_1.01-4_amd64.deb
a8ab9cbcebaeb0cea5640a598f2cdb2b305da638c15376f9986aed732653554c 3040722 sdl-ball-data_1.01-4_all.deb
Files:
83439cf01df9c30be0fc1849d2723b87 1481 games optional sdl-ball_1.01-4.dsc
7e80a1044b8d9ba25e0fde37ffe873c3 4335 games optional sdl-ball_1.01-4.debian.tar.gz
c22f4131882b197a16f59e5ee69dbefc 106276 games optional sdl-ball_1.01-4_amd64.deb
bcb8ed635a77a11031d11d5f1596f31c 3040722 games optional sdl-ball-data_1.01-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlHG6isACgkQJKAUGKwVtQyZhgCfSvdgP5vJ4zZZH6R91CELQWFu
H8IAmQHwGv33qZPr0AWv/QOhLNEFzWXo
=RYug
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 01 Aug 2013 07:29:54 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 14:14:51 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.