Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Dale

Michael Mol wrote:



On Oct 6, 2011 11:21 PM, Dale rdalek1...@gmail.com 
mailto:rdalek1...@gmail.com wrote:


 Mick wrote:

 On Thursday 06 Oct 2011 20:42:43 Dale wrote:

 Michael Orlitzky wrote:

 On 10/06/2011 04:20 AM, Jonas de Buhr wrote:

 most of the oh it's so weird-whining often comes from just not 
being

 used to it. flip your door lock upside down - you'll hate it with
 passion for a week and then you won't even notice. flip it again and
 the process will repeat.

 But if someone else snuck into your house and flipped your locks 
every

 week?

 This one change won't be catastrophic, but I will probably spend 
a good
 eight hours researching, testing, implementing, and documenting 
it. In
 the end, *if everything goes according to plan*, stuff will work 
exactly

 how it does now.

 If Grub were the only package to do this -- fine, whatever. But next
 week it will be something else. I don't know what my point is, but it
 feels good to bitch about it.

 This is how I feel about the initramfs thingy and /usr and /var.  What
 is next?  I am pretty sure it will be something tho.

 I share your pain.  :-(

 I'm not sure if this a sign of me getting (even) older, or Linux 
maturing and
 in doing so it caters less and less for Gentoo geeky users and more 
and more

 for mainstream ignoramuses.  :p


 I was thinking more like windoze really.  If windoze starts having 
mount points like Linux, things could start changing.  ^_^   Think 
about it, windoze currently has to have its stuff on the C drive and 
Linux can be spread out over many drives and you can mount things 
wherever you want.  Linux is going the way of windoze then windoze 
would be going the way of Linux.  Weird huh?


You've been able to do this since at least WinXP. I don't know if that 
functionality extends through Win2k and earlier.


On one hand, you can configure the locations of things like 
%PROGRAMFILES% and %SYSTEMROOT%. On the other hand, you can mount a 
volume wherever you like.


I used this to use the same .libpurple directory on a machine 
dual-booted between WinXP 32-bit and WinVista 64-bit. A data volume 
was mounted at D:\Data, and I had NTFS junctions pointing my 
.libpurple on both boots at a directory on that volume.




H, this is interesting.  My brother has filled up his hard drive and 
I been planning on reinstalling to a larger drive.  Maybe I need to 
check into this more.  He uses XP and I really hate to install windoze.  
Since he had to spend $8,000.00 on a new mower, his new rig went to 
second place in the budget.  This could be the place for the next couple 
years.  Uhh, he mows grass for a living.  Anyway, putting Documents on 
its own drive would save me some grief.


So, windoze is catching up to Linux since Linux is regressing.  Man, 
this is weird.


Dale

:-)  :-)


Re: [gentoo-user] portage wants to remove less and nano

2011-10-07 Thread Alan McKinnon
On Thu, 06 Oct 2011 22:19:44 -0400
Michael Orlitzky mich...@orlitzky.com wrote:

 On 10/06/2011 10:06 PM, Dale wrote:
  
  One would think that if it is the selected and only one installed,
  it wouldn't try to remove it.  Isn't this what virtuals are for?
  Portage needs one pager from the following list and as long as one
  is installed, portage is happy and doesn't try to remove it.
  
  I know, this has been discussed and the devs still let it do this.
   sighs 
  
 
 That's how it works with regards to virtuals. It will only remove
 'less' if you have some other pager installed.
 
 It currently *will* remove 'less' while it's eselected as the pager.
 There's an underwhelming bug for this:
 
   https://bugs.gentoo.org/show_bug.cgi?id=367611
 

Didn't we thrash this one to death already 2 months ago?

Wasn't Zac's response that virtuals are inappropriate in the system set?



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



Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Jonas de Buhr

Am 07.10.2011 02:55, schrieb Michael Orlitzky:

On 10/06/11 19:42, Jonas de Buhr wrote:

If we have some grub-legacy and some grub2 installs,

why would you do that?

Eventually, grub2 will be all that's available from portage. At that
point, I can either,

1) Install grub2 on some machines.

2) Maintain grub-legacy (and install media) myself.


i really don't think thats the way its going to be. i think there will 
be grub and grub2 in portage potentially forever. like with python 2 and 3.


even if not, 2) takes you one cp command and a little bit of disk space 
for the grub tarball.






have a look at the link i posted. if you really want to keep it simple,
grub2 can be configured with a single grub.cfg file.

How much work would it be for you to,

   * Learn grub2

if you're ok with the single .cfg: done.

   * Travel to my office here in Baltimore

first class flight please.

   * Test it on all combinations of hardware that we currently run
   * Document the standard config and any special cases

ok.

   * Upgrade a bunch of my servers at 4am?

why not choose a convenient time to upgrade?


If you still think it's not much then I'd be happy to have you do it
while I drink margaritas.
no, i still don't think its as much of a big deal as you make of it. 
about as much work as a kernel upgrade. let's wait for grub2 to go 
stable before you send me that ticket ;)




Re: [gentoo-user] Is grub2 stable and who uses it?

2011-10-07 Thread Alan McKinnon
On Fri, 7 Oct 2011 01:08:24 +0100
Peter Humphrey pe...@humphrey.ukfsn.org wrote:

 On Thursday 06 October 2011 17:40:33 Sebastian Beßler wrote:
  Am 06.10.2011 17:25, schrieb Michael Mol:
   Let's hold a poll. How many list readers get it?
   
   It's not c which is in doubt, but its function as an upper
   limit. ;)
  
  And even if the results a true and not an error then there is a
  list of possible explanations. Most of them leave c as upper limit
  in place. Quantum Mechanics has many aces in his sleeve like micro
  wormholes or traveling through higher dimensions. All these
  dimensions from string theorie must be good for something ;-)
 
 Just think of the consequences if c is not the ultimate speed limit.
 I am, and they're so numerous that I can't even contemplate them all.

Permit me to direct you to the pearl of wisdom about that in the movie
K-Pax



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



[gentoo-user] kscd-4.7.2 fails to build

2011-10-07 Thread Dale

Anybody else run into this:

[ 80%] Building CXX object kscd/CMakeFiles/kscd.dir/gui/seekbar.o
[ 82%] Building CXX object 
kscd/CMakeFiles/kscd.dir/dbus/PlayerDBusHandler.o
/var/tmp/portage/kde-base/kscd-4.7.2/work/kscd-4.7.2/kscd/dbus/PlayerDBusHandler.cpp:107:10: 
warning: unused parameter ‘on’

[ 84%] Building CXX object kscd/CMakeFiles/kscd.dir/dbus/RootDBusHandler.o
[ 86%] Building CXX object 
kscd/CMakeFiles/kscd.dir/dbus/TracklistDBusHandler.o
/var/tmp/portage/kde-base/kscd-4.7.2/work/kscd-4.7.2/kscd/dbus/TracklistDBusHandler.cpp:41:9: 
warning: unused parameter ‘url’
/var/tmp/portage/kde-base/kscd-4.7.2/work/kscd-4.7.2/kscd/dbus/TracklistDBusHandler.cpp:41:9: 
warning: unused parameter ‘playImmediately’
/var/tmp/portage/kde-base/kscd-4.7.2/work/kscd-4.7.2/kscd/dbus/TracklistDBusHandler.cpp:46:10: 
warning: unused parameter ‘index’
/var/tmp/portage/kde-base/kscd-4.7.2/work/kscd-4.7.2/kscd/dbus/TracklistDBusHandler.cpp:60:17: 
warning: unused parameter ‘position’
/var/tmp/portage/kde-base/kscd-4.7.2/work/kscd-4.7.2/kscd/dbus/TracklistDBusHandler.cpp:65:10: 
warning: unused parameter ‘enable’
/var/tmp/portage/kde-base/kscd-4.7.2/work/kscd-4.7.2/kscd/dbus/TracklistDBusHandler.cpp:70:10: 
warning: unused parameter ‘enable’

