Your message dated Thu, 31 Oct 2024 18:07:11 +0000
with message-id <[email protected]>
and subject line Bug#1053785: fixed in codeblocks 20.03+svn13046-0.4
has caused the Debian Bug report #1053785,
regarding codeblocks: FTBFS: add support for loongarch64
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.)
--
1053785: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053785
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: codeblocks
Version: 20.03+svn13046-0.1
Severity: wishlist
Tags: patch ftbfs
User: [email protected]
Usertags: loongarch64
Dear maintainers,
When compiling the package codeblocks for loong64 in the Debian Package
Auto-Building environment [1], The error message is as follows:
......Omit
../../src/sdk/mozilla_chardet/include/nsprpub/pr/include/prcpucfg_linux.h:965:2:
error: #error "Unknown CPU architecture"
965 | #error "Unknown CPU architecture"
| ^~~~~
../../src/sdk/mozilla_chardet/include/nsprpub/pr/include/prtypes.h:263:2:
error: #error No suitable type for PRInt8/PRUint8
263 | #error No suitable type for PRInt8/PRUint8
| ^~~~~
../../src/sdk/mozilla_chardet/include/nsprpub/pr/include/prtypes.h:288:2:
error: #error No suitable type for PRInt16/PRUint16
288 | #error No suitable type for PRInt16/PRUint16
| ^~~~~
../../src/sdk/mozilla_chardet/include/nsprpub/pr/include/prtypes.h:320:2:
error: #error No suitable type for PRInt32/PRUint32
320 | #error No suitable type for PRInt32/PRUint32
......Omit
The full compilation log can be found at [2].
I have added support for loongarch64. Please consider the patch I have
attached.
BTW, the patch I provided in the attachment doesn't affect other
architectures and compiles fine on the loongarch architecture.
If you have any questions, you can contact me at any time.
[1]:https://buildd.debian.org/status/package.php?p=codeblocks&suite=sid
[2]:https://buildd.debian.org/status/logs.php?pkg=codeblocks&ver=20.03%2Bsvn13046-0.1&arch=loong64
thanks,
Dandan Zhang
Description: Add support for loongarch64
codeblocks (20.03+svn13046-0.1+loong64) unreleased; urgency=medium
.
* Add support for loongarch64.
Author: Dandan Zhang <[email protected]>
Last-Update: 2023-10-11
--- codeblocks-20.03+svn13046.orig/src/sdk/mozilla_chardet/include/nsprpub/pr/include/prcpucfg_linux.h
+++ codeblocks-20.03+svn13046/src/sdk/mozilla_chardet/include/nsprpub/pr/include/prcpucfg_linux.h
@@ -486,6 +486,52 @@
#define PR_BYTES_PER_WORD_LOG2 2
#define PR_BYTES_PER_DWORD_LOG2 3
+#elif defined(__loongarch__) && __loongarch_grlen == 64
+
+#define IS_LITTLE_ENDIAN 1
+#undef IS_BIG_ENDIAN
+#define IS_64
+
+#define PR_BYTES_PER_BYTE 1
+#define PR_BYTES_PER_SHORT 2
+#define PR_BYTES_PER_INT 4
+#define PR_BYTES_PER_INT64 8
+#define PR_BYTES_PER_LONG 8
+#define PR_BYTES_PER_FLOAT 4
+#define PR_BYTES_PER_DOUBLE 8
+#define PR_BYTES_PER_WORD 4
+#define PR_BYTES_PER_DWORD 8
+
+#define PR_BITS_PER_BYTE 8
+#define PR_BITS_PER_SHORT 16
+#define PR_BITS_PER_INT 32
+#define PR_BITS_PER_INT64 64
+#define PR_BITS_PER_LONG 64
+#define PR_BITS_PER_FLOAT 32
+#define PR_BITS_PER_DOUBLE 64
+#define PR_BITS_PER_WORD 32
+
+#define PR_BITS_PER_BYTE_LOG2 3
+#define PR_BITS_PER_SHORT_LOG2 4
+#define PR_BITS_PER_INT_LOG2 5
+#define PR_BITS_PER_INT64_LOG2 6
+#define PR_BITS_PER_LONG_LOG2 6
+#define PR_BITS_PER_FLOAT_LOG2 5
+#define PR_BITS_PER_DOUBLE_LOG2 6
+#define PR_BITS_PER_WORD_LOG2 5
+
+#define PR_ALIGN_OF_SHORT 2
+#define PR_ALIGN_OF_INT 4
+#define PR_ALIGN_OF_LONG 8
+#define PR_ALIGN_OF_INT64 8
+#define PR_ALIGN_OF_FLOAT 4
+#define PR_ALIGN_OF_DOUBLE 8
+#define PR_ALIGN_OF_POINTER 8
+#define PR_ALIGN_OF_WORD 4
+
+#define PR_BYTES_PER_WORD_LOG2 2
+#define PR_BYTES_PER_DWORD_LOG2 3
+
#elif defined(__mips__)
#ifdef __MIPSEB__
--- End Message ---
--- Begin Message ---
Source: codeblocks
Source-Version: 20.03+svn13046-0.4
Done: Gianfranco Costamagna <[email protected]>
We believe that the bug you reported is fixed in the latest version of
codeblocks, 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.
Gianfranco Costamagna <[email protected]> (supplier of updated
codeblocks 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: Sat, 26 Oct 2024 18:21:31 +0200
Source: codeblocks
Built-For-Profiles: noudeb
Architecture: source
Version: 20.03+svn13046-0.4
Distribution: unstable
Urgency: medium
Maintainer: David Paleino <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Closes: 1053785
Changes:
codeblocks (20.03+svn13046-0.4) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ zhangdandan <[email protected]> ]
* add support for loongarch64 (Closes: #1053785)
Checksums-Sha1:
fd15aae0339b5c80709cd1d354e7968b44f7c67a 2551 codeblocks_20.03+svn13046-0.4.dsc
6bbefd4bd310619f7000a31618bd6d27ce3eb0f6 27044
codeblocks_20.03+svn13046-0.4.debian.tar.xz
f66318157bc4a7111ea63ec7a4db90b4c21130c1 7788
codeblocks_20.03+svn13046-0.4_source.buildinfo
Checksums-Sha256:
47280b7b9509634fb70e12189d557b33ac5ef69d9cb7a8a67602562c77383ff6 2551
codeblocks_20.03+svn13046-0.4.dsc
803b7af80cc057f8e482278c172c1927f999f216de087097e6096620c68dede9 27044
codeblocks_20.03+svn13046-0.4.debian.tar.xz
44e0106dd1484f9e82e8c5fecbb25f7f28b3d5420ece52871049c1fc3edd3b5f 7788
codeblocks_20.03+svn13046-0.4_source.buildinfo
Files:
152862fb177857a9328c7187d7c21777 2551 x11 optional
codeblocks_20.03+svn13046-0.4.dsc
8214280904ba0c71d41dfbeaabdceba0 27044 x11 optional
codeblocks_20.03+svn13046-0.4.debian.tar.xz
f296ceb367ac834a9be9d79dfd39e1f7 7788 x11 optional
codeblocks_20.03+svn13046-0.4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmcdFzQACgkQ808JdE6f
XdnNEw//TgQid4bJE5yaNqHfnhiUWk3+sLE36zs1NJsQO+WuR18wW+VDQ81MCsOZ
dnC7Jphpm9+C40wCAJFwJi92wQB39DXLvqAr29OAneom1c8kjKPR8tj1TXI56Etj
+Vp3cZJKa+HJQvBH8bQ3NLKTqyXPQJ8M7F1/rTWopfuEGmDupcQ+7HRlNgdRmq52
gW995mX7NFvd6twYYB92HPem7U0y9+4trK6rPab/gCjuD6Pb2fnwjveYkkLMTS+p
BmJx0+PRxpX9wMFHLEa1K1uSzRH6mQG1CeuiZGnm1Pz6hxxZxKmI1jqxIBRpOG+r
eDbXWC8GrYBw/kkoaVKdUwDIQwIVopmBbtHPmNllr4HrYUUrtj4mqkkwC8LODBhh
XtsREu28mDO+hSxFHLL6vzAICmG5IGX6+fUYxKilb2gWWJQ6s1Q1iC0OyfRcLgep
ApQUbCTLedopDLGls3jLzqhCUi1PBAFroUpq2UzlgQ9JIufOIPeGcj6w0KHtj+aI
o4g8yovHeSk9brvGuLGNpDUj7mMAkN5sa8xHM2ogL/hLRaiX5KjMayAl78xdjC7F
2pT0T28cCmuzs6FDjsOPYp3/aSjopvf4osY7KQh9G6jeA2qjzVT4O6dACwzFSp9w
nZXmAzWkwqST3ol68N+NV3i+4XgYGqkumZgKxc8XaA/WwRVEsac=
=UUJx
-----END PGP SIGNATURE-----
pgpqHQuWuWMhy.pgp
Description: PGP signature
--- End Message ---