Summary: | www-client/w3m-0.5.3_p20230121: does not use sysroot when cross-compiling | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | sin-ack <sin-ack> |
Component: | Current packages | Assignee: | NRK <nrk> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | gentoo, jstein, nrk, proxy-maint, sin-ack |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
riscv64-unknown-linux-gnu-emerge -p www-client/w3m && riscv64-unknown-linux-gnu-emerge --info |
Created attachment 915863 [details]
riscv64-unknown-linux-gnu-emerge -p www-client/w3m && riscv64-unknown-linux-gnu-emerge --info
This is because w3m is doing library checks with hardcoded paths on a bunch of different locations. I've forwarded the bug to rkta, maintainer of the w3m fork which I'm planning to switch to since debian/tats upstream is dead: https://todo.sr.ht/~rkta/w3m/71 I tried convincing configure to use pkg-config where appropriate. I can't really test it as I don't have a cross-compile setup, I'm also not really familiar with autotools. Please test my branch 'pkg-config' at [1]. I'm not sure when I have more time to work on this as I have other bugs to fix, so patches welcome. [1]: https://git.sr.ht/~rkta/w3m/tree/pkg-config |
Created attachment 915862 [details] build.log Discovered when cross-compiling to riscv64-unknown-linux-gnu. The configure script tries to discover libraries from the build system's root instead of the sysroot. Specifically, -lbsd is discovered from /usr/lib.