Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500506 - app-editors/gedit-2.30.4 USE=spell - ../../../py-compile: ../../../py-compile: cannot execute binary file
Summary: app-editors/gedit-2.30.4 USE=spell - ../../../py-compile: ../../../py-compile...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-02-06 11:00 UTC by Fred
Modified: 2014-02-06 19:08 UTC (History)
0 users

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


Attachments
Fixes pyc error for gedit-2.30.4 (r1.patch,333 bytes, patch)
2014-02-06 11:00 UTC, Fred
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fred 2014-02-06 11:00:23 UTC
Created attachment 369698 [details, diff]
Fixes pyc error for gedit-2.30.4

When emerging gedit with the spell useflag, compile fails:
../../../py-compile: ../../../py-compile: cannot execute binary file

Researching the error I find:
https://bugs.gentoo.org/show_bug.cgi?id=396689
https://bugs.gentoo.org/show_bug.cgi?id=396585

Solution appears to be to edit the ebuild file and replace the existing code to disable pyc compiling with a call to python_clean_py-compile_files.
Comment 1 Pacho Ramos gentoo-dev 2014-02-06 19:08:53 UTC
+  06 Feb 2014; Pacho Ramos <pacho@gentoo.org> gedit-2.30.4.ebuild:
+  Clean pyc files properly (#500506 by Fred)
+