sys-kernel/kergen-0.1.0 can't find its own modules. Reproducible: Always Steps to Reproduce: run as root: keygen -g Actual Results: diana linux-3.18.11-gentoo # kergen -g /usr/bin/python3.3: can't open file 'kergen-map.py': [Errno 2] No such file or directory Traceback (most recent call last): File "/usr/lib/python-exec/python3.3/kergen", line 50, in <module> kernel_options = subprocess.check_output(['python', 'kergen-map.py'], universal_newlines=True)[:-1].split(' ') File "/usr/lib64/python3.3/subprocess.py", line 589, in check_output raise CalledProcessError(retcode, process.args, output=output) subprocess.CalledProcessError: Command '['python', 'kergen-map.py']' returned non-zero exit status 2 Expected Results: kergen should work: -g, --generate Generate optimized kernel options for your hardware and add the non existing ones to .config diana linux-3.18.11-gentoo # qlist kergen | grep kergen-map /usr/bin/kergen-map /usr/lib/python-exec/python3.3/kergen-map
Created attachment 401204 [details, diff] A patch to fix the module's names so they can be found. I'm sorry for this. Here is a patch solving the issue.
I made a new release with this bug fixed, i.e. version 0.1.1, so you might want to just make a version bump to 0.1.1 instead of implementing the patch. Thanks.
(In reply to pavel from comment #2) > I made a new release with this bug fixed, i.e. version 0.1.1, so you might > want to just make a version bump to 0.1.1 instead of implementing the patch. > Thanks. Could you please submit version 0.1.1 into main tree?
+*kergen-0.1.1 (17 Apr 2015) + + 17 Apr 2015; Justin Lecher <jlec@gentoo.org> +kergen-0.1.1.ebuild, + -kergen-0.1.0.ebuild: + Version Bump; drop old, fixes bug #546452 +