Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664600 - app-admin/salt-2018.3.2 fatal pyc optimization bug
Summary: app-admin/salt-2018.3.2 fatal pyc optimization bug
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-25 20:42 UTC by Reuben Martin
Modified: 2023-01-30 16:57 UTC (History)
2 users (show)

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


Attachments

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