Re: [gentoo-user] Resurrecting a Gentoo install

2012-01-23 Thread Alan McKinnon
On Sun, 22 Jan 2012 23:26:25 -0800
Grant emailgr...@gmail.com wrote:

  Ok, looks as though it's time for a manually-installed version of
  python to upgrade portage, then a portage-installed python:2.6 to
  bootstrap your way towards modernity.
 
  This is all explained here:
  http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
 
  This may also help
  http://forums.gentoo.org/viewtopic-p-5578709.html
 
  That last one mentioned --nodeps which gave me an idea.  I did
  'emerge -pv python' then emerged all of the packages listed with
  --nodeps so portage wouldn't complain.  Portage wouldn't work after
  that until I switched back to python:2.5 with eselect.  Then I
  emerged portage to the latest version (which switched back to
  python:2.6) and I'm hoping I can make some good progress before I
  come crying back to you guys again.
 
  - Grant
 
 I just did a 'ls -ltr /var/log/portage' and this thing hasn't been
 updated in over 3 years.  Wow.
 
 - Grant
 

Honestly, it's not worth trying to update it using portage. Just backup
everything on it and do a re-install.

Trying to update it will be a recursive process, repeated many times
over, including manually building compatible pythons and dealing with
the inevitable issues that arise. Then you still have the X migration
issues to deal with, you still have to deal with openrc, with massive
pam changes in the last 3 years, and who knows what else.

So you will slowly and painfully replace many packages outside of
portage to fix this. A reinstall will do the same thing but with much
less personal pain :-)

If however, you want to do this as a learning exercise then by all means
proceed. You will gain useful knowledge (but I think you already have
that knowledge)



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




Re: [gentoo-user] Resurrecting a Gentoo install

2012-01-23 Thread Mark Knecht
Sorry about top posting but I'm on the Kindle. How are you set for
disk space? Consider creating a new partition and building a new
install in a chroot. When it works then change grub and boot it for
real. At least that won't hurt your working install.

Cheers,
Mark

On 1/22/12, Grant emailgr...@gmail.com wrote:
 Ok, looks as though it's time for a manually-installed version of
 python to upgrade portage, then a portage-installed python:2.6 to
 bootstrap your way towards modernity.

 This is all explained here:
 http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml

 This may also help
 http://forums.gentoo.org/viewtopic-p-5578709.html

 That last one mentioned --nodeps which gave me an idea.  I did 'emerge
 -pv python' then emerged all of the packages listed with --nodeps so
 portage wouldn't complain.  Portage wouldn't work after that until I
 switched back to python:2.5 with eselect.  Then I emerged portage to
 the latest version (which switched back to python:2.6) and I'm hoping
 I can make some good progress before I come crying back to you guys
 again.

 - Grant

 I just did a 'ls -ltr /var/log/portage' and this thing hasn't been
 updated in over 3 years.  Wow.

 - Grant





[gentoo-user] netcat and libmix.so.0 curiosity

2012-01-23 Thread Mervyn Hammer
Would anyone be able to help me understand the following curiosity?

I installed =net-analyzer/netcat-110-r8 (USE=crypt ipv6 -static)
without apparent problem but running it produced:

nc: error while loading shared libraries: libmix.so.0: cannot open
shared object file: No such file or directory.

A quick check of emerge.log showed dev-libs/libmix-2.05-r5 installed 
without error, so I ran a deep world update followed by a --depclean 
and revdep-debuild: revdep-rebuild identified a broken dependency 
for netcat and reinstalled it automatically (same version), stating 
that the breakage had been rectified. Re-running revdep-rebuild, 
however, revealed that the problem still existed. I unmerged both 
libmix and netcat and re-emerged them (libmix first). Neither 
complained and logs show nothing of note. After unmerging and
re-emerging both libmix and netcat (libmix first) revdep-rebuild no
longer found a broken dependency for netcat. Still, however, netcat 
gave the same error (above).  I temporarily fixed the problem by 
creating a symlink (/usr/lib/libmix.so.0 - /usr/lib/libmix.so) 
to give netcat what it says it is looking for but this feels like a hack
for some that I would presume should work cleanly by design. 

