Summary: | app-emulation/bochs-2.7 does not respect USE flags | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Duje Mihanović <duje.mihanovic> |
Component: | Current packages | Assignee: | Luca Barbato <lu_zero> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | wielkiegie |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://github.com/bochs-emu/Bochs/issues/7 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log and `emerge --info` output for bochs-2.7.
Workaround patch |
I managed to reproduce the problem, looks like its build system is old enough to trip on recent enough glibc. I opened https://github.com/stlintel/Bochs/issues/24 to see if upstream is amenable to the idea. Created attachment 822949 [details, diff]
Workaround patch
The attached patch works around this issue by recognizing x86_64 as an official Linux CPU architecture with dynamic linking.
Caution: I have no idea what I am doing, this hopefully does not break anything else.
The real fix would be to modernize the build system - either by upgrading autotools or switching to something else (this is tracked in the upstream issue).
|
Created attachment 775329 [details] Build log and `emerge --info` output for bochs-2.7. When choosing the VGA display library to use, I expect to be able to use "x" since I compiled bochs with the "X" USE flag. However, I am only able to choose from nogui and term. Discovered on AMD64. Build log and output of `emerge --info bochs` attached. Judging by the former, it seems that the ebuild fails to install the plugin files.