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

Bug 664600

Summary: app-admin/salt-2018.3.2 fatal pyc optimization bug
Product: Gentoo Linux Reporter: Reuben Martin <reuben.m>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, sping
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Reuben Martin 2018-08-25 20:42:32 UTC
With a fresh install of salt, I was seeing errors matching the bug report here:
https://github.com/saltstack/salt/issues/47006

It has to do with the byte compliling python modules that FreeBSD does in a similar fashion to what Gentoo does when installing.

Pull request to fix it is here:
https://github.com/saltstack/salt/pull/48636

applying the following patch as a user-patch fixed the issue:
https://github.com/angeloudy/salt/commit/205abe209d5d8af6db2a619fa0c97de26f7b4256.patch

supposedly this is to be in the 2018.3.3 release, though I don't think it's been merged yet.

Reproducible: Always
Comment 1 Hanno Zysik (geki) 2018-09-13 10:13:19 UTC
Tested salt's 2018.3.3 git branch[0]. Solves the issue. Bumped ebuild, adjusted SRC_URI and removed second patch from PATCHES. Just in case someone is interested.

[0] https://github.com/saltstack/salt/tree/2018.3.3
Comment 2 Sebastian Pipping gentoo-dev 2023-01-30 16:57:00 UTC
The oldest we have in Gentoo today is salt-3004.2-r2.ebuild; I believe this is obsolete.  Closing, please re-open as needed.