Source: conquest-dicom-server Version: 1.4.17d-1 Severity: serious Tags: stretch sid User: debian...@lists.debian.org 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): > /usr/bin/g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -Ijasper-1.900.1-6ct/src/libjasper/include > -Ijpeg-6c -I/usr/include/lua5.1 -DUNIX -DNATIVE_ENDIAN=1 -DHAVE_LIBJASPER > -DHAVE_LIBJPEG -DUSESQLITE -Wno-write-strings total.cpp -o dgate-sqlite > -lpthread -llua5.1 -lsqlite3 jpeg-6c/libjpeg.a > jasper-1.900.1-6ct/src/libjasper/.libs/libjasper.a -Wno-multichar -Wl,-z,relro > In file included from > jasper-1.900.1-6ct/src/libjasper/include/jasper/jasper.h:65:0, > from nkiqrsop.cpp:255, > from total.cpp:135: > jasper-1.900.1-6ct/src/libjasper/include/jasper/jas_config.h:65:0: warning: > "HAVE_STDDEF_H" redefined > #define HAVE_STDDEF_H 1 > > In file included from jpeg-6c/jpeglib.h:25:0, > from nkiqrsop.cpp:250, > from total.cpp:135: > jpeg-6c/jconfig.h:11:0: note: this is the location of the previous definition > #define HAVE_STDDEF_H > > In file included from > jasper-1.900.1-6ct/src/libjasper/include/jasper/jasper.h:65:0, > from nkiqrsop.cpp:255, > from total.cpp:135: > jasper-1.900.1-6ct/src/libjasper/include/jasper/jas_config.h:71:0: warning: > "HAVE_STDLIB_H" redefined > #define HAVE_STDLIB_H 1 > > In file included from jpeg-6c/jpeglib.h:25:0, > from nkiqrsop.cpp:250, > from total.cpp:135: > jpeg-6c/jconfig.h:12:0: note: this is the location of the previous definition > #define HAVE_STDLIB_H > > In file included from /usr/include/c++/6/cmath:42:0, > from /usr/include/c++/6/math.h:36, > from > jasper-1.900.1-6ct/src/libjasper/include/jasper/jas_fix.h:79, > from > jasper-1.900.1-6ct/src/libjasper/include/jasper/jasper.h:72, > from nkiqrsop.cpp:255, > from total.cpp:135: > /usr/include/c++/6/bits/cpp_type_traits.h:212:12: error: redefinition of > 'struct std::__is_integer<unsigned int>' > struct __is_integer<unsigned int> > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/c++/6/bits/cpp_type_traits.h:138:12: error: previous definition > of 'struct std::__is_integer<unsigned int>' > struct __is_integer<bool> > ^~~~~~~~~~~~~~~~~~ > In file included from total.cpp:104:0: > filepdu.cxx: In member function 'DICOMDataObject* > PDU_Service::LoadDICOMDataObject(char*)': > filepdu.cxx:126:20: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread(s, 1, 4, fp); > ^ > filepdu.cxx:136:17: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread(s,1,6,fp); > ^ > In file included from total.cpp:114:0: > rtc.cxx: In member function 'BOOL RTC::AttachRTC(char*)': > rtc.cxx:213:39: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 1024 - sizeof( INT ), fp ); > ^ > rtc.cxx:225:38: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets( s, 1024 - sizeof(INT), fp); > ^ > rtc.cxx:238:40: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets (s, 1024 - sizeof(INT), fp ); > ^ > rtc.cxx:249:40: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets (s, 1024 - sizeof(INT), fp ); > ^ > rtc.cxx:261:40: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets (s, 1024 - sizeof(INT), fp ); > ^ > rtc.cxx:272:40: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets (s, 1024 - sizeof(INT), fp ); > ^ > rtc.cxx:284:40: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets (s, 1024 - sizeof(INT), fp ); > ^ > rtc.cxx:295:40: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets (s, 1024 - sizeof(INT), fp ); > ^ > rtc.cxx:307:40: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets (s, 1024 - sizeof(INT), fp ); > ^ > rtc.cxx:320:40: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets (s, 1024 - sizeof(INT), fp ); > ^ > rtc.cxx:334:35: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets(s,1024 - sizeof(INT), fp); > ^ > rtc.cxx:374:36: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets(s,1024 - sizeof(INT), fp); > ^ > rtc.cxx:401:35: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets(s,1024 - sizeof(INT), fp); > ^ > rtc.cxx: In member function 'BOOL RTC::AttachBinaryRTC(char*)': > rtc.cxx:559:41: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread ((char*)&bRTCHeader, 1, 1024, fp); > ^ > rtc.cxx:579:70: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread((char*)TypeCodes->KeyTable, 1, bRTCHeader.AbsKeyTableSize, fp); > ^ > rtc.cxx:588:52: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread(pBuffer, 1, bRTCHeader.AbsDataTableSize, fp); > ^ > rtc.cxx:614:67: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread((char*)StringTable, 1, bRTCHeader.AbsStringTableSize, fp); > ^ > In file included from total.cpp:115:0: > flpdu.cxx: In constructor 'CheckedPDU_Service::CheckedPDU_Service(char*)': > flpdu.cxx:121:22: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:126:23: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets( s, 255, fp ); > ^ > flpdu.cxx:139:24: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:154:24: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:166:24: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:180:24: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:192:24: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:220:23: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:291:22: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:296:23: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets( s, 255, fp ); > ^ > flpdu.cxx:309:24: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:324:24: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:336:24: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:350:24: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:362:24: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > flpdu.cxx:437:23: warning: ignoring return value of 'char* fgets(char*, int, > FILE*)', declared with attribute warn_unused_result [-Wunused-result] > fgets ( s, 255, fp ); > ^ > In file included from total.cpp:134:0: > odbci.cpp: In function 'void write_dbheader(dbase_header*)': > odbci.cpp:526:38: warning: ignoring return value of 'ssize_t write(int, const > void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] > write(th->filehandle,&th->junk1,32); /* write the header */ > ^ > odbci.cpp: In function 'void read_dbheader(dbase_header*)': > odbci.cpp:533:37: warning: ignoring return value of 'ssize_t read(int, void*, > size_t)', declared with attribute warn_unused_result [-Wunused-result] > read(th->filehandle,&th->junk1,32); /* and read the header */ > ^ > odbci.cpp: In function 'void dbase_close(dbase_header*)': > odbci.cpp:824:39: warning: ignoring return value of 'ssize_t write(int, const > void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] > c=0x1a; write(th->filehandle,&c,1); > ^ > odbci.cpp: In function 'int dbase_read(dbase_header*, int, char**)': > odbci.cpp:1886:44: warning: ignoring return value of 'ssize_t read(int, > void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] > read(th->filehandle,p,th->recordlength); /* and read it */ > ^ > odbci.cpp: In function 'int dbase_trunc(dbase_header*, int)': > odbci.cpp:2125:38: warning: ignoring return value of 'ssize_t write(int, > const void*, size_t)', declared with attribute warn_unused_result > [-Wunused-result] > write(th->filehandle,&eof_marker,1); /* write EOF marker */ > ^ > odbci.cpp: In function 'int dbase_pack(dbase_header*)': > odbci.cpp:2204:64: warning: ignoring return value of 'ssize_t write(int, > const void*, size_t)', declared with attribute warn_unused_result > [-Wunused-result] > if(wbuffer) write(th->filehandle,buf,th->recordlength*wbuffer); > ^ > odbci.cpp:2217:68: warning: ignoring return value of 'ssize_t write(int, > const void*, size_t)', declared with attribute warn_unused_result > [-Wunused-result] > if (wbuffer) write(th->filehandle,buf,th->recordlength*wbuffer); > ^ > odbci.cpp: In function 'BOOL Fill_Memory_Index(dbase_header*)': > odbci.cpp:2434:24: warning: ignoring return value of 'ssize_t read(int, > void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] > read(f, field, len); > ^ > In file included from total.cpp:135:0: > nkiqrsop.cpp: In function 'BOOL DecompressNKI(char*, char*)': > nkiqrsop.cpp:1697:34: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread(buffer, 1, fileLength, f); > ^ > In file included from total.cpp:135:0: > nkiqrsop.cpp: In function 'BOOL ExecHidden(const char*, const char*, const > char*, const char*, const char*)': > nkiqrsop.cpp:2426:21: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(line); > ^ > In file included from total.cpp:135:0: > nkiqrsop.cpp: In function 'BOOL ToJPG(DICOMDataObject*, char*, int, int, int, > int, unsigned int, int)': > nkiqrsop.cpp:5811:18: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(file2); > ^ > In file included from total.cpp:137:0: > dgate.cpp: In function 'BOOL AddImageFile(char*, char*, > ExtendedPDU_Service*)': > dgate.cpp:3120:23: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread(p, 1, len, f); > ^ > dgate.cpp:3151:15: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(line); > ^ > dgate.cpp: In function 'BOOL BackgroundExec(char*, char*)': > dgate.cpp:3835:22: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(theExecName); > ^ > dgate.cpp: In function 'BOOL CallExportConverterN(char*, int, char*, char*, > char*, char*, ExtendedPDU_Service*, char*, char*, char*)': > dgate.cpp:5617:22: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(cline); > ^ > dgate.cpp:5728:21: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(line); > ^ > dgate.cpp:5750:22: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(line1); > ^ > In file included from total.cpp:137:0: > dgate.cpp: In function 'BOOL SendServerCommand(const char*, const char*, int, > char*, BOOL, BOOL)': > dgate.cpp:21815:39: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread((char*)(vr->Data), 1, len, f); > ^ > dgate.cpp:21852:27: warning: ignoring return value of 'ssize_t write(int, > const void*, size_t)', declared with attribute warn_unused_result > [-Wunused-result] > write(con, buf1, len); > ^ > dgate.cpp:21861:31: warning: ignoring return value of 'ssize_t write(int, > const void*, size_t)', declared with attribute warn_unused_result > [-Wunused-result] > write(con, vr->Data, len); > ^ > dgate.cpp: In function 'int CGI(char*, const char*, const char*)': > dgate.cpp:22002:37: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread(post_buf, len, 1, stdin); > ^ > dgate.cpp: In function 'void HTML(const char*, ...)': > dgate.cpp:21972:31: warning: ignoring return value of 'ssize_t write(int, > const void*, size_t)', declared with attribute warn_unused_result > [-Wunused-result] > write(console, s, strlen(s)); > ^ > dgate.cpp:21973:23: warning: ignoring return value of 'ssize_t write(int, > const void*, size_t)', declared with attribute warn_unused_result > [-Wunused-result] > write(console, n, 1); > ^ > dgate.cpp: In function 'int CallImportConverterN(DICOMDataObject*, int, > char*, char*, char*, char*, ExtendedPDU_Service*, char*, char*)': > dgate.cpp:8618:20: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(cline); > ^ > dgate.cpp:8647:20: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(cline); > ^ > dgate.cpp: In function 'BOOL prefetchprocess(char*, ExtendedPDU_Service*, > char*)': > dgate.cpp:10363:23: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(data+230); > ^ > dgate.cpp: In function 'BOOL zipthread()': > dgate.cpp:11168:13: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(b); > ^ > dgate.cpp: In member function 'virtual BOOL StorageApp::ServerChild(int)': > dgate.cpp:20564:27: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread(p2, 1, len, f); > ^ > dgate.cpp:20791:48: warning: ignoring return value of 'size_t fread(void*, > size_t, size_t, FILE*)', declared with attribute warn_unused_result > [-Wunused-result] > fread((char*)(vr2->Data)+extra, 1, len, f); > ^ > dgate.cpp: In function 'void DgateCgi(char*, char*)': > dgate.cpp:23578:33: warning: ignoring return value of 'ssize_t write(int, > const void*, size_t)', declared with attribute warn_unused_result > [-Wunused-result] > write(console, s, strlen(s)); > ^ > make[1]: *** [dgate-sqlite] Error 1 The full build log is available from: http://people.debian.org/~lucas/logs/2016/07/13/conquest-dicom-server_1.4.17d-1_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.