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

Bug#1059608: freebsd-glue: Build dependency(gcc-9) is not satisfied in multiple architectures



Source: freebsd-glue
Version: 0.2.22+nmu1
Severity: wishlist
Tags: patch ftbfs
User: debian-loongarch@lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the freebsd-glue with a dependency on gcc-9, the build dependency is not satisfied in several architectures such as riscv64, loong64 and so on. The full status can be found at https://buildd.debian.org/status/package.php?p=freebsd-glue&suite=sid. With Debian package updates, compilation dependencies of freebsd-glue should not be written as fixed gcc-9 (fixed gcc version).

The current version of gcc for debian ports is 13.2.0.
I have changed the d/rule and d/control with current gcc version(The patch in my attachment is used locally and is for reference only). The freebsd-glue source package was compiled successfully on my local environment.
Please pay attention to the phenomenon of my feedback above.
If you have any questions, you can contact me at any time.

thanks,
Dandan Zhang

diff -Nru freebsd-glue-0.2.22+nmu1/debian/control freebsd-glue-0.2.22+nmu1/debian/control
--- freebsd-glue-0.2.22+nmu1/debian/control	2023-08-06 23:18:20.000000000 +0000
+++ freebsd-glue-0.2.22+nmu1/debian/control	2023-08-06 23:20:16.000000000 +0000
@@ -7,7 +7,7 @@
  Steven Chamberlain <steven@pyro.eu.org>,
 Build-Depends:
  debhelper (>= 8.0),
- gcc-9,
+ gcc-13,
  kfreebsd-kernel-headers (>= 10.0~3) [kfreebsd-any],
  freebsd-mk,
  bmake,
diff -Nru freebsd-glue-0.2.22+nmu1/debian/rules freebsd-glue-0.2.22+nmu1/debian/rules
--- freebsd-glue-0.2.22+nmu1/debian/rules	2023-08-06 23:20:16.000000000 +0000
+++ freebsd-glue-0.2.22+nmu1/debian/rules	2023-08-06 23:20:16.000000000 +0000
@@ -6,7 +6,7 @@
 # Determine host architecture compiler
 DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 ifeq ($(origin CC),default)
-CC := $(DEB_HOST_GNU_TYPE)-gcc-9
+CC := $(DEB_HOST_GNU_TYPE)-gcc-13
 endif
 
 # Determine build architecture compiler

Reply to: