Your message dated Mon, 22 Aug 2016 18:03:52 +0000
with message-id <[email protected]>
and subject line Bug#814040: fixed in afnix 2.6.2-3
has caused the Debian Bug report #814040,
regarding afnix: FTBFS on arm64
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.)


-- 
814040: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814040
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: afnix
Version: 2.6.2-1
Tags: patch
User: [email protected]
Usertags: arm64

It failed to build on arm64:

https://buildd.debian.org/status/package.php?p=afnix&suite=sid

The error was:

./cnf/bin/afnix-setup -o --prefix=/usr
afnix-setup: cannot determine linking type

I'm attaching a trivial patch that seems to work.
diff -ru afnix-2.6.2.orig/cnf/bin/afnix-guess afnix-2.6.2/cnf/bin/afnix-guess
--- afnix-2.6.2.orig/cnf/bin/afnix-guess
+++ afnix-2.6.2/cnf/bin/afnix-guess
@@ -115,6 +115,7 @@
     sun4*)     cpunam=sparc;;
     sparc*)    cpunam=sparc;;
     arm*)      cpunam=arm;;
+    aarch64*)  cpunam=aarch64;;
     ppc)       cpunam=ppc;;
     ppc64le)   cpunam=ppc64el;;
     m68k)      cpunam=m68k;;
diff -ru afnix-2.6.2.orig/src/lib/plt/acf/ccnf.cpp afnix-2.6.2/src/lib/plt/acf/ccnf.cpp
--- afnix-2.6.2.orig/src/lib/plt/acf/ccnf.cpp
+++ afnix-2.6.2/src/lib/plt/acf/ccnf.cpp
@@ -54,6 +54,7 @@
 #define AFNIX_PROCTYPE_MIPS64    14
 #define AFNIX_PROCTYPE_MIPS64EL  15
 #define AFNIX_PROCTYPE_PPC64EL   16
+#define AFNIX_PROCTYPE_AARCH64   17
 
 // recognized processor name
 #define AFNIX_PROCNAME_UNKNOWN   "unknown"
@@ -73,6 +74,7 @@
 #define AFNIX_PROCNAME_SH        "sh"
 #define AFNIX_PROCNAME_MIPS64    "mips64"
 #define AFNIX_PROCNAME_MIPS64EL  "mips64el"
+#define AFNIX_PROCNAME_AARCH64   "aarch64"
 
 // force size type with S390/clang
 #if defined(__s390__) || defined(__clang__)
@@ -128,6 +130,9 @@
   // arm
   if (strcmp (proc, AFNIX_PROCNAME_ARM) == 0) 
     return AFNIX_PROCTYPE_ARM;
+  // aarch64
+  if (strcmp (proc, AFNIX_PROCNAME_AARCH64) == 0)
+    return AFNIX_PROCTYPE_AARCH64;
   // ppc
   if (strcmp (proc, AFNIX_PROCNAME_PPC) == 0) 
     return AFNIX_PROCTYPE_PPC;
@@ -183,6 +188,7 @@
   if (id ==  AFNIX_PROCTYPE_SPARC)    return AFNIX_PROCNAME_SPARC;
   if (id ==  AFNIX_PROCTYPE_ALPHA)    return AFNIX_PROCNAME_ALPHA;
   if (id ==  AFNIX_PROCTYPE_ARM)      return AFNIX_PROCNAME_ARM;
+  if (id ==  AFNIX_PROCTYPE_AARCH64)  return AFNIX_PROCNAME_AARCH64;
   if (id ==  AFNIX_PROCTYPE_PPC)      return AFNIX_PROCNAME_PPC;
   if (id ==  AFNIX_PROCTYPE_PPC64EL)  return AFNIX_PROCNAME_PPC64EL;
   if (id ==  AFNIX_PROCTYPE_M68K)     return AFNIX_PROCNAME_M68K;
@@ -331,6 +337,8 @@
 	   AFNIX_PROCTYPE_ALPHA);
   fprintf (stdout, "#define  AFNIX_PROCTYPE_ARM       %d\n",
 	   AFNIX_PROCTYPE_ARM);
+  fprintf (stdout, "#define  AFNIX_PROCTYPE_AARCH64   %d\n",
+           AFNIX_PROCTYPE_AARCH64);
   fprintf (stdout, "#define  AFNIX_PROCTYPE_PPC       %d\n",
 	   AFNIX_PROCTYPE_PPC);
   fprintf (stdout, "#define  AFNIX_PROCTYPE_PPC64EL   %d\n",
@@ -369,6 +377,8 @@
 	   AFNIX_PROCNAME_ALPHA);
   fprintf (stdout, "#define  AFNIX_PROCNAME_ARM       \"%s\"\n",
 	   AFNIX_PROCNAME_ARM);