Have I missed something? 

Some unscientific and not-at-all-thorough tests seem to show that netcat
is happy with the symlink.

Your thoughts/guidance would be much appreciated.

-- 
Merv Hammer




[gentoo-user] Re: Link-local ipv6 address in /etc/hosts? in browsers?

2012-01-23 Thread Grant Edwards
On 2012-01-22, Michael Mol mike...@gmail.com wrote:

 Here's an elucidation of what I was thinking. I'll assume the company
 building the product builds many embedded systems. I was thinking you
 could use an assumed ULA prefix as associated with all of these
 products, e.g. fd62:f67b:fcb9::/48.[1] You've then got 32 bits of
 address space for product organization and categorization before you
 come down to a /64, whereupon each device in the line gets its own
 unique address derived from its MAC. You could then either have the
 device broadcast an RA for that /64 or manually configure another host
 to use that /64 to access that device's initial configuration
 interface.

 Anyway, that's what I was thinking there. Just food for thought. :)

That certainly sounds like a good place to start.

 [1] I used an Android app which implements RFC4193 to generate this
 prefix; you'd obviously want to come up with your own prefix.

Right.  Thanks.

-- 
Grant Edwards   grant.b.edwardsYow! for ARTIFICIAL
  at   FLAVORING!!
  gmail.com




Re: [gentoo-user] PDF export/import in LibreOffice

2012-01-23 Thread Volker Armin Hemmann
Am Sonntag, 22. Januar 2012, 19:00:59 schrieb Philip Webb:
 During my usual Saturday system update, I noticed LibreOffice 3.5.0.1
 is now testing, while there's an upgrade of LO 3.4 in stable.
 I tried 3.5.0.0 when it was briefly released a few weeks ago,
 but PDF export was not working.  Has anyone used it with LO 3.5.0.1 ?
 
 Also, I compiled LO 3.4.3.2-r1 with USE=pdfimport,
 but it refuses actually to import a PDF when presented with one.
 Does anyone know if/how it is possible to get that to work as well ?

well, I had to modify a pdf for work. imported it in libreoffice - it worked. 
Kind off. Like all vertical writings were damaged, transparent areas became 
solid, backgrounds lost, icons washed out.

And after an export and re-opening the you did not get what you saved.

A complete clusterfuck.

Then I tried inkscape - and that one was a breeze.

For your problem: maybe because your pdf is some mashed together stuff that 
'looks' like one big graphic, instead of text on a graphical background?

-- 
#163933



Re: [gentoo-user] [OT] Transferring old video tapes to disk

2012-01-23 Thread Florian Philipp
Am 23.01.2012 01:23, schrieb Andrey Moshbear:
 Get a tuner card with composite-in support.
 Recompile your kernel to add V4L support and m the required drivers.
 
 Then use vlc, mplayer, etc to capture to file.
 

Or some other kind of frame grabber (as this functionality is usually
called). This can be a video card, tv tuner or stand-alone device.
S-Video or component video will get you better quality than composite
but I guess it will not really matter with such old tapes.

Some camcorders also allow recording from external inputs. I guess
renting one will be easier and cheaper than buying a new tuner card,
especially because modern DVB tuners typically lack this functionality.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] PDF export/import in LibreOffice

2012-01-23 Thread Daniel Troeder
On 23.01.2012 01:00, Philip Webb wrote:
 During my usual Saturday system update, I noticed LibreOffice 3.5.0.1
 is now testing, while there's an upgrade of LO 3.4 in stable.
 I tried 3.5.0.0 when it was briefly released a few weeks ago,
 but PDF export was not working.  Has anyone used it with LO 3.5.0.1 ?
 
 Also, I compiled LO 3.4.3.2-r1 with USE=pdfimport,
 but it refuses actually to import a PDF when presented with one.
 Does anyone know if/how it is possible to get that to work as well ?
 
Lots of those functions need java - make sure you have it configured in
Options-LO-Java.

The problem I'd have is:

$ sudo revdep-rebuild -ie -- -pv
Password:
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 68% ]  *   broken
/usr/lib64/libreoffice/share/extensions/pdfimport/xpdfimport (requires
libpoppler.so.13)

[..]

Which stems from using a binary package
(app-office/libreoffice-bin-3.4.3.2-r1) I guess... Maybe you have the
same problem?

Greetings,
Daniel


-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: netcat and libmix.so.0 curiosity

2012-01-23 Thread walt
On 01/23/2012 05:25 AM, Mervyn Hammer wrote:
 Would anyone be able to help me understand the following curiosity?
 
 I installed =net-analyzer/netcat-110-r8 (USE=crypt ipv6 -static)
 without apparent problem but running it produced:
 
 nc: error while loading shared libraries: libmix.so.0: cannot open
 shared object file: No such file or directory.
 
 A quick check of emerge.log showed dev-libs/libmix-2.05-r5 installed 
 without error, so I ran a deep world update followed by a --depclean 
 and revdep-debuild: revdep-rebuild identified a broken dependency 
 for netcat and reinstalled it automatically (same version), stating 
 that the breakage had been rectified. Re-running revdep-rebuild, 
 however, revealed that the problem still existed. I unmerged both 
 libmix and netcat and re-emerged them (libmix first). Neither 
 complained and logs show nothing of note. After unmerging and
 re-emerging both libmix and netcat (libmix first) revdep-rebuild no
 longer found a broken dependency for netcat. Still, however, netcat 
 gave the same error (above).  I temporarily fixed the problem by 
 creating a symlink (/usr/lib/libmix.so.0 - /usr/lib/libmix.so) 
 to give netcat what it says it is looking for but this feels like a hack
 for some that I would presume should work cleanly by design. 

Very strange indeed.  I just installed both packages and I have no
libmix.so.0 either, yet everything works.

No idea what's causing your problem, but I agree it's a problem I'd
want to solve.  I'd try running ldconfig -p and lddtree /usr/bin/nc
to see where the .0 is coming from.  (lddtree is from pax-utils).





Re: [gentoo-user] Re: netcat and libmix.so.0 curiosity

2012-01-23 Thread Felix Kuperjans
Am 23.01.2012 23:03, schrieb walt:
 On 01/23/2012 05:25 AM, Mervyn Hammer wrote:
 Would anyone be able to help me understand the following curiosity?

 I installed =net-analyzer/netcat-110-r8 (USE=crypt ipv6 -static)
 without apparent problem but running it produced:

 nc: error while loading shared libraries: libmix.so.0: cannot open
 shared object file: No such file or directory.

 A quick check of emerge.log showed dev-libs/libmix-2.05-r5 installed 
 without error, so I ran a deep world update followed by a --depclean 
 and revdep-debuild: revdep-rebuild identified a broken dependency 
 for netcat and reinstalled it automatically (same version), stating 
 that the breakage had been rectified. Re-running revdep-rebuild, 
 however, revealed that the problem still existed. I unmerged both 
 libmix and netcat and re-emerged them (libmix first). Neither 
 complained and logs show nothing of note. After unmerging and
 re-emerging both libmix and netcat (libmix first) revdep-rebuild no
 longer found a broken dependency for netcat. Still, however, netcat 
 gave the same error (above).  I temporarily fixed the problem by 
 creating a symlink (/usr/lib/libmix.so.0 - /usr/lib/libmix.so) 
 to give netcat what it says it is looking for but this feels like a hack
 for some that I would presume should work cleanly by design. 
 Very strange indeed.  I just installed both packages and I have no
 libmix.so.0 either, yet everything works.

 No idea what's causing your problem, but I agree it's a problem I'd
 want to solve.  I'd try running ldconfig -p and lddtree /usr/bin/nc
 to see where the .0 is coming from.  (lddtree is from pax-utils).
