Your message dated Fri, 14 May 2010 09:35:01 +0000
with message-id <e1ocril-00021s...@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 with eglibc 2.10
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 ow...@bugs.debian.org
immediately.)


-- 
560531: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560531
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: nethack
Version: 3.4.3-10.6
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

In Ubuntu, we've applied the attached patch to achieve the following:

  * Fix FTBFS by building with -D__CORRECT_ISO_CPP_STRINGS_H_PROTO flag, 
    a hack from Gentoo (LP: #452858).

We thought you might be interested in doing the same. 

I believe this also affects current Debian version (3.4.3-12). The fix 
is taken from Gentoo, more information at:
http://bugs.gentoo.org/show_bug.cgi?id=286532
https://bugs.launchpad.net/bugs/452858

I don't quite understand the nature of the problem, so it may well be a
bug in Qt or eglibc, but I'm reporting it here so that you have a fix
at hand in case this becomes a problem for nethack (e.g. when eglibc
2.10 enters unstable).

The build fails with the following error:

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

http://launchpadlibrarian.net/32127072/buildlog_ubuntu-karmic-i386.nethack_3.4.3-10.6ubuntu1_FAILEDTOBUILD.txt.gz

-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 
'jaunty-proposed'), (500, 'jaunty-backports'), (500, 'jaunty')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-15-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u nethack-3.4.3/debian/rules nethack-3.4.3/debian/rules
--- nethack-3.4.3/debian/rules
+++ nethack-3.4.3/debian/rules
@@ -18,7 +18,7 @@
 	optimize := -O2
 endif
 
-export CFLAGS = $(optimize) -I../include -g -Wall -DGCC_WARN
+export CFLAGS = $(optimize) -I../include -g -Wall -DGCC_WARN -D__CORRECT_ISO_CPP_STRINGS_H_PROTO
 
 TARGETS = console lisp x11 qt
 

--- End Message ---
--- Begin Message ---
Source: nethack
Source-Version: 3.4.3-12.1

We believe that the bug you reported is fixed in the latest version of
nethack, which is due to be installed in the Debian FTP archive:

nethack-common_3.4.3-12.1_i386.deb
  to main/n/nethack/nethack-common_3.4.3-12.1_i386.deb
nethack-console_3.4.3-12.1_i386.deb
  to main/n/nethack/nethack-console_3.4.3-12.1_i386.deb
nethack-lisp_3.4.3-12.1_i386.deb
  to main/n/nethack/nethack-lisp_3.4.3-12.1_i386.deb
nethack-qt_3.4.3-12.1_i386.deb
  to main/n/nethack/nethack-qt_3.4.3-12.1_i386.deb
nethack-x11_3.4.3-12.1_i386.deb
  to main/n/nethack/nethack-x11_3.4.3-12.1_i386.deb
nethack_3.4.3-12.1.diff.gz
  to main/n/nethack/nethack_3.4.3-12.1.diff.gz
nethack_3.4.3-12.1.dsc
  to main/n/nethack/nethack_3.4.3-12.1.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 560...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luca Falavigna <dktrkr...@debian.org> (supplier of updated nethack package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 12 May 2010 09:30:03 +0200
Source: nethack
Binary: nethack-common nethack-console nethack-lisp nethack-x11 nethack-qt
Architecture: source i386
Version: 3.4.3-12.1
Distribution: unstable
Urgency: medium
Maintainer: Joshua Kwan <jo...@triplehelix.org>
Changed-By: Luca Falavigna <dktrkr...@debian.org>
Description: 
 nethack-common - dungeon crawl game - common files
 nethack-console - dungeon crawl game - text-based interface
 nethack-lisp - dungeon crawl game - Lisp interface
 nethack-qt - dungeon crawl game - Qt interface
 nethack-x11 - dungeon crawl game - X11 interface
Closes: 551334 560531
Changes: 
 nethack (3.4.3-12.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * debian/rules:
     - Compile with __CORRECT_ISO_CPP_STRINGS_H_PROTO set to fix FTBFS
       (Closes: #551334, #560531).
Checksums-Sha1: 
 77026df93243da4dd94050e3140e5b86570bb3d7 1241 nethack_3.4.3-12.1.dsc
 79f7079581cbdf5232cde05da67e1f45b2d37710 107482 nethack_3.4.3-12.1.diff.gz
 d7ad617c31cb27ecd105352ab2cd764c9c5fd291 461512 
nethack-common_3.4.3-12.1_i386.deb
 e85526838778189cb408d7e2d07b2e52df79da27 849930 
nethack-console_3.4.3-12.1_i386.deb
 083a196b2112a68714d813294e36a539d619545f 840484 
nethack-lisp_3.4.3-12.1_i386.deb
 3e512a220828a0d26600d13ea9d321ea274c50e5 896448 nethack-x11_3.4.3-12.1_i386.deb
 2b19fe9ed7135b7dfaaaf0ab538762c0b6e4dc1f 980522 nethack-qt_3.4.3-12.1_i386.deb
Checksums-Sha256: 
 387ecbb57f2f4b795289c48049ebe08aaff5914e21c22034532a964441d3acf8 1241 
nethack_3.4.3-12.1.dsc
 eb5e203cd7a49d640accae70185891453a930b95924eafff13aebef3649c63d7 107482 
nethack_3.4.3-12.1.diff.gz
 0cb7abc95cd9c474a9bd566c8dd7d1cd68494100d353a996d839c9d0edf8ee82 461512 
nethack-common_3.4.3-12.1_i386.deb
 23f8ea0f2e151f4ad0deeebb9de26380c5694212070b522868d4178b8eeae8d3 849930 
nethack-console_3.4.3-12.1_i386.deb
 bf644700cd260deb2e582c3d6bdaa35c25920660e001b0926bddddfa3fc4b01a 840484 
nethack-lisp_3.4.3-12.1_i386.deb
 64a138540d3a0e08e5a810a707ff213254ed1e12723828e192a03ae5ba838f4c 896448 
nethack-x11_3.4.3-12.1_i386.deb
 3e04118a8f458a9cd4c359c0c2f0638a593cc619a9ec4d559b350156cac90799 980522 
nethack-qt_3.4.3-12.1_i386.deb
Files: 
 87536e57b9ffc4939e9e5819b4268e2c 1241 games optional nethack_3.4.3-12.1.dsc
 ab24fa709e4e9cf9628685df60f44d4c 107482 games optional 
nethack_3.4.3-12.1.diff.gz
 5283b1e218d7b49cfc2d6f4e10cd29bc 461512 games optional 
nethack-common_3.4.3-12.1_i386.deb
 8b9d85e7c689fc1c8d6bb2fb40866868 849930 games optional 
nethack-console_3.4.3-12.1_i386.deb
 6a32a60f28d998de32b3b124a1138351 840484 games optional 
nethack-lisp_3.4.3-12.1_i386.deb
 5f7b39f880042f2123645849c4562301 896448 games optional 
nethack-x11_3.4.3-12.1_i386.deb
 b0e9f83547807a3e4306e24ead43df7d 980522 games optional 
nethack-qt_3.4.3-12.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvqYoIACgkQnXjXEYa8KlAniwCgpGx04+2xgERbL1OKSngvgjt1
95AAnRqr9k47SHHwVZXXSvmY+IwMBJQW
=sAPN
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to