Opened 9 years ago

Closed 9 years ago

#50472 closed defect (fixed)

webkit2-gtk failed to build

Reported by: amadeus24 Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: dbevans (David B. Evans)
Port: webkit2-gtk

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Tried to install webkit2-gtk, but build fails with the following message:

:info:build Traceback (most recent call last):
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.11.4/Tools/gtk/generate-inspector-gresource-manifest.py", line 18, in <module>
:info:build     import argparse
:info:build ImportError: No module named argparse
:info:build make[2]: *** [DerivedSources/webkit2gtk/InspectorGResourceBundle.xml] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build'
:info:build make[1]: *** [Source/WebKit2/CMakeFiles/WebKit2.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build org.macports.build for port webkit2-gtk returned: command execution failed
:debug:build Error code: CHILDSTATUS 44916 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for webkit2-gtk: org.macports.activate org.macports.build org.macports.destroot org.macports.install

Attachments (1)

main.log.tgz (1.6 MB) - added by amadeus24 9 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: devans@… added
Description: modified (diff)
Keywords: webkit2-gtk argparse removed
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Please attach your full build log.

comment:3 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Also, what OS version are you on?

What is the output of port select python?

comment:4 Changed 9 years ago by amadeus24

I have running 10.10.5.
The output of "port select python" is:
Available versions for python:

none
python26 (active)
python26-apple
python27
python27-apple
python34

I had attached the full log, I'm surprised not seeing it! It took a long time to upload and finally I didn't check if the file was uploaded. I will build again the port and attach the log.

Changed 9 years ago by amadeus24

Attachment: main.log.tgz added

comment:5 Changed 9 years ago by amadeus24

python27 did the job. The question about python version brought me to the idea to give another version a try.

comment:6 Changed 9 years ago by amadeus24

Sorry, it was late yesterday. Thanks!

comment:7 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

That's odd. The configure script finds:

:info:configure -- Found PythonInterp: /opt/local/bin/python2.7 (found suitable version "2.7.11", minimum required is "2.7.0") 

but Tools/gtk/generate-inspector-gresource-manifest.py doesn't use it:

#!/usr/bin/env python
...

comment:8 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

comment:9 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.