Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841701 - app-emulation/bochs-2.7 does not respect USE flags
Summary: app-emulation/bochs-2.7 does not respect USE flags
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-29 13:36 UTC by Duje Mihanović
Modified: 2022-10-09 17:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log and `emerge --info` output for bochs-2.7. (file_841701.txt,253.21 KB, text/plain)
2022-04-29 13:36 UTC, Duje Mihanović
Details
Workaround patch (libtool-follow-deps.patch,475 bytes, patch)
2022-10-09 17:12 UTC, Bigos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Duje Mihanović 2022-04-29 13:36:25 UTC
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.
Comment 1 Luca Barbato gentoo-dev 2022-07-27 21:36:53 UTC
I managed to reproduce the problem, looks like its build system is old enough to trip on recent enough glibc.
Comment 2 Luca Barbato gentoo-dev 2022-07-27 21:57:58 UTC
I opened https://github.com/stlintel/Bochs/issues/24 to see if upstream is amenable to the idea.
Comment 3 Bigos 2022-10-09 17:12:46 UTC
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).