Your message dated Mon, 15 Jan 2018 09:19:45 +0000
with message-id <[email protected]>
and subject line Bug#701630: fixed in openarena 0.8.8-21
has caused the Debian Bug report #701630,
regarding openarena: FTBFS on powerpcspe
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 [email protected]
immediately.)
--
701630: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701630
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openarena
Version: 0.8.8-5+deb7u2
Severity: wishlist
Tags: patch sid
User: [email protected]
Usertags: powerpcspe
Hi,
openarena FTBFS on powerpcspe[1] like this:
[...]
make[4]: Entering directory `/«PKGBUILDDIR»'
cc -DCGAME -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 -fsigned-char -MMD -Wall
-fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DUSE_ICON
-DUSE_OPENAL -DUSE_CURL -DUSE_CODEC_VORBIS -maltivec -DUSE_MUMBLE -DUSE_VOIP
-DSTANDALONE -DPRODUCT_VERSION=\"0.8.8-5+deb7u2/Debian\" -DNDEBUG -O3
-ffast-math -funroll-loops -fomit-frame-pointer -fPIC -o
build/release-linux-ppc/baseq3/cgame/cg_main.o -c code/cgame/cg_main.c
code/cgame/cg_main.c:1:0: error: AltiVec and E500 instructions cannot coexist
make[4]: *** [build/release-linux-ppc/baseq3/cgame/cg_main.o] Error 1
[...]
The attached patch fixes this by preventing -maltivec on powerpcspe.
This is related to #701561.
Thanks in advance,
Roland
[1] http://wiki.debian.org/PowerPCSPEPort
-- System Information:
Debian Release: 7.0
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)
Kernel: Linux 3.8.0 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -ruN openarena-0.8.8.orig/Makefile openarena-0.8.8/Makefile
--- openarena-0.8.8.orig/Makefile 2013-02-25 12:50:35.000000000 +0000
+++ openarena-0.8.8/Makefile 2013-02-25 13:07:35.712425329 +0000
@@ -269,7 +269,9 @@
HAVE_VM_COMPILED=true
else
ifeq ($(ARCH),ppc)
- BASE_CFLAGS += -maltivec
+ ifneq ($(NO_ALTIVEC),1)
+ BASE_CFLAGS += -maltivec
+ endif
HAVE_VM_COMPILED=true
endif
ifeq ($(ARCH),ppc64)
diff -ruN openarena-0.8.8.orig/code/qcommon/q_platform.h openarena-0.8.8/code/qcommon/q_platform.h
--- openarena-0.8.8.orig/code/qcommon/q_platform.h 2013-02-25 12:50:35.000000000 +0000
+++ openarena-0.8.8/code/qcommon/q_platform.h 2013-02-25 13:08:13.416434699 +0000
@@ -24,7 +24,7 @@
#define __Q_PLATFORM_H
// this is for determining if we have an asm version of a C function
-#ifdef Q3_VM
+#if defined(Q3_VM) || defined (__NO_FPRS__)
#define id386 0
#define idppc 0
diff -ruN openarena-0.8.8.orig/debian/rules openarena-0.8.8/debian/rules
--- openarena-0.8.8.orig/debian/rules 2012-12-07 09:40:25.000000000 +0000
+++ openarena-0.8.8/debian/rules 2013-02-25 13:06:51.704414393 +0000
@@ -8,6 +8,11 @@
Q3COMPILE_ARCH := $(shell /usr/share/ioquake3/q3arch arch BUILD)
Q3COMPILE_PLATFORM := $(shell /usr/share/ioquake3/q3arch platform BUILD)
distro := $(shell lsb_release -is)
+ifeq ($(DEB_HOST_ARCH),powerpcspe)
+NO_ALTIVEC := 1
+else
+NO_ALTIVEC := 0
+endif
# the Q3 engine's build system doesn't respect CPPFLAGS, so put them in CFLAGS
CFLAGS += $(CPPFLAGS) -fsigned-char
@@ -34,6 +39,7 @@
BUILD_GAME_SO=1 \
CROSS_COMPILING=1 \
VERSION=$(DEB_VERSION)/$(distro) \
+ NO_ALTIVEC=$(NO_ALTIVEC) \
$(NULL)
TARGET = release
--- End Message ---
--- Begin Message ---
Source: openarena
Source-Version: 0.8.8-21
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.
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon McVittie <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 15 Jan 2018 08:40:26 +0000
Source: openarena
Binary: openarena openarena-server
Architecture: source
Version: 0.8.8-21
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Simon McVittie <[email protected]>
Description:
openarena - fast-paced 3D first-person shooter
openarena-server - server and game logic for the game OpenArena
Closes: 701630
Changes:
openarena (0.8.8-21) unstable; urgency=medium
.
* Standards-Version: 4.1.3 (no changes required)
* d/p/Disable-Altivec-instructions-on-PowerPC-unless-requested.patch:
Add patch to compile without Altivec to support baseline powerpc
CPUs. Thanks to GitHub user casey-ac for testing a version of this
change in ioquake3. This should also work on powerpcspe
(Closes: #701630)
* Update Vcs-* to point to salsa.debian.org
Checksums-Sha1:
44eff0b4259e16439989708ba81d024cb1cd9884 2119 openarena_0.8.8-21.dsc
99db235a17691a023ed2625d67ec692a7913bee1 48724 openarena_0.8.8-21.debian.tar.xz
9f0a37d252c46820f9f0458076a113ca83555cc1 5082
openarena_0.8.8-21_source.buildinfo
Checksums-Sha256:
674dcf1307682398f1aaf64922a542c1cbfd1ed6898969e6b32e2c4dfa9751fd 2119
openarena_0.8.8-21.dsc
52632a709c82ac897d370e3563345267e4ae87968e13cbafa1a9af2cfb07e0c6 48724
openarena_0.8.8-21.debian.tar.xz
a5c989a898aaa5e4786ed93604a4430a3207c11969cfbdde38bcea20633f5165 5082
openarena_0.8.8-21_source.buildinfo
Files:
ff12bdbe29fa84187a894d74aefbbcda 2119 games optional openarena_0.8.8-21.dsc
ffb4f99ab30c8f8b835825fbebd89991 48724 games optional
openarena_0.8.8-21.debian.tar.xz
e21c1fc4bbce450520dcc04a6d7d3619 5082 games optional
openarena_0.8.8-21_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAlpcbRgACgkQ4FrhR4+B
TE9JPw/+KzAiAQSl5YXB273UL5IQSg8oKmwxyZSAERe3fALUfbwroW8GzRtzORAZ
93IqcQePmzOTsbfh70XH2gBWj/tjD9hJ6GIVBXqbdWm1eMVXqHSR8wF026lx2oJB
cuG6pCc8ESF7cGUKU83ft7bqKlj6krDxgponDF55oIJlvYxgWvGUkEXlAtCQ5r3X
ddCXt0iauvMcK18oupr8Ev8SAJ0YaIXz2+Kcbna4lVpEEJXHurg0GT7VhjrcZCLf
ckoah7raDSQvjOgelHRic9FKVPJ/S1cazfS4BuCPXFQlIsmUY20u3ipYiyYO1bcu
Yxi+Ujhb43W3k7MMu1wf8u9LIW872N03yKEeKbNIb1PxPGt4IwjX2Q3NuIGusiSe
uxFiD0u7ErvcCXHEsdfPXZzQEoRfyJ+9ZQ2p8wVrFART/q4Ft2PQSmXoGpvJ3AJe
2Lhmn9IIggHqjvhvl+BqwJ+PG2MSuqkuC3Hsb7qKns0zfzkcpEzFJFKw9yx21TIU
Y8tv0JQpFji34r5EbZgmTUx13hQkR9BhZ0XPaPl2aSRHDrproOJNKy73KYbKMJNk
10g05km8M6l7yoIMYX8D0WqK54sxGHp1qHPb6N6Si8BBROyMpbc+PxthwM4Ko9vz
FivoOj8CaANZG5TMtMBdjEtdh7ohyAs+oR2VasmYNNzzfmD+sdg=
=V8vz
-----END PGP SIGNATURE-----
--- End Message ---