Debian Bug report logs -
#410555
FTBFS (alpha): 'uchar' undeclared
Reported by: Falk Hueffner <falk@debian.org>
Date: Sun, 11 Feb 2007 18:33:08 UTC
Severity: important
Tags: patch
Found in version openarena/0.6.0-2
Fixed in version openarena/0.6.0-3
Done: Bruno "Fuddl" Kleinert <fuddl@gmx.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#410555; Package openarena.
(full text, mbox, link).
Acknowledgement sent to Falk Hueffner <falk@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: openarena
Version: 0.6.0-2
Severity: important
Justification: fails to build from source
openarena does not build on Alpha:
[...]
gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-axp/cpp/cpp.o cpp/cpp.c
In file included from cpp/cpp.c:6:
cpp/cpp.h:45: error: expected specifier-qualifier-list before 'uchar'
cpp/cpp.h:59: error: expected specifier-qualifier-list before 'uchar'
cpp/cpp.h:69: error: expected specifier-qualifier-list before 'uchar'
cpp/cpp.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
cpp/cpp.c:15: error: 'uchar' undeclared here (not in a function)
[...]
The reason is this chunk in code/tools/lcc/cpp/cpp.h:
#ifndef __alpha
typedef unsigned char uchar;
#endif
Probably was is supposed to avoid a double definition. If I just
remove the check, it builds fine, except that it fails later:
cp build/release-linux-alpha/ioquake3.alpha debian/tmp/openarena.bin
cp: cannot stat `build/release-linux-alpha/ioquake3.alpha': No such file or directory
There seems to be some "alpha" vs. "axp" confusion here, since the dir
is called build/release-linux-axp.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: alpha
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20
Locale: LANG=C, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#410555; Package openarena.
(full text, mbox, link).
Acknowledgement sent to Eddy Petrișor <eddy.petrisor@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #10 received at 410555@bugs.debian.org (full text, mbox, reply):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Falk Hueffner wrote:
> Package: openarena
> Version: 0.6.0-2
> Severity: important
> Justification: fails to build from source
>
> openarena does not build on Alpha:
>
> [...]
> gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o build-linux-axp/cpp/cpp.o cpp/cpp.c
> In file included from cpp/cpp.c:6:
> cpp/cpp.h:45: error: expected specifier-qualifier-list before 'uchar'
> cpp/cpp.h:59: error: expected specifier-qualifier-list before 'uchar'
> cpp/cpp.h:69: error: expected specifier-qualifier-list before 'uchar'
> cpp/cpp.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> cpp/cpp.c:15: error: 'uchar' undeclared here (not in a function)
> [...]
>
> The reason is this chunk in code/tools/lcc/cpp/cpp.h:
>
> #ifndef __alpha
> typedef unsigned char uchar;
> #endif
>
> Probably was is supposed to avoid a double definition. If I just
> remove the check, it builds fine, except that it fails later:
>
> cp build/release-linux-alpha/ioquake3.alpha debian/tmp/openarena.bin
> cp: cannot stat `build/release-linux-alpha/ioquake3.alpha': No such file or directory
>
> There seems to be some "alpha" vs. "axp" confusion here, since the dir
> is called build/release-linux-axp.
Since we, the Debian Games Team don't have access to alpha hardware to
test things we would appreciate a patch.
TIA
- --
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFF0KcPY8Chqv3NRNoRAstaAKCv7WhaELneB1uU0Tpz7qDZEvQMrwCff/XT
ARCJR2MXVaptil8JVf8F1yM=
=2ItP
-----END PGP SIGNATURE-----
Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#410555; Package openarena.
(full text, mbox, link).
Acknowledgement sent to Bruno Kleinert <fuddl@gmx.de>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #15 received at 410555@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
This one time, at band camp, Falk Hueffner wrote:
> Package: openarena
> Version: 0.6.0-2
> Severity: important
> Justification: fails to build from source
>
> openarena does not build on Alpha:
>
> [...]
> gcc -O2 -Wall -fno-strict-aliasing -MMD -c -Icpp -o
> build-linux-axp/cpp/cpp.o cpp/cpp.c In file included from cpp/cpp.c:6:
> cpp/cpp.h:45: error: expected specifier-qualifier-list before 'uchar'
> cpp/cpp.h:59: error: expected specifier-qualifier-list before 'uchar'
> cpp/cpp.h:69: error: expected specifier-qualifier-list before 'uchar'
> cpp/cpp.h:135: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token cpp/cpp.c:15: error: 'uchar'
> undeclared here (not in a function) [...]
>
> The reason is this chunk in code/tools/lcc/cpp/cpp.h:
>
> #ifndef __alpha
> typedef unsigned char uchar;
> #endif
>
> Probably was is supposed to avoid a double definition. If I just
> remove the check, it builds fine, except that it fails later:
>
> cp build/release-linux-alpha/ioquake3.alpha debian/tmp/openarena.bin
> cp: cannot stat `build/release-linux-alpha/ioquake3.alpha': No such
> file or directory
>
> There seems to be some "alpha" vs. "axp" confusion here, since the dir
> is called build/release-linux-axp.
hi,
i don't have access to an alpha machine, but as you hinted there's some
axp vs. alpha confusion in the Makefile.
as openarena uses the ioquauke3 game engine, i looked through their
information about alpha support. they only support a limited dedicated
server on the alpha architecture.
though i (blindly) created a patch you may want to try on the
openarens package, maybe it helps to compile the engine.
good luck - fuddl
--
Among elephants it's not considered cool nor in any good taste
to drain other elephants
[oa-alpha.diff (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#410555; Package openarena.
(full text, mbox, link).
Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #20 received at 410555@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 410555 patch
thanks
Hi fuddl,
The attached patch fixes openarena on alpha. In addition to the two build
problems Falk identified in his bug report, an additional change is needed
to not use -ffast-math when building on alpha, as -ffast-math will cause the
client to die with SIGFPE.
> as openarena uses the ioquauke3 game engine, i looked through their
> information about alpha support. they only support a limited dedicated
> server on the alpha architecture.
Heh, there's no reason the client shouldn't be supported on alpha if it's
already supported on other 64-bit archs, and I've confirmed that the client
does work with this patch applied. Please apply the patch; if you need a
sponsor for this fix, I'd be happy to help.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/
[openarena-410555.diff (text/x-diff, attachment)]
Tags added: patch
Request was from Steve Langasek <vorlon@debian.org>
to control@bugs.debian.org.
(Wed, 02 May 2007 09:09:19 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#410555; Package openarena.
(full text, mbox, link).
Acknowledgement sent to Bruno Kleinert <fuddl@gmx.de>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #27 received at 410555@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
This one time, at band camp, Steve Langasek wrote:
> tags 410555 patch
> thanks
>
> Hi fuddl,
>
> The attached patch fixes openarena on alpha. In addition to the two
> build problems Falk identified in his bug report, an additional
> change is needed to not use -ffast-math when building on alpha, as
> -ffast-math will cause the client to die with SIGFPE.
>
> > as openarena uses the ioquauke3 game engine, i looked through their
> > information about alpha support. they only support a limited
> > dedicated server on the alpha architecture.
>
> Heh, there's no reason the client shouldn't be supported on alpha if
> it's already supported on other 64-bit archs, and I've confirmed that
> the client does work with this patch applied. Please apply the
> patch; if you need a sponsor for this fix, I'd be happy to help.
>
> Cheers,
> --
> Steve Langasek Give me a lever long enough and a
> Free OS Debian Developer to set it on, and I can
> move the world. vorlon@debian.org
> http://www.debian.org/
hi steve,
thanks a lot for the patch, it's included in the debian games team
subversion repository.
cheers - fuddl
--
Among elephants it's not considered cool nor in any good taste
to drain other elephants
[signature.asc (application/pgp-signature, attachment)]
Reply sent to Bruno "Fuddl" Kleinert <fuddl@gmx.de>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Falk Hueffner <falk@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #32 received at 410555-close@bugs.debian.org (full text, mbox, reply):
Source: openarena
Source-Version: 0.6.0-3
We believe that the bug you reported is fixed in the latest version of
openarena, which is due to be installed in the Debian FTP archive:
openarena-server_0.6.0-3_alpha.deb
to pool/main/o/openarena/openarena-server_0.6.0-3_alpha.deb
openarena_0.6.0-3.diff.gz
to pool/main/o/openarena/openarena_0.6.0-3.diff.gz
openarena_0.6.0-3.dsc
to pool/main/o/openarena/openarena_0.6.0-3.dsc
openarena_0.6.0-3_alpha.deb
to pool/main/o/openarena/openarena_0.6.0-3_alpha.deb
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 410555@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bruno "Fuddl" Kleinert <fuddl@gmx.de> (supplier of updated openarena 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 2 May 2007 21:28:55 +0200
Source: openarena
Binary: openarena openarena-server
Architecture: source alpha
Version: 0.6.0-3
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Bruno "Fuddl" Kleinert <fuddl@gmx.de>
Description:
openarena - A fast-paced 3D first-person shooter
openarena-server - Game server for the game OpenArena
Closes: 410555 411205 411350
Changes:
openarena (0.6.0-3) unstable; urgency=low
.
* Exchanged "Quake 3" stuff in wrapper scripts by "OpenArena"
* Replaced german-english mixture 'ego-shooter' by first-person shooter (Closes: #411205)
* Fixed bash-specific syntax in the openarena wrapper script (Closes: #411350)
* Don't dlopen() libcurl to have it automatically in binary dependency list
* Fix build and resulting binary on alpha. Thanks Steve Langasek for the
patch! (Closes: #410555)
Files:
fc3bd1fc15164a840fe8598f257a370f 744 games optional openarena_0.6.0-3.dsc
4bd9a1ad5a223a03cdd9e09ec673310a 18168 games optional openarena_0.6.0-3.diff.gz
64f59752849c97b35a63aaf24b52c483 1129872 games optional openarena_0.6.0-3_alpha.deb
a003b3adfd1d0c21af5ac41b2706cc8f 568392 games optional openarena-server_0.6.0-3_alpha.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGQRpFKN6ufymYLloRApNHAKDKnyHehmBRJXfW2gHaLevJ01PhYACeJsaJ
R6OvQWrhY+5ZZhR+V3Yl2po=
=jvqZ
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 22 Jul 2007 07:31:22 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 12:32:18 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.