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

Bug#618978: marked as done (afnix: FTBFS: #error "unknown processor type")



Your message dated Tue, 06 Sep 2011 03:02:17 +0000
with message-id <E1R0lvV-0003Ry-2i@franck.debian.org>
and subject line Bug#618978: fixed in afnix 2.1.1-1
has caused the Debian Bug report #618978,
regarding afnix: FTBFS: #error "unknown processor type"
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 owner@bugs.debian.org
immediately.)


-- 
618978: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618978
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: afnix
Version: 2.0.0-1
Severity: wishlist
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org

Hi,

afnix FTBFS on sh4.
http://buildd.debian-ports.org/fetch.php?pkg=afnix&arch=sh4&ver=2.0.0-1&stamp=1300294439&file=log&as=raw

-----
make[5]: Entering directory
`/build/buildd-afnix_2.0.0-1-sh4-VRAnen/afnix-2.0.0/src/lib/plt/acf'
make[5]: Leaving directory
`/build/buildd-afnix_2.0.0-1-sh4-VRAnen/afnix-2.0.0/src/lib/plt/acf'
make[5]: Entering directory
`/build/buildd-afnix_2.0.0-1-sh4-VRAnen/afnix-2.0.0/src/lib/plt/shl'
g++ -Wall -fno-builtin -MMD -pthread -fPIC  -O2            -I.
-I../acf -o cclk.o -c cclk.cxx
In file included from cclk.cxx:18:
cclk.hxx:24:2: error: #error "unknown processor type"
make[5]: *** [cclk.o] Error 1
-----

I made patch to support SH. Could you apply this patch?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
--- afnix-2.0.0.orig/src/lib/plt/acf/ccnf.cpp
+++ afnix-2.0.0/src/lib/plt/acf/ccnf.cpp
@@ -46,6 +46,7 @@
 #define AFNIX_PROCTYPE_IA64      10
 #define AFNIX_PROCTYPE_S390      11
 #define AFNIX_PROCTYPE_X64       12
+#define AFNIX_PROCTYPE_SH        13
 
 // recognized processor name
 #define AFNIX_PROCNAME_UNKNOWN   "unknown"
@@ -61,6 +62,7 @@
 #define AFNIX_PROCNAME_IA64      "ia64"
 #define AFNIX_PROCNAME_S390      "s390"
 #define AFNIX_PROCNAME_X64       "x64"
+#define AFNIX_PROCNAME_SH        "sh"
 
 // force size type with S390
 #if defined(__s390__)
@@ -145,6 +147,9 @@ static int get_procid (const char* proc)
       return AFNIX_PROCTYPE_UNKNOWN;
     }
   }
+  // SuperH
+  if (strcmp (proc, AFNIX_PROCNAME_SH) == 0)
+    return AFNIX_PROCTYPE_SH;
   // unknown
   return AFNIX_PROCTYPE_UNKNOWN;
 }
@@ -164,6 +169,7 @@ static const char* get_procnm (const int
   if (id ==  AFNIX_PROCTYPE_IA64)   return AFNIX_PROCNAME_IA64;
   if (id ==  AFNIX_PROCTYPE_S390)   return AFNIX_PROCNAME_S390;
   if (id ==  AFNIX_PROCTYPE_X64)    return AFNIX_PROCNAME_X64;
+  if (id ==  AFNIX_PROCTYPE_SH)     return AFNIX_PROCNAME_SH;
   return AFNIX_PROCNAME_UNKNOWN;
 }
 
@@ -308,6 +314,8 @@ int main (int, char**) {
 	   AFNIX_PROCTYPE_S390);
   fprintf (stdout, "#define  AFNIX_PROCTYPE_X64       %d\n",
 	   AFNIX_PROCTYPE_X64);
+  fprintf (stdout, "#define  AFNIX_PROCTYPE_SH       %d\n",
+	   AFNIX_PROCTYPE_SH);
   fprintf (stdout, "\n");
 
   // recognized processor names
@@ -338,6 +346,8 @@ int main (int, char**) {
 	   AFNIX_PROCNAME_S390);
   fprintf (stdout, "#define  AFNIX_PROCNAME_X64       \"%s\"\n",
 	   AFNIX_PROCNAME_X64);
+  fprintf (stdout, "#define  AFNIX_PROCNAME_SH       \"%s\"\n",
+	   AFNIX_PROCNAME_SH);
   fprintf (stdout, "\n");
 
   // install the darwin definition

--- End Message ---
--- Begin Message ---
Source: afnix
Source-Version: 2.1.1-1

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

afnix-doc_2.1.1-1_all.deb
  to main/a/afnix/afnix-doc_2.1.1-1_all.deb
afnix_2.1.1-1.debian.tar.bz2
  to main/a/afnix/afnix_2.1.1-1.debian.tar.bz2
afnix_2.1.1-1.dsc
  to main/a/afnix/afnix_2.1.1-1.dsc
afnix_2.1.1-1_amd64.deb
  to main/a/afnix/afnix_2.1.1-1_amd64.deb
afnix_2.1.1.orig.tar.gz
  to main/a/afnix/afnix_2.1.1.orig.tar.gz



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 618978@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nobuhiro Iwamatsu <iwamatsu@debian.org> (supplier of updated afnix 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: SHA256

Format: 1.8
Date: Mon, 05 Sep 2011 15:22:48 +0900
Source: afnix
Binary: afnix afnix-doc
Architecture: source amd64 all
Version: 2.1.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Description: 
 afnix      - Compiler and run-time for the AFNIX programming language
 afnix-doc  - Compiler and run-time for the AFNIX programming language (documen
Closes: 618706 618978
Changes: 
 afnix (2.1.1-1) unstable; urgency=low
 .
   * QA upload.
   * New upstream release. (Closes: #618978)
   * Update debian/patches.
     - Add fix_618706.patch. (Closes: #618706)
     - Update ManPageErrors.patch.
Checksums-Sha1: 
 472de6e9a4501c8c56d659cd00087d2ca350152e 1696 afnix_2.1.1-1.dsc
 a96029990fd931e8b4f86cb005f07794dd79a780 1931854 afnix_2.1.1.orig.tar.gz
 38f8974cbf050108005ce9b9deefbe4ce3b85ab3 7794 afnix_2.1.1-1.debian.tar.bz2
 a1e8039abc8d05782597b92d975f5642d54466d5 2637834 afnix_2.1.1-1_amd64.deb
 30c992288858c7544d5b0a7a1066dab5e57f5d26 222212 afnix-doc_2.1.1-1_all.deb
Checksums-Sha256: 
 943a60fce7494582331b0c17ab1e7ca4649bc9eb1ccc41a0ba7b8eb3b1ef257f 1696 afnix_2.1.1-1.dsc
 05d1be261cb8ca3cf54d0bb4280e448bcc40ca6d50d54dfaaf88d0f3402fb198 1931854 afnix_2.1.1.orig.tar.gz
 71035692579921e1d77afd4a2a075141814c4530d0b8296823861d4861dc9cdb 7794 afnix_2.1.1-1.debian.tar.bz2
 cdc975fc81ae7b306a1ffed121df99a683b6e18a27acc0d977de3855daae4318 2637834 afnix_2.1.1-1_amd64.deb
 f3bb717bf709eb9b37acdc23b29e84a2ef6896b582df810955f6616f2f9892e0 222212 afnix-doc_2.1.1-1_all.deb
Files: 
 caf740d0d8628640866bb04f64601037 1696 interpreters optional afnix_2.1.1-1.dsc
 4ac07c8a8674201ee25c23da329b3428 1931854 interpreters optional afnix_2.1.1.orig.tar.gz
 f28817fca3ad0d1ee2262b56a1efc7a5 7794 interpreters optional afnix_2.1.1-1.debian.tar.bz2
 58924c116ef5621e66e6f14b1f71bc17 2637834 interpreters optional afnix_2.1.1-1_amd64.deb
 2b5eb1ac6c01c697364c4b6c2c9e92d8 222212 doc optional afnix-doc_2.1.1-1_all.deb

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

iQIbBAEBCAAGBQJOZYe2AAoJEDIkf7tArR+mV2kP+Kg4SLHu1bml5XfVe8qGloFj
hfDBb/3y108sjX31imwbI0y/7r4rY3FfIyPKbiUFPaSA3lwGEB9l0AGqC5sCa6wO
0/Aup/S7PghUF9BGZOgUDCMRU3qefki9E5KkcGTYj5QbXtiOlwI0yOBYZVeYz4RS
G95hP0t9tz2DZAtgKLYggYRqM3VLp3OZV5lb7575jd3dvw6HVd+wfeBuuQXwJP/U
4tGibooe+e2SI78dvoeikS2M1d7NBeyVq0zJt5ULIJvaSwNwh/iK/sU1IKyD96uR
imCUwiCW9K9LZfgG/uytWTh+fy/xO5VETTqvPJJVKO61mK2BuYjq32C6DC25hTqA
9LElWpyQdsFqiw3xum/wcZzZ0wNZuxwXflwAdw5SPTpc/uIn3gO9ATLqR2wq3MVt
DuFg1uE+hd14sKnhQFMkxLLXzf6a6H8PYv46OPr8pvPtutLYptuR+uQ9a8GUQxIH
I8qPeYXiOZA9lwvMjOOm2BFeyEhymcjYF0jAAmhbPoucLHtoXgRxnaJ7opxexLXi
cFNJ0rCvRrFG+kjZVtmOqkQB8RQIoMprpPqAXCLeriAXSAuyd+WbemOj/fQapXEz
ncHSb/XWa3X5soGV3aW3NdbT4m1QUPHeYNZVFpcx2NLwVAbkN28orFl//B7SFpAv
vZP6ERUfaLQG1XEhRJc=
=mwLW
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: