Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 682360

Summary: app-text/calibre-3.40.1 - src_install(): Setting up completion failed with error: RuntimeError: PyCapsule_GetPointer called with incorrect name
Product: Gentoo Linux Reporter: Harris Landgarten <harrisl>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED WORKSFORME    
Severity: normal CC: eschwartz93, zmedico
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Harris Landgarten 2019-04-02 19:12:32 UTC
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";
Comment 1 Harris Landgarten 2019-04-02 19:28:08 UTC
Created attachment 571676 [details]
build log
Comment 2 Harris Landgarten 2019-05-30 13:05:31 UTC
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.
Comment 3 Eli Schwartz 2023-10-20 00:44:55 UTC
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