Your message dated Wed, 20 Jun 2018 13:35:22 +0000
with message-id <[email protected]>
and subject line Bug#895257: fixed in firebird3.0 3.0.3.32900.ds4-4
has caused the Debian Bug report #895257,
regarding firebird3.0: Please add support for new architecture "riscv64" 
(RISC-V 64 bits little-endian)
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.)


-- 
895257: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895257
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: firebird3.0
Version: 3.0.3.32900.ds4-2
Severity: normal
Tags: patch upstream fixed-upstream
User: [email protected]
Usertags: riscv64

Hello,

We need support in this package for the riscv64 architecture.

There is a patch from upstream:

  
https://github.com/FirebirdSQL/firebird/commit/1e8e7858db84750a77006d307bf28e9686f9414e

It needs some modifications (file attached) to be applied in the current version
of this package in unstable:

  + removed hunk fixing typo in "encyption", fixed separately (in another
    patch of the series applied to the package in Debian)
  + removed extra tab in the second line after "backEndianess" (there are
    only two tabs before the last character, a '1' in the line; in the
    patch from upstream there are 3, so lines don't match)
  + fixed whitespace in the hunk for configure.ac
  + refresh

The build didn't finish yet, we will confirm later when it works, or will send
further fixes.

It would be great if, upon confirmation that it works, you could include it as a
patch and release a new version for unstable as soon as possible, since there
are very important packages depending on this package (php7, graphviz on php7,
and many packages needing graphviz for their documentation).

If you need any assistance, please let me/us know.


Thanks and cheers.
--
Manuel A. Fernandez Montecelo <[email protected]>
>From 1e8e7858db84750a77006d307bf28e9686f9414e Mon Sep 17 00:00:00 2001
From: AlexPeshkoff <[email protected]>
Date: Wed, 21 Mar 2018 15:19:20 +0300
Subject: [PATCH] Patch for CORE-5779: support for riscv64, also some code
 fixes related with prior ports

---
 configure.ac                            | 12 ++++++++++++
 src/common/classes/DbImplementation.cpp | 29 ++++++++++++++++-------------
 src/common/common.h                     |  4 ++++
 src/include/gen/msgs.h                  |  2 +-
 src/jrd/inf_pub.h                       |  2 +-
 5 files changed, 34 insertions(+), 15 deletions(-)

--- a/configure.ac
+++ b/configure.ac
@@ -251,6 +251,18 @@
     libdir=/usr/lib64
     ;;
 
+  riscv64*-*-linux*)
+    MAKEFILE_PREFIX=linux_riscv64
+    INSTALL_PREFIX=linux
+    PLATFORM=LINUX
+    AC_DEFINE(LINUX, 1, [Define this if OS is Linux])
+    EDITLINE_FLG=Y
+    SHRLIB_EXT=so
+    STD_EDITLINE=true
+    STD_ICU=true
+    libdir=/usr/lib64
+    ;;
+
   powerpc64le-*-linux*)                           
     MAKEFILE_PREFIX=linux_powerpc64el
     INSTALL_PREFIX=linux
--- a/src/common/classes/DbImplementation.cpp
+++ b/src/common/classes/DbImplementation.cpp
@@ -49,6 +49,7 @@
 static const UCHAR CpuArm64 = 15;
 static const UCHAR CpuPowerPc64el = 16;
 static const UCHAR CpuM68k = 17;
+static const UCHAR CpuRiscV64 = 18;
 
 static const UCHAR OsWindows = 0;
 static const UCHAR OsLinux = 1;
@@ -89,7 +90,8 @@
        "Alpha",
        "ARM64",
        "PowerPC64el",
