[DRE-maint] Bug#1068227: ruby-rbtrace: FTBFS on loong64

zhangdandan zhangdandan at loongson.cn
Tue Apr 2 09:46:22 BST 2024


Source: ruby-rbtrace
Version: 0.4.14-1
Severity: wishlist
Tags: ftbfs
User: debian-loongarch at lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the ruby-rbtrace package failed for loong64 in the Debian 
Package Auto-Building environment, the error log is as follows:
```
......
   -- env CFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security" 
LDFLAGS="-Wl,-z,relro" CC=nil
   -- ./configure --disable-dependency-tracking --disable-shared 
--with-pic 
--prefix=/<<PKGBUILDDIR>>/debian/ruby-rbtrace/usr/lib/loongarch64-linux-gnu/rubygems-integration/3.1.0/gems/rbtrace-0.4.14/ext/dst/ 
--host=loongarch64-linux-gnu --build=loongarch64-linux-gnu 
--libdir=/<<PKGBUILDDIR>>/debian/ruby-rbtrace/usr/lib/loongarch64-linux-gnu/rubygems-integration/3.1.0/gems/rbtrace-0.4.14/ext/dst/lib
*** extconf.rb failed ***
```

The full build log can be found at 
https://buildd.debian.org/status/logs.php?pkg=ruby-rbtrace&ver=0.4.14-1&arch=loong64.

For modification ideas, please refer to the patch I attached.
The ruby-rbtrace package was compiled successfully on my local loong64 
rootfs environment.

For code standardization, maintainers can regenerate patches for loong64.
Your opinions are welcome.

Thanks,
Dandan Zhang

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-rbtrace-add-loongarch64-definition.patch
Type: text/x-patch
Size: 671 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20240402/02f7465b/attachment.bin>


More information about the Pkg-ruby-extras-maintainers mailing list