Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664612 - dev-python/qscintilla-python-2.10.7 build fails: can't open file 'mk_distinfo.py'
Summary: dev-python/qscintilla-python-2.10.7 build fails: can't open file 'mk_distinfo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 664626 664630 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-26 06:24 UTC by Märt Bakhoff
Modified: 2018-08-26 17:57 UTC (History)
6 users (show)

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


Attachments
emerge --info '=dev-python/qscintilla-python-2.10.7::gentoo' (emerge-info.log,5.29 KB, text/x-log)
2018-08-26 06:24 UTC, Märt Bakhoff
Details
qscintilla-python-2.10.7/temp/build.log (build.log,160.08 KB, text/plain)
2018-08-26 06:24 UTC, Märt Bakhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Märt Bakhoff 2018-08-26 06:24:04 UTC
Created attachment 545024 [details]
emerge --info '=dev-python/qscintilla-python-2.10.7::gentoo'

Upgrading dev-python/qscintilla-python-2.10.4 to 2.10.7 fails: 

/usr/bin/python2.7 mk_distinfo.py /var/tmp/portage/dev-python/qscintilla-python-2.10.7/image/usr/lib64/python2.7/site-packages/QScintilla-2.10.7.dist-info installed.txt
/usr/bin/python2.7: can't open file 'mk_distinfo.py': [Errno 2] No such file or directory
make: *** [Makefile:480: install_distinfo] Error 2
Comment 1 Märt Bakhoff 2018-08-26 06:24:56 UTC
Created attachment 545026 [details]
qscintilla-python-2.10.7/temp/build.log
Comment 2 Juergen Rose 2018-08-26 07:08:42 UTC
Same issue here.
Comment 3 Andreas Sturmlechner gentoo-dev 2018-08-26 10:09:47 UTC
*** Bug 664630 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Sturmlechner gentoo-dev 2018-08-26 10:30:24 UTC
*** Bug 664626 has been marked as a duplicate of this bug. ***
Comment 5 Jouni Kosonen 2018-08-26 13:43:03 UTC
Maybe something like this:

--- a/dev-python/qscintilla-python/qscintilla-python-2.10.7.ebuild
+++ b/dev-python/qscintilla-python/qscintilla-python-2.10.7.ebuild
@@ -52,6 +52,7 @@ src_configure() {
 
                # Run eqmake to respect toolchain, build flags, and prevent stripping
                eqmake5 -recursive
+               ln -s "${S}"/mk_distinfo.py
        }
        python_foreach_impl run_in_build_dir configuration
 }
Comment 6 Helmut Jarausch 2018-08-26 15:38:54 UTC
(In reply to Jouni Kosonen from comment #5)
> Maybe something like this:
> 
> --- a/dev-python/qscintilla-python/qscintilla-python-2.10.7.ebuild
> +++ b/dev-python/qscintilla-python/qscintilla-python-2.10.7.ebuild
> @@ -52,6 +52,7 @@ src_configure() {
>  
>                 # Run eqmake to respect toolchain, build flags, and prevent
> stripping
>                 eqmake5 -recursive
> +               ln -s "${S}"/mk_distinfo.py
>         }
>         python_foreach_impl run_in_build_dir configuration
>  }

Thanks!

Now it proceeds a bit longer but then I get
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.7/site-packages/PyQt5/Qsci.so'

eix -e dev-python/PyQt5 shows
Installed versions:  5.10.1-r1{tbz2}(12:49:27 PM 08/22/2018)(dbus declarative designer examples gui help multimedia network opengl printsupport sql svg webchannel webengine webkit websockets widgets x11extras xmlpatterns -bluetooth -debug -gles2 -location -positioning -sensors -serialport -testlib PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_4 -python3_5")
Comment 7 Larry the Git Cow gentoo-dev 2018-08-26 17:57:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acca71e161133588d6cc13d170e53108b8f4b2bf

commit acca71e161133588d6cc13d170e53108b8f4b2bf
Author:     Davide Pesavento <pesa@gentoo.org>
AuthorDate: 2018-08-26 17:56:31 +0000
Commit:     Davide Pesavento <pesa@gentoo.org>
CommitDate: 2018-08-26 17:57:47 +0000

    dev-python/qscintilla-python: fix out-of-source builds
    
    Closes: https://bugs.gentoo.org/664612
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 dev-python/qscintilla-python/qscintilla-python-2.10.7.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)