Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682360 - app-text/calibre-3.40.1 - src_install(): Setting up completion failed with error: RuntimeError: PyCapsule_GetPointer called with incorrect name
Summary: app-text/calibre-3.40.1 - src_install(): Setting up completion failed with er...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Stakenvicius
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-02 19:12 UTC by Harris Landgarten
Modified: 2019-05-30 13:05 UTC (History)
1 user (show)

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


Attachments
build log (build.log,67.15 KB, text/plain)
2019-04-02 19:28 UTC, Harris Landgarten
Details

Note You need to log in before you can comment on or make changes to this bug.
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.