Opened 2 years ago

Last modified 20 months ago

#64994 new defect

WIP on webkit2 for PowerPC

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, leopard, snowleopard Cc: cooljeanius (Eric Gallager)
Port: webkit2-gtk

Description

I have finally built all major dependencies for webkit2-gtk and rewritten existing patches for @2.36.0. However, unsurprisingly, once I sorted out all configure errors, the build did not proceed much further :)

Any idea why Cmake fails to identify the arch?

In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WTF/wtf/Threading.h:42,
                 from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WTF/wtf/AutomaticThread.h:32,
                 from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WTF/wtf/AutomaticThread.cpp:27:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WTF/wtf/PlatformRegisters.h:60:2: error: #error Unknown Architecture
   60 | #error Unknown Architecture
      |  ^~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WTF/wtf/PlatformRegisters.h:63:8: error: 'PlatformRegisters' does not name a type
   63 | inline PlatformRegisters& registersFromUContext(ucontext_t* ucontext)
      |        ^~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WTF/wtf/PlatformRegisters.h:145:12: error: 'PlatformRegisters' has not been declared in 'WTF'
  145 | using WTF::PlatformRegisters;
      |            ^~~~~~~~~~~~~~~~~
In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WTF/wtf/AutomaticThread.h:32,
                 from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WTF/wtf/AutomaticThread.cpp:27:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WTF/wtf/Threading.h:183:72: error: 'PlatformRegisters' has not been declared
  183 |     WTF_EXPORT_PRIVATE size_t getRegisters(const ThreadSuspendLocker&, PlatformRegisters&);
      |                                                                        ^~~~~~~~~~~~~~~~~

Here is the source code:

namespace WTF {

#if OS(DARWIN)

#if CPU(X86)
typedef i386_thread_state_t PlatformRegisters;
#elif CPU(X86_64)
typedef x86_thread_state64_t PlatformRegisters;
#elif CPU(PPC)
typedef ppc_thread_state_t PlatformRegisters;
#elif CPU(PPC64)
typedef ppc_thread_state64_t PlatformRegisters;
#elif CPU(ARM)
typedef arm_thread_state_t PlatformRegisters;
#elif CPU(ARM64)
typedef arm_thread_state64_t PlatformRegisters;
#else
#error Unknown Architecture
#endif

inline PlatformRegisters& registersFromUContext(ucontext_t* ucontext)
{
    return ucontext->uc_mcontext->__ss;
}

#elif OS(WINDOWS)

using PlatformRegisters = CONTEXT;

#elif HAVE(MACHINE_CONTEXT)

struct PlatformRegisters {
    mcontext_t machineContext;
};

inline PlatformRegisters& registersFromUContext(ucontext_t* ucontext)
{
#if OS(OPENBSD)
    return *bitwise_cast<PlatformRegisters*>(ucontext);
#elif CPU(PPC)
    return *bitwise_cast<PlatformRegisters*>(ucontext->uc_mcontext.uc_regs);
#else
    return *bitwise_cast<PlatformRegisters*>(&ucontext->uc_mcontext);
#endif
}

#else

struct PlatformRegisters {
    void* stackPointer;
};

#endif

} // namespace WTF

I also tried to specify the arch directly in configure.args, it made no effect. (Argument does get passed to Cmake, but the same error occurs.) From what I can see, no patches were applied to this header file (explicitly, I did not add PPC there, it is there in the source code).

  1. S. I no one objects, we may keep this ticket as a track record and invitation to participate. If no one joins in, I will slowly post updates from my end.

Change History (4)

comment:1 Changed 2 years ago by barracuda156

Current config for the reference:

--->  Configuring webkit2-gtk
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/build" && /opt/local/bin/cmake -G "Ninja" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=ninja -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DPORT=GTK -DENABLE_INTROSPECTION=ON -DENABLE_VIDEO=ON -DUSE_SYSTEM_MALLOC=ON -DPERL_EXECUTABLE=/opt/local/bin/perl5.28 -DUSE_WPE_RENDERER=OFF -DENABLE_GAMEPAD=OFF -DENABLE_JOURNALD_LOG=OFF -DCMAKE_OSX_ARCHITECTURES="PPC" -DCMAKE_SYSTEM_PROCESSOR="PPC" -DUSE_GSTREAMER_GL=OFF -DENABLE_WEB_CRYPTO=OFF -DRUBY_EXECUTABLE=/opt/local/bin/ruby2.5 -DENABLE_QUARTZ_TARGET=OFF -DENABLE_X11_TARGET=ON -DENABLE_OPENGL=ON -DENABLE_MINIBROWSER=ON -DCMAKE_OSX_ARCHITECTURES="ppc" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0 
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/local/bin/gcc-mp-11 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/local/bin/g++-mp-11 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CMake build type is: MacPorts
-- Found Perl: /opt/local/bin/perl5.28 (found suitable version "5.28.3", minimum required is "5.10.0") 
-- Found PerlModules: TRUE  found components: JSON::PP 
-- Found Python: /opt/local/bin/python3.10 (found version "3.10.4") found components: Interpreter 
-- Found Ruby: /opt/local/bin/ruby2.5 (found suitable version "2.5.9", minimum required is "1.9") 
-- Enabling ccache: Couldn't find ccache program. Not enabling it.
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wundef
-- Performing Test C_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation
-- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-array-bounds
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-array-bounds - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-nonnull
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-nonnull - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-overread
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-overread - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-odr
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-odr - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-expansion-to-defined
-- Performing Test C_COMPILER_SUPPORTS_-Wno-expansion-to-defined - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-expansion-to-defined
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-expansion-to-defined - Success
-- Performing Test C_COMPILER_SUPPORTS_-pipe
-- Performing Test C_COMPILER_SUPPORTS_-pipe - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-pipe
-- Performing Test CXX_COMPILER_SUPPORTS_-pipe - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wall
-- Performing Test C_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wextra
-- Performing Test C_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test ATOMICS_ARE_BUILTIN
-- Performing Test ATOMICS_ARE_BUILTIN - Failed
-- Performing Test ATOMICS_REQUIRE_LIBATOMIC
-- Performing Test ATOMICS_REQUIRE_LIBATOMIC - Success
-- Performing Test STD_FILESYSTEM_IS_AVAILABLE
-- Performing Test STD_FILESYSTEM_IS_AVAILABLE - Success
-- Linker variant in use: UNKNOWN 
--   Linker supports thin archives - FALSE
--   Linker supports split debug info - FALSE
--   Linker supports --gdb-index - FALSE
--   Linker supports --disable-new-dtags - FALSE
-- Archiver variant in use: 
--   Archiver supports thin archives - FALSE
-- Looking for features.h
-- Looking for features.h - not found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for langinfo.h
-- Looking for langinfo.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for pthread_np.h
-- Looking for pthread_np.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/timeb.h
-- Looking for sys/timeb.h - found
-- Looking for linux/memfd.h
-- Looking for linux/memfd.h - not found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for IsDebuggerPresent
-- Looking for IsDebuggerPresent - not found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for malloc_trim
-- Looking for malloc_trim - not found
-- Looking for strnstr
-- Looking for strnstr - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for regexec
-- Looking for regexec - found
-- Looking for MAP_ALIGNED
-- Looking for MAP_ALIGNED - not found
-- Looking for SHM_ANON
-- Looking for SHM_ANON - not found
-- Looking for timingsafe_bcmp
-- Looking for timingsafe_bcmp - not found
-- Looking for SIGTRAP
-- Looking for SIGTRAP - found
-- Performing Test HAVE_STAT_BIRTHTIME_value
-- Performing Test HAVE_STAT_BIRTHTIME_value - Failed
-- Performing Test HAVE_TM_GMTOFF_value
-- Performing Test HAVE_TM_GMTOFF_value - Success
-- Performing Test HAVE_TM_ZONE_value
-- Performing Test HAVE_TM_ZONE_value - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128_t
-- Check size of __int128_t - failed
-- Found Cairo: /opt/local/lib/libcairo.dylib (found suitable version "1.17.4", minimum required is "1.14.0") 
-- Found Fontconfig: /opt/local/lib/libfontconfig.dylib (found suitable version "2.13.1", minimum required is "2.8.0") 
-- Found Freetype: /opt/local/lib/libfreetype.dylib (found suitable version "2.12.0", minimum required is "2.4.2") 
-- Found LibGcrypt: /opt/local/lib/libgcrypt.dylib (found suitable version "1.10.1", minimum required is "1.6.0") 
-- Found GLIB: /opt/local/include/glib-2.0;/opt/local/lib/glib-2.0/include (found suitable version "2.72.0", minimum required is "2.56.4") 
-- Found the following HarfBuzz libraries:
--  HarfBuzz (required): /opt/local/lib/libharfbuzz.dylib
--  ICU (required): /opt/local/lib/libharfbuzz-icu.dylib
-- Found HarfBuzz: /opt/local/include/harfbuzz (found suitable version "4.2.0", minimum required is "0.9.18") 
-- Found ICU: //usr/lib/libicucore.dylib
-- Found JPEG: /opt/local/lib/libjpeg.dylib (found version "80") 
-- Found LibXml2: /opt/local/lib/libxml2.dylib (found suitable version "2.9.13", minimum required is "2.8.0") 
-- Found ZLIB: /opt/local/lib/libz.dylib (found version "1.2.12") 
-- Found PNG: /opt/local/lib/libpng.dylib (found version "1.6.37") 
-- Found SQLite3: /opt/local/lib/libsqlite3.dylib (found version "3.38.2") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Checking for module 'atk'
--   Found atk, version 2.36.0
-- Found ATK: /opt/local/include/atk-1.0 (found suitable version "2.36.0", minimum required is "2.16.0") 
-- Found the following WebP libraries:
--  WebP (required): /opt/local/lib/libwebp.dylib
--  demux (required): /opt/local/lib/libwebpdemux.dylib
-- Found WebP: /opt/local/include  
-- Checking for module 'atspi-2'
--   Found atspi-2, version 2.38.0
-- Found ATSPI: /opt/local/include/at-spi-2.0;/opt/local/include/dbus-1.0;/opt/local/lib/dbus-1.0/include;/opt/local/include/glib-2.0;/opt/local/lib/glib-2.0/include (Required is at least version "2.5.3") 
-- Checking for module 'egl'
--   No package 'egl' found
-- Could NOT find EGL (missing: EGL_INCLUDE_DIRS EGL_LIBRARIES) 
-- Checking for module 'opengl'
--   No package 'opengl' found
-- Checking for module 'gl'
--   Found gl, version 17.1.6
-- Looking for include file GL/glx.h
-- Looking for include file GL/glx.h - found
-- Found OpenGL: /opt/local/lib/libGL.dylib  
-- Checking for module 'glesv2'
--   Found glesv2, version 17.1.6
-- Found OpenGLES2: /opt/local/lib/libGLESv2.dylib (found version "3.2") 
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.33
-- Checking for module 'gtk+-unix-print-3.0'
--   Found gtk+-unix-print-3.0, version 3.24.33
-- Found GTK: 3.24.33 (Required is at least version "3.22.0") 
-- Found LibSoup: /opt/local/include/libsoup-3.0 (found suitable version "3.0.6", minimum required is "3.0.0") 
-- Found LibXslt: /opt/local/lib/libxslt.dylib (found suitable version "1.1.34", minimum required is "1.1.7") 
-- Checking for module 'libsecret-1'
--   Found libsecret-1, version 0.20.4
-- Found Libsecret: /opt/local/include/libsecret-1;/opt/local/include/glib-2.0;/opt/local/lib/glib-2.0/include  
-- Checking for module 'gobject-introspection-1.0'
--   Found gobject-introspection-1.0, version 1.72.0
-- Checking for module 'enchant-2'
--   Found enchant-2, version 2.3.2
-- Found X11: /opt/local/include   
-- Looking for XOpenDisplay in /opt/local/lib/libX11.dylib;/opt/local/lib/libXext.dylib
-- Looking for XOpenDisplay in /opt/local/lib/libX11.dylib;/opt/local/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found LibNotify: /opt/local/include/gdk-pixbuf-2.0;/opt/local/include/libpng16;/opt/local/include/glib-2.0;/opt/local/lib/glib-2.0/include (found version "0.7.9") 
-- Found Hyphen: /opt/local/include  
-- Found OpenJPEG: /opt/local/lib/libopenjp2.dylib (found suitable version "2.4.0", minimum required is "2.2.0") 
-- Checking for module 'libwoff2dec'
--   Found libwoff2dec, version 1.0.2
-- Found the following WOFF2 libraries:
--  WOFF2 (required): /opt/local/lib/libwoff2common.dylib
--  dec (required): /opt/local/lib/libwoff2dec.dylib
-- Found WOFF2: /opt/local/lib/libwoff2common.dylib (found suitable version "1.0.2", minimum required is "1.0.2") 
-- Found LCMS2: /opt/local/lib/liblcms2.dylib (found version "2.13") 
-- Checking for module 'gstreamer-1.0 >= 1.14.0'
--   Found gstreamer-1.0 , version 1.20.1
-- Checking for module 'gstreamer-base-1.0 >= 1.14.0'
--   Found gstreamer-base-1.0 , version 1.20.1
-- Checking for module 'gstreamer-full-1.0>=1.17.0'
--   No package 'gstreamer-full-1.0' found
-- Checking for module 'gstreamer-app-1.0 >= 1.14.0'
--   Found gstreamer-app-1.0 , version 1.20.1
-- Checking for module 'gstreamer-audio-1.0 >= 1.14.0'
--   Found gstreamer-audio-1.0 , version 1.20.1
-- Checking for module 'gstreamer-fft-1.0 >= 1.14.0'
--   Found gstreamer-fft-1.0 , version 1.20.1
-- Checking for module 'gstreamer-gl-1.0 >= 1.14.0'
--   No package 'gstreamer-gl-1.0' found
-- Checking for module 'gstreamer-mpegts-1.0>=1.4.0'
--   Found gstreamer-mpegts-1.0, version 1.20.1
-- Checking for module 'gstreamer-pbutils-1.0 >= 1.14.0'
--   Found gstreamer-pbutils-1.0 , version 1.20.1
-- Checking for module 'gstreamer-tag-1.0 >= 1.14.0'
--   Found gstreamer-tag-1.0 , version 1.20.1
-- Checking for module 'gstreamer-video-1.0 >= 1.14.0'
--   Found gstreamer-video-1.0 , version 1.20.1
-- Checking for module 'gstreamer-codecparsers-1.0 >= 1.14.0'
--   Found gstreamer-codecparsers-1.0 , version 1.20.1
-- Found GStreamer: GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES (Required is at least version "1.14.0") 
-- Found Gperf: /opt/local/bin/gperf (Required is at least version "3.0.1") 
-- Using platform-specific CMakeLists: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WTF/wtf/PlatformGTK.cmake
-- Copying generate-unified-source-bundles.rb to: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/build/WTF/Scripts
-- Using platform-specific CMakeLists: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/JavaScriptCore/PlatformGTK.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize - Failed
-- Using source list file: Sources.txt
-- Using source list file: inspector/remote/SourcesGLib.txt
-- Using platform-specific CMakeLists: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/JavaScriptCore/shell/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/ThirdParty/ANGLE/PlatformGTK.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-cast-align
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-cast-align - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-extra
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-extra - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-undef
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-undef - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-return-type
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-return-type - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-comment
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-comment - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-cast-function-type
-- Performing Test C_COMPILER_SUPPORTS_-Wno-cast-function-type - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-sign-compare
-- Performing Test C_COMPILER_SUPPORTS_-Wno-sign-compare - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-unused-parameter
-- Performing Test C_COMPILER_SUPPORTS_-Wno-unused-parameter - Success
-- Using platform-specific CMakeLists: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WebInspectorUI/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WebCore/PAL/pal/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WebCore/PlatformGTK.cmake
-- Using source list file: Sources.txt
-- Using source list file: platform/SourcesCairo.txt
-- Using source list file: platform/SourcesSoup.txt
-- Using source list file: SourcesGTK.txt
-- Using source list file: platform/SourcesGLib.txt
-- Looking for shm_open
-- Looking for shm_open - found
-- Using platform-specific CMakeLists: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WebKit/PlatformGTK.cmake
-- Using source list file: Sources.txt
-- Using source list file: SourcesGTK.txt
-- Performing Test CXX_COMPILER_SUPPORTS_-fobjc-weak
-- Performing Test CXX_COMPILER_SUPPORTS_-fobjc-weak - Failed
-- Using platform-specific CMakeLists: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/WebDriver/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Source/PlatformGTK.cmake
-- Found Gettext: /opt/local/bin/msgmerge (found version "0.21") 
-- Using platform-specific CMakeLists: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.36.0/Tools/PlatformGTK.cmake
-- Enabled features:
--  ENABLE_BUBBLEWRAP_SANDBOX ..................... OFF
--  ENABLE_DRAG_SUPPORT                             ON
--  ENABLE_GAMEPAD ................................ OFF
--  ENABLE_GLES2                                    OFF
--  ENABLE_GTKDOC ................................. OFF
--  ENABLE_INTROSPECTION                            ON
--  ENABLE_JOURNALD_LOG ........................... OFF
--  ENABLE_MEDIA_SOURCE                             ON
--  ENABLE_MINIBROWSER ............................ ON
--  ENABLE_QUARTZ_TARGET                            OFF
--  ENABLE_SPELLCHECK ............................. ON
--  ENABLE_TOUCH_EVENTS                             ON
--  ENABLE_VIDEO .................................. ON
--  ENABLE_WAYLAND_TARGET                           OFF
--  ENABLE_WEBDRIVER .............................. ON
--  ENABLE_WEB_AUDIO                                ON
--  ENABLE_WEB_CRYPTO ............................. OFF
--  ENABLE_X11_TARGET                               ON
--  USE_ANGLE_WEBGL ............................... OFF
--  USE_AVIF                                        OFF
--  USE_GTK4 ...................................... OFF
--  USE_JPEGXL                                      OFF
--  USE_LCMS ...................................... ON
--  USE_LIBHYPHEN                                   ON
--  USE_LIBNOTIFY ................................. ON
--  USE_LIBSECRET                                   ON
--  USE_OPENGL_OR_ES .............................. ON
--  USE_OPENJPEG                                    ON
--  USE_SOUP2 ..................................... OFF
--  USE_WOFF2                                       ON
--  USE_WPE_RENDERER .............................. OFF
-- Configuring done

comment:2 Changed 2 years ago by evanmiller (Evan Miller)

"Heroes die young, everyone else fails to compile webkit2-gtk on PowerPC." @kencu and I separately undertook this project with limited results. I think Ken got something working on Leopard at one point, but the browser was too slow to be usable. After many days of effort I was unable to get the port to compile on Tiger. Here was my latest public attempt:

https://github.com/macports/macports-ports/pull/12009

I have some more private patches in that direction but I really don't recommend pursuing this. There be dragons of all species. I think time and energy is better spent making webkit2-gtk an optional dependency wherever it is currently required.

comment:3 in reply to:  2 Changed 2 years ago by barracuda156

Replying to evanmiller:

"Heroes die young, everyone else fails to compile webkit2-gtk on PowerPC." @kencu and I separately undertook this project with limited results. I think Ken got something working on Leopard at one point, but the browser was too slow to be usable. After many days of effort I was unable to get the port to compile on Tiger. Here was my latest public attempt:

https://github.com/macports/macports-ports/pull/12009

I have some more private patches in that direction but I really don't recommend pursuing this. There be dragons of all species. I think time and energy is better spent making webkit2-gtk an optional dependency wherever it is currently required.

Thank you for the reference! Yes, it sounds like a no-go. The only advantage now is better compilers, but I guess that's not the main problem.

I was hoping to get something WebKit-based working, since I am not a fan of FF, and anyway it is dead. On the other hand, both apps for secure web, Tor and i2pd, use FF front-end.

comment:4 Changed 20 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.