[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1095719: golang-1.23: Please disable binutils-gold in d/control.in on loong64



Source: golang-1.23
Version: 1.23.6-2
Severity: normal
Tags: patch
User: debian-loongarch@lists.debian.org
Usertags: loong64
X-Debbugs-CC: debian-loongarch@lists.debian.org

Dear maintainers,

The build status of golang-1.23 is 'BD-Uninstallable' on loong64.
Details can be found at https://buildd.debian.org/status/package.php?p=golang-1.23&suite=sid.
Now package binutils-gold is not supported on loong64.

For loong64, please disable binutils-gold from Build-Depends in d/control.in.
Please consider the patch I attached.
I have built golang-1.23 successfully for loong64 on locally.
```
   dh_builddeb
dpkg-deb: building package 'golang-1.23-src' in '../golang-1.23-src_1.23.6-2_all.deb'. dpkg-deb: building package 'golang-1.23-go' in '../golang-1.23-go_1.23.6-2_loong64.deb'. dpkg-deb: building package 'golang-1.23-doc' in '../golang-1.23-doc_1.23.6-2_all.deb'. dpkg-deb: building package 'golang-1.23' in '../golang-1.23_1.23.6-2_all.deb'.
 dpkg-genbuildinfo -O../golang-1.23_1.23.6-2_loong64.buildinfo
 dpkg-genchanges -O../golang-1.23_1.23.6-2_loong64.changes
```

Your opinions are welcome.

Best regards,
Dandan Zhang

diff -Nru golang-1.23-1.23.6/debian/control.in golang-1.23-1.23.6/debian/control.in
--- golang-1.23-1.23.6/debian/control.in	2025-02-10 10:47:56.000000000 +0000
+++ golang-1.23-1.23.6/debian/control.in	2025-02-10 10:47:56.000000000 +0000
@@ -7,7 +7,7 @@
            Anthony Fok <foka@debian.org>
 Section: golang
 Priority: optional
-Build-Depends: binutils-gold,
+Build-Depends: binutils-gold [!loong64],
                debhelper-compat (= 13),
                golang-1.22-go | golang-1.21-go | golang-1.20-go,
                netbase

Reply to: