Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issues with building webkit-gtk 2.6.5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
alexbuell
Guru
Guru


Joined: 18 Jul 2002
Posts: 481
Location: "Hemp"shire, UK

PostPosted: Fri Apr 03, 2015 9:18 pm    Post subject: Issues with building webkit-gtk 2.6.5 Reply with quote

Both of my boxes fails to link webkit-gtk 2.6.5 with numerous X11 related errors.

Code:

../../lib/../Source/WebCore/CMakeFiles/WebCore.dir/rendering/RenderLayerCompositor.cpp.o:RenderLayerCompositor.cpp:(.text+0x566e): more undefined references to `WebCore::GraphicsLayer::create(WebCore::GraphicsLayerFactory*, WebCore::GraphicsLayerClient&)' follow
../../lib/../Source/WebCore/CMakeFiles/WebCorePlatformGTK.dir/platform/gtk/WidgetBackingStoreGtkX11.cpp.o: In function `WebCore::WidgetBackingStoreGtkX11::~WidgetBackingStoreGtkX11()':
WidgetBackingStoreGtkX11.cpp:(.text+0x3c): undefined reference to `XFreePixmap'
WidgetBackingStoreGtkX11.cpp:(.text+0x49): undefined reference to `XFreeGC'
../../lib/../Source/WebCore/CMakeFiles/WebCorePlatformGTK.dir/platform/gtk/WidgetBackingStoreGtkX11.cpp.o: In function `WebCore::WidgetBackingStoreGtkX11::scroll(WebCore::IntRect const&, WebCore::IntSize const&)':
WidgetBackingStoreGtkX11.cpp:(.text+0x151): undefined reference to `XCopyArea'
../../lib/../Source/WebCore/CMakeFiles/WebCorePlatformGTK.dir/platform/gtk/WidgetBackingStoreGtkX11.cpp.o: In function `WebCore::WidgetBackingStoreGtkX11::WidgetBackingStoreGtkX11(_GtkWidget*, WebCore::IntSize const&, float)':
WidgetBackingStoreGtkX11.cpp:(.text+0x22d): undefined reference to `XCreatePixmap'
WidgetBackingStoreGtkX11.cpp:(.text+0x241): undefined reference to `XCreateGC'
collect2: error: ld returned 1 exit status


Any ideas how I can resolve this?

Thanks
_________________
Cheers,
Alex.

Linux - the best text adventure game ever.
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1136
Location: /dev/koelsch

PostPosted: Fri Apr 10, 2015 7:30 am    Post subject: Reply with quote

Hi alexbuell.

Only a shot in the dark, for the case you try to build it with the help of distcc.

Then you have to switch it off, for this kind of packages/errors e.g. in this way:
Code:
FEATURES="-distcc"
to name only one.

Otherwise, no idea.

Much success, Andy.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Fri Apr 10, 2015 3:35 pm    Post subject: Reply with quote

Going by the messages, chances are something got messed up during configure phase, though showing the whole log is recommended.
Back to top
View user's profile Send private message
yuyuyak
n00b
n00b


Joined: 23 Nov 2012
Posts: 40
Location: United States

PostPosted: Sun Apr 12, 2015 7:24 am    Post subject: Reply with quote

I have the same. No distcc, AMD/ATI machine. On another Intel/Nvidia machine WITH distcc it emerged no problem. A ton of undefined reference to X symbols. Initially thought it was a disk space problem (at the beginning of emerge it states it wants a whopping 18G free!), but even with 22G free same results.
I know you said the whole log VoidMage, but it's HUGE and remote to me, I hope this will give a clue. I have checked above it and see nothing.
http://hastebin.com/jijatowixo.dos
If that doesn't help I'll have to figure something out.
Back to top
View user's profile Send private message
yuyuyak
n00b
n00b


Joined: 23 Nov 2012
Posts: 40
Location: United States

PostPosted: Sun Apr 12, 2015 7:47 am    Post subject: Reply with quote

Oh, there is this warning just above what I pasted if that helps. Otherwise, just reams of gobbly-gook:
Code:
/var/tmp/notmpfs/portage/net-libs/webkit-gtk-2.6.5/work/webkit-gtk-2.6.5_build/DerivedSources/WebKit2/WebPageMessageReceiver.cpp:1057:6: warning: unused parameter ‘connection’ [-Wunused-parameter]
 void WebPage::didReceiveSyncWebPageMessage(IPC::Connection* connection, IPC::MessageDecoder& decoder, std::unique_ptr<IPC::MessageEncoder>& replyEncoder)
      ^
And here is a paste of the configure stage, I don't see anything unusual http://hastebin.com/ibikiluwet.vhdl
Back to top
View user's profile Send private message
yuyuyak
n00b
n00b


Joined: 23 Nov 2012
Posts: 40
Location: United States

PostPosted: Sun Apr 12, 2015 10:25 pm    Post subject: Reply with quote

It appears that this is the same bug here: https://bugs.webkit.org/show_bug.cgi?id=138332
They have a patch, in Funtoo we'll have an updated webkit-gtk with the patch soon, so I'll wait
https://bugs.funtoo.org/browse/FL-2279
Back to top
View user's profile Send private message
mt_undershirt
n00b
n00b


Joined: 20 Dec 2014
Posts: 4

PostPosted: Wed Apr 22, 2015 8:13 am    Post subject: try downgrade of cmake to 3.0.1 Reply with quote

Hello,

I managed to update to 2.6.5 on several other machines but then it failed on the last one.

The emerge does not work with cmake 3.2.1 (latest).
The emerge does work with cmake 3.0.1.

So might try downgrading cmake (temporarily).

regards
phish
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Apr 22, 2015 9:42 pm    Post subject: Reply with quote

*subscribing*

I'm currently running cmake 3.0.2

therefore I might run into these problems later during upgrade of cmake
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Wed Apr 22, 2015 10:42 pm    Post subject: Reply with quote

It's a documented change in cmake 3.2 wrt. OpenGL detection on X11 - will need to be fixed by webkit-gtk upstream (that is if they still care about that branch).
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4403

PostPosted: Sun Apr 26, 2015 9:13 am    Post subject: Reply with quote

I bumped webkit-gtk-2.8 (*) in my local overlay and there are no issues with cmake-3.2.1 (and finally I remember again why I put cmake-3.2 into package.mask in the first place :D)

(*) 2.8.1 currently - works like a charm with the latest ebuild in the main tree, but you should emerge freetype with USE=auto-hinter to get better looking web-fonts
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum