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

Bug#1087474: xtrkcad:FTBFS:build failure (error: ld returned 1 exit status)



Source: xtrkcad
Version:  1:5.3.0GA-1
Severity: serious
Tags: FTBFS, patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org

Dear xtrkcad Maintainer,
The package xtrkcad build failed on all arch except amd64.The crucial buildd log below:
```
https://buildd.debian.org/status/fetch.php?pkg=xtrkcad&arch=riscv64&ver=1%3A5.3.0GA-1&stamp=1731545752&raw=0
```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=xtrkcad&arch=riscv64&ver=1%3A5.3.0GA-1&stamp=1731545752&raw=0

My solution to this issue:
  The error occurs because /app/tools/lib/linux/libzip.a is only compatible with the amd64 architecture. My solution is to use the system-installed libzip library on non-amd64 architectures, instead of the static library file at the specified path.  I have tested this solution locally,and it works well.The debpatch is in the attachment.Please let me know whether this solution can be accepted.

Gui-Yue
Best regards

Attachment: fix_xtrkcad_build_failure.patch
Description: Binary data


Reply to: