[Debichem-devel] Bug#880261: comet-ms: FTBFS: MSReader.h:85:80: error: invalid conversion from 'char' to 'char*' [-fpermissive]

Lucas Nussbaum lucas at debian.org
Mon Oct 30 19:21:03 UTC 2017


Source: comet-ms
Version: 2014022-3
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20171030 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -Wall -Wformat-security -Wextra -Wno-char-subscripts -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DGCC -I/usr/include/libmstoolkit -ICometSearch -L. Comet.cpp -c
> In file included from CometSearch/Common.h:39:0,
>                  from Comet.cpp:18:
> /usr/include/libmstoolkit/MSReader.h:85:80: error: invalid conversion from 'char' to 'char*' [-fpermissive]
>    void writeFile(const char* c, MSFileFormat ff, MSObject& m, char* sha1Report='\0');
> 
>                                                                                 ^~~~
> Comet.cpp: In function 'void LoadParameters(char*, CometInterfaces::ICometSearchManager*)':
> Comet.cpp:219:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
>        fgets(szParamBuf, SIZE_BUF, fp);
>        ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> Comet.cpp:248:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
>        fgets(szParamBuf, SIZE_BUF, fp);
>        ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> Comet.cpp:937:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
>     fgets(szParamBuf, SIZE_BUF, fp);
>     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> Comet.cpp:977:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
>        fgets(szParamBuf, SIZE_BUF, fp);
>        ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> Makefile:25: recipe for target 'Comet.o' failed
> make[2]: *** [Comet.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/10/30/comet-ms_2014022-3_unstable.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.



More information about the Debichem-devel mailing list