Your message dated Mon, 25 May 2026 20:25:30 +0000
with message-id <[email protected]>
and subject line Bug#1129924: fixed in firebuild 0.8.6.1-2
has caused the Debian Bug report #1129924,
regarding firebuild: FTBFS: Fix loongarch64 build in test/test_symbols
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.)


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

Dear maintainers,

Compiling the firebuild failed for loong64 in the Debian Package Auto-Building environment.
The error log is as follows,
```
3: Overridden methods that do not exist in libc, libdl or libpthread:
3:   __fxstat
3:   __fxstat64
3:   __fxstatat
3:   __fxstatat64
3:   __lxstat
3:   __lxstat64
3:   __xmknod
3:   __xmknodat
3:   __xstat
3:   __xstat64
3: All expected fortified methods overridden
3: All expected 64bit methods overridden
3: All expected time64 methods overridden
3: All expected underscore methods overridden
3/3 Test #3: test-symbols .....................***Failed    2.64 sec

67% tests passed, 1 tests failed out of 3

Total Test time (real) =  17.50 sec

The following tests FAILED:
      3 - test-symbols (Failed)
Errors while running CTest
```

After analyzing, glibc uses standard stat interfaces directly for loongarch64, without legacy versioned internal symbols (__xstat/__fxstat/__lxstat series). We need to filter out the glibc legacy versioned internal symbols (__xstat series) for loongarch64.

Please consider the patch attached.
Based attached patch, I have built firebuild successfully on loong64.
```
dpkg-deb: building package 'firebuild' in '../firebuild_0.8.6.1-1+loong64_loong64.deb'. dpkg-deb: building package 'firebuild-dbgsym' in '../firebuild-dbgsym_0.8.6.1-1+loong64_loong64.deb'. dpkg-deb: building package 'libfirebuild0' in '../libfirebuild0_0.8.6.1-1+loong64_loong64.deb'. dpkg-deb: building package 'libfirebuild0-dbgsym' in '../libfirebuild0-dbgsym_0.8.6.1-1+loong64_loong64.deb'.
 dpkg-genbuildinfo -O../firebuild_0.8.6.1-1+loong64_loong64.buildinfo
 dpkg-genchanges -O../firebuild_0.8.6.1-1+loong64_loong64.changes
```

Best regards,
Dandan Zhang

Description: Fix build error on loongarch64 
 .
 firebuild (0.8.6.1-1+loong64) unstable; urgency=medium
 .
   * Fix loongarch64 build in test/test_symbols
     - Filter out the glibc legacy versioned internal symbols
       (__xstat/__fxstat/__lxstat series) on loongarch64.
Author: Dandan Zhang <[email protected]>

---
Last-Update: 2026-03-05

--- firebuild-0.8.6.1.orig/test/test_symbols
+++ firebuild-0.8.6.1/test/test_symbols
@@ -52,6 +52,24 @@ known_missing_Darwin_underscore="___fork
 ___sigaction
 ___wait4"
 
