On Monday 10 February 2025 19:07:07 Greenwich Mean Time Matthias Hanft wrote: > Hi, > > I have many Firebird databases on my Gentoo server. > > To compile PHP with Firebird support, I have the line > > -firebird > > in /etc/portage/profile/use.mask because the Firebird USE flag > of PHP was masked somewhen. > > This worked without problems as long as Firebird (3.0) was in > the portage tree. > > Now Firebird was completely removed from the portage tree. > So I installed Firebird (5.0) from its own homepage which > works without problems, too. I put the line > > dev-db/firebird-5.0.1.1469 > > into /etc/portage/profile/package.provided. Not sure if this > was necessary, but apparently it doesn't harm... > > ...maybe except one point: Since then, revdep-rebuild always > reinstalls PHP (although it doesn't show any orphaned files). > > The other/old revdep-rebuild.sh says, however, > "Dynamic linking on your system is consistent... All done." > > I'd like to get the normal revdep-rebuild saying "everything > ok", too. So what's the correct way to deal with a manually > installed Firebird server while keeping the Firebird support > in PHP and not interfering with revdep-rebuild? > > Thanks, > > -Matt According to http://gpo.zugaina.org/ firebird is provided by bgo-overlay. I don't know if this overlay is checked by gentoo devs for the quality of its contents or not, but you could take a look. Using an overlay will allow your system to know what files were installed by emerge. I expect your 'revdep- rebuild' behaviour will correct itself thereafter. If the above overlay is not good, then you can create your own local overlay for this purpose.