[gentoo-user] net-libs/webkit-gtk build failure

2016-08-24 Thread
Hi list,

I got a failure when emerge webkit-gtk, but it seemd that only for
certain versions of this package.
2.4.11 and 2.4.11-r200 were okay except 2.10.9 or 2.12.3

Here is the last line of build.log.

[5415/5420] : && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++   -O2
-march=native -pipe -fomit-frame-pointer -fno-strict-aliasing
-std=c++11  -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory
-Wl,--reduce-memory-overheads @CMakeFiles/WebProcess.rsp  -o
bin/WebKitWebProcess  && :
[5416/5420] : && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++   -O2
-march=native -pipe -fomit-frame-pointer -fno-strict-aliasing
-std=c++11  -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory
-Wl,--reduce-memory-overheads @CMakeFiles/NetworkProcess.rsp  -o
bin/WebKitNetworkProcess  && :
[5417/5420] : && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++   -O2
-march=native -pipe -fomit-frame-pointer -fno-strict-aliasing
-std=c++11  -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory
-Wl,--reduce-memory-overheads @CMakeFiles/PluginProcess.rsp  -o
bin/WebKitPluginProcess  && :
FAILED: cd 
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkit-gtk-2.10.9_build/Source/WebKit2
&& CC=/usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc
CFLAGS=-Wno-deprecated-declarations LDFLAGS=
LD_LIBRARY_PATH="/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkit-gtk-2.10.9_build/lib:"
/usr/bin/g-ir-scanner --quiet --warn-all --symbol-prefix=webkit
--identifier-prefix=WebKit --namespace=WebKit2 --nsversion=4.0
--include=GObject-2.0 --include=Gtk-3.0 --include=Soup-2.4
--include-uninstalled=/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkit-gtk-2.10.9_build/JavaScriptCore-4.0.gir
--library=webkit2gtk-4.0 --library=javascriptcoregtk-4.0
-L/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkit-gtk-2.10.9_build/lib
--no-libtool --pkg=gobject-2.0 --pkg=gtk+-3.0 --pkg=libsoup-2.4
--pkg-export=webkit2gtk-4.0
--output=/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkit-gtk-2.10.9_build/WebKit2-4.0.gir
--c-include="webkit2/webkit2.h" -DBUILDING_WEBKIT
-DWEBKIT2_COMPILATION
-I/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source
-I/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2
-I/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/JavaScriptCore/ForwardingHeaders
-I/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkit-gtk-2.10.9_build/DerivedSources
-I/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkit-gtk-2.10.9_build/DerivedSources/webkit2gtk
-I/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkit-gtk-2.10.9_build/DerivedSources/ForwardingHeaders/webkit2gtk
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkit-gtk-2.10.9_build/DerivedSources/webkit2gtk/webkit2/WebKitEnumTypes.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkit-gtk-2.10.9_build/DerivedSources/webkit2gtk/webkit2/WebKitVersion.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitAuthenticationRequest.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitBackForwardList.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitBackForwardListItem.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitColorChooserRequest.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitCredential.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitContextMenu.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuActions.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuItem.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitCookieManager.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitDefines.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitDownload.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitEditorState.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitError.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitFaviconDatabase.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitFileChooserRequest.h
/var/tmp/portage/net-libs/webkit-gtk-2.10.9/work/webkitgtk-2.10.9/Source/WebKit2/UIProcess/API/gtk/WebKitFindController.h

Re: [gentoo-user] System hangs when poweroff with NFS mounted

2014-01-24 Thread
journalctl --boot=-1
-- Logs begin at Tuesday 2013-12-24 21:48:33 CST, end at Friday
2014-01-24 22:38:38 CST. --
1月 24 21:54:22 diamond systemd[3061]: Failed to open private bus
connection: Failed to connect to socket
/run/user/1000/dbus/user_bus_socket: No such file or directory
1月 24 21:54:22 diamond systemd[3061]: Mounted /sys/kernel/config.
1月 24 21:54:22 diamond systemd[3061]: Mounted /sys/fs/fuse/connections.
1月 24 21:54:22 diamond systemd[3061]: Stopped target Bluetooth.
1月 24 21:54:22 diamond systemd[3061]: Stopped target Sound Card.
1月 24 21:54:22 diamond systemd[3061]: Starting Default.
1月 24 21:54:22 diamond systemd[3061]: Reached target Default.
1月 24 21:54:22 diamond systemd[3061]: Startup finished in 419ms.
1月 24 21:54:31 diamond pulseaudio[3293]: [pulseaudio] pid.c: Daemon
already running.
1月 24 21:54:31 diamond pulseaudio[3296]: [pulseaudio] pid.c: Daemon
already running.
1月 24 21:54:31 diamond pulseaudio[3299]: [pulseaudio] pid.c: Daemon
already running.
1月 24 21:54:31 diamond pulseaudio[3301]: [pulseaudio] pid.c: Daemon
already running.
1月 24 21:55:01 diamond sudo[3362]: amankwah : TTY=pts/4 ;
PWD=/home/amankwah ; USER=root ; COMMAND=/bin/sh
1月 24 22:34:32 diamond systemd[3061]: Stopping Default.
1月 24 22:34:32 diamond systemd[3061]: Stopped target Default.
1月 24 22:34:32 diamond systemd[3061]: Starting Shutdown.
1月 24 22:34:32 diamond systemd[3061]: Reached target Shutdown.
1月 24 22:34:49 diamond pulseaudio[3279]: [pulseaudio] core-util.c:
Failed to create secure directory (/run/user/1000/pulse): No such file
or directory

These are the output of the command on my system after hangs. but why
I saw nothing about my NFS directories?

I added the script to the path, and the system shutdown correctly, but
the time is too long, every NFS directory complained the timeout due
to and then umounted, maybe it took about 10 minutes for choosing the
shutdown under desktop to the system poweroff automatically.

2014/1/20 Canek Peláez Valdés can...@gmail.com:
 On Sun, Jan 19, 2014 at 9:40 AM, Amankwah amankw...@gmail.com wrote:
 Hi all,
 I swithed to Gnome3 last week, and the systemd is needed by
 gnome3.8, so I used systemd to replace the openrc now. Howerver, my
 system always hangs when I try to poweroff.
 I have NFSv3 filesystem mounted via WiFi, it's managed by the
 Networkmanager. so it seemed that the wireless connection was cut off
 before the NFS was unmounted? I searched this problem and modified my
 fstab line like this:

 NAS:/data/media/NAS  nfs
 _netdev,x-systemd.automount,x-systemd.device-timeout=10ms,rw,soft,vers=3
 0   0

 It's worked under the wired connnection, but the wireless connection
 still hangs, Is there any thing should be changed? Or is it a bug?

 I think it's a bug; systemd should stop NetworkManager.service only
 after all remote filesystems have been umounted. Could you boot up
 your machine after it hanged, and send the contents from journalctl
 --boot=-1. That will give us the logs from the previous boot; perhaps
 we can see the problem.

 I have to umount the NFS before poweroff everytime. Please tell me what can 
 I do to
 resove this problem?

 I think it's a bug, but in the meantime (as a workaround) you can put
 the following script in
 /usr/lib/systemd/system-shutdown/nfs-force-umount:

 -
 #!/bin/sh
 /bin/umount -l /media/NAS
 -

 Make sure the script is executable.

 Regards.
 --
 Canek Peláez Valdés
 Posgrado en Ciencia e Ingeniería de la Computación
 Universidad Nacional Autónoma de México




[gentoo-user] GDM X segfault in libc ?

2012-11-27 Thread
GDM is always failed on my box.

I found this in the dmesg output:
[   16.272277] X[1241]: segfault at  ip b7534bb8 sp bffbd23c error
4 in libc-2.15.so[b73f8000+184000]
[   19.287811] X[1366]: segfault at  ip b75b6bb8 sp bfbd0fbc error
4 in libc-2.15.so[b747a000+184000]
[   22.305662] X[1416]: segfault at  ip b7500bb8 sp bfa8c24c error
4 in libc-2.15.so[b73c4000+184000]

but when i login at a console and startx is OK.

I'm using intel G31 vedio adapter, kernel module is i915

What can I do with this problem?

sorry for my poor English.