#1122981 FTBFS: valentina fails to build on riscv64 with GCC 15.2

Package:
valentina
Source:
valentina
Description:
pattern making program
Submitter:
Heinrich Schuchardt
Date:
2026-02-04 15:27:02 UTC
Severity:
normal
Tags:
#1122981#5
Date:
2025-12-15 13:50:46 UTC
From:
To:
Dear Maintainer,

https://launchpadlibrarian.net/835569381/buildlog_ubuntu-resolute-riscv64.valentina_1.0.0~dfsg-4_BUILDING.txt.gz

shows a build failure on riscv64 due to incorrect alignments:

/src/libs/vdxf/libdxfrw/intern/dxfreader.cpp:121:14:
error: cast from ‘char*’ to ‘short unsigned int*’
increases required alignment of target type [-Werror=cast-align]

The upstream MR https://gitlab.com/smart-pattern/valentina/-/merge_requests/22
fixes the issue.

Ubuntu handles this in
https://bugs.launchpad.net/ubuntu/+source/valentina/+bug/2134600

Thanks for considering the patch.

#1122981#14
Date:
2026-02-04 15:24:36 UTC
From:
To:
Jonas,

In addition to the patch that was already posted, it looks like this
additional change fixes the autopkgtest failures that are also
preventing valentina from migrating to Testing.

https://launchpad.net/ubuntu/+source/valentina/1.0.0~dfsg-4ubuntu2

https://qa.debian.org/excuses.php?package=valentina
https://autopkgtest.ubuntu.com/packages/valentina/resolute/arm64

Thank you,
Jeremy Bícha