Debian Bug report logs - #811691
FTBFS with GCC 6: enumerator value for... is not

version graph

Package: desmume; Maintainer for desmume is Debian Games Team <pkg-games-devel@lists.alioth.debian.org>; Source for desmume is src:desmume (PTS, buildd, popcon).

Reported by: Martin Michlmayr <tbm@hpe.com>

Date: Wed, 20 Jan 2016 01:03:10 UTC

Severity: serious

Tags: patch

Found in version desmume/0.9.11-1

Fixed in version desmume/0.9.11-2

Done: Evgeni Golov <evgeni@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://sourceforge.net/p/desmume/bugs/1570/

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#811691; Package desmume. (Wed, 20 Jan 2016 01:03:14 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Michlmayr <tbm@hpe.com>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Wed, 20 Jan 2016 01:03:14 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Martin Michlmayr <tbm@hpe.com>
To: submit@bugs.debian.org
Subject: FTBFS with GCC 6: enumerator value for... is not
Date: Tue, 19 Jan 2016 16:59:58 -0800
Package: desmume
Version: 0.9.11-1
Severity: important
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-enumerator-value

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> g++ -DPACKAGE_NAME=\"desmume\" -DPACKAGE_TARNAME=\"desmume\" -DPACKAGE_VERSION=\"svn\" -DPACKAGE_STRING=\"desmume\ svn\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"desmume\" -DVERSION=\"svn\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSVN_REV=0 -DSVN_REV_STR=\"0\" -DHAVE_LIBZ=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_LIBDL=1 -DHAVE_LIBGL=1 -DHAVE_LIBOSMESA=1 -DGLADEUI_UNINSTALLED_DIR=\"/<<PKGBUILDDIR>>/src/gtk-glade/glade/\" -DGTKGLEXT_AVAILABLE=1 -DHAVE_LIBSOUNDTOUCH=1 -DGETTEXT_PACKAGE=\"desmume\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_JIT=1 -DHOST_LINUX=1 -DHOST_64=1 -DGDB_STUB=1 -I.  -I../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -I/usr/
> include/alsa -I/usr/include/agg2 -I/usr/include/soundtouch  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o armcpu.o armcpu.cpp
> In file included from armcpu.cpp:32:0:
> MMU_timing.h: In instantiation of 'class CacheController<13, 2, 5>':
> MMU_timing.h:253:26:   required from here
> MMU_timing.h:158:28: error: left operand of shift expression '(-1 << 11)' is negative [-fpermissive]
>   enum { TAGMASK = (u32)(~0 << TAGSHIFT) };
>                         ~~~~^~~~~~~~~~~~
> 
> MMU_timing.h:158:7: error: enumerator value for 'TAGMASK' is not an integer constant
>   enum { TAGMASK = (u32)(~0 << TAGSHIFT) };
>        ^
> 
> MMU_timing.h:159:61: error: left operand of shift expression '(-1 << 5)' is negative [-fpermissive]
>   enum { BLOCKMASK = ((u32)~0 >> (32 - TAGSHIFT)) & (u32)(~0 << BLOCKSIZESHIFT) };
>                                                          ~~~~^~~~~~~~~~~~~~~~~~
> 
> MMU_timing.h:159:7: error: enumerator value for 'BLOCKMASK' is not an integer constant
>   enum { BLOCKMASK = ((u32)~0 >> (32 - TAGSHIFT)) & (u32)(~0 << BLOCKSIZESHIFT) };
>        ^
> 
> MMU_timing.h: In instantiation of 'class CacheController<12, 2, 5>':
> MMU_timing.h:254:26:   required from here
> MMU_timing.h:158:28: error: left operand of shift expression '(-1 << 10)' is negative [-fpermissive]
>   enum { TAGMASK = (u32)(~0 << TAGSHIFT) };
>                         ~~~~^~~~~~~~~~~~
> 
> MMU_timing.h:158:7: error: enumerator value for 'TAGMASK' is not an integer constant
>   enum { TAGMASK = (u32)(~0 << TAGSHIFT) };
>        ^
> 
> MMU_timing.h:159:61: error: left operand of shift expression '(-1 << 5)' is negative [-fpermissive]
>   enum { BLOCKMASK = ((u32)~0 >> (32 - TAGSHIFT)) & (u32)(~0 << BLOCKSIZESHIFT) };
>                                                          ~~~~^~~~~~~~~~~~~~~~~~
> 
> MMU_timing.h:159:7: error: enumerator value for 'BLOCKMASK' is not an integer constant
>   enum { BLOCKMASK = ((u32)~0 >> (32 - TAGSHIFT)) & (u32)(~0 << BLOCKSIZESHIFT) };
>        ^
> 
> Makefile:1188: recipe for target 'armcpu.o' failed
> make[3]: *** [armcpu.o] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



Severity set to 'serious' from 'important' Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Wed, 29 Jun 2016 13:10:13 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#811691; Package desmume. (Thu, 04 Aug 2016 15:09:10 GMT) (full text, mbox, link).


Acknowledgement sent to Andrea Musuruane <musuruan@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. (Thu, 04 Aug 2016 15:09:10 GMT) (full text, mbox, link).


