Closed bluecmd closed 2 months ago
Hah! Look at that, https://github.com/tukaani-project/xz/releases says:
NOTE: 5.2.13, 5.4.7, and 5.6.2 have a build system issue that prevents building of shared libraries on some systems like mips64. See the patch itself for details. The same patch applies to 5.2.13, 5.4.7, and 5.6.2.
The patch is https://github.com/tukaani-project/xz/releases/download/v5.6.2/xz-5213-547-562-libtool.patch
Hey @bluecmd , thanks for the bug-report and investigation, the PR with the fix has been pushed.
Maintainer: @krant Environment: mips64_octeonplus
Description:
It seems that liblzma is now failing to build for Octeon. This worked a few days ago, so might be related to c611da23d8fc62b9c7c78694f45b70c3df069bc5 maybe. A build I made just before that commit works.
See http://downloads.openwrt.org/snapshots/faillogs/mips64_octeonplus/packages/xz/compile.txt
It seems that XZ now considers the compiler unable to create shared libraries, compiles, and then the packaging step fails due to no shared files being available to package.
For reference, the successful build done a few days ago (https://github.com/sonix-network/openwrt/actions/runs/10127817414) has the relevant logs like this:
Builds use the snapshot toolchain available at https://downloads.openwrt.org/snapshots/targets/octeon/generic/openwrt-toolchain-octeon-generic_gcc-13.3.0_musl.Linux-x86_64.tar.zst at the time of builds. I have tried a build with current toolchain and feeds set to:
and that works, which makes me believe the commit to update xz is the culprit.