Summary: | app-arch/deltarpm-3.6_pre20110223-r1 : attempts to magically use python3 after python (was: deltarpmmodule.c:7:20: fatal error: Python.h: No such file or directory) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | leonchik1976, yury.usischev |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 567924 | ||
Attachments: |
app-arch:deltarpm-3.6_pre20110223-r1:20151212-200947.log
emerge-history.txt environment deltarpm-only-python2.patch python eclass use fix |
Description
Toralf Förster
2015-12-12 20:18:39 UTC
Created attachment 419054 [details]
app-arch:deltarpm-3.6_pre20110223-r1:20151212-200947.log
Created attachment 419056 [details]
emerge-history.txt
Created attachment 419058 [details]
environment
Created attachment 426554 [details, diff]
deltarpm-only-python2.patch
Here's a hacky patch that at least lets it install.
*** Bug 579434 has been marked as a duplicate of this bug. *** Created attachment 434064 [details, diff]
python eclass use fix
I have not investigated root cause of the issue, but if you use python-r1 eclass instead of python-single-r1 everything works (at least with my setup).
(In reply to Yury Usishchev from comment #6) > Created attachment 434064 [details, diff] [details, diff] > python eclass use fix > > I have not investigated root cause of the issue, but if you use python-r1 > eclass instead of python-single-r1 everything works (at least with my setup). Except for the big error that you're calling non-existing phase functions, and the accident that you have selected Python 2.7 that doesn't cause the issue? (In reply to Dustin C. Hatch from comment #4) > Created attachment 426554 [details, diff] [details, diff] > deltarpm-only-python2.patch > > Here's a hacky patch that at least lets it install. This looks good, except that it should be applied in all places where the weird loop is used. It's still not correct, can break randomly on Prefix but should improve the situation on regular Gentoo systems. commit 1a315fb23a3cc485de21a4d9558fe044f680f31f Author: Michał Górny <mgorny@gentoo.org> Date: Fri Jun 10 17:46:46 2016 app-arch/deltarpm: Fix implicit python3 use, #568094 |