[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#560479: postman: FTBFS: Utils.cc:58: error: invalid conversion from 'const char*' to 'char*'



Source: postman
Version: 2.1-7
Severity: serious
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20091210 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> g++ -Wall -Wpointer-arith -O2 -DLINUX -g -fno-operator-names -I. -I/usr/include/c-client -c Utils.cc -o Utils.o
> Utils.cc: In function 'char* getExtensionFromFile(const char*)':
> Utils.cc:55: warning: deprecated conversion from string constant to 'char*'
> Utils.cc:56: warning: deprecated conversion from string constant to 'char*'
> Utils.cc:57: warning: deprecated conversion from string constant to 'char*'
> Utils.cc:58: error: invalid conversion from 'const char*' to 'char*'
> Utils.cc: In function 'int Cstrstr(const char*, const char*)':
> Utils.cc:483: error: invalid conversion from 'const char*' to 'char*'
> Utils.cc: In function 'char* getLineFile(const char*, int, int, char*)':
> Utils.cc:991: warning: deprecated conversion from string constant to 'char*'
> Utils.cc: In function 'char* getMailcapTipoFromFilename(const char*, const char*)':
> Utils.cc:1141: warning: deprecated conversion from string constant to 'char*'
> Utils.cc:1147: warning: deprecated conversion from string constant to 'char*'
> Utils.cc:1148: warning: deprecated conversion from string constant to 'char*'
> Utils.cc:1163: warning: deprecated conversion from string constant to 'char*'
> Utils.cc: In function 'void XTICK(char*)':
> Utils.cc:1248: warning: deprecated conversion from string constant to 'char*'
> Utils.cc: In function 'char* bool2char(bool)':
> Utils.cc:1648: warning: deprecated conversion from string constant to 'char*'
> Utils.cc:1648: warning: deprecated conversion from string constant to 'char*'
> Utils.cc: In function 'int getNumChilds()':
> Utils.cc:1671: warning: deprecated conversion from string constant to 'char*'
> Utils.cc:1681: warning: deprecated conversion from string constant to 'char*'
> Utils.cc: In function 'void MEMLOG(char*)':
> Utils.cc:1994: warning: deprecated conversion from string constant to 'char*'
> Utils.cc:2010: warning: deprecated conversion from string constant to 'char*'
> Utils.cc: In function 'const char* cgienv_GetSimpleMultipleEntriesSL(const char*, const char*, StringList*, bool)':
> Utils.cc:2436: warning: address of local variable 'abuf' returned
> Utils.cc:2436: warning: address of local variable 'abuf' returned
> In file included from Utils.h:43,
>                  from Utils.cc:5:
> XVector.h: In member function 'void XVector<Etype>::removeElementAt(UINT) [with Etype = XString]':
> Utils.cc:1275:   instantiated from here
> XVector.h:361: warning: deprecated conversion from string constant to 'char*'
> make[1]: *** [Utils.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/12/10/postman_2.1-7_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Reply to: