[MacPorts] #47069: How to build webkit-gtk3-2.0 @2.0.4_4 on a 10.5.8 PPC ?

MacPorts noreply at macports.org
Sat Mar 7 16:44:23 PST 2015


#47069: How to build webkit-gtk3-2.0 @2.0.4_4 on a 10.5.8 PPC ?
------------------------+--------------------------------
 Reporter:  braumann@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.3.3
 Keywords:  ppc         |       Port:  webkit-gtk3-2.0
------------------------+--------------------------------
 As {{{webkit-gtk3-2.0 @2.0.4_4}}} is presently requiring {{{clang-3.3}}}
 for building, and since {{{clang-3.3}}} (and higher) in turn unfortunately
 is not able to produce PPC binary code I was wondering if {{{gcc-4.9}}} is
 able to work instead, since the Portfile says

 {{{
 # configure checks that we're clang 3.0, gcc 4.7, or better
 }}}

 So I was trying

 {{{
 $ sudo port install webkit-gtk3-2.0 configure.compiler=macports-gcc-4.9
 }}}


 However, even the the configuration fails stating that the compiler (i.e.
 {{{gcc-4.9}}}) is not working. The latter, however, of course is not true
 in general. Looking into the {{{config.log}}} I found the following
 indicating trouble with command line switches ({{{-V, -qversion, -fno-
 blocks}}}) being non-existent for {{{gcc-4.9}}}:

 {{{
 Thread model: posix
 gcc version 4.9.2 (MacPorts gcc49 4.9.2_1)
 configure:3718: $? = 0
 configure:3707: /opt/local/bin/gcc-mp-4.9 -V >&5
 gcc-mp-4.9: error: unrecognized command line option '-V'
 gcc-mp-4.9: fatal error: no input files
 compilation terminated.
 configure:3718: $? = 1
 configure:3707: /opt/local/bin/gcc-mp-4.9 -qversion >&5
 gcc-mp-4.9: error: unrecognized command line option '-qversion'
 gcc-mp-4.9: fatal error: no input files
 compilation terminated.
 configure:3718: $? = 1
 configure:3738: checking whether the C compiler works
 configure:3760: /opt/local/bin/gcc-mp-4.9 -Os -fno-blocks -m32
 -DGTEST_USE_OWN_TR1_TUPLE=1 -D__MAC_OS_X_VERSION_MAX_ALLOWED=1050
 -L/opt/local/lib -Wl,-headerpad_max_install_names co
 nftest.c  >&5
 gcc-mp-4.9: error: unrecognized command line option '-fno-blocks'
 configure:3764: $? = 1
 configure:3802: result: no
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "WebKitGTK"
 | #define PACKAGE_TARNAME "webkitgtk"
 | #define PACKAGE_VERSION "2.0.4"
 | #define PACKAGE_STRING "WebKitGTK 2.0.4"
 | #define PACKAGE_BUGREPORT "http://bugs.webkit.org/"
 | #define PACKAGE_URL ""
 | /* end confdefs.h.  */
 |
 | int
 | main ()
 | {
 |
 |   ;
 |   return 0;
 | }
 configure:3807: error: in
 `/Volumes/Data/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_www_webkit-gtk-2.0/webkit-
 gtk3-2.0/work/webkitgtk-2.0.4':
 configure:3809: error: C compiler cannot create executables
 }}}

 I need {{{webkit-gtk3-2.0}}} as one of the many components required for
 building {{{gedit @3.14.3}}}.

-- 
Ticket URL: <https://trac.macports.org/ticket/47069>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list