I ran into this problem some time ago, it seems the ebuild
dev-libs/libmix-2.05-r5 is broken. It does no longer create a symlink
from libmix.so.0 to libmix.so.

I found two solutions:
1. Creating the symlink manually
2. Using the unstable version of libmix, dev-libs/libmix-2.05-r6, the
problem disappears because the programs (as soon as they are recompiled)
directly link against libmix.so. The symlink won't be created either,
but is unnecessary with this version.

I chose the second option, first upgrading libmix and afterwards
revdep-rebuild (in my case, it detected the problem, otherwise just
reemerge netcat).

Maybe it would be a good idea to stable the new libmix version...

Regards,
Felix



Re: [gentoo-user] Re: netcat and libmix.so.0 curiosity

2012-01-23 Thread Mervyn Hammer
Thanks for your replies.

 Am 23.01.2012 23:03, schrieb walt:
  Very strange indeed.  I just installed both packages and I have no
  libmix.so.0 either, yet everything works.
 
  No idea what's causing your problem, but I agree it's a problem I'd
  want to solve.  I'd try running ldconfig -p and lddtree /usr/bin/nc
  to see where the .0 is coming from.  (lddtree is from pax-utils).

For completeness:

(for dev-libs/libmix-2.05-r5 after symlink created) 

ldconfig -p | grep libmix = 

libmix.so.0 (libc6) = /usr/lib/libmix.so.0
libmix++.so.0 (libc6) = /usr/lib/libmix++.so.0

and output from lddtree /usr/bin/nc = 

nc = /usr/bin/nc (interpreter = /lib/ld-linux.so.2)
libmix.so.0 = /usr/lib/libmix.so.0
libc.so.6 = /lib/libc.so.6

* Felix Kuperjans fe...@desaster-games.com [2012-01-23 23:13:26 +0100]:
 I ran into this problem some time ago, it seems the ebuild
 dev-libs/libmix-2.05-r5 is broken. It does no longer create a symlink
 from libmix.so.0 to libmix.so.

Though it worked with the symlink, as you suggested, I upgraded libmix
anyway.

Thanks again.

Regards,

-- 
Merv Hammer




Re: [gentoo-user] PDF export/import in LibreOffice : solved

2012-01-23 Thread Philip Webb
Thanks for the  2  responses, which are useful.

For export, 3.5.0.1 does the job without any problem,
so it was something wrong with 3.5.0.0, which got pulled very quickly.

For import, I was expecting something more complicated (wry smile).
Yes, all you have to do is 'open' the file  it comes up in Draw,
where you can indeed edit the text.  I didn't try anything else
nor did I try saving an edited version of a PDF,
but it's good to know that you can open one  modify it.

Someone else mentioned Java : no, you don't need Java for PDFs in LO.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] managing files in /usr/portage/packages/

2012-01-23 Thread Philip Webb
120122 Dale wrote:
 Philip Webb wrote:
 Besides having rescue instances of system pkgs in  /usr/portage/packages ,
 I also try to remember to keep a quickpkg of LibreOffice there too.
 Creating these files is easy, but is there an approved way of managing them,
 esp of deleting obsolete versions, beyond a simple 'rm' ?
 I notice there's a log file 'Packages' in the dir,
 which suggests there sb some method of removing unwanted ones.
 'man eclean'.  The exact thing you want is 'eclean-pkg',
 but this can also manage your distfiles too.

Thanks lots ! -- I knew re 'eclean' for distfiles,
but didn't realise it cb used to clean out obsolete rescue pkgs too.
As always, it's best to use the  -p  flag before doing the real job.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca