Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PyQt5 fails during configure with w_qpy*.pro [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
tenspd137
Guru
Guru


Joined: 22 Aug 2006
Posts: 373

PostPosted: Wed Apr 16, 2014 2:41 pm    Post subject: PyQt5 fails during configure with w_qpy*.pro [SOLVED] Reply with quote

Hi all - I took the PyQt5 ebuild from unity-gentoo and put it in my own overlay. It looks like it is basically the PyQt4 ebuild with minor modifications for 5. When I try to use it, it keeps failing in src_configure() as shown below being unable to find w_qpy*.pro files:

build_log
Code:

cat /var/tmp/portage/dev-python/PyQt5-5.2.1/temp/build.log
 * Package:    dev-python/PyQt5-5.2.1
 * Repository: x-portage
 * USE:        X amd64 dbus doc elibc_glibc examples kernel_linux multimedia opengl print python_targets_python2_7 python_targets_python3_2 python_targets_python3_3 qml sql svg userland_GNU webkit widgets xmlpatterns
 * FEATURES:   preserve-libs sandbox splitdebug usersandbox
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking PyQt-gpl-5.2.1.tar.gz to /var/tmp/portage/dev-python/PyQt5-5.2.1/work
>>> Source unpacked in /var/tmp/portage/dev-python/PyQt5-5.2.1/work
>>> Preparing source in /var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1 ...
 * Will copy sources from /var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1
 * python3_2: copying to /var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1-python3_2
 * python3_3: copying to /var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1-python3_3
 * python2_7: copying to /var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1-python2_7
 * python3_2: running run_in_build_dir preparation
 * python3_3: running run_in_build_dir preparation
 * python2_7: running run_in_build_dir preparation
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1 ...
 * python3_2: running run_in_build_dir configuration
 * python3_3: running run_in_build_dir configuration
 * python2_7: running run_in_build_dir configuration
/usr/bin/python3.2 configure.py --confirm-license --bindir=/usr/bin --destdir=/usr/lib64/python3.2/site-packages --sipdir=/usr/share/sip/PyQt5 --assume-shared --no-timestamp --qsci-api --enable=QtCore --enable=QtNetwork --enable=QtGui --enable=QtTest --enable=QtDBus --enable=QtMultimedia --enable=QtMultimediaWidgets --enable=QtOpenGL --enable=QtPrintSupport --enable=QtQml --enable=QtQuick --enable=QtSql --enable=QtSvg --enable=QtWebKit --enable=QtWebKitWidgets --enable=QtWidgets --enable=QtXmlPatterns AR=x86_64-pc-linux-gnu-ar cqs CC=x86_64-pc-linux-gnu-gcc CFLAGS=-march=native -O2 -pipe CFLAGS_RELEASE= CXX=x86_64-pc-linux-gnu-g++ CXXFLAGS=-march=native -O2 -pipe CXXFLAGS_RELEASE= LINK=x86_64-pc-linux-gnu-g++ LINK_SHLIB=x86_64-pc-linux-gnu-g++ LFLAGS=-Wl,-O1 -Wl,--as-needed LFLAGS_RELEASE= RANLIB= STRIP=
/usr/bin/python3.3 configure.py --confirm-license --bindir=/usr/bin --destdir=/usr/lib64/python3.3/site-packages --sipdir=/usr/share/sip/PyQt5 --assume-shared --no-timestamp --qsci-api --enable=QtCore --enable=QtNetwork --enable=QtGui --enable=QtTest --enable=QtDBus --enable=QtMultimedia --enable=QtMultimediaWidgets --enable=QtOpenGL --enable=QtPrintSupport --enable=QtQml --enable=QtQuick --enable=QtSql --enable=QtSvg --enable=QtWebKit --enable=QtWebKitWidgets --enable=QtWidgets --enable=QtXmlPatterns AR=x86_64-pc-linux-gnu-ar cqs CC=x86_64-pc-linux-gnu-gcc CFLAGS=-march=native -O2 -pipe CFLAGS_RELEASE= CXX=x86_64-pc-linux-gnu-g++ CXXFLAGS=-march=native -O2 -pipe CXXFLAGS_RELEASE= LINK=x86_64-pc-linux-gnu-g++ LINK_SHLIB=x86_64-pc-linux-gnu-g++ LFLAGS=-Wl,-O1 -Wl,--as-needed LFLAGS_RELEASE= RANLIB= STRIP=
/usr/bin/python2.7 configure.py --confirm-license --bindir=/usr/bin --destdir=/usr/lib64/python2.7/site-packages --sipdir=/usr/share/sip/PyQt5 --assume-shared --no-timestamp --qsci-api --enable=QtCore --enable=QtNetwork --enable=QtGui --enable=QtTest --enable=QtDBus --enable=QtMultimedia --enable=QtMultimediaWidgets --enable=QtOpenGL --enable=QtPrintSupport --enable=QtQml --enable=QtQuick --enable=QtSql --enable=QtSvg --enable=QtWebKit --enable=QtWebKitWidgets --enable=QtWidgets --enable=QtXmlPatterns AR=x86_64-pc-linux-gnu-ar cqs CC=x86_64-pc-linux-gnu-gcc CFLAGS=-march=native -O2 -pipe CFLAGS_RELEASE= CXX=x86_64-pc-linux-gnu-g++ CXXFLAGS=-march=native -O2 -pipe CXXFLAGS_RELEASE= LINK=x86_64-pc-linux-gnu-g++ LINK_SHLIB=x86_64-pc-linux-gnu-g++ LFLAGS=-Wl,-O1 -Wl,--as-needed LFLAGS_RELEASE= RANLIB= STRIP=
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
This is the GPL version of PyQt 5.2.1 (licensed under the GNU General Public
License) for Python 2.7.6 on linux2.
Found the license file pyqt-gpl.sip.
Qt v5.2.1 (Open Source) is being used.
The qmake executable is /usr/lib64/qt5/bin/qmake.
Qt is built as a shared library.
SIP 4.15.5 is being used.
The sip executable is /usr/bin/sip.
These PyQt5 modules will be built: QtCore, QtNetwork, QtGui, QtTest, QtDBus,
QtMultimedia, QtMultimediaWidgets, QtOpenGL, QtPrintSupport, QtQml, QtQuick,
QtSql, QtSvg, QtWebKit, QtWebKitWidgets, QtWidgets, QtXmlPatterns.
The PyQt5 Python package will be installed in
/usr/lib64/python2.7/site-packages.
PyQt5 is being built with generated docstrings.
PyQt5 is being built with 'protected' redefined as 'public'.
The Designer plugin will be installed in /usr/lib64/qt5/plugins/designer.
The qmlscene plugin will be installed in /usr/lib64/qt5/plugins/PyQt5.
The QScintilla API file will be installed in /usr/share/qt5/qsci/api/python.
The PyQt5 .sip files will be installed in /usr/share/sip/PyQt5.
pyuic5, pyrcc5 and pylupdate5 will be installed in /usr/bin.
The interpreter used by pyuic5 is /usr/bin/python2.7.
Generating the C++ source for the QtCore module...
Generating the .pro file for the QtCore module...
Generating the Makefile for the QtCore module...
Generating the C++ source for the QtNetwork module...
Generating the .pro file for the QtNetwork module...
Generating the Makefile for the QtNetwork module...
Generating the C++ source for the QtGui module...
Generating the .pro file for the QtGui module...
Generating the Makefile for the QtGui module...
Generating the C++ source for the QtTest module...
Generating the .pro file for the QtTest module...
Generating the Makefile for the QtTest module...
Generating the C++ source for the QtDBus module...
Generating the .pro file for the QtDBus module...
Generating the Makefile for the QtDBus module...
Generating the C++ source for the QtMultimedia module...
Generating the .pro file for the QtMultimedia module...
Generating the Makefile for the QtMultimedia module...
Generating the C++ source for the QtMultimediaWidgets module...
Generating the .pro file for the QtMultimediaWidgets module...
Generating the Makefile for the QtMultimediaWidgets module...
Generating the C++ source for the QtOpenGL module...
Generating the .pro file for the QtOpenGL module...
Generating the Makefile for the QtOpenGL module...
Generating the C++ source for the QtPrintSupport module...
Generating the .pro file for the QtPrintSupport module...
Generating the Makefile for the QtPrintSupport module...
Generating the C++ source for the QtQml module...
Generating the .pro file for the QtQml module...
Generating the Makefile for the QtQml module...
Generating the C++ source for the QtQuick module...
Generating the .pro file for the QtQuick module...
Generating the Makefile for the QtQuick module...
Generating the C++ source for the QtSql module...
Generating the .pro file for the QtSql module...
Generating the Makefile for the QtSql module...
Generating the C++ source for the QtSvg module...
Generating the .pro file for the QtSvg module...
Generating the Makefile for the QtSvg module...
Generating the C++ source for the QtWebKit module...
Generating the .pro file for the QtWebKit module...
Generating the Makefile for the QtWebKit module...
Generating the C++ source for the QtWebKitWidgets module...
Generating the .pro file for the QtWebKitWidgets module...
Generating the Makefile for the QtWebKitWidgets module...
Generating the C++ source for the QtWidgets module...
Generating the .pro file for the QtWidgets module...
Generating the Makefile for the QtWidgets module...
Generating the C++ source for the QtXmlPatterns module...
Generating the .pro file for the QtXmlPatterns module...
Generating the Makefile for the QtXmlPatterns module...
Embedding sip flags...
Generating the C++ source for the Qt module...
Generating the .pro file for the Qt module...
Generating the Makefile for the Qt mQuerying qmake about your Qt installation...
Determining the details of your Qt installation...
This is the GPL version of PyQt 5.2.1 (licensed under the GNU General Public
License) for Python 3.2.5 on linux2.
Found the license file pyqt-gpl.sip.
Qt v5.2.1 (Open Source) is being used.
The qmake executable is /usr/lib64/qt5/bin/qmake.
Qt is built as a shared library.
SIP 4.15.5 is being used.
The sip executable is /usr/bin/sip.
These PyQt5 modules will be built: QtCore, QtNetwork, QtGui, QtTest, QtDBus,
QtMultimedia, QtMultimediaWidgets, QtOpenGL, QtPrintSupport, QtQml, QtQuick,
QtSql, QtSvg, QtWebKit, QtWebKitWidgets, QtWidgets, QtXmlPatterns.
The PyQt5 Python package will be installed in
/usr/lib64/python3.2/site-packages.
PyQt5 is being built with generated docstrings.
PyQt5 is being built with 'protected' redefined as 'public'.
The Designer plugin will be installed in /usr/lib64/qt5/plugins/designer.
The qmlscene plugin will be installed in /usr/lib64/qt5/plugins/PyQt5.
The QScintilla API file will be installed in /usr/share/qt5/qsci/api/python.
The PyQt5 .sip files will be installed in /usr/share/sip/PyQt5.
pyuic5, pyrcc5 and pylupdate5 will be installed in /usr/bin.
The interpreter used by pyuic5 is /usr/bin/python3.2.
Generating the C++ source for the QtCore module...
Generating the .pro file for the QtCore module...
Generating the Makefile for the QtCore module...
Generating the C++ source for the QtNetwork module...
Generating the .pro file for the QtNetwork module...
Generating the Makefile for the QtNetwork module...
Generating the C++ source for the QtGui module...
Generating the .pro file for the QtGui module...
Generating the Makefile for the QtGui module...
Generating the C++ source for the QtTest module...
Generating the .pro file for the QtTest module...
Generating the Makefile for the QtTest module...
Generating the C++ source for the QtDBus module...
Generating the .pro file for the QtDBus module...
Generating the Makefile for the QtDBus module...
Generating the C++ source for the QtMultimedia module...
Generating the .pro file for the QtMultimedia module...
Generating the Makefile for the QtMultimedia module...
Generating the C++ source for the QtMultimediaWidgets module...
Generating the .pro file for the QtMultimediaWidgets module...
Generating the Makefile for the QtMultimediaWidgets module...
Generating the C++ source for the QtOpenGL module...
Generating the .pro file for the QtOpenGL module...
Generating the Makefile for the QtOpenGL module...
Generating the C++ source for the QtPrintSupport module...
Generating the .pro file for the QtPrintSupport module...
Generating the Makefile for the QtPrintSupport module...
Generating the C++ source for the QtQml module...
Generating the .pro file for the QtQml module...
Generating the Makefile for the QtQml module...
Generating the C++ source for the QtQuick module...
Generating the .pro file for the QtQuick module...
Generating the Makefile for the QtQuick module...
Generating the C++ source for the QtSql module...
Generating the .pro file for the QtSql module...
Generating the Makefile for the QtSql module...
Generating the C++ source for the QtSvg module...
Generating the .pro file for the QtSvg module...
Generating the Makefile for the QtSvg module...
Generating the C++ source for the QtWebKit module...
Generating the .pro file for the QtWebKit module...
Generating the Makefile for the QtWebKit module...
Generating the C++ source for the QtWebKitWidgets module...
Generating the .pro file for the QtWebKitWidgets module...
Generating the Makefile for the QtWebKitWidgets module...
Generating the C++ source for the QtWidgets module...
Generating the .pro file for the QtWidgets module...
Generating the Makefile for the QtWidgets module...
Generating the C++ source for the QtXmlPatterns module...
Generating the .pro file for the QtXmlPatterns module...
Generating the Makefile for the QtXmlPatterns module...
Embedding sip flags...
Generating the C++ source for the Qt module...
Generating the .pro file for the Qt module...
Generating the Makefile for the Qt module...
Generating the .pro file for pylupdate5...
Generating the Makefile for pylupdate5...
Generating the .pro file for pyrcc5...
Generating the Makefile for pyrcc5...
Generating the pyuic5 wrapper...
Generating the qmlscene plugin .pro file...
Generating the qmlscene plugin Makefile...
Re-writing
/var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1-python3_2/examples/quick/tutorials/extending/chapter6-plugins/Charts/qmldir...
Generating the QScintilla API file...
Generating the top-level .pro file...
Making the pyuic5 wrapper executable...
Generating the top-level Makefile...
ls: cannot access w_qpy*.pro: No such file or directory
 * Running qmake ...
Usage: /usr/lib64/qt5/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets files as files to
                 be built,
                 defaults to *; *; *; *.ts; *.xlf; *.qrc
                 Note: The created .pro file probably will
                 need to be edited. For example add the QT variable to
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory

Warnings Options:
  -Wnone         Turn off all warnings; specific ones may be re-enabled by
                 later -W options
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)

Options:
   * You can place any variable assignment in options and it will be     *
   * processed as if it was in [files]. These assignments will be parsed *
   * before [files].                                                     *
  -o file        Write output to file
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
  -help          This help
  -v             Version information
  -after         All variable assignments after this will be
                 parsed after [files]
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -unset <prop>  Unset persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]         [ !! ]

 * Running qmake has failed! (see above for details)
 * This shouldn't happen - please send a bug report to https://bugs.gentoo.org/

 * ERROR: dev-python/PyQt5-5.2.1::x-portage failed (configure phase):
 *   eqmake5 failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3341:  Called python_parallel_foreach_impl 'run_in_build_dir' 'configuration'
 *   environment, line 3158:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2288:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2236:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2234:  Called _multibuild_parallel '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2279:  Called _python_multibuild_wrapper 'run_in_build_dir' 'configuration'
 *   environment, line  622:  Called run_in_build_dir 'configuration'
 *   environment, line 3311:  Called configuration
 *   environment, line 3331:  Called eqmake5
 *   environment, line 1415:  Called die
 * The specific snippet of code:
 *           die "eqmake5 failed";
 *
 * If you need support, post the output of `emerge --info '=dev-python/PyQt5-5.2.1::x-portage'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/PyQt5-5.2.1::x-portage'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 195: wait: `eqmake5 failed': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/dev-python/PyQt5-5.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt5-5.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1-python3_2/qpy/QtCore'
 * S: '/var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1'
odule...
Generating the .pro file for pylupdate5...
Generating the Makefile for pylupdate5...
Generating the .pro file for pyrcc5...
Generating the Makefile for pyrcc5...
Generating the pyuic5 wrapper...
Generating the qmlscene plugin .pro file...
Generating the qmlscene plugin Makefile...
Re-writing
/var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1-python2_7/examples/quick/tutorials/extending/chapter6-plugins/Charts/qmldir...
Generating the QScintilla API file...
Generating the top-level .pro file...
Making the pyuic5 wrapper executable...
Generating the top-level Makefile...
ls: cannot access w_qpy*.pro: No such file or directory
 * Running qmake ...
Usage: /usr/lib64/qt5/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets files as files to
                 be built,
                 defaults to *; *; *; *.ts; *.xlf; *.qrc
                 Note: The created .pro file probably will
                 need to be edited. For example add the QT variable to
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory

Warnings Options:
  -Wnone         Turn off all warnings; specific ones may be re-enabled by
                 later -W options
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)

Options:
   * You can place any variable assignment in options and it will be     *
   * processed as if it was in [files]. These assignments will be parsed *
   * before [files].                                                     *
  -o file        Write output to file
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
  -help          This help
  -v             Version information
  -after         All variable assignments after this will be
                 parsed after [files]
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -unset <prop>  Unset persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]         [ !! ]

 * Running qmake has failed! (see above for details)
 * This shouldn't happen - please send a bug report to https://bugs.gentoo.org/

 * ERROR: dev-python/PyQt5-5.2.1::x-portage failed (configure phase):
 *   eqmake5 failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3341:  Called python_parallel_foreach_impl 'run_in_build_dir' 'configuration'
 *   environment, line 3158:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2288:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2236:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2234:  Called _multibuild_parallel '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2279:  Called _python_multibuild_wrapper 'run_in_build_dir' 'configuration'
 *   environment, line  622:  Called run_in_build_dir 'configuration'
 *   environment, line 3311:  Called configuration
 *   environment, line 3331:  Called eqmake5
 *   environment, line 1415:  Called die
 * The specific snippet of code:
 *           die "eqmake5 failed";
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
This is the GPL version of PyQt 5.2.1 (licensed under the GNU General Public
License) for Python 3.3.5 on linux.
Found the license file pyqt-gpl.sip.
Qt v5.2.1 (Open Source) is being used.
The qmake executable is /usr/lib64/qt5/bin/qmake.
Qt is built as a shared library.
SIP 4.15.5 is being used.
The sip executable is /usr/bin/sip.
These PyQt5 modules will be built: QtCore, QtNetwork, QtGui, QtTest, QtDBus,
QtMultimedia, QtMultimediaWidgets, QtOpenGL, QtPrintSupport, QtQml, QtQuick,
QtSql, QtSvg, QtWebKit, QtWebKitWidgets, QtWidgets, QtXmlPatterns.
The PyQt5 Python package will be installed in
/usr/lib64/python3.3/site-packages.
PyQt5 is being built with generated docstrings.
PyQt5 is being built with 'protected' redefined as 'public'.
The Designer plugin will be installed in /usr/lib64/qt5/plugins/designer.
The qmlscene plugin will be installed in /usr/lib64/qt5/plugins/PyQt5.
The QScintilla API file will be installed in /usr/share/qt5/qsci/api/python.
The PyQt5 .sip files will be installed in /usr/share/sip/PyQt5.
pyuic5, pyrcc5 and pylupdate5 will be installed in /usr/bin.
The interpreter used by pyuic5 is /usr/bin/python3.3.
Generating the C++ source for the QtCore module...
Generating the .pro file for the QtCore module...
Generating the Makefile for the QtCore module...
Generating the C++ source for the QtNetwork module...
Generating the .pro file for the QtNetwork module...
Generating the Makefile for the QtNetwork module...
Generating the C++ source for the QtGui module...
Generating the .pro file for the QtGui module...
Generating the Makefile for the QtGui module...
Generating the C++ source for the QtTest module...
Generating the .pro file for the QtTest module...
Generating the Makefile for the QtTest module...
Generating the C++ source for the QtDBus module...
Generating the .pro file for the QtDBus module...
Generating the Makefile for the QtDBus module...
Generating the C++ source for the QtMultimedia module...
Generating the .pro file for the QtMultimedia module...
Generating the Makefile for the QtMultimedia module...
Generating the C++ source for the QtMultimediaWidgets module...
Generating the .pro file for the QtMultimediaWidgets module...
Generating the Makefile for the QtMultimediaWidgets module...
Generating the C++ source for the QtOpenGL module...
Generating the .pro file for the QtOpenGL module...
Generating the Makefile for the QtOpenGL module...
Generating the C++ source for the QtPrintSupport module...
Generating the .pro file for the QtPrintSupport module...
Generating the Makefile for the QtPrintSupport module...
Generating the C++ source for the QtQml module...
Generating the .pro file for the QtQml module...
Generating the Makefile for the QtQml module...
Generating the C++ source for the QtQuick module...
Generating the .pro file for the QtQuick module...
Generating the Makefile for the QtQuick module...
Generating the C++ source for the QtSql module...
Generating the .pro file for the QtSql module...
Generating the Makefile for the QtSql module...
Generating the C++ source for the QtSvg module...
Generating the .pro file for the QtSvg module...
Generating the Makefile for the QtSvg module...
Generating the C++ source for the QtWebKit module...
Generating the .pro file for the QtWebKit module...
Generating the Makefile for the QtWebKit module...
Generating the C++ source for the QtWebKitWidgets module...
Generating the .pro file for the QtWebKitWidgets module...
Generating the Makefile for the QtWebKitWidgets module...
Generating the C++ source for the QtWidgets module...
Generating the .pro file for the QtWidgets module...
Generating the Makefile for the QtWidgets module...
Generating the C++ source for the QtXmlPatterns module...
Generating the .pro file for the QtXmlPatterns module...
Generating the Makefile for the QtXmlPatterns module...
Embedding sip flags...
Generating the C++ source for the Qt module...
Generating the .pro file for the Qt module...
Generating the Makefile for the Qt module...
Generating the .pro file for pylupdate5...
Generating the Makefile for pylupdate5...
Generating the .pro file for pyrcc5...
Generating the Makefile for pyrcc5...
Generating the pyuic5 wrapper...
Generating the qmlscene plugin .pro file...
Generating the qmlscene plugin Makefile...
Re-writing
/var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1-python3_3/examples/quick/tutorials/extending/chapter6-plugins/Charts/qmldir...
Generating the QScintilla API file...
Generating the top-level .pro file...
Making the pyuic5 wrapper executable...
Generating the top-level Makefile...
 *
 * If you need support, post the output of `emerge --info '=dev-python/PyQt5-5.2.1::x-portage'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/PyQt5-5.2.1::x-portage'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 195: wait: `eqmake5 failed': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/dev-python/PyQt5-5.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt5-5.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1-python2_7/qpy/QtCore'
 * S: '/var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1'
ls: cannot access w_qpy*.pro: No such file or directory
 * Running qmake ...
Usage: /usr/lib64/qt5/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project       Put qmake into project file generation mode
                 In this mode qmake interprets files as files to
                 be built,
                 defaults to *; *; *; *.ts; *.xlf; *.qrc
                 Note: The created .pro file probably will
                 need to be edited. For example add the QT variable to
                 specify what modules are required.
  -makefile      Put qmake into makefile generation mode (default)
                 In this mode qmake interprets files as project files to
                 be processed, if skipped qmake will try to find a project
                 file in your current working directory

Warnings Options:
  -Wnone         Turn off all warnings; specific ones may be re-enabled by
                 later -W options
  -Wall          Turn on all warnings
  -Wparser       Turn on parser warnings
  -Wlogic        Turn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)

Options:
   * You can place any variable assignment in options and it will be     *
   * processed as if it was in [files]. These assignments will be parsed *
   * before [files].                                                     *
  -o file        Write output to file
  -d             Increase debug level
  -t templ       Overrides TEMPLATE as templ
  -tp prefix     Overrides TEMPLATE so that prefix is prefixed into the value
  -help          This help
  -v             Version information
  -after         All variable assignments after this will be
                 parsed after [files]
  -norecursive   Don't do a recursive search
  -recursive     Do a recursive search
  -set <prop> <value> Set persistent property
  -unset <prop>  Unset persistent property
  -query <prop>  Query persistent property. Show all if <prop> is empty.
  -cache file    Use file as cache           [makefile mode only]
  -spec spec     Use spec as QMAKESPEC       [makefile mode only]
  -nocache       Don't use a cache file      [makefile mode only]
  -nodepend      Don't generate dependencies [makefile mode only]
  -nomoc         Don't generate moc targets  [makefile mode only]
  -nopwd         Don't look for files in pwd [project mode only]         [ !! ]

 * Running qmake has failed! (see above for details)
 * This shouldn't happen - please send a bug report to https://bugs.gentoo.org/

 * ERROR: dev-python/PyQt5-5.2.1::x-portage failed (configure phase):
 *   eqmake5 failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3341:  Called python_parallel_foreach_impl 'run_in_build_dir' 'configuration'
 *   environment, line 3158:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2288:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2236:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2234:  Called _multibuild_parallel '_python_multibuild_wrapper' 'run_in_build_dir' 'configuration'
 *   environment, line 2279:  Called _python_multibuild_wrapper 'run_in_build_dir' 'configuration'
 *   environment, line  622:  Called run_in_build_dir 'configuration'
 *   environment, line 3311:  Called configuration
 *   environment, line 3331:  Called eqmake5
 *   environment, line 1415:  Called die
 * The specific snippet of code:
 *           die "eqmake5 failed";
 *
 * If you need support, post the output of `emerge --info '=dev-python/PyQt5-5.2.1::x-portage'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/PyQt5-5.2.1::x-portage'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 195: wait: `eqmake5 failed': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/dev-python/PyQt5-5.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt5-5.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1-python3_3/qpy/QtCore'
 * S: '/var/tmp/portage/dev-python/PyQt5-5.2.1/work/PyQt-gpl-5.2.1'
