> From: Debian Bug Tracking System owner@
bugs.debian.org
> Subject: nethack: FTBFS: string.h:474: error: redefinition of 'char* strchr(char*, int)'
> Date: Fri, 11 Dec 2009 09:31:14 +0100
> Source: nethack
> Version:
3.4.3-12
> 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++ -O2 -I../include -g -Wall -DGCC_WARN -DQT_GRAPHICS -I. -I/usr/include/qt3 -c ../win/Qt/qt_win.cpp
>> In file included from /usr/include/qt3/qcstring.h:49,
>> from /usr/include/qt3/qstring.h:45,
>> from /usr/include/qt3/qwindowdefs.h:47,
>> from /usr/include/qt3/qwidget.h:45,
>> from /usr/include/qt3/qdialog.h:45,
>> from ../include/qt_win.h:19,
>> from ../win/Qt/qt_win.cpp:78:
>> /usr/include/string.h: In function 'char* strchr(char*, int)':
>> /usr/include/string.h:474: error: redefinition of 'char* strchr(char*, int)'
>> /usr/include/string.h:220: error: 'char* strchr(char*, int)' previously defined here
>> /usr/include/string.h: In function 'const char* strchr(const char*, int)':
>> /usr/include/string.h:480: error: redefinition of 'const char* strchr(const char*, int)'
>> /usr/include/string.h:226: error: 'const char* strchr(const char*, int)' previously defined here
>> /usr/include/string.h: In function 'char* strrchr(char*, int)':
>> /usr/include/string.h:502: error: redefinition of 'char* strrchr(char*, int)'
>> /usr/include/string.h:247: error: 'char* strrchr(char*, int)' previously defined here
>> /usr/include/string.h: In function 'const char* strrchr(const char*, int)':
>> /usr/include/string.h:508: error: redefinition of 'const char* strrchr(const char*, int)'
>> /usr/include/string.h:253: error: 'const char* strrchr(const char*, int)' previously defined here
>> In file included from ../include/qt_win.h:36,
>> from ../win/Qt/qt_win.cpp:78:
>> /usr/include/qt3/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
>> /usr/include/qt3/qimage.h:61: warning: suggest parentheses around '&&' within '||'
>> ../win/Qt/qt_win.cpp: In member function 'virtual void NetHackQtTextWindow::Display(bool)':
>> ../win/Qt/qt_win.cpp:3367: warning: suggest parentheses around '&&' within '||'
>> make[2]: *** [qt_win.o] Error 1
Your message dated Fri, 14 May 2010 09:35:01 +0000
with message-id
ries.debian.org>
and subject line Bug#560531: fixed in nethack 3.4.3-12.1
has caused the Debian Bug report #560531,
regarding nethack: FTBFS: string.h:474: error: redefinition of 'char* strchr(char*, int)'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)