+  fprintf (stdout, "#define  AFNIX_PROCNAME_AARCH64   \"%s\"\n",
+           AFNIX_PROCNAME_AARCH64);
   fprintf (stdout, "#define  AFNIX_PROCNAME_PPC       \"%s\"\n",
 	   AFNIX_PROCNAME_PPC);
   fprintf (stdout, "#define  AFNIX_PROCNAME_PPC64EL   \"%s\"\n",

--- End Message ---
--- Begin Message ---
Source: afnix
Source-Version: 2.6.2-3

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.

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.
Nobuhiro Iwamatsu <[email protected]> (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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 22 Aug 2016 23:36:21 +0900
Source: afnix
Binary: afnix afnix-doc
Architecture: source amd64 all
Version: 2.6.2-3
Distribution: unstable
Urgency: medium
Maintainer: Nobuhiro Iwamatsu <[email protected]>
Changed-By: Nobuhiro Iwamatsu <[email protected]>
Description:
 afnix      - Compiler and run-time for the AFNIX programming language
 afnix-doc  - Compiler and run-time for the AFNIX programming language (documen
Closes: 814040
Changes:
 afnix (2.6.2-3) unstable; urgency=medium
 .
   * Fix build on arm64. (Closes: #814040)
     Add patches/support_arm64.patch.
     Thanks to Edmund Grimley Evans <[email protected]>.
Checksums-Sha1:
 cb7898eb5a469965b7e417e18b275fe0f3525b55 1887 afnix_2.6.2-3.dsc
 7bdf4e9b4eb9bc691eddc173a7839e9644a1b128 11865 afnix_2.6.2-3.debian.tar.bz2
 971e1225ee68f461ef44d42ae53554a01cc68fe4 4345120 afnix-dbgsym_2.6.2-3_amd64.deb
 7a92ea08f1683d5f5c10483ee60282145d5f77af 225752 afnix-doc_2.6.2-3_all.deb
 f2855f1404c2883c9e0307fbd075d2602b9b17b5 2366794 afnix_2.6.2-3_amd64.deb
Checksums-Sha256:
 fc57753938c2d3a53f57fbb4026820a061a09e09da71db804d709595c0d7f2ee 1887 
afnix_2.6.2-3.dsc
 cde4a9eb6c9498d3ceae65ea404f6b9bf1cc03b7f7f4adfd16341a1c17d709dc 11865 
afnix_2.6.2-3.debian.tar.bz2
 1f12510bbb0344aed63c04283ac688e5cce53073c63c5c6946a619319f2912b2 4345120 
afnix-dbgsym_2.6.2-3_amd64.deb
 8d17439cd8bce51ea593491e2abc9375ffc6d135a71cfc1d2e7ed2b6e1287770 225752 
afnix-doc_2.6.2-3_all.deb
 de9d73c5db1472dc46e83646702975a337918354ce01f4c7c3d70ea2924c57df 2366794 
afnix_2.6.2-3_amd64.deb
Files:
 5449a72e6f4e4fdb6f7569bd64b70631 1887 interpreters optional afnix_2.6.2-3.dsc
 334446b280445ae2d34c369a9e91d13d 11865 interpreters optional 
afnix_2.6.2-3.debian.tar.bz2
 6fdfb57881e22f4f4e0e9df2c0c92446 4345120 debug extra 
afnix-dbgsym_2.6.2-3_amd64.deb
 3f5dbec978fbcc6f7282e2b047485427 225752 doc optional afnix-doc_2.6.2-3_all.deb
 e0e4e4eedffea688b4112d35bf0c29a9 2366794 interpreters optional 
afnix_2.6.2-3_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJXuz0cAAoJEDIkf7tArR+meZwQAIiAOWqP+C/ewNyuXtxigzXq
0Cfe8TAPO5UPoFxlOS+dkGoWX68k1Czs3OLWTru6RNbdtqrRhBSHxhDDwK2mSCbN
CPj9l5S6OJgqF3CCTkOiRkjhjcs3undXaGLV0JH34OW20jT97pbSsbN+zLEJHOAm
UQFC7nXZBfZuZy0KBGYBUCPNh7IvFfSMJKejCsboa7HfkDowr+eM0RoFus9zcExT
Lh5vUADl9GqM474rFBAS1LKmvHHPZ6SfJktRC7U9ECIYhsrQaivezfJztLyKvazs
k4sENRup5tXQs6cx09G8DkKtDZRsx1JotgwQCP/hhU/BWPaBkWzOUve7jmg/Q2/W
hfRxa+mxdTp/BUtSs2iO9UVBk3Vw9mmYuHQD+fUcrIggeQtH7Z6sjCWkXHPGN+We
pFVZvc0GG46MaNqX4ekD8ZpXa+Foo2EhX1vmirAMTAf2DQQHfepCIK7au4EEuqpZ
0pY0NJDqDOcSrXhUGYrECwMRW3cJNRGY5k2I7RZsXE69MHUbDSaQ0uYkxOG4chh3
YD/y6bbKdXST0+biskHuK1Em384Qlyb19/kn91e1ED+ll1EoI24BczieJ4IZulUj
IH0ZpUase5IFW1Vr7uEJLxkLb1qZ2slYoVLe4rgHzZtTOVuaA3sKOZKx4uOQJt/L
L0MaLpGuXkqc+3f+7nY/
=MRZk
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to