econf fails when app-pda/libopensync-0.22 was tried to emerge. The output is below. Reproducible: Always Actual Results: checking for SWIG version... 1.3.31 configure: SWIG executable is '/usr/bin/swig' configure: SWIG library directory is '/usr/share/swig/1.3.31' checking for Python include path... find: `/usr/local/include/python2.4/': No such file or directory find: `/usr/local/include/python/': No such file or directory configure: error: cannot find Python include path !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/app-pda/libopensync-0.22/work/libopensync-0.22/config.log !!! ERROR: app-pda/libopensync-0.22 failed. Call stack: ebuild.sh, line 1632: Called dyn_compile ebuild.sh, line 983: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile libopensync-0.22.ebuild, line 41: Called econf '--enable-engine' '--enable-tools' '--enable-python' '--disable-debug' '--disable-tracing' ebuild.sh, line 586: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 128103 [details] emerge --info is attached
(In reply to comment #0) > !!! Please attach the following file when filing a report to bugs.gentoo.org: > !!! /var/tmp/portage/app-pda/libopensync-0.22/work/libopensync-0.22/config.log Do it, please.
Created attachment 128107 [details] Sorry. Here is attached the config.log
The problem might be that I have had to make a symlink /usr/local/bin/python to the original /usr/bin/python for other (non-gentoo) apps. The includes are, of course, in /usr/include/python2.4 not in /usr/local... But I need for this link. May I create one for includes?
Please, don't do such things. There's no need to symlink stuff that's in $PATH already.
Removing this python link the package emerges. (So now I can put back this link for my other stupid stuff. :-)
I have found that stupid staff that does not work without the link. That is the java-config-2 script which contains #!/usr/local/bin/python in its first line.(java-config-1 begins with #!/usr/bin/python) Of course, this script works fine with the problematic link. This script belongs to dev-java/java-config-1.3.7. (So it is in a Gentoo package.) Should this issue be forwarded to java staff?