Bug#443381: FTBFS (alpha): Bogus OSF1 check

Falk Hueffner falk at debian.org
Thu Sep 20 22:22:40 UTC 2007


Package: pingus
Version: 0.7.0-2
Severity: serious
Justification: no longer builds from source

pingus fails to build on Alpha:

g++ -o src/tinygettext/dictionary_manager.o -c -O2 -Wall -Werror -g -DENABLE_BINRELOC -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc -I/usr/include/SDL src/tinygettext/dictionary_manager.cpp
In file included from src/tinygettext/dictionary_manager.cpp:25:
src/tinygettext/../win32/uce_dirent.h:121:5: error: #error "not implemented"

Full report at
http://buildd.debian.org/fetch.cgi?pkg=pingus&arch=alpha&ver=0.7.0-2&stamp=1190168290&file=log&as=raw

The reason is a bogus check for OSF1. Here is a patch:

--- src/win32/uce_dirent.h~	2005-12-05 18:00:26.000000000 +0100
+++ src/win32/uce_dirent.h	2007-09-21 00:18:22.871397000 +0200
@@ -117,7 +117,7 @@
 #   define HAVE_SYS_DIR_H
 # elif defined(__hpux)                         /* HP-UX */
 #   define HAVE_DIRENT_H
-# elif defined(__alpha) || defined(__alpha__)  /* Alpha OSF1 */
+# elif defined (__digital__) && defined (__unix__)  /* Alpha OSF1 */
 #   error "not implemented"
 # elif defined(__sgi)                          /* Silicon Graphics */
 #   define HAVE_DIRENT_H



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: alpha

Kernel: Linux 2.6.20
Locale: LANG=C, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages pingus depends on:
pn  hermes1                 <none>           (no description available)
ii  libc6.1                 2.6.1-4          GNU C Library: Shared libraries
pn  libclan2c2a-gui         <none>           (no description available)
pn  libclan2c2a-jpeg        <none>           (no description available)
pn  libclan2c2a-mikmod      <none>           (no description available)
pn  libclan2c2a-png         <none>           (no description available)
pn  libclan2c2a-sound       <none>           (no description available)
pn  libclan2c2a-vorbis      <none>           (no description available)
pn  libclanlib2c2a          <none>           (no description available)
ii  libgcc1                 1:4.2.1-5        GCC support library
ii  libstdc++6              4.2.1-5          The GNU Standard C++ Library v3
ii  libxml2                 2.6.30.dfsg-2    GNOME XML library
pn  pingus-data             <none>           (no description available)
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

pingus recommends no packages.





More information about the Pkg-games-devel mailing list