Source: libmsv Version: 1.1.1-4 Severity: normal Tags: patch User: debian-de...@lists.debian.org Usertags: loongarch64 X-Debbugs-Cc: sangm...@loongson.cn
Dear Maintainer, When compiling the package libmsv for loong64 in the Debian Package Auto-Building environment [1], The error message is as follows: ......omit UNAME_VERSION = #1 SMP Fri Jun 2 07:57:41 UTC 2023 configure: error: cannot guess build type; you must specify one make: *** [debian/rules:31: stamp-build] Error 1 ......omit The full compilation log can be found at [2]. The version of config.guess and config.sub in the libmsv source package are too old for the LoongArch architecture. The LoongArch architecture has been supported in config upstream [3] and autotools-dev source package [4]. Please consider the patch (modify debian/rules) I have attached. If you have any questions, you can contact me at any time. [1]:https://buildd.debian.org/status/package.php?p=libmsv&suite=sid [2]:https://buildd.debian.org/status/fetch.php?pkg=libmsv&arch=loong64&ver=1.1.1-4&stamp=1693579262&raw=0 [3]:https://git.savannah.gnu.org/cgit/config.git/commit/?id=20403c5701973a4cbd7e0b4bbeb627fcd424a0f1 [4]:https://packages.debian.org/bookworm/autotools-dev Sincerely, Meng Sang
diff -Nru libmsv-1.1.1/debian/rules libmsv-1.1.1/debian/rules --- libmsv-1.1.1/debian/rules 2023-08-10 16:23:39.000000000 +0000 +++ libmsv-1.1.1/debian/rules 2023-08-10 16:23:39.000000000 +0000 @@ -28,6 +28,7 @@ build-indep: build-arch build-arch: stamp-build stamp-build: configure + dh_autoreconf ./configure $(CONFARGS) --prefix=/usr CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) doxygen libmsvdox.cfg @@ -35,6 +36,7 @@ clean: $(checkdir) + dh_autoreconf_clean rm -rf debian/$(package) debian/$(devpkg) debian/*.substvars rm -rf html man latex