Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564352 - net-libs/webkit-gtk no support for alpha cpu
Summary: net-libs/webkit-gtk no support for alpha cpu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: Alpha Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugs.webkit.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-28 20:06 UTC by Brian Parkhurst
Modified: 2017-01-21 12:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Parkhurst 2015-10-28 20:06:14 UTC
loading initial cache file /var/tmp/portage/net-libs/webkit-gtk-2.8.5/work/webkit-gtk-2.8.5_build/gentoo_common_config.cmake
CMake Error at CMakeLists.txt:106 (message):
  Unknown CPU 'alpha'

This appears to be the case for most of the latest webkit-gtk packages.
Latest version installed: 2.4.9-r200

If Alpha is no longer supported I understand but would have expected it to be masked and not marked unstable.

Thanks,

alpha-omega / # emerge --info
Portage 2.2.23 (python 2.7.10-final-0, default/linux/alpha/13.0/desktop/gnome, gcc-4.8.5, glibc-2.20-r2, 4.0.5-gentoo alpha)
=================================================================
System uname: Linux-4.0.5-gentoo-alpha-EV67-with-gentoo-2.2
KiB Mem:     4147928 total,    358784 free
KiB Swap:    6298792 total,   6297504 free
Timestamp of repository gentoo: Tue, 27 Oct 2015 20:30:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 alpha-unknown-linux-gnu [disabled]
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r2::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.2-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.3::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3::gentoo, 1.11.6::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.3.6-r1::gentoo, 4.4.7::gentoo, 4.5.4::gentoo, 4.7.3-r1::gentoo, 4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Comment 1 Alexander Tsoy 2015-10-28 22:30:25 UTC
(In reply to Brian Parkhurst from comment #0)
> Latest version installed: 2.4.9-r200

Probably because 2.4.x branch was the last with autotools-based build system. :) Can you patch CMakeLists.txt and check if it actually compiles on aplha?

--- CMakeLists.txt.orig 2015-08-06 11:21:27.000000000 +0300
+++ CMakeLists.txt      2015-10-29 01:23:37.416886279 +0300
@@ -82,6 +82,8 @@
     set(WTF_CPU_ARM 1)
 elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^aarch64")
     set(WTF_CPU_ARM64 1)
+elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "alpha")
+    set(WTF_CPU_ALPHA 1)
 elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^mips")
     set(WTF_CPU_MIPS 1)
 elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "sh4")
Comment 2 Brian Parkhurst 2015-10-29 13:55:32 UTC
have added the patch to the CMakeLists.txt in the main Source.

attempting an ebuild compile on the tree now.
Comment 3 Alexander Tsoy 2015-10-29 14:53:43 UTC
I suspect that Source/JavaScriptCore/CMakeLists.txt also require small change.

--- ./Source/JavaScriptCore/CMakeLists.txt.orig 2015-08-06 11:21:27.000000000 +0300
+++ ./Source/JavaScriptCore/CMakeLists.txt      2015-10-29 17:47:10.535712494 +0300
@@ -1146,6 +1146,7 @@
         list(APPEND JavaScriptCore_SOURCES ${DERIVED_SOURCES_DIR}/GeneratedJITStubs.obj)
     endif ()
 elseif (WTF_CPU_ARM64)
+elseif (WTF_CPU_ALPHA)
 elseif (WTF_CPU_HPPA)
 elseif (WTF_CPU_PPC)
 elseif (WTF_CPU_PPC64)
Comment 4 Brian Parkhurst 2015-10-29 15:01:27 UTC
Yes, I saw the error during the ebuild.  I already added that in and compile is still processing.

thanks.
Comment 5 Brian Parkhurst 2015-10-31 05:06:16 UTC
okay after about 20+ hours of compile time, it has installed, with those minor cmake edits.  

Thanks...
Comment 6 Alexander Tsoy 2015-10-31 11:49:58 UTC
Please reopen. If webkit-gtk actually works on alpha (no runtime failures), then (I hope) gnome team will gladly add these patches. If not, ~alpha keyword should be dropped.
Comment 7 Pacho Ramos gentoo-dev 2015-11-07 11:12:47 UTC
[master 9c454e3] net-libs/webkit-gtk: Fix alpha, bug #564352 by Brian Parkhurst and Alexander Tsoy
 2 files changed, 25 insertions(+)
 create mode 100644 net-libs/webkit-gtk/files/webkit-gtk-2.8.5-fix-alpha-build.patch