The bochs 2.4.5 ebuild file add the PCI Host mapping feature by default but this feature require kernel 2.4 or 2.6.
As workaround I have modified the /usr/portage/app-emulation/bochs/bochs-2.4.5.ebuild file removing the "
--enable-pcidev" compile time flag.

I have modified the original bochs-2.4.5.ebuild file in my local portage local directory, I do not know if this is the correct way to interact with portage system

....
The following file is the diff output where the bochs-2.4.5.ebuild.orig is the original file and the bochs-2.4.5.ebuild is the modified one.
Code: Select all
gentoo ~ # diff /usr/portage/app-emulation/bochs/bochs-2.4.5.ebuild.orig /usr/portage/app-emulation/bochs/bochs-2.4.5.ebuild
93d92
< --enable-pcidev \
Then you must recreate the Manifest file (containing the digest of bochs-2.4.5.ebuild file)
Code: Select all
gentoo ~ # ebuild /usr/portage/app-emulation/bochs/bochs-2.4.5.ebuild manifest
>>> Creating Manifest for /usr/portage/app-emulation/bochs
When you have set your preferred USE flags merge bochs-2.4.5 using ebuild command
Code: Select all
gentoo ~ # ebuild /usr/portage/app-emulation/bochs/bochs-2.4.5.ebuild clean
gentoo ~ # ebuild /usr/portage/app-emulation/bochs/bochs-2.4.5.ebuild merge
Have a nice day
