Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#38640 closed defect (fixed)

webkit-gtk configure failure

Reported by: deesto (John S. De Stefano Jr.) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: dbevans (David B. Evans), ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager)
Port: webkit-gtk

Description

DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.0" && ./configure --prefix=/opt/local --with-gtk=2.0 --disable-webkit2 --disable-introspection --enable-svg --enable-geolocation --enable-media-stream --enable-webgl --enable-video 
Error: org.macports.configure for port webkit-gtk returned: configure failure: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
DEBUG: Registry error: google-test not registered as installed & active.
Error: Unable to upgrade port: 1
configure: error: Compiler GCC >= 4.7 or Clang >= 3.0 is required for C compilation

Note that when google-test is installed and activated, installer debug mentions that it is "not registered as installed & active", and when it is installed and active, it complains that it "cannot be built while google-test is active."

Attachments (5)

main.log (9.6 KB) - added by deesto (John S. De Stefano Jr.) 11 years ago.
stdout-debug.log (3.7 KB) - added by deesto (John S. De Stefano Jr.) 11 years ago.
ufraw-stdout.log (3.2 KB) - added by deesto (John S. De Stefano Jr.) 11 years ago.
latest upgrade debug stdout output
main.2.log (11.2 KB) - added by deesto (John S. De Stefano Jr.) 11 years ago.
latest port log
webkit-gtk.leopard.main.log (25.5 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.

Download all attachments as: .zip

Change History (16)

Changed 11 years ago by deesto (John S. De Stefano Jr.)

Attachment: main.log added

Changed 11 years ago by deesto (John S. De Stefano Jr.)

Attachment: stdout-debug.log added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Cc: devans@… added
Keywords: webkit-gtk configure failure gcc clang removed
Owner: changed from macports-tickets@… to jeremyhu@…

In the future, please Cc the port maintainer(s).

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

Resolution: fixed
Status: newclosed

comment:3 Changed 11 years ago by deesto (John S. De Stefano Jr.)

Thanks for looking at this. While it may be due to some self-inflicted config problem, all other ports upgrade successfully, while ufraw now fails with a different problem.

Warning: All compilers are either blacklisted or unavailable; using first fallback entry as last resort

Changed 11 years ago by deesto (John S. De Stefano Jr.)

Attachment: ufraw-stdout.log added

latest upgrade debug stdout output

Changed 11 years ago by deesto (John S. De Stefano Jr.)

Attachment: main.2.log added

latest port log

comment:4 Changed 11 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: closedreopened

I think Jeremy forgot that the fallback list in 2.1.3 is different to that in trunk.

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

Ah yep, we'll need that ugly dependency-addition workaround until 2.2 is released.

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

Resolution: fixed
Status: reopenedclosed

comment:7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: closedreopened

I still have "All compilers are either blacklisted or unavailable; using first fallback entry as last resort", followed by configure failing with "configure: error: Compiler GCC >= 4.7 or Clang >= 3.0 is required for C compilation" because the first fallback compiler in MacPorts 2.1.3 is one of the compilers the port blacklists. I still don't understand how ports are meant to deal with this. I don't understand why MacPorts would try the "first fallback entry" if it's a blacklisted compiler. Why wouldn't it try the first fallback entry that's not blacklisted? Then ports could simply append a suitable compiler to compiler.fallback.

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: webkit-gtk.leopard.main.log added

comment:8 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:9 in reply to:  7 Changed 11 years ago by deesto (John S. De Stefano Jr.)

Replying to ryandesign@…:

I still have "All compilers are either blacklisted or unavailable; using first fallback entry as last resort", followed by configure failing with "configure: error: Compiler GCC >= 4.7 or Clang >= 3.0 is required for C compilation" because the first fallback compiler in MacPorts 2.1.3 is one of the compilers the port blacklists.

I can confirm that I still see the same error.

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

Resolution: fixed
Status: reopenedclosed

r104875 should do it then

comment:11 in reply to:  7 Changed 11 years ago by jmroot (Joshua Root)

Replying to ryandesign@…:

I don't understand why MacPorts would try the "first fallback entry" if it's a blacklisted compiler.

Because, as the message plainly says, "All compilers are either blacklisted or unavailable". You obviously don't want a port to ever be in this state; that's why there is a warning message.

Why wouldn't it try the first fallback entry that's not blacklisted? Then ports could simply append a suitable compiler to compiler.fallback.

It does if there is one, and you can and should.

Note: See TracTickets for help on using tickets.