Your message dated Sun, 14 Sep 2025 17:04:58 +0000
with message-id <[email protected]>
and subject line Bug#1104294: fixed in justbuild 1.6.3-1
has caused the Debian Bug report #1104294,
regarding justbuild: FTBFS: Add loongarch64 support
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.)


-- 
1104294: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104294
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: justbuild
Version: 1.5.1-1
Severity: normal
Tags: FTBFS patch
User: [email protected]
Usertags: loong64

Dear maintainers,

Compiling the justbuild failed for loong64 in the Debian Package Auto-Building environment.
The error log is as follows,
```
In file included from work/src/buildtool/file_system/atomic.cpp:15:
work/src/buildtool/file_system/atomic.hpp:18:10: fatal error: 'string' file not found
   18 | #include <string>
      |          ^~~~~~~~
1 error generated.
......
subprocess.CalledProcessError: Command '['clang++', '-target', 'x86_64-linux-gnu', '-O2', '-DNDEBUG', '-Wall', '-Wextra', '-Wpedantic', '-Wsign-conversion', ......
```
The full build log can be found at https://buildd.debian.org/status/fetch.php?pkg=justbuild&arch=loong64&ver=1.5.1-1&stamp=1745330600&raw=0.

Please consider the patch I attached.
Based on the attached patch, justbuild was built successfully on locally.
Please note that the dependency libprotobuf-dev of justbuild lacks loongarch64 support(I have submitted bug and patch to protobuf source package, too).
```
......
   dh_builddeb
dpkg-deb: building package 'justbuild' in '../justbuild_1.5.1-1+loong64_loong64.deb'. dpkg-deb: building package 'justbuild-dbgsym' in '../justbuild-dbgsym_1.5.1-1+loong64_loong64.deb'.  dpkg-genbuildinfo --build=binary -O../justbuild_1.5.1-1+loong64_loong64.buildinfo  dpkg-genchanges --build=binary -O../justbuild_1.5.1-1+loong64_loong64.changes
```

Please add loongarch64 support in the next upload.
Your opinions are welcome.

Best regards,
Dandan Zhang

diff -Nru justbuild-1.5.1/debian/changelog justbuild-1.5.1/debian/changelog
--- justbuild-1.5.1/debian/changelog    2025-04-01 10:48:58.000000000 +0000
+++ justbuild-1.5.1/debian/changelog    2025-04-28 06:53:17.000000000 +0000
@@ -1,3 +1,9 @@
+justbuild (1.5.1-1+loong64) unstable; urgency=medium
+
+  * Add support for loongarch64 target
+
+ -- Dandan Zhang <[email protected]>  Mon, 28 Apr 2025 14:53:17 +0800
+
 justbuild (1.5.1-1) unstable; urgency=medium
 
   * New upstream version 1.5.1
diff -Nru justbuild-1.5.1/debian/justbuild.makefile 
justbuild-1.5.1/debian/justbuild.makefile
--- justbuild-1.5.1/debian/justbuild.makefile   2025-04-01 10:48:58.000000000 
+0000
+++ justbuild-1.5.1/debian/justbuild.makefile   2025-04-28 06:53:17.000000000 
+0000
@@ -5,6 +5,8 @@
 
 ifeq ($(shell uname -m),aarch64)
   ARCH ?= arm64
+else ifeq ($(shell uname -m),loongarch64)
+  ARCH ?= loongarch64
 else
   ARCH ?= x86_64
 endif
diff -Nru 
justbuild-1.5.1/debian/patches/justbuild-add-support-for-loongarch64-target.patch
 
justbuild-1.5.1/debian/patches/justbuild-add-support-for-loongarch64-target.patch
--- 
justbuild-1.5.1/debian/patches/justbuild-add-support-for-loongarch64-target.patch
   1970-01-01 00:00:00.000000000 +0000
+++ 
justbuild-1.5.1/debian/patches/justbuild-add-support-for-loongarch64-target.patch
   2025-04-28 06:53:17.000000000 +0000