/usr/lib64/portage/bin/isolated-functions.sh: line 226: kill: (15056) - No such process
/usr/lib64/portage/bin/isolated-functions.sh: line 226: kill: (15056) - No such process


I have looked up w_qpy*.pro on Google, and have seen references to this from versions of PyQt4, but have not been able to identify how you fix it. Ususally, the answers I found were downgrade SIP or it just went away somehow. Anyway, I was wondering if anyone might have some ideas even thought this is currently unsupported software / software outside the main portage tree.

emerge --info:
Code:

=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.15-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_0_@_2.00GHz-with-gentoo-2.2
KiB Mem:    32897432 total,   6357408 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Tue, 01 Apr 2014 17:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p46
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.5, 3.4.0
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: science nbigaouette seden bitcoin drevilt betagarden emacs sunrise qt gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/nbigaouette /var/lib/layman/seden /var/lib/layman/bitcoin /var/lib/layman/drevilt /var/lib/layman/betagarden /var/lib/layman/emacs /var/lib/layman/sunrise /var/lib/layman/qt /usr/portage /usr/local/portage"
USE="X \ acl amd64 berkdb bzip2 cli consolekit cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd truetype unicode zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_2" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC


emerge -pqv
Code:

[ebuild  N    ] dev-python/PyQt5-5.2.1  USE="X dbus doc examples multimedia opengl print qml sql svg webkit widgets xmlpatterns -debug -designer -kde" PYTHON_TARGETS="python2_7 python3_2 python3_3 -python2_6"


Thanks for any suggestions!

EDIT *****************************

Changed the following lines:

in src_configure()

pushd qpy/${mod} > /dev/null || return
to
pushd ${mod} > /dev/null || return

and created a patch for WebKitWidgets:

Code:

--- configure.py   2014-03-14 08:38:18.000000000 -0600
+++ configure.py.new   2014-04-17 22:45:12.812478573 -0600
@@ -89,7 +89,7 @@
     'QtSvg':                ModuleMetadata(qmake_QT=['svg']),
     'QtTest':               ModuleMetadata(qmake_QT=['testlib', 'widgets']),
     'QtWebKit':             ModuleMetadata(qmake_QT=['webkit', 'network']),
-    'QtWebKitWidgets':      ModuleMetadata(qmake_QT=['webkitwidgets']),
+    'QtWebKitWidgets':      ModuleMetadata(qmake_QT=['webkitwidgets', 'printsupport']),
     'QtWidgets':            ModuleMetadata(qmake_QT=['widgets']),
     'QtWinExtras':          ModuleMetadata(qmake_QT=['winextras', 'widgets']),
     'QtX11Extras':          ModuleMetadata(qmake_QT=['x11extras']),

to add print support. May want to do that conditionally, but for now - this works for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum