[MacPorts] #50287: qt5-qtwebengine install failed
#50287: qt5-qtwebengine install failed -------------------------------+-------------------------------- Reporter: jianguohsiang82@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: -------------------------------+-------------------------------- See log file attached Error: org.macports.build for port qt5-qtwebengine returned: command execution failed -- Ticket URL: <https://trac.macports.org/ticket/50287> MacPorts <https://www.macports.org/> Ports system for OS X
#50287: qt5-qtwebengine @5.5.1: build failed --------------------------------+------------------------ Reporter: jianguohsiang82@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5-qtwebengine | --------------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => mcalhoun@… * cc: mcalhoun@… (removed) * port: => qt5-qtwebengine Old description:
See log file attached
Error: org.macports.build for port qt5-qtwebengine returned: command execution failed
New description: See log file attached {{{ Error: org.macports.build for port qt5-qtwebengine returned: command execution failed }}} -- Comment: The log you attached is not from a [https://guide.macports.org/chunked/project.html#project.tickets clean build attempt]. Please `sudo port clean qt5-qtwebengine` and try again, and attach the new log. -- Ticket URL: <https://trac.macports.org/ticket/50287#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50287: qt5-qtwebengine @5.5.1: build failed --------------------------------+------------------------ Reporter: jianguohsiang82@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5-qtwebengine | --------------------------------+------------------------ Comment (by jianguohsiang82@…): Replying to [comment:1 ryandesign@…]:
The log you attached is not from a [https://guide.macports.org/chunked/project.html#project.tickets clean build attempt]. Please `sudo port clean qt5-qtwebengine` and try again, and attach the new log.
See the new file attached. -- Ticket URL: <https://trac.macports.org/ticket/50287#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50287: qt5-qtwebengine @5.5.1: build failed --------------------------------+------------------------ Reporter: jianguohsiang82@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5-qtwebengine | --------------------------------+------------------------ Comment (by jianguohsiang82@…): ryandesign@macports.org: Has there been any update on this port? The new log file is attached, and it doesn't build. -- Ticket URL: <https://trac.macports.org/ticket/50287#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50287: qt5-qtwebengine @5.5.1: TypeError: argument of type 'NoneType' is not iterable --------------------------------+------------------------ Reporter: jianguohsiang82@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5-qtwebengine | --------------------------------+------------------------ Comment (by ryandesign@…): I see it fails with "`TypeError: argument of type 'NoneType' is not iterable`" when running something with "`python`". What is "`python`" on your system? You can run "`command -v python`" to find out where it is and "`python -V`" to find out what version it is. I suspect you have selected a version of python that is either too new or too old for Qt 5. The qt5-qtwebengine port should be enhanced to use a specific known-good version of MacPorts Python and not rely on the user having selected a suitable one. -- Ticket URL: <https://trac.macports.org/ticket/50287#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50287: qt5-qtwebengine @5.5.1: TypeError: argument of type 'NoneType' is not iterable --------------------------------+------------------------ Reporter: jianguohsiang82@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5-qtwebengine | --------------------------------+------------------------ Comment (by jianguohsiang82@…): It is Python 2.7.11, located at `/opt/local/bin/python`. -- Ticket URL: <https://trac.macports.org/ticket/50287#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50287: qt5-qtwebengine @5.5.1: TypeError: argument of type 'NoneType' is not iterable --------------------------------+------------------------ Reporter: jianguohsiang82@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5-qtwebengine | --------------------------------+------------------------ Changes (by mcalhoun@…): * status: new => assigned Comment: In the file {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/work /qtwebengine-opensource- src-5.5.1/src/3rdparty/chromium/tools/json_schema_compiler/../../ppapi/generators/idl_lexer.py }}} there is the code {{{ try: from ply import lex except: module_path, module_name = os.path.split(__file__) third_party = os.path.join(module_path, '..', '..', 'third_party') sys.path.append(third_party) from ply import lex }}} I did not have the port py27-ply installed, but you seem to.[[BR]] Even after installing py27-ply, I was not able to reproduced the error. There is a discrepancy, however, on the line numbers of the py27-ply file {{{ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ply/lex.py }}} Is it possible that you are using an old version of py27-ply (r142769)? Please look in {{{ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ply/lex.py }}} The {{{__version__}}} variable should say 3.8.[[BR]] Is that the case? -- Ticket URL: <https://trac.macports.org/ticket/50287#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#50287: qt5-qtwebengine @5.5.1: TypeError: argument of type 'NoneType' is not iterable --------------------------------+------------------------ Reporter: jianguohsiang82@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5-qtwebengine | --------------------------------+------------------------ Comment (by jianguohsiang82@…): Replying to [comment:6 mcalhoun@…]:
In the file {{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/work /qtwebengine-opensource- src-5.5.1/src/3rdparty/chromium/tools/json_schema_compiler/../../ppapi/generators/idl_lexer.py
}}} there is the code {{{ try: from ply import lex except: module_path, module_name = os.path.split(__file__) third_party = os.path.join(module_path, '..', '..', 'third_party') sys.path.append(third_party) from ply import lex }}} I did not have the port py27-ply installed, but you seem to.[[BR]] Even after installing py27-ply, I was not able to reproduced the error.
There is a discrepancy, however, on the line numbers of the py27-ply file {{{
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ply/lex.py
}}} Is it possible that you are using an old version of py27-ply (r142769)?
Please look in {{{
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/ply/lex.py
}}} The {{{__version__}}} variable should say 3.8.[[BR]] Is that the case?
I have __version__ = '3.6' I will uninstall and reinstall. -- Ticket URL: <https://trac.macports.org/ticket/50287#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#50287: qt5-qtwebengine @5.5.1: TypeError: argument of type 'NoneType' is not iterable --------------------------------+------------------------ Reporter: jianguohsiang82@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5-qtwebengine | --------------------------------+------------------------ Comment (by mcalhoun@…): Replying to [comment:7 jianguohsiang82@…]:
Replying to [comment:6 mcalhoun@…]:
The {{{__version__}}} variable should say 3.8.[[BR]] Is that the case?
I have __version__ = '3.6'
I will uninstall and reinstall.
Did upgrading py27-ply fix the problem? -- Ticket URL: <https://trac.macports.org/ticket/50287#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#50287: qt5-qtwebengine @5.5.1: TypeError: argument of type 'NoneType' is not iterable --------------------------------+------------------------ Reporter: jianguohsiang82@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5-qtwebengine | --------------------------------+------------------------ Comment (by jianguohsiang82@…): Yes, uninstalling and reinstalling the port solved this problem. Please close. Thank you! -- Ticket URL: <https://trac.macports.org/ticket/50287#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#50287: qt5-qtwebengine @5.5.1: TypeError: argument of type 'NoneType' is not iterable --------------------------------+------------------------ Reporter: jianguohsiang82@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: qt5-qtwebengine | --------------------------------+------------------------ Changes (by mcalhoun@…): * status: assigned => closed * resolution: => fixed Comment: r145315 should ensure this does not happen again. -- Ticket URL: <https://trac.macports.org/ticket/50287#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts