mv: cannot stat '/var/tmp/portage/app-text/calibre-3.40.1/temp/fake_homedir/.local/share/mime/packages/*': No such file or directory * ERROR: app-text/calibre-3.40.1::gentoo failed (install phase): * failed to register mime types * * Call stack: * ebuild.sh, line 124: Called src_install * environment, line 3502: Called die * The specific snippet of code: * mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ || die "failed to register mime types";
Created attachment 571676 [details] build log
Upgrade of PyQt5 to 5.12 and uninstall of spyder with purges fixed this issue. spyder was holding back PyQt5 to 5.10 and spyder had PyQt installed. Anyway, calibre now installs and runs. It seems the dependencies of calibre are more brittle than the ebuild specifies.
Half of this appears to be a duplicate of bug 570536 and the other half is probably a binary rebuild issue due to PyQt5 sorcery. I don't think there's anything actionable here anymore as the Qt package set has moved on and one should no longer hit mis-synced packages. So it's not clear how to reproduce the issues of years ago. :P