[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#680735: sope FTBFS on alpha: varargs problems

Source: sope
Version: 1.3.15-4
Severity: normal
Tags: patch
User: debian-alpha@lists.debian.org
Usertags: alpha
X-Debbugs-CC: debian-alpha@lists.debian.org

sope FTBFS on alpha with the following error:

Making all for subproject FoundationExt...
 Compiling file DefaultScannerHandler.m ...
 Compiling file PrintfFormatScanner.m ...
PrintfFormatScanner.m: In function '-[PrintfFormatScanner
PrintfFormatScanner.m:43:9: error: wrong type argument to unary
exclamation mark

Full build log is at:

It's the same problem as that fixed for arm by the recently added patch
0007-Fix-FTBFS-on-arm.patch.  Please consider modifying the line:

+#ifndef __arm__

in the patch to be:

+if !defined(__arm__) && !defined(__alpha__)

Also needed for a successful build on Alpha is the attached patch which
further isolates us from the varargs misuse.

--- sope-1.3.15/sope-gdl1/GDLAccess/EOSQLQualifier.m	2012-05-11 20:23:09.000000000 +0000
+++ sope-1.3.15-new/sope-gdl1/GDLAccess/EOSQLQualifier.m	2012-07-08 10:07:21.000000000 +0000
@@ -328,7 +328,7 @@
           back to an array (the EOQualifierEnumScannerHandler does that).
           Works on ix86, but *NOT* on iSeries or zServer !!
-#if defined(__s390__) || defined(__arm__)
+#if defined(__s390__) || defined(__arm__) || defined(__alpha__)
   qualifierString =
     [formatScanner performSelector:@selector(stringWithFormat:arguments:)

Reply to: