Re: [gentoo-user] Calibre Update Problems

2013-05-09 Thread Silvio Siefke
Hello,

i have run revdep-build now clean, say me something from sigel, but its
not installed. I have run emerge -e system, run clean without errors. 
I have clean /usr/local/* complete. 

But the mistake is ever the same, i think its QtWebkit but im not sure.

When i run calibre i become:

siefke@gentoo-mobile : ~/.bin/skype $ calibre
Traceback (most recent call last):
  File /usr/bin/calibre, line 20, in module
sys.exit(main())
  File /usr/lib/calibre/calibre/gui2/main.py, line 415, in main
app, opts, args, actions = init_qt(args)
  File /usr/lib/calibre/calibre/gui2/main.py, line 85, in init_qt
from calibre.gui2.ui import Main
  File /usr/lib/calibre/calibre/gui2/ui.py, line 39, in module
from calibre.gui2.init import LibraryViewMixin, LayoutMixin
  File /usr/lib/calibre/calibre/gui2/init.py, line 17, in module
from calibre.gui2.library.views import BooksView, DeviceBooksView
  File /usr/lib/calibre/calibre/gui2/library/views.py, line 17, in module
from calibre.gui2.library.delegates import (RatingDelegate, PubDateDelegate,
  File /usr/lib/calibre/calibre/gui2/library/delegates.py, line 22, in 
module
from calibre.gui2.dialogs.comments_dialog import CommentsDialog
  File /usr/lib/calibre/calibre/gui2/dialogs/comments_dialog.py, line 7, in 
module
from calibre.gui2.dialogs.comments_dialog_ui import Ui_CommentsDialog
  File /usr/lib/calibre/calibre/gui2/dialogs/comments_dialog_ui.py, line 52, 
in module
from calibre.gui2.comments_editor import Editor
  File /usr/lib/calibre/calibre/gui2/comments_editor.py, line 17, in module
from PyQt4.QtWebKit import QWebView, QWebPage
ImportError: /usr/lib/qt4/libQtWebKit.so.4: undefined symbol: ubrk_isBoundary_49

Skype give the same msg:
siefke@gentoo-mobile : ~/.bin/skype $ ./skype 
./skype: symbol lookup error: /usr/lib/qt4/libQtWebKit.so.4: undefined symbol: 
ubrk_open_49

I have search in internet, on Gentoo list is the problem talk and it seems it 
were
the icu libs. 

http://us.generation-nt.com/answer/gentoo-user-update-dev-libs-icu-51-1-results-borked-dolphin-help-211135682.html

But what can do? All what they speak i follow, nothing change. The bug i can not
read, when use the link is empty. Can i install icu* 49, or what should do now. 
The mistake is on Laptop and on Desktop. 

Thanks for help.


Regard  Greetings
Silvio



Re: [gentoo-user] Calibre Update Problems

2013-05-09 Thread Silvio Siefke
I have forgetten, why Calibre Install Routine search bash completion 
in /usr/etc?

install: der Aufruf von stat für 
„/var/tmp/portage/app-text/calibre-0.9.29/image/usr/etc/bash_completion.d/calibre“
 ist nicht möglich: Datei oder Verzeichnis nicht gefunden.

I have in /etc not the directory bash_completion.d . I have not on my system,
but the Program is installed. 

*  app-shells/bash-completion
  Latest version available: 1.3-r2
  Latest version installed: 1.3-r2
  Size of files: 206 kB
  Homepage:  http://bash-completion.alioth.debian.org/
  Description:   Programmable Completion for bash
  License:   GPL-2


Thanks for help and Greetings
Silvio



[gentoo-user] Dolphin's nfs:// kioslave transfers files slowly

2013-05-09 Thread Alan McKinnon
Hi,

Dolphin has a kioslave for nfs, used as nfs:// and mine runs slowly :-)

A transfer from my laptop to my media server using a regular nfs mount
runs at max speed (100Mb) over the LAN.
Using nfs:// it's 15% of that at most, usually around 10Mb or so.
I see the same thing at the office when comparing smb:// and a regular
smbfs mount using cifs.

I'm clueless about where to even start looking :-)
What could explain this behaviour?

[nfs:// and smb:// seem to use libs that implement those protocols, much
like how XBMC uses libnfs, KDE just doesn't use the libnfs project to do it]

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Fine Tuning NTP Server

2013-05-09 Thread Nick Khamis
Hello Andrea,

Thank you so much for your response! I was reluctant to include
configuration related material for the sake of not insulting anyone
however, on the server we have set:

server  tick.nrc.ca minpoll 64 maxpoll 1024 iburst prefer
server  tock.nrc.ca minpoll 64 maxpoll 1024 iburst
restrict 127.0.0.1
restrict 192.168.2.0 mask 255.255.255.0

broadcast 192.168.2.255 minpoll 64

# Synchronize Hardare Clock
CLOCK_SYSTOHC=yes

The reason I manually set min/maxpoll is to be in compliance with ntp
server requirements:

minpoll/maxpoll may not be changed below the defaults of 64 seconds
and 1024 seconds respectively.

For the client, I have:

disable auth
broadcastclient
server ntp.server.com prefer

# Synchronize Hardare Clock
CLOCK_SYSTOHC=yes

As for /etc/conf.d/ntpd, we have set nothing. To be honest I did not
even know the file
existed till you mentioned it:

NTPD_OPTS=-u ntp:ntp

I would have liked to be better prepared for this but the gentoo wiki
page has been down for a few weeks now. We are not looking for
microsecond synchronization however, down to the second would be nice!


Kind Regards,

Nick.



[gentoo-user] vsftpd syslog-ng: enemies?

2013-05-09 Thread Jarry

Hi Gentoo-users,

I have strange problem: I want to collect vsftpd-logs
by syslog-ng, so I added this single line at the end
of /etc/vsftpd/vsftpd.conf:

syslog_enable=YES

Then I restarted vsftpd, but now I can not connect to it!
I do not get login/password prompt, all I see is:

$ ftp 10.0.0.173
Connected to 10.0.0.173 (10.0.0.173).
500 OOPS: priv_sock_get_cmd
ftp

I removed that above mentioned line from vsftpd-config,
restarted vsftpd, tried again. And everything works as
expected. So the problem is caused by that single
line. But why syslog_enable option does not work?

Apart from that my vsftpd.conf is default as it comes
with vsftpd-installation, nothing changed. The same is
true for syslog-ng.conf.

I noticed one more strange thing: whenever I restart
vsftpd (/etc/init.d/vsftpd restart), I see messages
on the screen but nothing is saved to /var/log/messages
(or to any other log-file). When I restart any other
service (i.e. sshd, sendmail, bind), corresponding
message is recorded to /var/log/messages. Why is it
not so in case of vsftpd? It seems to me vsftpd has
problem accessing /dev/log...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Calibre Update Problems

2013-05-09 Thread Peter Humphrey
On Thursday 09 May 2013 15:36:28 Silvio Siefke wrote:

 But what can do? All what they speak i follow, nothing change. The bug i
 can not read, when use the link is empty. Can i install icu* 49, or what
 should do now. The mistake is on Laptop and on Desktop.

It may have nothing to do with your problem, but have you run python-
updater? I did that just now and it's rebuilding 16 packages, including 
PyQt4. Not the same as QtWebKit I know, but I'm clutching at straws now.

Any time I suspect an inconsistency in my system I run python-updater, then 
perl-cleaner, then revdep-rebuild. It sometimes helps.

I'm puzzled by the following, which I checked to compare with the import 
error you quoted:

$ eix -c qtwebkit
[I] dev-qt/qtwebkit (4.8.4(4){tbz2}@08/05/13): The WebKit module for the Qt 
toolkit

$ equery f qtwebkit | grep '.so.'
/usr/lib64/qt4/libQtWebKit.so.4
/usr/lib64/qt4/libQtWebKit.so.4.9
/usr/lib64/qt4/libQtWebKit.so.4.9.3

$ qfile /usr/lib64/qt4/libQtWebKit.so.4.9.3
dev-qt/qtwebkit (/usr/lib64/qt4/libQtWebKit.so.4.9.3)

Why the mismatched version numbers, anyone?

-- 
Peter



[gentoo-user] [SOLVED] Setting size of /dev/shm or cleaning up ancient /etc/fstab

2013-05-09 Thread Walter Dnes
On Wed, May 08, 2013 at 08:43:53AM +0200, Alan McKinnon wrote
 
 a tmpfs defaults to half ram size. If yours is 10M, then quite obviously
 you run some code somewhere that does it different :-)
 
 You could go through the effort of tracking down why. Unless this is a
 default behaviour of mdev which needs debugging, pathcing and fixing, I
 don't think you should spend any brain cycles on this, just add this to
 the mount options
 
 size=50%

  I think I found the root of the problem, in /etc/init.d/mdev

mount_it()
{
if fstabinfo --quiet /dev ; then
mount -n /dev
else
# Some devices require exec, Bug #92921
mount -n -t tmpfs -o exec,nosuid,mode=0755,size=10M mdev /dev
fi
}

  I replaced size=10M with size=50% and rebooted.  It now works
properly.  Bug https://bugs.gentoo.org/show_bug.cgi?id=469226 filed.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Calibre Update Problems

2013-05-09 Thread Paul Hartman
On Thu, May 9, 2013 at 3:28 PM, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 I'm puzzled by the following, which I checked to compare with the import
 error you quoted:

 $ eix -c qtwebkit
 [I] dev-qt/qtwebkit (4.8.4(4){tbz2}@08/05/13): The WebKit module for the Qt
 toolkit

 $ equery f qtwebkit | grep '.so.'
 /usr/lib64/qt4/libQtWebKit.so.4
 /usr/lib64/qt4/libQtWebKit.so.4.9
 /usr/lib64/qt4/libQtWebKit.so.4.9.3

 $ qfile /usr/lib64/qt4/libQtWebKit.so.4.9.3
 dev-qt/qtwebkit (/usr/lib64/qt4/libQtWebKit.so.4.9.3)

 Why the mismatched version numbers, anyone?

The soname version number does not necessarily have to be the same as
the release version, as you see in this case, it's actually somewhat
common. MOST packagers try to keep them the same but there's no
technical reason for them to be.

Most noticeably I see a lot of KDE-related packages having so versions
that differ from the release version. In this case I guess it is
because QtWebkit kind of exists on its own, despite being part of Qt
proper since 4.8-ish. Probably QtWebKit interface changes are
happening on a different schedule than Qt version releases so they
have to keep bumping the so version? Maybe somebody with more
knowledge of Qt would know for sure.



Re: [gentoo-user] Calibre Update Problems

2013-05-09 Thread Neil Bothwick
On Thu, 9 May 2013 21:28:40 +0100, Peter Humphrey wrote:

 $ eix -c qtwebkit
 [I] dev-qt/qtwebkit (4.8.4(4){tbz2}@08/05/13): The WebKit module for
 the Qt toolkit

 $ qfile /usr/lib64/qt4/libQtWebKit.so.4.9.3
 dev-qt/qtwebkit (/usr/lib64/qt4/libQtWebKit.so.4.9.3)
 
 Why the mismatched version numbers, anyone?

qfile -v /usr/lib64/qt4/libQtWebKit.so.4.9.3
dev-qt/qtwebkit-4.8.4 (/usr/lib64/qt4/libQtWebKit.so.4.9.3)

Package and version don't always coincide. The library is from the same
package that eix reported.


-- 
Neil Bothwick

Drive not ready: (R)etry (G)o to Impulse (C)all Engineering


signature.asc
Description: PGP signature


Re: [gentoo-user] Calibre Update Problems

2013-05-09 Thread Silvio Siefke
Hello,

On Thu, 9 May 2013 21:28:40 +0100 Peter Humphrey
pe...@humphrey.ukfsn.org wrote:

 Any time I suspect an inconsistency in my system I run
 python-updater, then perl-cleaner, then revdep-rebuild. It sometimes
 helps.

On Desktop after new build the Qt Software and set 
USE=bash-completion emerge calibre all is well done. On the netbook
i run the new builds at moments, that need time. I try then what you
write and run the same emerge command like on Desktop. Then we see
what happen. But normal i run emerge -e system, so the Qt is new
build or im wrong? But we will see what happen. 
 
 $ eix -c qtwebkit
 [I] dev-qt/qtwebkit (4.8.4(4){tbz2}@08/05/13): The WebKit module for
 the Qt toolkit

Eix i not use, can not follow the command. Maybe equery:

siefke@gentoo-mobile : ~ $ equery l qtwebkit
 * Searching for qtwebkit ...
[IP-] [  ] dev-qt/qtwebkit-4.8.4:4
 
 $ equery f qtwebkit | grep '.so.'
 /usr/lib64/qt4/libQtWebKit.so.4
 /usr/lib64/qt4/libQtWebKit.so.4.9
 /usr/lib64/qt4/libQtWebKit.so.4.9.3

siefke@gentoo-mobile : ~ $ equery f qtwebkit | grep '.so.'
/usr/lib/qt4/libQtWebKit.so.4
/usr/lib/qt4/libQtWebKit.so.4.9
/usr/lib/qt4/libQtWebKit.so.4.9.3

the same, only i use not Gentoo 64. 

 $ qfile /usr/lib64/qt4/libQtWebKit.so.4.9.3
 dev-qt/qtwebkit (/usr/lib64/qt4/libQtWebKit.so.4.9.3)

siefke@gentoo-mobile : ~ $ qfile /usr/lib/qt4/libQtWebKit.so.4.9.3
dev-qt/qtwebkit (/usr/lib/qt4/libQtWebKit.so.4.9.3)



Thank you  Greetings
Silvio



[gentoo-user] fdisk warnings during install; questions

2013-05-09 Thread Walter Dnes
  I'm using the 20130207 install iso.  This is to enable me to get a
*REALLY* predictable NIC name, namely eth0, but I digress.  The 2
warnings I get are...

1)
 WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
 fdisk doesn't support GPT. Use GNU Parted.

  I've repartitioned it 3 or 4 times, but it still comes up with that
error when I fire up fdisk.  Is it a problem, and if so, can I dd a few
sectors to remove whatever it's complaining about?


2)
 The device presents a logical sector size that is smaller than the
 physical sector size. Aligning to a physical sector (or optimal I/O)
 size boundary is recommended, or performance may be impacted.

  The fdisk p command gives the following output header

 Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
 Units = sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 4096 bytes
 I/O size (minimum/optimal): 4096 bytes / 4096 bytes

  The fdisk default seems to be to start partition 1 at sector 2048.  I
don't know the hardware side of disks.  Is that OK.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



[gentoo-user] Annoying structure of /var/db/pkg/category/package-name database

2013-05-09 Thread Thomas Mueller
Having package data in /var/db/pkg/category/package-name carries the 
nuisance factor that finding a package involves a fishing expedition through 
many possible categories.

I am spoiled by having /var/db/pkg/package-name in NetBSD pkgsrc and FreeBSD 
ports, though FreeBSD is wsitching to a different structure nkwon as pkgng.

Is there any way to configure so as to avoid this annoyance in Gentoo?  Like 
maybe making /var/db/pkg/package-name?

One can do
ls /var/db/pkg/*/package-name but this is still an annoyance.

I have some limited experience with Gentoo Linux on my older computer.  
Compiling the kernel took 130 minutes, and then the kernel failed to boot.

Tom




Re: [gentoo-user] Annoying structure of /var/db/pkg/category/package-name database

2013-05-09 Thread staticsafe
On 5/9/2013 22:59, Thomas Mueller wrote:
 Having package data in /var/db/pkg/category/package-name carries the 
 nuisance factor that finding a package involves a fishing expedition through 
 many possible categories.
 
 I am spoiled by having /var/db/pkg/package-name in NetBSD pkgsrc and 
 FreeBSD ports, though FreeBSD is wsitching to a different structure nkwon as 
 pkgng.
 
 Is there any way to configure so as to avoid this annoyance in Gentoo?  Like 
 maybe making /var/db/pkg/package-name?
 
 One can do
 ls /var/db/pkg/*/package-name but this is still an annoyance.
 
 I have some limited experience with Gentoo Linux on my older computer.  
 Compiling the kernel took 130 minutes, and then the kernel failed to boot.
 
 Tom
 
 

Use equery?

$ man equery
Equery is a collection of modules for querying the state of Gentoo
packages, files and USE flags.

-- 
staticsafe
O ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.