[Debian-med-packaging] Bug#1074044: libvcflib: Improve support for loongarch64

zhangdandan zhangdandan at loongson.cn
Sat Jun 22 09:56:56 BST 2024


Source: libvcflib
Version: 1.0.9+dfsg1-3
Severity: normal
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the libvcflib failed for loong64 in the Debian Package 
Auto-Building environment.
Build failed 9 times. The build error log is as follows,
```
dh_fixperms
chmod -x debian/*/usr/lib/vcflib/scripts/*.R
chmod: cannot access 'debian/*/usr/lib/vcflib/scripts/*.R': No such file 
or directory
make[1]: *** [debian/rules:82: override_dh_fixperms] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned 
exit status 2
......
```
The full log can be found at 
https://buildd.debian.org/status/logs.php?pkg=libvcflib&ver=1.0.9%2Bdfsg1-3&arch=loong64.

After analyzing, I found that maybe there is missing loong64 support for 
Package: libvcflib-tools in d/control.
You can consider the patch from Bug: #1057253.
Or please consider the patch I attached.
I have built libvcflib successfully in my local ENV.
```
......
dpkg-deb: building package 'libvcflib-tools' in 
'../libvcflib-tools_1.0.9+dfsg1-3_loong64.deb'.
dpkg-deb: building package 'libvcflib-tools-dbgsym' in 
'../libvcflib-tools-dbgsym_1.0.9+dfsg1-3_loong64.deb'.
  dpkg-genbuildinfo -O../libvcflib_1.0.9+dfsg1-3_loong64.buildinfo
  dpkg-genchanges -O../libvcflib_1.0.9+dfsg1-3_loong64.changes
```
Your opinions are welcome.

Thanks,
Dandan Zhang

-------------- next part --------------
diff -Nru libvcflib-1.0.9+dfsg1/debian/control libvcflib-1.0.9+dfsg1/debian/control
--- libvcflib-1.0.9+dfsg1/debian/control	2023-12-03 12:29:41.000000000 +0000
+++ libvcflib-1.0.9+dfsg1/debian/control	2023-12-03 12:29:41.000000000 +0000
@@ -76,7 +76,7 @@
  This package contains the static library and the header files.
 
 Package: libvcflib-tools
-Architecture: any-amd64 arm64 mips64el ppc64el s390x ia64 ppc64 riscv64 sparc64 alpha
+Architecture: any-amd64 arm64 loong64 mips64el ppc64el s390x ia64 ppc64 riscv64 sparc64 alpha
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          python3:any,


More information about the Debian-med-packaging mailing list