[ 89%] Building CXX object kscd/CMakeFiles/kscd.dir/cdplayeradaptor.o
[ 91%] Building CXX object kscd/CMakeFiles/kscd.dir/RootAdaptor.o
[ 93%] Building CXX object kscd/CMakeFiles/kscd.dir/PlayerAdaptor.o
[ 95%] Building CXX object kscd/CMakeFiles/kscd.dir/TracklistAdaptor.o
[ 97%] Building CXX object kscd/CMakeFiles/kscd.dir/prefs.o
Linking CXX executable kscd
/usr/lib64/libneon.so.27: undefined reference to 
`gnutls_certificate_verify_peers'

collect2: ld returned 1 exit status
make[2]: *** [kscd/kscd] Error 1
make[1]: *** [kscd/CMakeFiles/kscd.dir/all] Error 2
make: *** [all] Error 2
* ERROR: kde-base/kscd-4.7.2 failed (compile phase):
* emake failed
*
* If you need support, post the output of 'emerge --info 
=kde-base/kscd-4.7.2',
* the complete build log and the output of 'emerge -pqv 
=kde-base/kscd-4.7.2'.
* The complete build log is located at 
'/var/log/portage/kde-base:kscd-4.7.2:20111007-075837.log'.
* The ebuild environment file is located at 
'/var/tmp/portage/kde-base/kscd-4.7.2/temp/environment'.

* S: '/var/tmp/portage/kde-base/kscd-4.7.2/work/kscd-4.7.2'

 Failed to emerge kde-base/kscd-4.7.2, Log file:

 '/var/log/portage/kde-base:kscd-4.7.2:20111007-075837.log'
*** Resuming merge...

These are the packages that would be merged, in order:

Calculating dependencies... done!
* emerge --keep-going: kde-base/kdemultimedia-meta-4.7.2 dropped due to
* unsatisfied dependency.
* emerge --keep-going: kde-base/kde-meta-4.7.2 dropped due to unsatisfied
* dependency.
*
* The following 3 packages have failed to build or install:
*
* (kde-base/kscd-4.7.2::gentoo, ebuild scheduled for merge), Log file:
* '/var/log/portage/kde-base:kscd-4.7.2:20111007-075837.log'
* (kde-base/kdemultimedia-meta-4.7.2::gentoo, ebuild scheduled for merge)
* (kde-base/kde-meta-4.7.2::gentoo, ebuild scheduled for merge)
*
root@fireball / #

I tried a revdep-rebuild and re-emerging neon with no change and also 
tried -j1. Will post the other files if needed. Just let me know.


Bug? Ideas? Hammer?

Dale

:-) :-)



Re: [gentoo-user] kscd-4.7.2 fails to build

2011-10-07 Thread Jonas de Buhr

Am 07.10.2011 10:03, schrieb Dale:
/usr/lib64/libneon.so.27: undefined reference to 
`gnutls_certificate_verify_peers' 

gnutls_certificate_verify_peers is deprecated in gnutls.

you could try emerging net-libs/neon with

USE=-gnutls ssl

for a quick workaround.



Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Neil Bothwick
On Thu, 06 Oct 2011 20:55:05 -0400, Michael Orlitzky wrote:

 How much work would it be for you to,
 
   * Learn grub2

About the same as it would be for you, very little.

The config has moved from /boot/grub to /etc/grub.d and the syntax has
changed slightly.

Note that, BY DEFAULT, grub2 comes with a file for you to add your manual
configurations. If it weren't for the confusing idea of putting some of
the settings in a different location, the learning curve would be trivial.


-- 
Neil Bothwick

Everything takes longer than expected, even when you take
  into account Hoffstead's Law. - Hoffstead's Law


signature.asc
Description: PGP signature


Re: [gentoo-user] kscd-4.7.2 fails to build SOLVED

2011-10-07 Thread Dale

Jonas de Buhr wrote:

Am 07.10.2011 10:03, schrieb Dale:
/usr/lib64/libneon.so.27: undefined reference to 
`gnutls_certificate_verify_peers' 

gnutls_certificate_verify_peers is deprecated in gnutls.

you could try emerging net-libs/neon with

USE=-gnutls ssl

for a quick workaround.




For those who run into this, just remove the gnutls flag and do a emerge 
-uvaDN world.  I had it in make.conf so I must have needed it at some 
point in the past.  Man that is a old USE line.  lol


Thanks for the tip.  It worked.

Dale

:-)  :-)



Re: [gentoo-user] kscd-4.7.2 fails to build SOLVED

2011-10-07 Thread Jonas de Buhr

Am 07.10.2011 10:47, schrieb Dale:

Jonas de Buhr wrote:

Am 07.10.2011 10:03, schrieb Dale:
/usr/lib64/libneon.so.27: undefined reference to 
`gnutls_certificate_verify_peers' 

gnutls_certificate_verify_peers is deprecated in gnutls.

you could try emerging net-libs/neon with

USE=-gnutls ssl

for a quick workaround.




For those who run into this, just remove the gnutls flag and do a 
emerge -uvaDN world.  I had it in make.conf so I must have needed it 
at some point in the past.  Man that is a old USE line.  lol


Thanks for the tip.  It worked.
i think you should file a bug on this. i guess the deprecated function 
has finally been removed from gnutls and thats why you get the undefined 
reference error. so we either need a new version of neon which uses 
gnutls_certificate_verify_peers2() or the ebuild needs to be changed not 
to use gnutls (at least not above a certain version).




Re: [gentoo-user] portage wants to remove less and nano

2011-10-07 Thread Niccolò Belli

Il 06/10/2011 23:09, David Abbott ha scritto:

To see your default editor and pager;
eselect editor list  eselect pager list


It's strange, there was no defaults editor and pager...

laptop ~ # eselect editor list  eselect pager list
Available targets for the EDITOR variable:
  [1]   /bin/nano
  [2]   /usr/bin/ex
  [3]   /usr/bin/vi
  [ ]   (free form)
Available targets for the PAGER variable:
  [1]   /bin/more
  [2]   /usr/bin/less
  [ ]   (free form)

laptop ~ # eselect editor show
EDITOR variable in profile:
  (none)

laptop ~ # eselect pager show
PAGER variable in profile:
  (none)


I'm pretty sure I never unset them...



Re: [gentoo-user] kscd-4.7.2 fails to build SOLVED

2011-10-07 Thread Jonas de Buhr

Hi Dale,

if you want, you can try



mkdir -p /usr/local/portage/net-libs

cp -ax /usr/portage/net-libs/neon /usr/local/portage/net-libs/

echo 'PORTDIR_OVERLAY=/usr/local/portage'  /etc/make.conf

mkdir -p /usr/local/portage/net-libs/

cp verify_peer2.patch /usr/local/portage/net-libs/files/

cp neon-0.29.6.ebuild /usr/local/portage/net-libs/neon/

ebuild /usr/local/portage/net-libs/neon-0.29.6.ebuild manifest
USE=-ssl gnutls emerge net-libs/neon kde-base/kscd



with the attached patch and ebuild. neon compiles, but i dont want to 
install kscd on my server ;)


attach it to the bug report if it works, please.

Am 07.10.2011 10:47, schrieb Dale:

Jonas de Buhr wrote:

Am 07.10.2011 10:03, schrieb Dale:

/usr/lib64/libneon.so.27: undefined reference to
`gnutls_certificate_verify_peers'

gnutls_certificate_verify_peers is deprecated in gnutls.

you could try emerging net-libs/neon with

USE=-gnutls ssl

for a quick workaround.




For those who run into this, just remove the gnutls flag and do a emerge
-uvaDN world. I had it in make.conf so I must have needed it at some
point in the past. Man that is a old USE line. lol

Thanks for the tip. It worked.

Dale

:-) :-)



# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/neon/neon-0.29.6.ebuild,v 1.8 
2011/07/20 22:14:39 halcy0n Exp $

EAPI=3

inherit autotools libtool versionator

DESCRIPTION=HTTP and WebDAV client library
HOMEPAGE=http://www.webdav.org/neon/;
SRC_URI=http://www.webdav.org/neon/${P}.tar.gz;

LICENSE=GPL-2
SLOT=0
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix 
~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
IUSE=doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib
IUSE_LINGUAS=cs de fr ja nn pl ru tr zh_CN
for lingua in ${IUSE_LINGUAS}; do
IUSE+= linguas_${lingua}
done
unset lingua
RESTRICT=test

RDEPEND=expat? ( dev-libs/expat )
!expat? ( dev-libs/libxml2 )
gnutls? (
app-misc/ca-certificates
=net-libs/gnutls-2.0
pkcs11? ( dev-libs/pakchois )
)
!gnutls? ( ssl? (
=dev-libs/openssl-0.9.6f
pkcs11? ( dev-libs/pakchois )
) )
kerberos? ( virtual/krb5 )
libproxy? ( net-libs/libproxy )
nls? ( virtual/libintl )
zlib? ( sys-libs/zlib )
DEPEND=${RDEPEND}
dev-util/pkgconfig

src_prepare() {
local lingua linguas
for lingua in ${IUSE_LINGUAS}; do
use linguas_${lingua}  linguas+= ${lingua}
done
sed -i -e s/ALL_LINGUAS=.*/ALL_LINGUAS=\${linguas}\/g configure.in

AT_M4DIR=macros eautoreconf

elibtoolize
epatch ${FILESDIR}/verify_peers2.patch
}

src_configure() {
local myconf

if has_version sys-libs/glibc; then
einfo Enabling SSL library thread-safety using POSIX 
threads...
myconf+= --enable-threadsafe-ssl=posix
fi

if use expat; then
myconf+= --with-expat
else
myconf+= --with-libxml2
fi

if use gnutls; then
myconf+= --with-ssl=gnutls 
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
elif use ssl; then
myconf+= --with-ssl=openssl
fi

econf \
--enable-shared \
$(use_with kerberos gssapi) \
$(use_with libproxy) \
$(use_enable nls) \
$(use_with pkcs11 pakchois) \
$(use_enable static-libs static) \
$(use_with zlib) \
${myconf}
}

src_install() {
emake DESTDIR=${D} install-lib install-headers install-config 
install-nls || die emake install failed

find ${ED} -name *.la -print0 | xargs -0 rm -f

if use doc; then
emake DESTDIR=${D} install-docs || die emake install-docs 
failed
fi

dodoc AUTHORS BUGS NEWS README THANKS TODO
doman doc/man/*.[1-8]
}

pkg_postinst() {
ewarn Neon has a policy of breaking API across minor versions, this 
means
ewarn that any package that links against Neon may be broken after
ewarn updating. They will remain broken until they are ported to the
ewarn new API. You can downgrade Neon to the previous version by 
doing:
ewarn
ewarn   emerge --oneshot 
'${CATEGORY}/${PN}-$(get_version_component_range 1-2 ${PV})'
ewarn
ewarn You may also have to downgrade any package that has not been
ewarn ported to the new API yet.
}
diff -u -r neon-0.29.6/src/ne_socket.c neon-0.29.6_patched/src/ne_socket.c
--- neon-0.29.6/src/ne_socket.c 2010-10-09 18:07:17.0 +0200
+++ 

Re: [gentoo-user] kscd-4.7.2 fails to build SOLVED

2011-10-07 Thread Jonas de Buhr

Am 07.10.2011 12:31, schrieb Jonas de Buhr:


mkdir -p /usr/local/portage/net-libs/


should have been

mkdir -p /usr/local/portage/net-libs/files

of course.


cp verify_peer2.patch /usr/local/portage/net-libs/files/


i will stop spamming now :)



Re: [gentoo-user] kscd-4.7.2 fails to build SOLVED

2011-10-07 Thread Jonas de Buhr
Am Fri, 07 Oct 2011 12:44:20 +0200
schrieb Jonas de Buhr jonas.de.b...@gmx.net:

 Am 07.10.2011 12:31, schrieb Jonas de Buhr:
 
  mkdir -p /usr/local/portage/net-libs/
 
 should have been

nope, that was still wrong...

mkdir -p /usr/local/portage/net-libs/neon/files

cp verify_peer2.patch /usr/local/portage/net-libs/neon/files/




Re: [gentoo-user] portage wants to remove less and nano

2011-10-07 Thread Willie Wong
On Fri, Oct 07, 2011 at 11:15:33AM +0200, Niccolò Belli wrote:
 Il 06/10/2011 23:09, David Abbott ha scritto:
 To see your default editor and pager;
 eselect editor list  eselect pager list
 
 It's strange, there was no defaults editor and pager...
 
 laptop ~ # eselect editor list  eselect pager list
 Available targets for the EDITOR variable:
   [1]   /bin/nano
   [2]   /usr/bin/ex
   [3]   /usr/bin/vi
   [ ]   (free form)
 Available targets for the PAGER variable:
   [1]   /bin/more
   [2]   /usr/bin/less
   [ ]   (free form)

Most likely you've never set them. Use 'eselect editor set X' where X
is 1 for nano, 2 for ex, and 3 for vi etc. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] portage wants to remove less and nano

2011-10-07 Thread Niccolò Belli

Il 07/10/2011 13:25, Willie Wong ha scritto:

Most likely you've never set them.


Shouldn't it ship with a default setting? Anyway even after setting a 
default, portage still wants to remove both less and nano. I had to put 
them in the world set.


Niccolò



[gentoo-user] prelink errors

2011-10-07 Thread Niccolò Belli
I do use libreoffice-bin, but not firefox-bin and thinderbird-bin (I do 
compile them from source). I already tried revdep-rebuild and 
lafilefixer, even emerge -ave @world but nothing changes.


Thanks,
Niccolò

laptop ~ # prelink -amR
prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not 
/lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse 
`/usr/lib64/libreoffice/program/soffice.bin: error while loading shared 
libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding 
in e_ident'
prelink: /usr/lib64/libreoffice/program/kdefilepicker: Could not find 
one of the dependencies
prelink: /usr/lib64/libreoffice/basis3.4/program/python.bin: Could not 
find one of the dependencies
prelink: /usr/lib64/thunderbird-devel/bin/thunderbird-bin: Could not 
find one of the dependencies
prelink: /usr/lib64/thunderbird-devel/bin/plugin-container: Could not 
find one of the dependencies
prelink: /usr/lib64/firefox/plugin-container: Could not find one of the 
dependencies
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V6_ILP32_OFFBIG: Using 
/lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V7_ILP32_OFFBIG: Using 
/lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/XBS5_ILP32_OFF32: Using 
/lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/XBS5_ILP32_OFFBIG: Using 
/lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V6_ILP32_OFF32: Using 
/lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib32/misc/glibc/getconf/POSIX_V7_ILP32_OFF32: Using 
/lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse 
`/usr/lib64/libreoffice/program/soffice.bin: error while loading shared 
libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding 
in e_ident'
prelink: /usr/lib64/libreoffice/program/kdefilepicker: Could not find 
one of the dependencies
prelink: /usr/lib64/libreoffice/basis3.4/program/python.bin: Could not 
find one of the dependencies
prelink: /usr/lib64/thunderbird-devel/bin/thunderbird-bin: Could not 
find one of the dependencies
prelink: /usr/lib64/thunderbird-devel/bin/plugin-container: Could not 
find one of the dependencies
prelink: /usr/lib64/firefox/plugin-container: Could not find one of the 
dependencies




Re: [gentoo-user] portage wants to remove less and nano

2011-10-07 Thread Albert W. Hopkins
On Fri, 2011-10-07 at 13:30 +0200, Niccolò Belli wrote:
 Il 07/10/2011 13:25, Willie Wong ha scritto:
  Most likely you've never set them.
 
 Shouldn't it ship with a default setting? Anyway even after setting a 
 default, portage still wants to remove both less and nano. I had to put 
 them in the world set.

I'll chime in.  I know this has been discussed so many times... but it
seems the discussion recurs.

You *can* get away with not putting virtuals in your world file, even
with the new portage behavior.  The trick is to not have any other
package satisfy the virtual.  For example, I use most as my pager and
gvim as my editor.  I uninstalled nano because I can't stand it and
never use it.  I also uninstalled less because I use most.  My world
file has neither most nor gvim in it, but because nothing else satisfies
the dependencies for virtual/pager and virtual/editor then they don't
get depclean'ed.

Of course this won't work for everyone.  If you have to have 2 pagers
installed, for example. Where I think some people will come into a
problem is with sys-apps/util-linux[ncurses].  This satisfies the
virtual/pager dep so it may want to clean sys-apps/more.  I don't have
the ncurses flag set for util-linux, so I don't have that issue.

Anyway a lot of people don't like the new behavior (which isn't really
new anymore).  I can't say I'm enthused about the change, but if you
think about (for a while) it makes sense, and it's not like it's going
to kill you to put nano/more/whatever in your world file.

-a





Re: [gentoo-user] How can I power disk off?

2011-10-07 Thread Mark Knecht
On Thu, Oct 6, 2011 at 6:14 PM, Michael Mol mike...@gmail.com wrote:

 On Oct 6, 2011 9:06 PM, Mark Knecht markkne...@gmail.com wrote:

 On Thu, Oct 6, 2011 at 1:28 PM, Michael Mol mike...@gmail.com wrote:
  On Thu, Oct 6, 2011 at 4:21 PM, Mark Knecht markkne...@gmail.com
  wrote:
  On Thu, Oct 6, 2011 at 1:03 PM, Paul Hartman
  My worry was that if the mdraid daemon saw one drive gone - either
  when starting to spin down or when one spins up slowly - and if mdraid
  didn't understand that all this stuff was taking place intentionally
  then it might mark that drive as having failed.
 
  Does mdraid even have an awareness of timeouts, or does it leave that
  to lower drivers? I think the latter condition is more likely.
 
  I suspect, though, that if your disk fails to spin up reasonably
  quickly, it's already failed.
 

 In general I agree. However drives that are designed for RAID have a
 feature known as Time Limited Error Recovery (TLER) which supposedly
 guarantees that they'll get the drive back to responding fast enough
 to not have it marked as failed in the RAID array:

 http://en.wikipedia.org/wiki/Time-Limited_Error_Recovery

 When I built my first RAID I bought some WD 1TB green drives, built
 the RAID and immediately had drives failing because they didn't have
 this sort of feature. I replaced them with RAID Edition drives that
 have the TLER feature and have never had a problem since. (Well, I
 actually bought all new drives and kept the six 1TB drives which I'd
 mostly used up for other things like external eSATA backup drives,
 etc...)

 Anyway, I'm possibly over sensitized to this sort of timing problem
 specifically in a RAID which is why I asked the question of Paul in
 the first place.

 My first RAID was with three Seagate economy 1.5TB drives in RAID 5, shortly
 followed by three 1TB WD black drives in RAID 0. I never had the problems
 you describe, though I rebuit the RAID5 several times as I was figuring
 things out. (the 3TB RAID0 was for some heavy duty scratch space.)

Yeah, I understand. This sort of problem, I found out after joining
the linux-raid list, is _very_ dependent on the _exact_ model of
drives chosen to build the RAID. I've had exactly ZERO problems with
any the 2 drive RAID0's, 3  5 drive RAID1's and 5 drive RAID6's that
I built using WD RAID Edition drives. They've run for 18 months and
nothing has ever gone off line or needed any attention of any type.
They just work.

On the other hand all the RAID0  RAID1's that I build using the WD
1TB _Green_ drives simply wouldn't work reliably. They'd go off line
every day or two, and I'm talking in the very same computer. No other
differences hardware wise. I've heard of people using the same drive
model (but possibly different firmware) having similar problems until
they got a WD app to twiddle with the firmware, and others that never
got the drives working well at all. The drives are perfectly fine
non-RAID.

I appreciate the inputs. It's an interesting subject and hearing other
people's experiences helps put some shape around the space.

Cheers,
Mark



Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Michael Orlitzky
On 10/07/2011 04:47 AM, Neil Bothwick wrote:
 On Thu, 06 Oct 2011 20:55:05 -0400, Michael Orlitzky wrote:
 
 How much work would it be for you to,

   * Learn grub2
 
 About the same as it would be for you, very little.

Granted, this is the easy one on my list.




Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Michael Orlitzky
On 10/07/2011 03:36 AM, Jonas de Buhr wrote:
 Am 07.10.2011 02:55, schrieb Michael Orlitzky:
 On 10/06/11 19:42, Jonas de Buhr wrote:
 If we have some grub-legacy and some grub2 installs,
 why would you do that?
 Eventually, grub2 will be all that's available from portage. At that
 point, I can either,

 1) Install grub2 on some machines.

 2) Maintain grub-legacy (and install media) myself.
 
 i really don't think thats the way its going to be. i think there will 
 be grub and grub2 in portage potentially forever. like with python 2 and 3.
 
 even if not, 2) takes you one cp command and a little bit of disk space 
 for the grub tarball.

Python2 will stick around because most packages (portage!) don't work
with python3. Grub doesn't have the same problem.

(2) requires me to at least,

  * Figure out how to build a Gentoo install CD
  * Fork grub-legacy on our servers somewhere
  * Test it against all future kernel releases
  * Document why we're doing this, and how to do the first three steps.


* Upgrade a bunch of my servers at 4am?
 why not choose a convenient time to upgrade?

4am *is* the convenient time to upgrade.


 If you still think it's not much then I'd be happy to have you do it
 while I drink margaritas.
 no, i still don't think its as much of a big deal as you make of it. 
 about as much work as a kernel upgrade. let's wait for grub2 to go 
 stable before you send me that ticket ;)

This fails as a debate strategy since you wouldn't have to pay my
mortgage and feed me if you screwed up =)

Kernel upgrades usually take me a full day. I get to skip most of the
documentation step, but have to deal with heterogeneous configs. I'm not
saying that this is some huge problem on a cosmic scale, but it is going
to waste a day and risk downtime for no user-visible benefit.



Re: [gentoo-user] portage wants to remove less and nano

2011-10-07 Thread Michael Orlitzky
On 10/07/2011 03:30 AM, Alan McKinnon wrote:
 
 Didn't we thrash this one to death already 2 months ago?
 
 Wasn't Zac's response that virtuals are inappropriate in the system set?
 

I didn't pay too much attention back then, but for your second question,
these are all @system:

*virtual/dev-manager
*virtual/editor
*virtual/libc
*virtual/man
*virtual/os-headers
*virtual/package-manager
*virtual/pager
*virtual/ssh



Re: [gentoo-user] kscd-4.7.2 fails to build SOLVED

2011-10-07 Thread Dale

Jonas de Buhr wrote:

Am Fri, 07 Oct 2011 12:44:20 +0200
schrieb Jonas de Buhrjonas.de.b...@gmx.net:


Am 07.10.2011 12:31, schrieb Jonas de Buhr:


mkdir -p /usr/local/portage/net-libs/

should have been

nope, that was still wrong...

mkdir -p /usr/local/portage/net-libs/neon/files

cp verify_peer2.patch /usr/local/portage/net-libs/neon/files/





It has already compiled now.  To late.  lol

Dale

:-)  :-)



Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Alan Mackenzie
Hi, Michael.

On Thu, Oct 06, 2011 at 08:55:05PM -0400, Michael Orlitzky wrote:
 On 10/06/11 19:42, Jonas de Buhr wrote:

  If we have some grub-legacy and some grub2 installs, 

  why would you do that?

 Eventually, grub2 will be all that's available from portage. At that
 point, I can either,

 1) Install grub2 on some machines.

 2) Maintain grub-legacy (and install media) myself.

  have a look at the link i posted. if you really want to keep it simple,
  grub2 can be configured with a single grub.cfg file.

 How much work would it be for you to,

   * Learn grub2
   * Travel to my office here in Baltimore
   * Test it on all combinations of hardware that we currently run
   * Document the standard config and any special cases
   * Upgrade a bunch of my servers at 4am?

 If you still think it's not much then I'd be happy to have you do it
 while I drink margaritas.

Why don't you upgrade to lilo instead?  It's got a single configuration
file which is short and relatively simple, and it just works.  My
lilo.conf has 50 non-comment/space lines, and that includes 8 kernel
versions.

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Brennan Shacklett
 Python2 will stick around because most packages (portage!) don't work
 with python3. Grub doesn't have the same problem.


Just to be pedantic, portage uses python3 if the python3 use flag is
enabled.


Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Michael Orlitzky
On 10/07/2011 10:29 AM, Alan Mackenzie wrote:
 
 Why don't you upgrade to lilo instead?  It's got a single configuration
 file which is short and relatively simple, and it just works.  My
 lilo.conf has 50 non-comment/space lines, and that includes 8 kernel
 versions.
 

Why don't I avoid $difficult_thing by doing
$equally_difficult_other_thing? =)

If I thought lilo was going to be around longer than grub2, it might
make sense. I'm gambling on that one.



Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Michael Orlitzky
On 10/07/2011 10:46 AM, Brennan Shacklett wrote:
 
 Python2 will stick around because most packages (portage!) don't work
 with python3. Grub doesn't have the same problem.
 
 
 Just to be pedantic, portage uses python3 if the python3 use flag is
 enabled.
 

That's not being pedantic; it looks like I'm outdated on this one.



Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Dale

Michael Orlitzky wrote:

On 10/07/2011 10:29 AM, Alan Mackenzie wrote:

Why don't you upgrade to lilo instead?  It's got a single configuration
file which is short and relatively simple, and it just works.  My
lilo.conf has 50 non-comment/space lines, and that includes 8 kernel
versions.


Why don't I avoid $difficult_thing by doing
$equally_difficult_other_thing? =)

If I thought lilo was going to be around longer than grub2, it might
make sense. I'm gambling on that one.




Not to mention you have to run lilo when you update kernels and other 
things too.  I used lilo when I first started using Linux.  I can't 
imagine me ever going back to that thing.


Dale

:-)  :-)



Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Paul Hartman
On Fri, Oct 7, 2011 at 10:18 AM, Dale rdalek1...@gmail.com wrote:
 Michael Orlitzky wrote:

 On 10/07/2011 10:29 AM, Alan Mackenzie wrote:

 Why don't you upgrade to lilo instead?  It's got a single configuration
 file which is short and relatively simple, and it just works.  My
 lilo.conf has 50 non-comment/space lines, and that includes 8 kernel
 versions.

 Why don't I avoid $difficult_thing by doing
 $equally_difficult_other_thing? =)

 If I thought lilo was going to be around longer than grub2, it might
 make sense. I'm gambling on that one.



 Not to mention you have to run lilo when you update kernels and other things
 too.  I used lilo when I first started using Linux.  I can't imagine me ever
 going back to that thing.

Back in the mid 90's I used to use a boot floppy to dual-boot, I think
it was LILO... Floppy in, it booted Debian, floppy out, it booted
OS/2. One day, someone took the floppy and reformatted it to copy some
files onto it; that seriously hindered my ability to boot Linux at
that time. :)



Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-07 Thread Diego Augusto Molina
Have sex! That's the first thing you can do to keep your mind out of madness.
Really, look at the benefits of having sex and you'll see it's a
complete excercise for body, obviously you have to excercise your
social skills and has some really cool consecuences on your body,
methabolism, etc. (just google it).
You can have as much as you want (or can, hehe) and it'll never be bad
(just use condoms, and try avoiding weird stuff...).

-- 
Diego Augusto Molina
diegoaugustomol...@gmail.com

ES: Por favor, evite adjuntar documentos de Microsoft Office. Serán
desestimados.
EN: Please, avoid attaching Microsoft Office documents. They shall be discarded.
LINK: http://www.gnu.org/philosophy/no-word-attachments.html



Re: [gentoo-user] What is the most error resistant filesystem?

2011-10-07 Thread Diego Augusto Molina
I had tons of problems with ReiserFS-3.6 in the past. Many, many
problems when suddenly going out of power...

-- 
Diego Augusto Molina
diegoaugustomol...@gmail.com

ES: Por favor, evite adjuntar documentos de Microsoft Office. Serán
desestimados.
EN: Please, avoid attaching Microsoft Office documents. They shall be discarded.
LINK: http://www.gnu.org/philosophy/no-word-attachments.html



Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Jonas de Buhr
Am Fri, 07 Oct 2011 09:59:54 -0400
schrieb Michael Orlitzky mich...@orlitzky.com:

 On 10/07/2011 03:36 AM, Jonas de Buhr wrote:
  Am 07.10.2011 02:55, schrieb Michael Orlitzky:
  On 10/06/11 19:42, Jonas de Buhr wrote:
  If we have some grub-legacy and some grub2 installs,
  why would you do that?
  Eventually, grub2 will be all that's available from portage. At
  that point, I can either,
 
  1) Install grub2 on some machines.
 
  2) Maintain grub-legacy (and install media) myself.
  
  i really don't think thats the way its going to be. i think there
  will be grub and grub2 in portage potentially forever. like with
  python 2 and 3.
  
  even if not, 2) takes you one cp command and a little bit of disk
  space for the grub tarball.
 
 Python2 will stick around because most packages (portage!) don't work
 with python3. Grub doesn't have the same problem.
 
 (2) requires me to at least,
 
   * Figure out how to build a Gentoo install CD
   * Fork grub-legacy on our servers somewhere

build a package and put it on an ftp. monitor the bug-grub mailing list
for critical bugs. repeat.
or mirror it daily and autobuild the package.
no need to build an install cd or fork grub. but it is true that this is
less convenient than portage. its probably less work to switch to grub2
IF grub legacy really ever gets thrown out of portage. mixing both is
the worst idea in my opinion.

   * Test it against all future kernel releases
   * Document why we're doing this, and how to do the first three
 steps.
 
 
 * Upgrade a bunch of my servers at 4am?
  why not choose a convenient time to upgrade?
 
 4am *is* the convenient time to upgrade.
 
  If you still think it's not much then I'd be happy to have you
  do it while I drink margaritas.
  no, i still don't think its as much of a big deal as you make of
  it. about as much work as a kernel upgrade. let's wait for grub2 to
  go stable before you send me that ticket ;)
 
 This fails as a debate strategy since you wouldn't have to pay my
 mortgage and feed me if you screwed up =)

hey, that was *your* idea in the first place ;)

 Kernel upgrades usually take me a full day. I get to skip most of the
 documentation step, but have to deal with heterogeneous configs. 

out of interest: why do you have different configs? even if you have
different hardware you could still build a one fits all-kernel. or
are they that specialized?

I'm
 not saying that this is some huge problem on a cosmic scale, but it
 is going to waste a day and risk downtime for no user-visible benefit.

lets just agree on that. im kinda tired of this discussion. there's
nothing we can do about it anyway.



Re: [gentoo-user] OT: change and improvement

2011-10-07 Thread Michael Orlitzky
On 10/07/2011 12:16 PM, Jonas de Buhr wrote:
 
 out of interest: why do you have different configs? even if you have
 different hardware you could still build a one fits all-kernel. or
 are they that specialized?
 

We share kernel config whenever possible, but there are a few cases
where they have to diverge. Basically any option that can't be compiled
as a module is a candidate. Off the top of my head,

  * We've got x86/amd64
  * Intel/AMD
  * A couple with RAID hardware that can't have its module installed.
  * One server with a tulip NIC that can't use a particular driver.
  * A set where hyperthreading needs to be disabled
  * A virtual machine host that needs certain hardening features
disabled
  * A separate config for VM guests
  * Headless vs. GUI requires more grsec/pax tweaking
  * Different HZ settings. Power management in general depends on what
the box will be doing.
  * A firewall with no non-essential modules available

We keep the configs in git, so if two are similar I can usually just
pull the last changeset (after a make oldconfig) over. What sucks is
testing, and of course driving to work to reboot everything off-hours.


 lets just agree on that. im kinda tired of this discussion. there's
 nothing we can do about it anyway.
 

Agreed.



Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-07 Thread Andrey Moshbear
Sex? Ysex? Are you aware that this is gentoo-users that you're posting in? :P

On 2011-10-07, Diego Augusto Molina diegoaugustomol...@gmail.com wrote:
 Have sex! That's the first thing you can do to keep your mind out of
 madness.
 Really, look at the benefits of having sex and you'll see it's a
 complete excercise for body, obviously you have to excercise your
 social skills and has some really cool consecuences on your body,
 methabolism, etc. (just google it).
 You can have as much as you want (or can, hehe) and it'll never be bad
 (just use condoms, and try avoiding weird stuff...).

 --
 Diego Augusto Molina
 diegoaugustomol...@gmail.com

 ES: Por favor, evite adjuntar documentos de Microsoft Office. Serán
 desestimados.
 EN: Please, avoid attaching Microsoft Office documents. They shall be
 discarded.
 LINK: http://www.gnu.org/philosophy/no-word-attachments.html



-- 
Sent from my mobile device

001100 Andrey m05hbear Vul
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101 4163039923
110011

Today's quote:
[ ] Obsolete code offends me.
[ ] Be aware of [ ] Murphy's, [ ] Muphry's Law.
[ ] Use [ ] Occam's, [ ] Hanlon's razor.
[ ] Greenspun's Tenth Rule.
[ ] Sturgeon's Law, [ ] Pareto principle.
[ ] RTFM, [ ] RTF[__]
[ ] [___]



[gentoo-user] Re: prelink errors

2011-10-07 Thread walt
On 10/07/2011 04:32 AM, Niccolò Belli wrote:

 laptop ~ # prelink -amR
 prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not 
 /lib/ld-linux.so.2 as dynamic linker
 prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse 
 `/usr/lib64/libreoffice/program/soffice.bin: error while loading shared 
 libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding in 
 e_ident'

I don't know very much about prelink, but I wonder about using a 32-bit
linker to load a 64-bit library?  That sounds wrong to me.

Is prelink a 32-bit program?  Is there maybe a 64-bit prelink on the same
machine?  What is actually in your prelink package?





Re: [gentoo-user] Re: prelink errors

2011-10-07 Thread Niccolò Belli

Il 07/10/2011 20:44, walt ha scritto:

I don't know very much about prelink, but I wonder about using a 32-bit
linker to load a 64-bit library?  That sounds wrong to me.

Is prelink a 32-bit program?  Is there maybe a 64-bit prelink on the same
machine?  What is actually in your prelink package?


laptop ~ # file /usr/sbin/prelink
/usr/sbin/prelink: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), 
statically linked, for GNU/Linux 2.6.9, stripped




[gentoo-user] Re: prelink errors

2011-10-07 Thread Nikos Chantziaras

On 10/07/2011 09:44 PM, walt wrote:

On 10/07/2011 04:32 AM, Niccolò Belli wrote:


laptop ~ # prelink -amR
prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 
as dynamic linker
prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse 
`/usr/lib64/libreoffice/program/soffice.bin: error while loading shared 
libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding in 
e_ident'


I don't know very much about prelink, but I wonder about using a 32-bit
linker to load a 64-bit library?  That sounds wrong to me.


/lib/ld-linux.so.2 is a symlink to ../lib32/ld-linux.so.2.



Is prelink a 32-bit program?  Is there maybe a 64-bit prelink on the same
machine?  What is actually in your prelink package?


prelink is 64-bit on 64-bit machines and 32-bit on 32-bit machines.  On 
64-bit machines, it handles 32-bit as well as 64-bit libraries correctly.





[gentoo-user] Re: prelink errors

2011-10-07 Thread Nikos Chantziaras

On 10/07/2011 02:32 PM, Niccolò Belli wrote:

I do use libreoffice-bin, but not firefox-bin and thinderbird-bin (I do
compile them from source). I already tried revdep-rebuild and
lafilefixer, even emerge -ave @world but nothing changes.

Thanks,
Niccolò

laptop ~ # prelink -amR
prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not
/lib/ld-linux.so.2 as dynamic linker
prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse
`/usr/lib64/libreoffice/program/soffice.bin: error while loading shared
libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding
in e_ident'


This error got introduced with glibc 2.12.  It's harmless and I guess 
prelink will be updated upstream for this.




prelink: /usr/lib64/libreoffice/program/kdefilepicker: Could not find
one of the dependencies


These errors are normal.  The needed libraries are not in the linker's 
default path.  LibreOffice uses wrapper scripts when it launches that 
manually set LD_LIBRARY_PATH.  This is why prelink can't find them.  You 
can tell prelink to not prelink anything in /usr/lib64/libreoffice by 
setting PRELINK_PATH_MASK in /etc/env.d/99local.  Mine looks like this:



PRELINK_PATH_MASK=/usr/lib/vmware-tools:/opt/xulrunner:/usr/lib64/jvm:/usr/lib64/NX:/usr/lib64/libreoffice




[gentoo-user] Re: OT: change and improvement

2011-10-07 Thread Grant Edwards
On 2011-10-07, Canek Pel??ez Vald??s can...@gmail.com wrote:

 In the end, udev was making huge advances, and HAL could not keep up
 simply because the other Operating Systems didn't have similar
 capabilities, so the consumers of HAL (desktop systems, mostly)
 started to use udev directly. That was when the shit hit the fan: if
 the purpose of HAL was to mantain portability, but the biggest and
 most active developer community (Linux) refused to use it since it
 didn't allowed them to use the full capabilities of the operating
 system, then it had (literally) no reason to live. So the HAL
 mantainers saw the error of their ways, and they deprecated it,
 saying to the user space developers that, in Linux, they should use
 udev, and in other Operating Systems whatever was equivalent, if any.

 It was really fast, if I remember correctly: one day half the
 programs in my computers used HAL, and the next every single one of
 them stopped using it. In Gentoo in particular was pretty rough,
 since the X.org version that used HAL had just become stable (which
 was kinda difficult to transition to), and next thing you know, you
 again had to transition, this time to a HAL-free X.org. A lot of
 users got really angry in Gentoo because of that.

