Bug#1118034: ucx: FTBFS: fix build error for loong64

zhangdandan zhangdandan at loongson.cn
Tue Oct 14 07:33:30 BST 2025


Source: ucx
Version: 1.19.0+ds-1
Severity: normal
Tags: FTBFS patch
User: debian-loongarch at lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the ucx failed for loong64 in the Debian Package Auto-Building 
environment.
The error log is as follows,
```
......
sys/iovec.c: In function 'ucs_iov_copy':
sys/iovec.c:47:13: error: too many arguments to function 
'ucs_memcpy_relaxed'
    47 |             ucs_memcpy_relaxed(iov_buf, 
UCS_PTR_BYTE_OFFSET(buf, copied), len,
       |             ^~~~~~~~~~~~~~~~~~
.......
```
The full build log can be found at 
https://buildd.debian.org/status/fetch.php?pkg=ucx&arch=loong64&ver=1.19.0%2Bds-1&stamp=1758999626&raw=0.

Please consider the patch I attached.
According to the function calling in ./src/ucs/sys/iovec.c file, I need 
to update the parameters of function ucs_memcpy_relaxed();
Based on attached patch, I have built ucx (1.19.1+ds-1+loong64) 
successfully on locally.

Your opinions are welcome.

Best regards,
Dandan Zhang

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ucx-update-loongarch64-patch-for-new-release.patch
Type: text/x-patch
Size: 731 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20251014/01cf2650/attachment.bin>


More information about the debian-science-maintainers mailing list