@@ -0,0 +1,60 @@
+Description: Add support for loongarch64 target 
+ .
+ justbuild (1.5.1-1+loong64) unstable; urgency=medium
+ .
+   * Add support for loongarch64 target
+Author: Dandan Zhang <[email protected]>
+
+---
+Last-Update: 2025-04-28
+
+--- justbuild-1.5.1.orig/etc/toolchain/CC/TARGETS
++++ justbuild-1.5.1/etc/toolchain/CC/TARGETS
+@@ -83,6 +83,7 @@
+         , "linux_x86_64": ["x86_64-linux-gnu-gcc"]
+         , "linux_arm": ["arm-linux-gnueabi-gcc"]
+         , "linux_arm64": ["aarch64-linux-gnu-gcc"]
++        , "linux_loongarch64": ["loongarch64-linux-gnu-gcc"]
+         }
+       , "default":
+         { "type": "fail"
+@@ -115,6 +116,7 @@
+         , "linux_x86_64": ["x86_64-linux-gnu-g++"]
+         , "linux_arm": ["arm-linux-gnueabi-g++"]
+         , "linux_arm64": ["aarch64-linux-gnu-g++"]
++        , "linux_loongarch64": ["loongarch64-linux-gnu-g++"]
+         }
+       , "default":
+         { "type": "fail"
+@@ -156,6 +158,7 @@
+         , "linux_x86_64": ["x86_64-linux-gnu-ar"]
+         , "linux_arm": ["arm-linux-gnueabi-ar"]
+         , "linux_arm64": ["aarch64-linux-gnu-ar"]
++        , "linux_loongarch64": ["loongarch64-linux-gnu-ar"]
+         }
+       , "default":
+         { "type": "fail"
+@@ -195,6 +198,7 @@
+         , "linux_x86_64": ["x86_64-linux-gnu-ar"]
+         , "linux_arm": ["arm-linux-gnueabi-ar"]
+         , "linux_arm64": ["aarch64-linux-gnu-ar"]
++        , "linux_loongarch64": ["loongarch64-linux-gnu-ar"]
+         }
+       , "default":
+         { "type": "fail"
+@@ -227,6 +231,7 @@
+         , "linux_x86_64": ["-target", "x86_64-linux-gnu"]
+         , "linux_arm": ["-target", "arm-linux-gnueabi"]
+         , "linux_arm64": ["-target", "aarch64-linux-gnu"]
++        , "linux_loongarch64": ["-target", "loongarch64-linux-gnu"]
+         }
+       , "default":
+         { "type": "fail"
+@@ -261,6 +266,7 @@
+         , "linux_x86_64": ["-target", "x86_64-linux-gnu"]
+         , "linux_arm": ["-target", "arm-linux-gnueabi"]
+         , "linux_arm64": ["-target", "aarch64-linux-gnu"]
++        , "linux_loongarch64": ["-target", "loongarch64-linux-gnu"]
+         }
+       , "default":
+         { "type": "fail"
diff -Nru justbuild-1.5.1/debian/patches/series 
justbuild-1.5.1/debian/patches/series
--- justbuild-1.5.1/debian/patches/series       2025-04-01 10:48:58.000000000 
+0000
+++ justbuild-1.5.1/debian/patches/series       2025-04-28 06:53:17.000000000 
+0000
@@ -1 +1,2 @@
 rename_just_to_justbuild.diff
+justbuild-add-support-for-loongarch64-target.patch

--- End Message ---
--- Begin Message ---
Source: justbuild
Source-Version: 1.6.3-1
Done: Oliver Reiche <[email protected]>

We believe that the bug you reported is fixed in the latest version of
justbuild, 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.
Oliver Reiche <[email protected]> (supplier of updated justbuild 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: SHA512

Format: 1.8
Date: Mon, 11 Aug 2025 12:27:05 +0000
Source: justbuild
Architecture: source
Version: 1.6.3-1
Distribution: unstable
Urgency: medium
Maintainer: Oliver Reiche <[email protected]>
Changed-By: Oliver Reiche <[email protected]>
Closes: 1104294 1111325
Changes:
 justbuild (1.6.3-1) unstable; urgency=medium
 .
   * New upstream version 1.6.3
   * Fix unsafe use of uname (Closes: #1111325)
   * Add support for common Debian architectures
   * Close loongarch64 target bug (Closes: #1104294)
Checksums-Sha1:
 be4c55cf33d6fabc71afb6c8785dda5c0e3beed2 2104 justbuild_1.6.3-1.dsc
 d080ae4e9712753d44525932ef60be3edb9a8451 879068 justbuild_1.6.3.orig.tar.xz
 dd51f9c50b371fbe07269ced0d99b7409bfea404 9267120 
justbuild_1.6.3-1.debian.tar.xz
 a214ceae672868b234e3f5feb7572e11db0d0a49 10097 
justbuild_1.6.3-1_amd64.buildinfo
Checksums-Sha256:
 14958ea8a46486c2c4ecfec8ef84617441046bed8a0cdc1c06f505653f12db83 2104 
justbuild_1.6.3-1.dsc
 a7aeb2d4e4d8002e8e47ce54d9502e6fb1c6c806c11478165ea55bda2557bf3b 879068 
justbuild_1.6.3.orig.tar.xz
 3b8ed27aff16e041b563de66ab23d0c7c71265f9b65cc67b85a8a15df539fa56 9267120 
justbuild_1.6.3-1.debian.tar.xz
 0d197957c5a803f600f5e23622aad56860534f5e50219e50e1958d50ac474bbf 10097 
justbuild_1.6.3-1_amd64.buildinfo
Files:
 216e01e7ed60aec144b40e07ed086d2c 2104 devel optional justbuild_1.6.3-1.dsc
 0068a6a8ba967b867b4a2cbb32111d56 879068 devel optional 
justbuild_1.6.3.orig.tar.xz
 b0442cca963be3f8e3a46508e511e549 9267120 devel optional 
justbuild_1.6.3-1.debian.tar.xz
 5dd8b7c695eb86f1c8687eb7601fa160 10097 devel optional 
justbuild_1.6.3-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEIcmhjYVTlmab0tjp+RVP3hQ+S68FAmjG8NoACgkQ+RVP3hQ+
S6+WrQ/+NGFc6YxfvSGVmN8bbsjf0G79plOI9jvruzg7x1HUHQjrpy8cL1FsB3+I
KQymFXntrej3CDfdYJghbzV+QJC8p6yb+YasAfNfnyIzfbXOrnhbDgwtVRTjrS5F
jXsgTYwUerqbjXmReIZND6UvQUdbVQkmFHxCPb6/RaoFBdojxlBJRgXlYng91j+a
6ztFTAdgsXOgHA8M08chCdvdh13cbGVlqIxoGMnD+Y/gvjSXxHi4MjxUBGSgerg6
iamgyf/+W5kJWWm+XhbXPK5dYlPgt3hZuibqzrvgD16QpsQX3mRC0YVjlTvxXxfe
ormPe3ctiOzFe8khxmHKzqz6T0RRB+igmJekzOY+w5oGFTGthpx4mg77PhyBT8f2
lc8+2QpQSNaVaxj9/uKxaeHi2wf7lUtrp+6IsXqi+WTzM4EcBxiPN7RUxwLVc/yw
PklHlJXme/Ys++6ThbmPQ93+yKYxfzOygz274VqrBqiG4wZBtuAsb2kmaE2tX0Zf
44CsXu20DFPVOwOYHtZBWw5lKbmC0l0cOL1x7MwOkNPLGKu0yy8OA5nAi52xM6kj
t/m9+SAeSL66brbNbae9DoydXc/J95F1a6IamyqIdVWcGEbl/Yr+X2L/0k3aocZR
fpR6sOmYhijDt11ql8DZseKJSo7CIBy6BeOA0c3stjjsY8BEhxw=
=+k2g
-----END PGP SIGNATURE-----

Attachment: pgpRwjeQiIVxN.pgp
Description: PGP signature


--- End Message ---

Reply via email to