+# Detect architecture
+arch=$(uname -m)
+# LoongArch64: glibc uses standard stat interfaces directly, without legacy
+# versioned internal symbols (__xstat/__fxstat/__lxstat series).
+# These symbols are not generated on loongarch64, but exist in gen_list.txt.
+if [ "$arch" = "loongarch64" ]; then
+  known_missing_Linux_loongarch64="__fxstat
+__fxstat64
+__fxstatat
+__fxstatat64
+__lxstat
+__lxstat64
+__xmknod
+__xmknodat
+__xstat
+__xstat64"
+fi
+
 function check_function_class () {
     local fix=$1
     local class=$2
@@ -186,6 +204,14 @@ esac
 # Get the list of extra ones
 extra=$(LC_ALL=C comm -23 public-symbols.txt libc-symbols.txt)
 
+# LoongArch64: filter out the glibc legacy versioned internal symbols (__xstat series).
+if [ "$arch" = "loongarch64" ]; then
+  # Remove the known missing symbols from the extra list
+  for sym in $known_missing_Linux_loongarch64; do
+    extra=$(echo "$extra" | grep -v "^${sym}$")
+  done
+fi
+
 # Report the list of extra ones
 if [ -z "$extra" ]; then
   echo "No unexpected overridden methods"

--- End Message ---
--- Begin Message ---
Source: firebuild
Source-Version: 0.8.6.1-2
Done: Balint Reczey <[email protected]>

We believe that the bug you reported is fixed in the latest version of
firebuild, 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.
Balint Reczey <[email protected]> (supplier of updated firebuild 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, 25 May 2026 21:22:16 +0200
Source: firebuild
Built-For-Profiles: noudeb
Architecture: source
Version: 0.8.6.1-2
Distribution: unstable
Urgency: medium
Maintainer: Balint Reczey <[email protected]>
Changed-By: Balint Reczey <[email protected]>
Closes: 1129924 1137379
Changes:
 firebuild (0.8.6.1-2) unstable; urgency=medium
 .
   [ Balint Reczey ]
   * Fix FTBFS on LoongArch (Closes: #1129924)
 .
   [ Remus-Gabriel Chelu ]
   * Romanian translation of firebuild debconf template (Closes: #1137379)
Checksums-Sha1:
 787a03161fd070d0f3047f9ab88aa770f814f7c4 2303 firebuild_0.8.6.1-2.dsc
 e5db896e702b546e232de0218154eb6b6832f5cb 14256 
firebuild_0.8.6.1-2.debian.tar.xz
 fa548c16510f83bee97ce90356e7c7eabf2f3283 11246 
firebuild_0.8.6.1-2_source.buildinfo
Checksums-Sha256:
 e8fb5b4db8ce880daf5078d0f136682628559049c598436d09342738ae573dab 2303 
firebuild_0.8.6.1-2.dsc
 4e692d976d96c307083f3be314e16e4715eb610ca935756d424051cd336ee72d 14256 
firebuild_0.8.6.1-2.debian.tar.xz
 0c4ff5ea0069d5c7ea069287a5b430d04362738db9672854b281729a862097b3 11246 
firebuild_0.8.6.1-2_source.buildinfo
Files:
 5998ed77a3d548f8a52c8619fcddbdac 2303 non-free/devel optional 
firebuild_0.8.6.1-2.dsc
 58d2100b2764cdeeda3698a8f14aa935 14256 non-free/devel optional 
firebuild_0.8.6.1-2.debian.tar.xz
 987a44e8bbc465e719b7076394a9c8c8 11246 non-free/devel optional 
firebuild_0.8.6.1-2_source.buildinfo

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

iQIzBAEBCgAdFiEEI/PvTgXX55rLQUfDg6KBkWslS0UFAmoUpMwACgkQg6KBkWsl
S0WXCg//VdFNf1ae/l2ZOD6iZPcjkoNfM0WXdxKHrxzVw/LZgl908+X6BmyWlewE
N9MWeQajNY3qNGBE0l2tOxihz2OUxoYhsHP/ahGMQgfqdH5YvUg1XiNWVhTnKGoH
MYKuN++PcLce7yp2mRdrID9PK3AOrnENLg5CXMFDqCdqR/yJ2lKJkT4ppQbeBhpp
YHOdGJrpfoq2EQJi3xt56sGXwaIGY+2L2EZMteg7hXEU6kNsFPvMxYW9QnL8y7Ks
Mx/qoKeDKscl3zppvHhb9nO83V2+VQmO68YwAbtyQsuIoWEixc8T+dEPz/pxjSHW
x9w3BwWQ0FQCA2vsIg73obu2JcOIxTa8F/Hx83iHPO4ubK49Y9Un1TYzy03uVzDs
GkdAO47bYRr36K8BdaAnwcadheCmDjc38j10/U86dssJJ/PEcZm+D2w0fHq1Ug19
Z2KdQKmCzVmlDUO0yf49R0rJjYhun86yJxhfyzSSmmLBaiIpcvHvE1CHkJDwFidC
8CCEBR2hBJ9RxMpR7oHHMnjihGPSrenE8V4VbDMAqI5SY2TGG7B1Ztfr+3tooXRG
+3Vr9BQjdc4PBWjh/3m4INiXd2rN8dHC7PlXUEeTQDBVB6dhM+5f6KSJOtT/Xv5D
+rO7t/jWmhZwY1DkgMZru0O4zVExoS8XC9SYBSAdw8dJKHB/Ihw=
=Hedg
-----END PGP SIGNATURE-----

Attachment: pgpB7mpr6BnoQ.pgp
Description: PGP signature


--- End Message ---

Reply via email to