Message #12 received at 811691@bugs.debian.org (full text, mbox, reply):

From: Andrea Musuruane <musuruan@gmail.com>
To: 811691@bugs.debian.org
Subject: FTBFS with GCC 6: enumerator value for... is not
Date: Thu, 4 Aug 2016 17:04:52 +0200
[Message part 1 (text/plain, inline)]
Hi!
    Leigh Scott made a patch to fix the FTBFS with GCC 6 for desmume.

It's available in RPM Fusion:
https://pkgs.rpmfusion.org/cgit/free/desmume.git/tree/gcc6_fixes.patch

Bye,

Andrea
[Message part 2 (text/html, inline)]

Added tag(s) patch. Request was from Adrian Bunk <bunk@stusta.de> to control@bugs.debian.org. (Tue, 01 Nov 2016 10:21:11 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'https://sourceforge.net/p/desmume/bugs/1570/'. Request was from Evgeni Golov <evgeni@debian.org> to control@bugs.debian.org. (Sat, 12 Nov 2016 09:48:05 GMT) (full text, mbox, link).


Reply sent to Evgeni Golov <evgeni@debian.org>:
You have taken responsibility. (Sat, 12 Nov 2016 10:39:05 GMT) (full text, mbox, link).


Notification sent to Martin Michlmayr <tbm@hpe.com>:
Bug acknowledged by developer. (Sat, 12 Nov 2016 10:39:06 GMT) (full text, mbox, link).


Message #21 received at 811691-close@bugs.debian.org (full text, mbox, reply):

From: Evgeni Golov <evgeni@debian.org>
To: 811691-close@bugs.debian.org
Subject: Bug#811691: fixed in desmume 0.9.11-2
Date: Sat, 12 Nov 2016 10:34:37 +0000
Source: desmume
Source-Version: 0.9.11-2

We believe that the bug you reported is fixed in the latest version of
desmume, 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 811691@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 desmume 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: SHA512

Format: 1.8
Date: Sat, 12 Nov 2016 11:22:03 +0100
Source: desmume
Binary: desmume
Architecture: source
Version: 0.9.11-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Evgeni Golov <evgeni@debian.org>
Description:
 desmume    - Nintendo DS emulator
Closes: 811691
Changes:
 desmume (0.9.11-2) unstable; urgency=medium
 .
   * Import upstream patch to fix FTBFS with GCC6
     Closes: #811691
Checksums-Sha1:
 a63b6eafb5f225af38e43ebcb7cde27f36fb4573 2077 desmume_0.9.11-2.dsc
 ddd43fb3d63f81b2ab003f8cc290f9e704078314 12166 desmume_0.9.11-2.diff.gz
Checksums-Sha256:
 ffca63d729dfc602ddbdbd82e7185dc05c21a989386cbbe053730b33c6ff96ba 2077 desmume_0.9.11-2.dsc
 b658667980c135aa3c8ccb56f00ab61078114953cf2a5ba2520936029de3fe29 12166 desmume_0.9.11-2.diff.gz
Files:
 8212d6779b0b67238ec8f1c952d7f5c1 2077 games extra desmume_0.9.11-2.dsc
 475b29e540aff24bad4fff49c3214e46 12166 games extra desmume_0.9.11-2.diff.gz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEExXWpV+gZuhi/B+dmobCbQjM5YegFAlgm7XQACgkQobCbQjM5
YeiSEhAA5/IFo+JQxbUPW/2Zwlsn6wYDLPeBwCWVsEQvrCUjbkMQ2UFT4f7zcy2N
q9mh1euvg+uzSH9oCh3tW1TtQarS9eMm3yH1CRyz57OYUNl5nhTvL5rl15DK4617
kFgRAPiJfSuDa5hPX2ZS16gVyczsjkuf45yYz7mj8T+1IWWh1/g1xBQaddXpDbfI
3oyVlx8IMSnWqF2tdGMw9nPeA4l+u7YjRVcprVu8C1xeFLKIk4jQwbYwRn5Jo4Qt
jqo20nmA62IWM05ErAxZ+9RQ6tdWc6p2kiHBe5H59JCnmzGJGmiP+SzNNJcTvf29
zlSk6K9EpSN3RasMh6sBzzs0+1CKWxMRDJ87iNM3go0c3qeUS92PbEjN3n5xA2h4
9xfyaF9+d2OjMD2+FB7RZAp7lCAa+4E5Q3hlcpekqKAtca/nMnFU6DI/ciBBdjQF
aoaBslGqyNBkDlu6PHiw3FPgIBvPJNP+iyhvvN6IPG4OTPnvECNQxLM3mjnw/E8r
s8Vs2Kp4rSlwbBBz4iEJz1QFHRXEDbgO+TvcN5lh5m9gsUJR8Tfi2Nwkmj7U8Cwo
88+Mit5VhL/myc5lISCm8SABsxnT4j1Gt7kQgoWKWIL5O+2MVmqpllzNR3hDDzrl
JZpqYyg6j/8haI50OXI/EvpDOY/TxN7NNVuNF2R7mlfOxjhljio=
=0QdQ
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 29 Dec 2016 09:44:55 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 12:15:45 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.