Your message dated Tue, 16 Sep 2025 18:34:29 +0000
with message-id <[email protected]>
and subject line Bug#1104293: fixed in protobuf 3.21.12-12
has caused the Debian Bug report #1104293,
regarding protobuf: FTBFS: please 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.)


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

Dear maintainers,

The protobuf package was built on loong64.
But I found that there is a lack of loongarch64 support in src/google/protobuf.

If the support for loong64 is missing in protobuf, packages that build-depend on protobuf will fail to build, for example, Compiling the justbuild(Need to add loongarch64 support first) failed for loong64.
The build error log is as follows,
```
......
In file included from work/google/api/http.pb.cc:4:
In file included from work/google/api/http.pb.h:23:
In file included from /usr/include/google/protobuf/io/coded_stream.h:131:
In file included from /usr/include/google/protobuf/stubs/common.h:47:
/usr/include/google/protobuf/stubs/platform_macros.h:98:1: error: expected unqualified-id
   98 | GOOGLE_PROTOBUF_PLATFORM_ERROR
      | ^
......
```

Please consider the patch I attached for protobuf.
Based on attached patch, I have built protobuf successfully on locally.
Based on local libprotobuf-dev, I have built justbuild(Need to add loongarch64 support first. I have submitted patch to justbuild source pacakge) successfully on locally.
```
......
   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 protobuf.
Your opinions are welcome.

Best regards,
Dandan Zhang

Description: Add loongarch64 support 
 .
 protobuf (3.21.12-10+loong64) unstable; urgency=medium
 .
   * src/google/protobuf/stubs/platform_macros.h
     - Add loongarch64 support
Author: Dandan Zhang <[email protected]>

---
Last-Update: 2025-04-28

--- protobuf-3.21.12.orig/src/google/protobuf/stubs/platform_macros.h
+++ protobuf-3.21.12/src/google/protobuf/stubs/platform_macros.h
@@ -60,6 +60,9 @@
 #elif defined(__aarch64__)
 #define GOOGLE_PROTOBUF_ARCH_AARCH64 1
 #define GOOGLE_PROTOBUF_ARCH_64_BIT 1
+#elif defined(__loongarch64)
+#define GOOGLE_PROTOBUF_ARCH_LOONGARCH64 1
+#define GOOGLE_PROTOBUF_ARCH_64_BIT 1
 #elif defined(__mips__)
 #if defined(__LP64__)
 #define GOOGLE_PROTOBUF_ARCH_MIPS64 1

--- End Message ---
--- Begin Message ---
Source: protobuf
Source-Version: 3.21.12-12
Done: Laszlo Boszormenyi (GCS) <[email protected]>

We believe that the bug you reported is fixed in the latest version of
protobuf, 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.
Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated protobuf 
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: Tue, 16 Sep 2025 18:19:06 +0200
Source: protobuf
Architecture: source
Version: 3.21.12-12
Distribution: unstable
Urgency: high
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Closes: 1082381 1104293 1108057
Changes:
 protobuf (3.21.12-12) unstable; urgency=high
 .
   [ Hlib Korzhynskyy <[email protected]> ]
   * Complete fix of CVE-2024-7254 (closes: #1082381):
     - add recursion checks and recursion limit,
     - add tests.
 .
   [ Laszlo Boszormenyi (GCS) ]
   * Fix CVE-2025-4565: data containing an arbitrary number of recursive
     groups, recursive messages or a series of SGROUP tags can be corrupted
     by exceeding the Python recursion limit (closes: #1108057).
   * Update Standards-Version to 4.7.2 .
 .
   [ zhangdandan <[email protected]> ]
   * Add loongarch64 support (closes: #1104293).
Checksums-Sha1:
 6e2021b06edbd6ff816d5eabecf22d2f1b668d24 3033 protobuf_3.21.12-12.dsc
 62ca7fd87ae3e20f23c074af6c683ed4bd8b8652 43472 
protobuf_3.21.12-12.debian.tar.xz
Checksums-Sha256:
 fdbecee35a727cd8ca33bde34434e4d572d6abec6e1bc5d89b7b422124e95fd6 3033 
protobuf_3.21.12-12.dsc
 d94591bc02e4e7f767c9d035adfe9181a953d2e871fec18231c1e09c101f24af 43472 
protobuf_3.21.12-12.debian.tar.xz
Files:
 5488a274eed9fde75df170b62611ec6f 3033 devel optional protobuf_3.21.12-12.dsc
 6ab0c579b44bea3eb71a73eb8f74e139 43472 devel optional 
protobuf_3.21.12-12.debian.tar.xz

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

iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAmjJpMIACgkQ3OMQ54ZM
yL/D9A//a7e0yq1BV9GG2dc8+lz7rKZ0dDmSBG5uj6FibrbBgQDMopjtBXngRfPx
NWUpmov+cA8TngY2RrV2g3q8RjGcn9jAWIFJGGOU5LNJ7TgSGTSqcV1hURRwvoXG
vWbdusfsXvSG9wVxZ9MJPjfubPiIflkE2o533ZSGm5eDj7Gw1S5bHt42CLvSeZma
md30saQEnLNhO+5OBuIRNWEiOc4EIBzLWtCEyvHXp6ypYWxBPCtX8d+hrlaUlgAU
6tXi2mJbRgHKwbybVV9eQ/1QjAqq+ZV/9gNPqSb3DchpQm/DC30vrhhbv2/yXoBK
LHN+q1pBGGIv51W7e6Ym9A6fnjoY0MvjMk4RuM4aFsRBcZ/m9JvLfj34kwyAa9Np
WSI+pCubFF6yM1UHgT3HGdLlA8dPP/Z79YJFCqn88J4gWmc1gW8cK5Ow4Y2s3XL3
+Wh6YjaKfqlQXKaDm1aZvNoG6y7DArexBQDIGL97T1vtBgwtWjWWnG+LHeYMYpU1
BiJRXCxJBYzoEleVTRE3s0mK0PcrCtfduJBkUxDkxkQ54OCvIxWYhNEeseG9vepA
RhZWhgSPeGV4GzGxgrD/kekKGkntWxyruoE0iq4Uun3hBKbIWkXu7HZEIznP29EY
oQDtSfLk5SAO4hAtpK/HGrww2QgDhkE8cxhS6SG3Fbpij7EFjg0=
=98Mq
-----END PGP SIGNATURE-----

Attachment: pgp26bV3LcVeJ.pgp
Description: PGP signature


--- End Message ---

Reply via email to