-       "M68k"
+       "M68k",
+       "RiscV64"
 };
 
 const char* operatingSystem[] = {
@@ -116,22 +118,23 @@
 // This table lists pre-fb3 implementation codes
 const UCHAR backwardTable[FB_NELEM(hardware) * FB_NELEM(operatingSystem)] =
 {
-//                             Intel   AMD             Sparc   PPC             
PPC64   MIPSEL  MIPS    ARM             IA64    s390    s390x   SH              
SHEB    HPPA    Alpha   ARM64   PowerPC64el
-/* Windows */  50,             68,             0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,
-/* Linux */            60,             66,             65,             69,     
        86,             71,             72,             75,     76,             
79,     78,             80,             81,             82,             83,     
        84,             85,
-/* Darwin */   70,             73,             0,              63,             
77,             0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,
-/* Solaris */  0,              0,              30,             0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,
-/* HPUX */             0,              0,              0,              0,      
        0,              0,              0,              0,              0,      
        0,              0,              0,              0,              31,     
        0,              0,              0,
-/* AIX */                      0,              0,              0,              
35,             0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,
-/* MVS */                      0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,
-/* FreeBSD */  61,             67,             0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,
-/* NetBSD */   62,             0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0
+//                             Intel   AMD             Sparc   PPC             
PPC64   MIPSEL  MIPS    ARM             IA64    s390    s390x   SH              
SHEB    HPPA    Alpha   ARM64   PPC64el M68k    RiscV64
+/* Windows */  50,             68,             0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,
+/* Linux */            60,             66,             65,             69,     
        86,             71,             72,             75,     76,             
79,     78,             80,             81,             82,             83,     
        84,             85,             87,             88,
+/* Darwin */   70,             73,             0,              63,             
77,             0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,
+/* Solaris */  0,              0,              30,             0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,
+/* HPUX */             0,              0,              0,              0,      
        0,              0,              0,              0,              0,      
        0,              0,              0,              0,              31,     
        0,              0,              0,              0,              0,
+/* AIX */              0,              0,              0,              35,     
        0,              0,              0,              0,              0,      
        0,              0,              0,              0,              0,      
        0,              0,              0,              0,              0,
+/* MVS */              0,              0,              0,              0,      
        0,              0,              0,              0,              0,      
        0,              0,              0,              0,              0,      
        0,              0,              0,              0,              0,
+/* FreeBSD */  61,             67,             0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,
+/* NetBSD */   62,             0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0,              
0,              0,              0,              0,              0
 };
 
+
 const UCHAR backEndianess[FB_NELEM(hardware)] =
 {
-//     Intel   AMD             Sparc   PPC             PPC64   MIPSEL  MIPS    
ARM             IA64    s390    s390x   SH              SHEB    HPPA    Alpha   
ARM64   PowerPC64el     M68k
-       0,              0,              1,              1,              1,      
        0,              1,              0,              0,              1,      
        1,              0,              1,              1,              0,      
        0,              0,              1
+//     Intel   AMD             Sparc   PPC             PPC64   MIPSEL  MIPS    
ARM             IA64    s390    s390x   SH              SHEB    HPPA    Alpha   
ARM64   PPC64el M68k    RiscV64
+       0,              0,              1,              1,              1,      
        0,              1,              0,              0,              1,      
        1,              0,              1,              1,              0,      
        0,              0,              1,              0,
 };
 
 } // anonymous namespace
--- a/src/common/common.h
+++ b/src/common/common.h
@@ -135,6 +135,10 @@
 #define FB_CPU CpuArm64
 #endif /* ARM64 */
 
+#ifdef RISCV64
+#define FB_CPU CpuRiscV64
+#endif /* RISCV64 */
+
 #ifdef sparc
 #define FB_CPU CpuUltraSparc
 #define RISC_ALIGNMENT
--- a/src/jrd/inf_pub.h
+++ b/src/jrd/inf_pub.h
@@ -245,7 +245,7 @@
        isc_info_db_impl_linux_ppc64el = 85,
        isc_info_db_impl_linux_ppc64 = 86,
        isc_info_db_impl_linux_m68k = 87,
-
+       isc_info_db_impl_linux_riscv64 = 88,
 
        isc_info_db_impl_last_value   // Leave this LAST!
 };

--- End Message ---
--- Begin Message ---
Source: firebird3.0
Source-Version: 3.0.3.32900.ds4-4

