Debian Bug report logs - #811716
libutils: FTBFS with GCC 6: redeclaration of C++

version graph

Package: android-platform-system-core; Maintainer for android-platform-system-core is Android Tools Maintainers <android-tools-devel@lists.alioth.debian.org>;

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

Date: Wed, 20 Jan 2016 01:42:01 UTC

Severity: important

Tags: moreinfo

Found in version 1:6.0.0+r26-1~stage1.1

Done: Hans-Christoph Steiner <hans@eds.org>

Bug is archived. No further changes may be made.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Android tools Maintainer <android-tools-devel@lists.alioth.debian.org>:
Bug#811716; Package android-platform-frameworks-native. (Wed, 20 Jan 2016 01:42:05 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Michlmayr <tbm@hpe.com>:
New Bug report received and forwarded. Copy sent to Android tools Maintainer <android-tools-devel@lists.alioth.debian.org>. (Wed, 20 Jan 2016 01:42:05 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: android-platform-frameworks-native: FTBFS with GCC 6: redeclaration of C++ built-in type
Date: Tue, 19 Jan 2016 17:38:18 -0800
Package: android-platform-frameworks-native
Version: 21-3
Severity: important
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-redeclaration-builtin

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.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -O2 -fPIC -I../../include -I/usr/include/android -include /usr/include/android/arch/linux-x86/AndroidConfig.h -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o Looper.o Looper.cpp
> g++ -O2 -fPIC -I../../include -I/usr/include/android -include /usr/include/android/arch/linux-x86/AndroidConfig.h -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -c -o PropertyMap.o PropertyMap.cpp
> In file included from ../../include/utils/String8.h:22:0,
>                  from ../../include/utils/PropertyMap.h:21,
>                  from PropertyMap.cpp:22:
> ../../include/utils/Unicode.h:25:18: error: redeclaration of C++ built-in type 'char32_t' [-fpermissive]
>  typedef uint32_t char32_t;
>                   ^~~~~~~~
> 
> ../../include/utils/Unicode.h:26:18: error: redeclaration of C++ built-in type 'char16_t' [-fpermissive]
>  typedef uint16_t char16_t;
>                   ^~~~~~~~
> 
> <builtin>: recipe for target 'PropertyMap.o' failed
> make[2]: *** [PropertyMap.o] Error 1

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



Information forwarded to debian-bugs-dist@lists.debian.org, Android tools Maintainer <android-tools-devel@lists.alioth.debian.org>:
Bug#811716; Package android-platform-frameworks-native. (Fri, 05 Feb 2016 04:27:08 GMT) (full text, mbox, link).


Acknowledgement sent to 殷啟聰 <seamlikok@gmail.com>:
Extra info received and forwarded to list. Copy sent to Android tools Maintainer <android-tools-devel@lists.alioth.debian.org>. (Fri, 05 Feb 2016 04:27:08 GMT) (full text, mbox, link).


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

From: 殷啟聰 <seamlikok@gmail.com>
To: 811716@bugs.debian.org
Subject: Re: android-platform-frameworks-native: FTBFS with GCC 6: redeclaration of C++ built-in type
Date: Fri, 5 Feb 2016 12:22:30 +0800
Control: reassign -1 src:android-platform-system-core 1:6.0.0+r26-1~stage1.1
Control: tags + moreinfo

libutils is already moved to src:android-platform-system-core hence I
reassign this bug. However I haven't tested GCC 6 for the latest
libutils, but I guess it will fail too because I haven't use
"-fpermissive".



Bug reassigned from package 'android-platform-frameworks-native' to 'src:android-platform-system-core'. Request was from 殷啟聰 <seamlikok@gmail.com> to 811716-submit@bugs.debian.org. (Fri, 05 Feb 2016 04:27:08 GMT) (full text, mbox, link).


No longer marked as found in versions 21-3. Request was from 殷啟聰 <seamlikok@gmail.com> to 811716-submit@bugs.debian.org. (Fri, 05 Feb 2016 04:27:10 GMT) (full text, mbox, link).


Marked as found in versions android-platform-system-core/1:6.0.0+r26-1~stage1.1. Request was from 殷啟聰 <seamlikok@gmail.com> to 811716-submit@bugs.debian.org. (Fri, 05 Feb 2016 04:27:11 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Android tools Maintainer <android-tools-devel@lists.alioth.debian.org>:
Bug#811716; Package src:android-platform-system-core. (Fri, 05 Feb 2016 04:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to 殷啟聰 <seamlikok@gmail.com>:
Extra info received and forwarded to list. Copy sent to Android tools Maintainer <android-tools-devel@lists.alioth.debian.org>. (Fri, 05 Feb 2016 04:39:03 GMT) (full text, mbox, link).


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

From: 殷啟聰 <seamlikok@gmail.com>
To: 811716@bugs.debian.org
Subject: Re: android-platform-frameworks-native: FTBFS with GCC 6: redeclaration of C++ built-in type
Date: Fri, 5 Feb 2016 12:35:37 +0800
Control: reassign -1 android-platform-system-core 1:6.0.0+r26-1~stage1.1
Control: tags -1 + moreinfo
Control: retitle -1 libutils: FTBFS with GCC 6: redeclaration of C++
built-in type


Apologies for my unfamiliarity of Debian Bugs Tracking System :(



Bug reassigned from package 'src:android-platform-system-core' to 'android-platform-system-core'. Request was from 殷啟聰 <seamlikok@gmail.com> to 811716-submit@bugs.debian.org. (Fri, 05 Feb 2016 04:39:03 GMT) (full text, mbox, link).


No longer marked as found in versions android-platform-system-core/1:6.0.0+r26-1~stage1.1. Request was from 殷啟聰 <seamlikok@gmail.com> to 811716-submit@bugs.debian.org. (Fri, 05 Feb 2016 04:39:04 GMT) (full text, mbox, link).


Marked as found in versions 1:6.0.0+r26-1~stage1.1. Request was from 殷啟聰 <seamlikok@gmail.com> to 811716-submit@bugs.debian.org. (Fri, 05 Feb 2016 04:39:06 GMT) (full text, mbox, link).


Added tag(s) moreinfo. Request was from 殷啟聰 <seamlikok@gmail.com> to 811716-submit@bugs.debian.org. (Fri, 05 Feb 2016 04:39:07 GMT) (full text, mbox, link).


Changed Bug title to 'libutils: FTBFS with GCC 6: redeclaration of C++' from 'android-platform-frameworks-native: FTBFS with GCC 6: redeclaration of C++ built-in type' Request was from 殷啟聰 <seamlikok@gmail.com> to 811716-submit@bugs.debian.org. (Fri, 05 Feb 2016 04:39:08 GMT) (full text, mbox, link).


Reply sent to Hans-Christoph Steiner <hans@eds.org>:
You have taken responsibility. (Tue, 23 Feb 2016 08:30:05 GMT) (full text, mbox, link).


Notification sent to Martin Michlmayr <tbm@hpe.com>:
Bug acknowledged by developer. (Tue, 23 Feb 2016 08:30:05 GMT) (full text, mbox, link).


Message #36 received at 811716-done@bugs.debian.org (full text, mbox, reply):

From: Hans-Christoph Steiner <hans@eds.org>
To: 811716-done@bugs.debian.org
Subject: fixed upstream
Date: Tue, 23 Feb 2016 09:26:18 +0100
This was fixed upstream, so the latest version of
android-platform-system-core fixed this.

--- ../android-platform-frameworks-native/include/utils/Unicode.h
+++ include/utils/Unicode.h
@@ -22,9 +22,6 @@

 extern "C" {

-typedef uint32_t char32_t;
-typedef uint16_t char16_t;
-
 // Standard string functions on char16_t strings.
 int strcmp16(const char16_t *, const char16_t *);
 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n);
@@ -163,6 +160,13 @@



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 23 Mar 2016 07:27: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: Sat Jan 6 10:12:28 2018; Machine Name: beach

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.