Source: aplus-fsf
Version: 4.22.1-8
Severity: serious
Tags: stretch sid
User: [email protected]
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"aplus-fsf\" 
> -DVERSION=\"4.22\" -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 -DHAVE_DLFCN_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 
> -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 
> -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_VPRINTF=1 
> -DHAVE_GETCWD=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_GETWD=1 
> -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_REGCOMP=1 -DHAVE_SELECT=1 
> -DHAVE_SIGACTION=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRDUP=1 
> -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOD=1 -DHAVE_STRTOL=1 
> -DHAVE_STRTOUL=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 
> -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 
> -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 
> -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_FLOAT_H=1 
> -DHAVE_NEW=1 -DHAVE_IOSTREAM=1 -DHAVE_IOMANIP=1 -DHAVE_FSTREAM=1 
> -DHAVE_SSTREAM=1 -DHAVE_IOSFWD=1 -DHAVE_FPCLASSIFY=1 -DHAVE_FINITE=1 
> -DHAVE_ISINF=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 
> -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_ST_BLOCKS=1 
> -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 
> -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_SOCKLEN_T=1 -I. -I. -I.. 
> -I/usr/X11R6/include -g -pipe -O2 -c AplusTreeView.C -MT AplusTreeView.lo -MD 
> -MP -MF .deps/AplusTreeView.TPlo  -fPIC -DPIC -o .libs/AplusTreeView.lo
> In file included from AplusTreeView.C:20:0:
> ../MSGUI/MSTreeView.C: In instantiation of 'void 
> MSTreeView<Element>::buildCollapsedButtonPixmap() [with Element = 
> AplusTreeItem]':
> AplusTreeView.C:35:16:   required from here
> ../MSGUI/MSTreeView.C:207:50: error: narrowing conversion of '252' from 'int' 
> to 'char' inside { } [-Wnarrowing]
>     0xfe, 0x01, 0xfc, 0x00, 0x78, 0x00, 0x00, 0x00};
>                                                   ^
> ../MSGUI/MSTreeView.C:207:50: error: narrowing conversion of '254' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> ../MSGUI/MSTreeView.C:207:50: error: narrowing conversion of '254' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> ../MSGUI/MSTreeView.C:207:50: error: narrowing conversion of '254' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> ../MSGUI/MSTreeView.C:207:50: error: narrowing conversion of '254' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> ../MSGUI/MSTreeView.C:207:50: error: narrowing conversion of '252' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> ../MSGUI/MSTreeView.C: In instantiation of 'void 
> MSTreeView<Element>::buildExpandedButtonPixmap() [with Element = 
> AplusTreeItem]':
> AplusTreeView.C:35:16:   required from here
> ../MSGUI/MSTreeView.C:221:50: error: narrowing conversion of '252' from 'int' 
> to 'char' inside { } [-Wnarrowing]
>     0xce, 0x01, 0xfc, 0x00, 0x78, 0x00, 0x00, 0x00};
>                                                   ^
> ../MSGUI/MSTreeView.C:221:50: error: narrowing conversion of '206' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> ../MSGUI/MSTreeView.C:221:50: error: narrowing conversion of '134' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> ../MSGUI/MSTreeView.C:221:50: error: narrowing conversion of '134' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> ../MSGUI/MSTreeView.C:221:50: error: narrowing conversion of '206' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> ../MSGUI/MSTreeView.C:221:50: error: narrowing conversion of '252' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> In file included from /usr/include/string.h:32:0,
>                  from ../MSTypes/MSString.H:27,
>                  from ../MSGUI/MSDisplayServer.H:16,
>                  from ../AplusGUI/AplusCommon.H:13,
>                  from ../AplusGUI/Macros.H:12,
>                  from AplusTreeView.C:9:
> ../MSTypes/MSGenericVectorInlines.C: In instantiation of 'static unsigned int 
> MSGenericData<Type>::dataOffset() [with Type = MSPixmap]':
> ../MSTypes/MSGenericVectorInlines.C:618:46:   required from 'Type* 
> MSGenericData<Type>::elements() [with Type = MSPixmap]'
> ../MSTypes/MSGenericVectorInlines.C:360:63:   required from 'const Type& 
> MSGenericVector<Type>::elementAt(unsigned int) const [with Type = MSPixmap]'
> ../MSGUI/MSTreeView.C:2532:44:   required from 'MSStringVector 
> MSTreeView<Element>::pixmap(const TreeModelCursor&) const [with Element = 
> AplusTreeItem; MSStringVector = MSTypeVector<MSString>; 
> MSTreeView<Element>::TreeModelCursor = MSTabularTreeCursor<AplusTreeItem>]'
> AplusTreeView.C:35:16:   required from here
> ../MSTypes/MSGenericVectorInlines.C:650:19: warning: offsetof within 
> non-standard-layout type 'MSDataAlignment<MSPixmap>' is undefined 
> [-Winvalid-offsetof]
>    return offsetof(MSDataAlignment<Type>,_pElements);
>                    ^
> make[3]: *** [AplusTreeView.lo] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2016/07/13/aplus-fsf_4.22.1-8_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to