We believe that the bug you reported is fixed in the latest version of
firebird3.0, 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.
Damyan Ivanov <[email protected]> (supplier of updated firebird3.0 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: Wed, 20 Jun 2018 13:06:25 +0000
Source: firebird3.0
Binary: firebird3.0-server-core firebird3.0-server firebird3.0-utils 
libfbclient2 libib-util firebird3.0-common firebird-dev firebird3.0-examples 
firebird3.0-doc firebird3.0-common-doc
Architecture: source
Version: 3.0.3.32900.ds4-4
Distribution: unstable
Urgency: medium
Maintainer: Damyan Ivanov <[email protected]>
Changed-By: Damyan Ivanov <[email protected]>
Closes: 895257
Description: 
 firebird3.0-common - common files for firebird 3.0 server, client and utilities
 firebird3.0-common-doc - copyright, licensing and changelogs of firebird3.0
 firebird3.0-doc - Documentation files for firebird database version 3.0
 firebird3.0-examples - Examples for Firebird database
 firebird3.0-server-core - Firebird engine core
 firebird3.0-server - Firebird Server - an RDBMS based on InterBase 6.0 code
 firebird3.0-utils - Firebird command line utilities
 firebird-dev - Development files for Firebird
 libfbclient2 - Firebird client library
 libib-util - Firebird UDF support library
Changes:
 firebird3.0 (3.0.3.32900.ds4-4) unstable; urgency=medium
 .
   * add patch from upstream master branch adding support for building on
     Linux/RiscV64
   * add missing builds/posix/prefix.linux_riscV64 completing RiscV64 support.
     Thanks to Manuel A. Fernandez Montecelo (Closes: #895257)
   * refresh line offsets of two patches
Checksums-Sha1: 
 cb85eae157a49399184fef0c776f60a36d6a7d2e 2704 firebird3.0_3.0.3.32900.ds4-4.dsc
 db900f35e5ba374f618ef6efcc0d9b47d1291ccb 98708 
firebird3.0_3.0.3.32900.ds4-4.debian.tar.xz
Checksums-Sha256: 
 9bb69c8e78beefaa475ee1b816a77ad9cc63be58995278814228042da9a46294 2704 
firebird3.0_3.0.3.32900.ds4-4.dsc
 b20313e2ca12191e6fa59315d80ee1cf405dc83c5c09f4a1db9d5fe8887827a3 98708 
firebird3.0_3.0.3.32900.ds4-4.debian.tar.xz
Files: 
 fe0c2462b4d1c1616bd888ac23c64f7a 2704 database optional 
firebird3.0_3.0.3.32900.ds4-4.dsc
 eeb8a0d3533cf5c204a70da5b0f974dd 98708 database optional 
firebird3.0_3.0.3.32900.ds4-4.debian.tar.xz

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

iQIzBAEBCAAdFiEErqDETssFbpNjDZ0z276dTZnSoAQFAlsqVbgACgkQ276dTZnS
oAQijw/+P5okXbaSKXj0bDTYMdoEy6JS2n0tGNSy2HZB8o7HTrvS4VlpC+eQRjOr
BLotRAWZdhgPwuMKV7o9a5fatPqZ1Wn06T6KaGOhdOJaU96wwTv2fEM2H8nYsu6x
/IKWI2P3xhfj7h2LUfEikuaApiRXNk8g02cgEkwSFPrHG0xEumqo7Dc3u7PtVWWt
XvPKm4L1avgCe3hXZBR0VFi1Bywq0Pmhzy5ObbrmSTte5iy5zER582Qg+rR2NQPx
xf7PFdu/9OrVPLAB1YaKN9S2Jzfnp7GPqNUjjdZuXwcAlJa/8tKrDK6UK9P68sv5
qcWbjayiox7sWn5XQgtfupfVcmzS4PGvNWO92SameI/0HOBwKgnj6vCTlXyrm0o9
2ZzSmj6JQuoeuXJ8T48U8RhWbBQk+YQNC/w20GNpAvC//7HKOHPz4YhyrmR33juK
oIM1oLBqDcy0NXUuWCnsQcP5FIf1Ykpy82ZsL1qU7TPeI4w0nQavKJMQBCdyEktU
Fvuo7caR7HxDhaNFIUljnhEw37ymTiDgKN3aSqXtoDZhQBTXd9xKB0ccjhFCUp9O
qlgI8gVg+IQb95DEBG3BTV0XMv7X2LnCgUC2OVQhYcevKKNeISnji0fZ8J+TYODn
tjXHPrEVl0aO5fn1mn93oK55nVlZFMeCYAcpgbsE1xy1nNzv9oI=
=DjoC
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to