Some of us grumpy-old-guy types refused to play nice and didn't make
either transition.  We disabled HAL support in X.org [after X.org had
stopped working when HAL became the default].  Once we had HAL
disabled, we continued to to use the trusty old xorg.conf file until
the whole HAL thing blew over.

I'm going to ignore grub2 for as long as I can, but I don't think it's
going away the way HAL did... ;)

-- 
Grant Edwards   grant.b.edwardsYow! I'd like some JUNK
  at   FOOD ... and then I want to
  gmail.combe ALONE --




[gentoo-user] Re: OT: change and improvement

2011-10-07 Thread Grant Edwards
On 2011-10-07, Michael Orlitzky mich...@orlitzky.com wrote:
 On 10/07/2011 03:36 AM, Jonas de Buhr wrote:
 Am 07.10.2011 02:55, schrieb Michael Orlitzky:
 On 10/06/11 19:42, Jonas de Buhr wrote:
 If we have some grub-legacy and some grub2 installs,
 why would you do that?
 Eventually, grub2 will be all that's available from portage. At that
 point, I can either,

 1) Install grub2 on some machines.

 2) Maintain grub-legacy (and install media) myself.
 
 i really don't think thats the way its going to be. i think there will 
 be grub and grub2 in portage potentially forever. like with python 2 and 3.
 
 even if not, 2) takes you one cp command and a little bit of disk space 
 for the grub tarball.

 Python2 will stick around because most packages (portage!) don't work
 with python3. Grub doesn't have the same problem.

 (2) requires me to at least,

   * Figure out how to build a Gentoo install CD
   * Fork grub-legacy on our servers somewhere
   * Test it against all future kernel releases
   * Document why we're doing this, and how to do the first three steps.


* Upgrade a bunch of my servers at 4am?
 why not choose a convenient time to upgrade?

 4am *is* the convenient time to upgrade.

And usually on a weekend, so when the whole thing goes sideways you've
got at least one day to fix it before regular business hours start.
Unless it's a consumer server not a business server, then you
don't have a weekend for fixing stuff that goes wrong.

-- 
Grant Edwards   grant.b.edwardsYow! ... he dominates the
  at   DECADENT SUBWAY SCENE.
  gmail.com




Re: [gentoo-user] Re: OT: change and improvement

2011-10-07 Thread Dale

Grant Edwards wrote:

On 2011-10-07, Canek Pel??ez Vald??scan...@gmail.com  wrote:


In the end, udev was making huge advances, and HAL could not keep up
simply because the other Operating Systems didn't have similar
capabilities, so the consumers of HAL (desktop systems, mostly)
started to use udev directly. That was when the shit hit the fan: if
the purpose of HAL was to mantain portability, but the biggest and
most active developer community (Linux) refused to use it since it
didn't allowed them to use the full capabilities of the operating
system, then it had (literally) no reason to live. So the HAL
mantainers saw the error of their ways, and they deprecated it,
saying to the user space developers that, in Linux, they should use
udev, and in other Operating Systems whatever was equivalent, if any.

It was really fast, if I remember correctly: one day half the
programs in my computers used HAL, and the next every single one of
them stopped using it. In Gentoo in particular was pretty rough,
since the X.org version that used HAL had just become stable (which
was kinda difficult to transition to), and next thing you know, you
again had to transition, this time to a HAL-free X.org. A lot of
users got really angry in Gentoo because of that.

Some of us grumpy-old-guy types refused to play nice and didn't make
either transition.  We disabled HAL support in X.org [after X.org had
stopped working when HAL became the default].  Once we had HAL
disabled, we continued to to use the trusty old xorg.conf file until
the whole HAL thing blew over.

I'm going to ignore grub2 for as long as I can, but I don't think it's
going away the way HAL did... ;)



Some of us old farts tried hal and got bit, hard.  It's the one time I 
can say Linux failed me big time.  I felt like I was running windoze.  O_O


Dale

:-)  :-)



[gentoo-user] inkscape emerge

2011-10-07 Thread James
Hello,

I read somewhere that inkscape (in portage)
can open and allow some manipulation of
Visio files. Anyone got any experience
with inkscape and visio files?


Emerging inkscape, it required 12 new packages
to be install too. What must I do to ensure that
when I unemerge  inkscape, the other 12 packages
are also removed?


curiously,
James






Re: [gentoo-user] inkscape emerge

2011-10-07 Thread Michael Mol
On Fri, Oct 7, 2011 at 3:32 PM, James wirel...@tampabay.rr.com wrote:
 Hello,

 I read somewhere that inkscape (in portage)
 can open and allow some manipulation of
 Visio files. Anyone got any experience
 with inkscape and visio files?

Haven't messed with visio files in years, and then only with Visio.


 Emerging inkscape, it required 12 new packages
 to be install too. What must I do to ensure that
 when I unemerge  inkscape, the other 12 packages
 are also removed?

Roughly speaking,

emerge -p --depclean

will show you what packages are installed which you didn't explicitly
ask for, and which are no longer depended upon by any
explicitly-selected packages.

So, say you install package A, and it depends on new packages B and C.
When you uninstall package A, packages B and C remain. When you use
--depclean, portage will see that B and C are installed, but aren't
required by anything.

Remove the -p to have portage go ahead and try to remove them. (But
you might see something you want to have remain, which is why you
should use -p first)

-- 
:wq



Re: [gentoo-user] inkscape emerge

2011-10-07 Thread Paul Hartman
On Fri, Oct 7, 2011 at 2:38 PM, Michael Mol mike...@gmail.com wrote:
 Remove the -p to have portage go ahead and try to remove them. (But
 you might see something you want to have remain, which is why you
 should use -p first)

Or use -a instead of -p. That way it asks you if you want to proceed
after showing what it would do, and if you say yes you don't have to
wait for it to recalculate everything again. :)



[gentoo-user] Re: inkscape emerge

2011-10-07 Thread Grant Edwards
On 2011-10-07, Michael Mol mike...@gmail.com wrote:
 On Fri, Oct 7, 2011 at 3:32 PM, James wirel...@tampabay.rr.com wrote:
 Hello,

 I read somewhere that inkscape (in portage)
 can open and allow some manipulation of
 Visio files. Anyone got any experience
 with inkscape and visio files?

 Haven't messed with visio files in years, and then only with Visio.


 Emerging inkscape, it required 12 new packages
 to be install too. What must I do to ensure that
 when I unemerge ??inkscape, the other 12 packages
 are also removed?

 Roughly speaking,

 emerge -p --depclean

 will show you what packages are installed which you didn't explicitly
 ask for, and which are no longer depended upon by any
 explicitly-selected packages.

[...]

 Remove the -p to have portage go ahead and try to remove them. (But
 you might see something you want to have remain, which is why you
 should use -p first)

If you do see packages that you want to keep, but aren't required by
anything else, you can manually add them to your world file (usually
/var/lib/portage/world) to protect them from removal by emerge
--depclean in the future. IIRC, I had to do that to keep portage from
removing Python 2 a while back.

-- 
Grant Edwards   grant.b.edwardsYow! PUNK ROCK!!  DISCO
  at   DUCK!!  BIRTH CONTROL!!
  gmail.com




[gentoo-user] Re: inkscape emerge

2011-10-07 Thread Grant Edwards
On 2011-10-07, Grant Edwards grant.b.edwa...@gmail.com wrote:
 On 2011-10-07, Michael Mol mike...@gmail.com wrote:

 emerge -p --depclean

 will show you what packages are installed which you didn't explicitly
 ask for, and which are no longer depended upon by any
 explicitly-selected packages.

 [...]

 Remove the -p to have portage go ahead and try to remove them. (But
 you might see something you want to have remain, which is why you
 should use -p first)

 If you do see packages that you want to keep, but aren't required by
 anything else, you can manually add them to your world file (usually
 /var/lib/portage/world) to protect them from removal by emerge
 --depclean in the future.

I forgot to include this link:

http://en.gentoo-wiki.com/wiki/Portage#Maintaining_the_World_File

-- 
Grant Edwards   grant.b.edwardsYow! Could I have a drug
  at   overdose?
  gmail.com




Re: [gentoo-user] Re: inkscape emerge

2011-10-07 Thread Dale

Grant Edwards wrote:

On 2011-10-07, Michael Molmike...@gmail.com  wrote:


Remove the -p to have portage go ahead and try to remove them. (But
you might see something you want to have remain, which is why you
should use -p first)

If you do see packages that you want to keep, but aren't required by
anything else, you can manually add them to your world file (usually
/var/lib/portage/world) to protect them from removal by emerge
--depclean in the future. IIRC, I had to do that to keep portage from
removing Python 2 a while back.



or just use emerge -n package name.  Same thing plus portage puts it 
in alphabetical order too.  ;-)


Dale

:-) :-)




Re: [gentoo-user] Strange partition on USB stick

2011-10-07 Thread Klaus Müller
Am 04.10.11 00:15, Mick wrote:
 I can't recall if I asked this before, but I am looking at a partition on a 
 USB stick which seems to have a FAT16 fs on it and in parted says:
 
 ==
 Model: Crucial Gizmo! overdrive (scsi)
 Disk /dev/sdb: 1023MB
 Sector size (logical/physical): 512B/512B
 Partition Table: loop
 
 Number  Start  End SizeFile system  Flags
  1  0.00B  1023MB  1023MB  fat16
 ==
 
 What does Partition Table: loop mean?
 

http://www.mail-archive.com/parted-devel@lists.alioth.debian.org/msg02423.html



[gentoo-user] Banshee, MTP, hotplug, no GNOME

2011-10-07 Thread Michael Mol
So, I have a Motorola Xoom. Unlike almost every other USB device I've
used, the Xoom appears to the USB host using the MTP protocol, rather
than the USB Mass Storage profile. What this means is that there won't
be any /dev/sd* device popping up for me to mount and copy files
around.

I've emerged banshee to use as a music player/library manager on my
desktop system. My desktop system does not run GNOME, and I've got
-gnome in make.conf.

According to banshee's docs, I should be able to simply plug in my MTP
device, and Banshee, banshee will see it, and things should happen
automagically. Trouble is, it doesn't. When I plug in my MTP device, I
see this in dmesg:

[1186768.331810] hub 1-0:1.0: state 7 ports 6 chg  evt 0020
[1186768.331828] ehci_hcd :00:12.2: GetStatus port:5 status 001803
0  ACK POWER sig=j CSC CONNECT
[1186768.331842] hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
[1186768.437035] hub 1-0:1.0: debounce: port 5: total 100ms stable
100ms status 0x501
[1186768.489033] ehci_hcd :00:12.2: port 5 high speed
[1186768.489046] ehci_hcd :00:12.2: GetStatus port:5 status 001005
0  ACK POWER sig=se0 PE CONNECT
[1186768.541032] usb 1-5: new high speed USB device number 26 using ehci_hcd
[1186768.594069] ehci_hcd :00:12.2: port 5 high speed
[1186768.594082] ehci_hcd :00:12.2: GetStatus port:5 status 001005
0  ACK POWER sig=se0 PE CONNECT
[1186768.668480] usb 1-5: default language 0x0409
[1186768.674472] usb 1-5: udev 26, busnum 1, minor = 25
[1186768.674479] usb 1-5: New USB device found, idVendor=18d1, idProduct=70a8
[1186768.674485] usb 1-5: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[1186768.674489] usb 1-5: Product: MZ604
[1186768.674493] usb 1-5: Manufacturer: Motorola
[1186768.674496] usb 1-5: SerialNumber: 028040c740e0a0d7
[1186768.674633] usb 1-5: usb_probe_device
[1186768.674640] usb 1-5: configuration #1 chosen from 1 choice
[1186768.676227] usb 1-5: adding 1-5:1.0 (config #1, interface 0)
[1186768.677588] usbtest 1-5:1.0: usb_probe_interface
[1186768.677595] usbtest 1-5:1.0: usb_probe_interface - got id
[1186768.677723] drivers/usb/core/inode.c: creating file '026'

... but banshee doesn't see anything.

Now, my guess is that banshee was listening somewhere for an event to
tell it that a device was plugged in. D-Bus is installed and running,
udev saw the device, so I don't know where the disconnect is.

FWIW, I have the 'mtp', 'dbus' and '-gnome' USE flags in /etc/make.conf.

-- 
:wq



Re: [gentoo-user] no sound with pulseaudio

2011-10-07 Thread Tamer Higazi
dear Valdáez!
I still didn't mention to say thank you very much for all of your
support. It works, and that wonderfully.

I deeply apologize answering that late, I was the last days sick and
couldn't answer anyone.

Listening to music works fine, only the mic doesn't work :(


Tamer

Am 29.09.2011 16:51, schrieb Canek Peláez Valdés:
 On Wed, Sep 28, 2011 at 8:26 PM, Tamer Higazi th9...@googlemail.com wrote:
 Am 29.09.2011 01:27, schrieb Canek Peláez Valdés:
 On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi th9...@googlemail.com wrote:
 Am 29.09.2011 00:03, schrieb Canek Peláez Valdés:
 On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi th9...@googlemail.com 
 wrote:
 Am 28.09.2011 23:28, schrieb Canek Peláez Valdés:
 On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi th9...@googlemail.com 
 wrote:
 Hi!
 I have configured pulseaudio according

 http://en.gentoo-wiki.com/wiki/PulseAudio


 but I simply have no sound.

 The pulseaudio playback volume meter shows me signal, and that the bars
 are jumping if I playback a music track.

 alsa-plugins (with pulseaudio USE flag)
 gst-plugins-pulse

 are installed. But I don't know what is being blocked, that I have no
 sound output at my headphones.

 PS: the headphones are ok.

 Any suggestions?

 What music player are you using? Did you set or modify ~/.asoundrc?

 ~/.asoundrc doesn't exist.

 I have /etc/asound.conf with these entries:


 pcm.pulse {
type pulse
 }

 ctl.pulse {
type pulse
 }

 for all alsa applications to be redirected to pulse!

 Mmmh. It's not exactly like that: If you use pcm.pulse and ctl.pulse,
 then you need to specify pulse as the virtual ALSA device. If you want
 all alsa applications to be redirected to pulse, you need:

 pcm.!default {
 type pulse
 }

 ctl.!default {
 type pulse
 }

 The players Rhythmbox, xine all with pulseaudio default output plugins.

 That should work. Did you check in sound settings that pulse is indeed
 the desired output

 What Desktop do you use?

 Gnome, latest 2.x version

  Is the pulseaudio daemon running?

 Yes!

 tamer@office ~ $ pstree -pu | grep puls

 |-pulseaudio(22833,tamer)-+-gconf-helper(22840)---{gconf-helper}(22841)
| |-{pulseaudio}(22839)
| `-{pulseaudio}(22842)

 Looks OK.

 I have added all config files in /etc/pulse/

 I wouldn't touch the files on /etc/pulse. I recommend first trying to
 make it work with the files included with pulseaudio (backup
 /etc/pulse, move the dir out of /etc and emerge again pulseaudio)
 before trying anything else. Supposedly, pulseaudio should just
 works. Since the first time I installed it I have never touched the
 files in /etc/pulse, except to change the log-level of the daemon.

 As requested, I moved the pulse folder somewhere else and remerged
 pulseaudio as well moved /etc/asound.conf somewhere else as well.

 No sound!

 Weird.

 I'm on GNOME 3, so things are a little different, and I don't remember
 exactly the dialogs, but instead of the Gentoo wiki page, I would
 follow this:

 http://www.pulseaudio.org/wiki/PerfectSetup

 And more specifically:

 http://www.pulseaudio.org/wiki/PerfectSetup#GNOME

 and

 http://www.pulseaudio.org/wiki/PerfectSetup#GStreamerApplications

 Also, in really weird cases, the ALSA device gets its volume muted:
 You can try to remove (back up first) /etc/asound.conf, and run (as
 root)

 alsamixer -V all

 I did, and fired all the bars up. nothing! really nothing!

 Really weird.

 and trying to unmute and turn up the volume on everything. When you
 hear something with any player, return the asound.conf to /etc and try
 again.

 Regards.

 I have the dumb feeling that one process is blocking the output, I hear
 in my headphones the white noise of my system, which wouldn't be there
 if the soundcard hadn't been initialised.

 It's more simple than that: if you see the bars movind in the mixer
 application, some sound should be made.

 Is there a way to find out which applications might make use of the
 soundcard right now?!

 Probably with strace or a similar tool; however, let me see first if
 I'm understanding the problem. This is a laptop?

 A usual tower machine! Core2 DUO, nothing's special!

  If so, the sound
 works without headphones? The internal speakers work?

 with the headphones all the time

 There are no internal speakers (not a notebook)

 Also, can you please post the output of pactl list?
 Yes of course, here it is:

 http://pastebin.com/raw.php?i=wDgy3x64
 
 OK, I'm back on my laptop. I would have told you yesterday the
 commands, but using my phone keyboard make it slightly impossible.
 
 The problem (I think) is that your sound card has digital and analog
 outputs. At some point in the future, the kernel drivers would be able
 to auto-detect which output has a cable connected to it, but right now
 (AFAIK) is not working, and for some reason in your machine pulse is
 sending the output through the digital output: that's the meaning 

Re: [gentoo-user] no sound with pulseaudio

2011-10-07 Thread Canek Peláez Valdés
On Fri, Oct 7, 2011 at 4:41 PM, Tamer Higazi th9...@googlemail.com wrote:
 dear Valdáez!
 I still didn't mention to say thank you very much for all of your
 support. It works, and that wonderfully.

 I deeply apologize answering that late, I was the last days sick and
 couldn't answer anyone.

No prob.

 Listening to music works fine, only the mic doesn't work :(

Should work using pavucontrol: install it and check the Input
devices tab (it's the fourth one in my laptop).

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



Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-07 Thread Pandu Poluan
 On 2011-10-07, Diego Augusto Molina diegoaugustomol...@gmail.com wrote:
  Have sex! That's the first thing you can do to keep your mind out of
  madness.
  Really, look at the benefits of having sex and you'll see it's a
  complete excercise for body, obviously you have to excercise your
  social skills and has some really cool consecuences on your body,
  methabolism, etc. (just google it).
  You can have as much as you want (or can, hehe) and it'll never be bad
  (just use condoms, and try avoiding weird stuff...).
 
  --
  Diego Augusto Molina
  diegoaugustomol...@gmail.com
 
  ES: Por favor, evite adjuntar documentos de Microsoft Office. Serán
  desestimados.
  EN: Please, avoid attaching Microsoft Office documents. They shall be
  discarded.
  LINK: http://www.gnu.org/philosophy/no-word-attachments.html
 
 

On Oct 8, 2011 1:43 AM, Andrey Moshbear andrey@gmail.com wrote:

 Sex? Ysex? Are you aware that this is gentoo-users that you're posting in?
:P


Well, he was replying to the thread where we're discussing ways to overcome
'computing fatigue'.

That said... I am not aware that to be a Gentoo user, one has to be
celibate... :-P

Rgds,


Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-07 Thread Michael Mol
On Fri, Oct 7, 2011 at 10:14 PM, Pandu Poluan pa...@poluan.info wrote:
 On 2011-10-07, Diego Augusto Molina diegoaugustomol...@gmail.com wrote:
  Have sex! That's the first thing you can do to keep your mind out of
  madness.
  Really, look at the benefits of having sex and you'll see it's a
  complete excercise for body, obviously you have to excercise your
  social skills and has some really cool consecuences on your body,
  methabolism, etc. (just google it).
  You can have as much as you want (or can, hehe) and it'll never be bad
  (just use condoms, and try avoiding weird stuff...).
 
  --
  Diego Augusto Molina
  diegoaugustomol...@gmail.com
 
  ES: Por favor, evite adjuntar documentos de Microsoft Office. Serán
  desestimados.
  EN: Please, avoid attaching Microsoft Office documents. They shall be
  discarded.
  LINK: http://www.gnu.org/philosophy/no-word-attachments.html
 
 

 On Oct 8, 2011 1:43 AM, Andrey Moshbear andrey@gmail.com wrote:

 Sex? Ysex? Are you aware that this is gentoo-users that you're posting in?
 :P


 Well, he was replying to the thread where we're discussing ways to overcome
 'computing fatigue'.

 That said... I am not aware that to be a Gentoo user, one has to be
 celibate... :-P

Indeed not. ;)

Actually, working on getting my SO into Gentoo, herself. :)

-- 
:wq



Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-07 Thread Andrey Moshbear
Xkcd 456 much?

On 2011-10-07, Michael Mol mike...@gmail.com wrote:
 On Fri, Oct 7, 2011 at 10:14 PM, Pandu Poluan pa...@poluan.info wrote:
 On 2011-10-07, Diego Augusto Molina diegoaugustomol...@gmail.com wrote:
  Have sex! That's the first thing you can do to keep your mind out of
  madness.
  Really, look at the benefits of having sex and you'll see it's a
  complete excercise for body, obviously you have to excercise your
  social skills and has some really cool consecuences on your body,
  methabolism, etc. (just google it).
  You can have as much as you want (or can, hehe) and it'll never be bad
  (just use condoms, and try avoiding weird stuff...).
 
  --
  Diego Augusto Molina
  diegoaugustomol...@gmail.com
 
  ES: Por favor, evite adjuntar documentos de Microsoft Office. Serán
  desestimados.
  EN: Please, avoid attaching Microsoft Office documents. They shall be
  discarded.
  LINK: http://www.gnu.org/philosophy/no-word-attachments.html
 
 

 On Oct 8, 2011 1:43 AM, Andrey Moshbear andrey@gmail.com wrote:

 Sex? Ysex? Are you aware that this is gentoo-users that you're posting
 in?
 :P


 Well, he was replying to the thread where we're discussing ways to
 overcome
 'computing fatigue'.

 That said... I am not aware that to be a Gentoo user, one has to be
 celibate... :-P

 Indeed not. ;)

 Actually, working on getting my SO into Gentoo, herself. :)

 --
 :wq



-- 
Sent from my mobile device

001100 Andrey m05hbear Vul
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101 4163039923
110011

Today's quote:
[ ] Obsolete code offends me.
[ ] Be aware of [ ] Murphy's, [ ] Muphry's Law.
[ ] Use [ ] Occam's, [ ] Hanlon's razor.
[ ] Greenspun's Tenth Rule.
[ ] Sturgeon's Law, [ ] Pareto principle.
[ ] RTFM, [ ] RTF[__]
[ ] [___]



[gentoo-user] TMux bindkey with -

2011-10-07 Thread meino . cramer
Hi

here

http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/


I found the hint to do the following key binding:

unbind %
bind | split-window -h
bind – split-window -v 


But doing so results in the following message on the console, when
starting tmux

/home/user/.tmux.conf: 5: unknown key: –

Nonetheless tmux starts.

How can I acchieve the correct binding of the keys?

Thank you very much in advance for any help!
Have a nice weekend!
Best regards,
mcc




[gentoo-user]

2011-10-07 Thread chen_changm...@163.com