Re: [gentoo-user] Issues with direct inclusion of glib.h from portage on netbook

2012-07-22 Thread Peter Alfredsen
On Thu, Jul 19, 2012 at 12:34 AM, Chandler Paul thatsly...@gmail.com wrote:
 Recently, I have had issues with emerging certain packages on my netbook, 
 specifically x11-themes/gtk-engines-murrine and gpe-base/libgpewidget. 
 However, they emerge just fine on my desktop. My netbook and desktop are both 
 x86_64/amd64 (yes, some Intel Atom's can do amd64, my netbook has one of 
 them). The error always seems to be a direct inclusion of glib.h that 
 shouldn't be there. I can fix it by patching it in a local overlay, but I 
 don't know why I should be having these issues in the first place if my 
 desktop can emerge the packages just fine. Does anyone know what's going on?

Your logs were TL;DR, but the relevant information may not even be
there, namely:
What is the version of dev-libs/glib on both machines?

The blah blah include glib.h directly error comes from having
unstable dev-libs/glib (=2.31) on stable gentoo.

/Peter



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Peter Alfredsen
(I am assuming that you are using systemd-186 -- all earlier releases
I checked have bugs I ran into)

If it's right after logging in, then I would suspect some PAM
deficiency. I wrote a bit about this on G+ yesterday:
For anyone battling the trifecta of PAM, systemd and gnome on Gentoo,
take note that once you've gotten rid of consolekit, you need to add
the line:
-sessionoptionalpam_systemd.so
to system-auth, system-login and system-services in /etc/pam.d
The first two are documented elsewhere but the last one ensures that
gdm-welcome registers with systemd-logind, which fixed reboot from gdm
and gnome not working for me.

And, you need to get USE=-consolekit and mask consolekit, and you need
to get pulseaudio rebuilt after installing systemd and you need to get
=polkit-0.107 working. That last bit was a bit hairy for those who
lived through it, but now I think it should do to:
chown -R polkitd:polkitd /var/lib/polkit-1

Generally, as long as you start services the right way:
systemctl start gdm.service (for example)
and they start without error, the dependency checking should get all
the dependencies started also.

FWIW, here's the output of find /etc/systemd/system, but those are
all symlinks to /usr/lib/systemd/system
/etc/systemd/system/
/etc/systemd/system/bluetooth.target.wants
/etc/systemd/system/bluetooth.target.wants/bluetooth.service
/etc/systemd/system/default.target
/etc/systemd/system/graphical.target.wants
/etc/systemd/system/graphical.target.wants/rtkit-daemon.service
/etc/systemd/system/graphical.target.wants/gdm.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/multi-user.target.wants/ntpd.service
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service
/etc/systemd/system/local-fs.target.wants
/etc/systemd/system/sysinit.target.wants
/etc/systemd/system/network.target.wants
/etc/systemd/system/network.target.wants/NetworkManager-wait-online.service

/Peter



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Peter Alfredsen
On Fri, Jul 20, 2012 at 3:42 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 2012-07-20 14:43, schrieb Peter Alfredsen:
 (I am assuming that you are using systemd-186 -- all earlier releases
 I checked have bugs I ran into)

 thanks for all the information ... added those pam.d-lines, no success

 Unmasking systemd-186 brought up dependencies like udev .. I hesitate to
 go bleeding edge there as well.

 So maybe I just cancel this for now.

Yeah udev is incorporated into later versions of systemd on gentoo and
the reason it is masked is because you have to do some
package.provided magic to get it all to work.

/Peter



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Peter Alfredsen
On Fri, Jul 20, 2012 at 4:42 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 2012-07-20 15:54, schrieb Peter Alfredsen:

 Yeah udev is incorporated into later versions of systemd on gentoo and
 the reason it is masked is because you have to do some
 package.provided magic to get it all to work.

 sounds as if all this is still to much beta for me to make it worth
 the effort.

Nah, it's perfectly stable once you get over the first hurdles. It's
just not integrated into Gentoo at the moment.

/Peter



Re: [gentoo-user] systemd and gnome3

2012-07-20 Thread Peter Alfredsen
On Fri, Jul 20, 2012 at 5:30 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Fri, Jul 20, 2012 at 4:56 AM, Stefan G. Weichinger li...@xunil.at wrote:

 Does anyone use systemd on gentoo, with gnome3?

 Would someone share a tarball of /etc/systemd/system with me (off-list)
 so I could figure out what services and stuff are needed?

 Tried to follow the wiki-pages, but somehow after logging into gdm the
 session hangs ...

 I'm running GNOME 3 with, systemd 44 and udev 186, the first from my overlay:

 https://github.com/canek-pelaez/gentoo-systemd-only/

 However, the ebuilds in my overlay just change some dependencies so I
 don't need to install OpenRC. Otherwise, they are identical to the
 ones in the official tree. As Peter, I have the line

 -sessionoptionalpam_systemd.so

 in /etc/pam.d/system-auth. However, I still have consolekit started
 (no problems whatsoever).

There were some integration issues in upstream Gnome where most
distros changed abruptly from using consolekit to systemd-logind which
affected me when I went from systemd-44 to -185 because I ran into
some race condition with -44. I imagine using consolekit will probably
work in ~arch with no unmasks if you don't run into those race
conditions on -44. But you gotta admit, it will probably be easier to
follow the way Redhat is doing it than starting mixing and matching,
because you will know that at least your combination works somewhere.

/Peter



Re: [gentoo-user] Portage strangeness with imagemagick

2009-10-29 Thread Peter Alfredsen
On Thu, 29 Oct 2009 21:16:24 +0200
Alan McKinnon alan.mckin...@gmail.com wrote:

 RDEPEND=media-libs/jpeg
 =media-libs/lcms-1.13
 media-libs/tiff
 =x11-libs/gtk+-2.4.0
 
 You don't have a choice. With ufraw you are going to get gtk+.

Unless he keywords ufraw-0.16:
RDEPEND=
media-libs/jpeg
=media-libs/lcms-1.13
media-libs/tiff
exif? ( =media-gfx/exiv2-0.11 )
gnome? ( gnome-base/gconf )
gtk? ( =x11-libs/gtk+-2.6.0
=media-gfx/gtkimageview-1.5.0
gimp? ( =media-gfx/gimp-2.0 ) )
lensfun? ( =media-libs/lensfun-0.2.3 )



Re: [gentoo-user] GCC man pages

2009-10-27 Thread Peter Alfredsen
On Tue, 27 Oct 2009 13:11:26 +0100
Florian Philipp li...@f_philipp.fastmail.net wrote:

 Hi list!
 
 I noticed that recently (probably with the update to gcc-4.3.4 from
 gcc-4.3.2-r2) the man and info pages disappeared.
 
 With `eselect files` I could find them in
 /usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4/{info,man}.
 
 Is this correct? How do I tell man and info to search the pages there?
 
 Thanks in advance
 Florian Philipp
 

Did you run source /etc/profile ?



Re: [gentoo-user] GCC man pages

2009-10-27 Thread Peter Alfredsen
On Tue, 27 Oct 2009 13:22:54 +0100
Jesús Guerrero i92gu...@terra.es wrote:

 On Tue, 27 Oct 2009 13:11:26 +0100, Florian Philipp
 li...@f_philipp.fastmail.net wrote:
  Hi list!
  
  I noticed that recently (probably with the update to gcc-4.3.4 from
  gcc-4.3.2-r2) the man and info pages disappeared.
 
 I am curious about this issue as well.

We also have bug 256608 which has been around for some time:
https://bugs.gentoo.org/show_bug.cgi?id=256608

In that case,
MAKEOPTS=-j1 emerge gcc
should do the trick.

But that one has been fixed in 4.4.2 (Don't remember if it was in 4.4.1)



Re: [gentoo-user] KDE4 and /dev-libs-soprano

2009-10-23 Thread Peter Alfredsen
On Fri, 23 Oct 2009 12:19:39 +0100
Mick michaelkintz...@gmail.com wrote:

 I seem to be going around in circles with wanting to avoid installing
 Java just because KDE4 seems to need it in part.  I have added this in
 my /etc/portage/package.use to make sure Java is not pulled in:
 
 dev-libs/soprano -java

 emerge: there are no ebuilds built with USE flags to satisfy
 =dev-libs/soprano-2.3.0[clucene,dbus,raptor,java].
 !!! One of the following packages is required to complete your
 request:
 - dev-libs/soprano-2.3.1 (Change USE: +java)
 (dependency required by kde-base/nepomuk-4.3.1 [installed])
 (dependency required by kde-base/dolphin-4.3.1-r1 [installed])
 (dependency required by kde-base/mplayerthumbs-4.3.1 [installed])
 (dependency required by
 kde-base/kdemultimedia-meta-4.3.1 [installed]) (dependency required
 by world [argument])
 
 Why is it asking me to change the USE flag to +java?

From the nepomuk ebuild:
|| (
=dev-libs/soprano-2.3.0[clucene,dbus,raptor,java]
=dev-libs/soprano-2.3.0[clucene,dbus,raptor,redland]
)
So change the line in package.use to:
dev-libs/soprano clucene dbus raptor redland
and re-emerge soprano



Re: [gentoo-user] ati-drivers and 2.6.31 ?

2009-09-10 Thread Peter Alfredsen
On Thu, 10 Sep 2009 09:51:01 +0200 (CEST)
Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:

 Hi,
 
 is there a patch for the ati-driver together with the new 2.6.31
 kernel?
 
 Currently I get (ati-drivers-9.8)
 Kernels newer then 2.6.30 are not supported by this driver

Try ati-drivers-8.660. It's ati-drivers-9.10-alpha in disguise. Ubuntu
got ATI to give them some working drivers for Karmic. Scarabeus then put
them in the tree, but used the old versioning scheme to distinguish
them from the normal releases.

/Peter



Re: [gentoo-user] replacement for xli?

2009-09-07 Thread Peter Alfredsen
On Mon, 7 Sep 2009 04:25:57 +0200
meino.cra...@gmx.de wrote:

 
 Hi,
 
  Is there any smallsized replacement for media-gfx/xli for loading
  pictures to the desktop background?
 
  xli breaks my update since it wants jpeg-6b-r8 (yes, I have
  jpeg-compat installed) -- may be hardcoded?

xli-1.17.0-r4 has the fix for depending on jpeg-6b

/Peter




Re: [gentoo-user] CUPS and old java (commercial software)

2009-07-08 Thread Peter Alfredsen
On Wed, 08 Jul 2009 16:47:57 +0200 (CEST)
Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:

 Hi,
 
 I'm in need to use some commercial software (Matlab and Maple) which
 come with their own (probably old) version of Java.
 
 Now, both of those software packages cannot print, they don't see any
 CUPS printer UNLESS I remove the symlink /usr/lib/libcups.so which
 points to libcups.so.2
 
 But some GenToo packages do need that link, e.g. x11-lib/qt-gui won't
 install unless that link is there.
 
 I remember there is a bug with older versions of Java accessing CUPS,
 and probably my commercial packages contain such an old version.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6516881
Which leads to:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6500903

which suggests that a wrapper script like this for starting matlab
should do the trick:

-o---o---
#!/bin/bash
export CUPS_SERVER=localhost
command_to_start_matlab
-o---o---

Alternately, try commenting out the line
Listen /var/run/cups/cups.sock
in /etc/cups/cupsd.conf and restarting cups
( If that is an acceptable solution for you, since this will mean cups
only listen on the TCP socket )

/loki_val



Re: [gentoo-user] Applying patches without needing overlays and modifying ebuilds

2009-05-17 Thread Peter Alfredsen
On Sun, 17 May 2009 09:42:20 +0100
Neil Bothwick n...@digimed.co.uk wrote:

 I think you can redefine ebuild functions
 in /etc/portage/env/cat/pkg, so you could out a custom src_unpack()
 in there. It should work if the ebuild has no src_unoack, so you
 could do something like
 
 src_unpack() {
   unpack ${A}
   epatch mypatch
 }
 
 I don't know how this would work with an existing src_unpack in the
 ebuild, if you copied the existing function and added your patch.

I use /etc/portage/bashrc for the same purpose. For instance, this is a
patch I'm tacking onto portage ATM:

if [[ ${CATEGORY}/${PN} == sys-apps/portage ]]
then
post_src_unpack() {
cd ${S}/bin
epatch /etc/portage/patches/misc-functions.patch
}
fi

As you can see, there are post_ and pre_ phases for all phase functions
which can be used to do fancy stuff like this.

I prefer /etc/portage/bashrc for this, since these hacks are usually
only needed for a short time, so having them all in one place for an
easy overview helps to keep the cruft down.

/loki_val



Re: [gentoo-user] portage bug?

2009-05-17 Thread Peter Alfredsen
On Mon, 18 May 2009 01:16:24 +0300
Daniel Iliev daniel.il...@gmail.com wrote:

 
 Hi,
 
 
 Would anybody, please, confirm the following behavior before I file a
 report with B.G.O?
 
 
  % emerge -C dev-perl/yaml
[...] 
  % emerge --update --newuse --deep world
 Calculating dependencies... done!
  Auto-cleaning packages...
 
  No outdated packages were found on your system.

Try to add --with-bdeps=y and I think you'll find the expected
behavior.



Re: [gentoo-user] python 2.6 and mailman

2009-05-06 Thread Peter Alfredsen
On Wed, 6 May 2009 09:52:08 -0400
John covici cov...@ccs.covici.com wrote:

 The question is, I would not mind switching back to 2.5, but how do I
 do this -- I had to run pythonupdater to switch from 2.5 to 2.6, what
 is the procedure to do the reverse?

Make sure python-2.5 is installed:
emerge -av =dev-lang/python-2.5*
eselect python set python2.5
python-updater --old-version 2.6

Mask python-2.6. This is needed because python will automatically
eselect the newest version each time it's emerged:
echo =dev-lang/python-2.6*  /etc/portage/package.mask
emerge -C '=dev-lang/python-2.6*'

/loki_val




Re: [gentoo-user] nanosleep broken on ~amd64?

2009-05-03 Thread Peter Alfredsen
On Sun, 03 May 2009 14:14:38 -0700
walt w41...@gmail.com wrote:

 By accident I noticed that the configure script for one of the gentoo
 packages (I think maybe it was coreutils but I can't remember) gives
 different results on ~x86 and ~amd64.
 
 The script uses a test for working nanosleep that I've included
 below.
 
 Could someone else compile the test and confirm that it returns 119 on
 ~amd64 instead of 0?

~amd64, returns 119

/loki_val



Re: [gentoo-user] libtool question

2009-04-23 Thread Peter Alfredsen
On Thu, 23 Apr 2009 11:45:19 +0200 (CEST)
Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:

 Hi,
 
 unfortunately, libtool is one of my black spots in my Linux knowlegde.
 
 Trying to emerge app-editors/kile-2.0.3-r1  libtool fails with
 libtool: link: cannot find the library `/usr/lib/libpcreposix.la'
 
 The libtool command is too long to include here, but it definitely
 doesn't contain pcreposix.
 So, why does libtool try to find /usr/lib/libpcreposix.la (which
 doesn't exist, indeed)?
 Howto fix this?

emerge =dev-util/lafilefixer-0.5
lafilefixer --justfixit

or

emerge app-portage/gentoolkit
revdep-rebuild -i -- -a

/loki_val



Re: [gentoo-user] gnome-base/gnome-keyring-2.24.1 failed

2009-04-19 Thread Peter Alfredsen
On Sun, 19 Apr 2009 00:50:28 +
Hung Dang hungp...@gmail.com wrote:

 Hi all
 I can not build gnome-base/gnome-keyring  because it could not find 
 libtasn1-config script.
 Any suggestion?


https://bugs.gentoo.org/show_bug.cgi?id=266554

/loki_val



Re: [gentoo-user] Should we disable FORTIFY_SOURCE for packages where it is not default?

2009-04-10 Thread Peter Alfredsen
On Wed, 8 Apr 2009 21:39:26 -0300
Jorge Morais please.no.spam.h...@gmail.com wrote:

 From the info page of GCC 4.3.3
 NOTE: In Gentoo, `-D_FORTIFY_SOURCE=2' is set by default, and is
  activated when `-O' is set to 2 or higher.  This enables
 additional compile-time and run-time checks for several libc
 functions.  To disable, specify either `-U_FORTIFY_SOURCE' or
  `-D_FORTIFY_SOURCE=0'.
 
 I have seen some FORTIFY_SOURCE bugs in the bugzilla and in some
 cases, people claim the the bug lies in the FORTIFY_SOURCE feature
 itself (that is, people claim that FORTIFY_SOURCE misidentifies a
 buffer overflow). One example:
 http://bugs.gentoo.org/show_bug.cgi?id=257016

Very rare, but it happens.

 I have installed GCC-4.3.3 (but have not enabled it through
 gcc-config yet), but my system is otherwise mostly stable.
 
 1) I would like to use GCC-4.3.3 because it is the latest bugfix
 release and is presumably more bug-free (correct?).

So far, yes. Especially users of -march=amdfam10 flag want this
version.

 2) But until FORTIFY_SOURCE is stable on Gentoo, I don't want it.
 How can I disable it?

CXXFLAGS=-U_FORTIFY_SOURCE

That's where most ebuilds will pick it up.

 If I add -U_FORTIFY_SOURCE to CPPFLAGS (this would be the correct
 place to add it, right?), wouldn't it disable the feature for every
 package, even for those that specify FORTIFY_SOURCE on their own?

Yes, but in general, packages have not been specifying _FORTIFY_SOURCE.
It's a new feature in recent glibcs that was only made usable in
glibc-2.8.

 I want the traditional behavior: packages that ask for FORTIFY_SOURCE
 get it, those that don't ask don't get it.

Packages don't ask for FORTIFY_SOURCE. They get it, good and hard.
FORTIFY_SOURCE is a one-time pain for longterm gain.

 And of course, do you know if FORTIFY_SOURECE has a significant
 performance cost and if it is really ready to be default (as in,
 it is unlikely for new false positives to appear)?

It has virtually no performance cost.

 Also, am I wise to use GCC 4.3.3 compiler in a mostly stable system?

At the moment, we are only processing bugs about _FORTIFY_SOURCE when
they can be confirmed on ~arch. As long as you're prepared to use
package.keywords liberally, it should be mostly ok.

/loki_val



Re: [gentoo-user] Should we disable FORTIFY_SOURCE for packages where it is not default?

2009-04-10 Thread Peter Alfredsen
On Fri, 10 Apr 2009 14:55:36 +0200
Peter Alfredsen loki_...@gentoo.org wrote:

 CXXFLAGS=-U_FORTIFY_SOURCE
 
 That's where most ebuilds will pick it up.

+CFLAGS of course.

D'oh.

/loki_val



Re: [gentoo-user] Time to move on?

2009-03-22 Thread Peter Alfredsen
On Sat, 21 Mar 2009 19:17:53 -0600
Mike Diehl mdi...@diehlnet.com wrote:

 It seems that as
 long as I keep rebuilding machines from a current live CD, all is
 well.  But if I try to upgrade anything else, I end up having to
 reformat.  I've been using Gentoo long enough to have actually met
 Daniel Robbins in person, but I'm considering moving to a different
 distribution.

I would say that if you do a complete world update at least every six
months, followed by revdep-rebuild, keeping Gentoo up-to-date should be
relatively painless, excluding all the blockers you have to resolve.
ie.:
emerge -uDNav world
revdep-rebuild -i -- -a

The libselinux problems you ran into are known, but that's also the
reason why libselinux is masked on all recent profiles.

/loki_val



Re: [gentoo-user] Re: Gcc-4.3.3

2009-01-31 Thread Peter Alfredsen
On Sat, 31 Jan 2009 18:11:20 -0500
Jerry McBride mcbrid...@comcast.net wrote:

 On three x86 boxs (32bit), gcc 4.3.3 was not able to compile sysklogd
 or even glibc.

If you had errors about .la files then try to emerge --sync and
re-emerge it w.r.t. http://bugs.gentoo.org/256636 which was fixed
bumplessly.

/PA



Re: [gentoo-user] Error: circular dependencies

2009-01-23 Thread Peter Alfredsen
On Fri, 23 Jan 2009 09:59:41 -0800
Grant emailgr...@gmail.com wrote:

 This ebuild is from the java-overlay.  Is it just a bad ebuild or can
 I fix this?  I tried disabling the nsplugin USE flag with the same
 result.
 
57  DEPEND=${RDEPEND}
58  || ( =virtual/gnu-classpath-jdk-1.5
59   dev-java/icedtea6
60   dev-java/icedtea6-bin
61  )
It comes from that line. It looks like it's for bootstrapping icedtea6,
which apparently can be done by itself or the two other alternatives.
emerging icedtea6-bin should fix this. It can then be unemerged when
you've emerged icedtea6 and from then on you can bootstrap updates with
the existing installation.

/PA



Re: [gentoo-user] how to start thunderbird/firefox in a different language?

2009-01-20 Thread Peter Alfredsen
On Tue, 20 Jan 2009 23:55:58 +0800
zhangwe...@realss.com wrote:

 I checked that I do have thunderbird installed with linguas_en_US (see
 below emerge output). If it is installed with that language version,
 it should be able to run in that language version. How can I start
 thunderbird in en_US?

In Firefox-3, it's done like this:
go to about:config
filter for general.useragent.locale
Right-click, then modify so it contains en-US
restart firefox.

It's probably something similar for Thunderbird.

/PA



Re: [gentoo-user] Anxiousness? [was:Tips/Tricks for Gentoo on low-spec computer?]

2009-01-20 Thread Peter Alfredsen
On Tue, 20 Jan 2009 21:36:58 +0100
b.n. brullonu...@gmail.com wrote:

 Mark Knecht ha scritto:
 
 The one thing I would respectfully suggest is that you carefully
  build your own portage overlay. My experience with Gentoo over the
  last few years is that there is a _anxiousness_ in the portage
  maintainer area to move newer revisions of software into portage
  quickly and then just as quickly to remove from portage what users
  are currently using. 

@Mark
That's certainly true in the sense that we loathe maintaining
several revisions of the same software. Each Gentoo maintainer can
maintain anywhere from 1 to $BIG_NUM packages, so we strive to have in
general at most three versions in portage at any given time. We don't
really want bug reports about $old_stable if it's been fixed in a
$new_stable. We're not backport-monkeys, like Ubuntu. We do what we do
cause we like solving complex problems, interacting with the smart
people we call 'users'[1] and our fellow devs,  not because svn diff
is our BFF. :-)

 I am usually a bit annoyed by the contrary. On an almost 1-year old
 Kubuntu (8.04 Hardy Heron) I can find packages that are just barely
 x86 stable now on Gentoo.

 A couple of examples I am aware of:
 Firefox 3: stable just since one month on Gentoo x86, was included in
 KB8.04 Qtiplot: 0.9.x stable and working on KB8.04, all releases ~x86
 (and a hell to compile on a stable system -still didn't manage to do
 it) in Gentoo.

I don't know about qtiplot but Firefox-3 was blocked by the fact that
there were stability problems the first many months, compared to
firefox-2. I remember random crashes, etc. Then we had a mysterious bug
where it would segfault on first start if compiled with
USE=xulrunner, i.e. using the system libxul, but not if we used the
bundled one. Then we had some problems with hardened Gentoo, Sparc
getting bus errors, etc. If you remember firefox-2 when first it came
out, it also had the same kinds of problems. I think it wasn't before
2.0.0.11 that I migrated from 1.5.

Gentoo has many arches and the more popular a package is, the more
bugreports will come, the harder it will be to mark it stable. Firefox
is especially hard to maintain because users use it so very much.

 Python releases are often behind, and not mentioning KDE 4, which is
 even default on 8.10 Kubuntu and on Gentoo was still hardmasked last
 time I checked (but probably Gentoo is just right in this respect,
 everyone keeps telling me to wait before digging into KDE 4).

Python is a special case. Portage (emerge and friends) use it, so we
always try to have as few bugs as possible in the versions that are put
into the tree. Kde 4.1 is broken, compared to 3.5.9/10. I tried it and I
don't want it. The problem we have now is that 3.5.10 is starting to
bitrot, so we'll probably *have* to mark 4.2 stable.

 I fully understand that there are good reasons for that, and that the
 meta-distribution status of Gentoo makes harder to check packages (and
 also that the Ubuntu folks wildly release unstable stuff... firefox 3
 rc in 8.04, for example). I just feel that (stable) Gentoo is
 actually a bit *behind* the average Linux distribution in its
 revisions of software.

You asked for stable, you got it. We're usually faster than Debian
stable though.
 
 Most importantly, I also feel that that's something new: when I first
 installed my system, more than 4 years ago, I felt it was *ahead*.

I did too, but then I was coming from Windows, so that's hardly
surprising :-)

No, seriously it didn't take long for me to go ~x86. I think it was
ati-drivers (oh noez!) and keeping them in sync with xorg-server that
drove me to it.

 I wonder if it's due just to the sheer increase of work required to
 test packages, or if there are decisions behind that (or if it's just
 me having false memories).

The amount of work has something to do with it, you (users) can help
there by filing stable requests if you see a package that you feel has
been ~arch for too long. We do react to nudges. Most of us, anyway. 

/PA

[1] It wouldn't really be much fun being a dev for Gentoo if we didn't
have the bestest users evers. Srsly :-). If you look at how many bug
reports there are and how many are at least partially solved by users
before a dev gets to it, it's quite humbling. Sometimes I can spend
hours being a commit-monkey for users who've posted bugreports that
makes solving the bug a matter of fifteen minutes, tops.



Re: [gentoo-user] baselayout and openrc issues from inside a vserver

2009-01-19 Thread Peter Alfredsen
On Mon, 19 Jan 2009 10:28:05 -0800
kashani kashani-l...@badapple.net wrote:

   I've been putting off the openrc upgrade on my vserver
 account for some time and think it's finally come around to bite me.

Our vserver team had this to say about it on -dev a few days ago.
  - - baselayout-2/openrc isn't stable yet, in fact it's even masked
  in profiles/targets/vserver/package.mask  
 
 i don't care. baselayout-vserver is a hack, the vserver profiles are
 deprecated since ages (although i think the restructuring revived
 them), and the vserver team (that's only me currently) doesn't
 support anything else beside openrc.
 
 Greets,
 Bene 

So, you should probably migrate to the normal profiles as recommended
by the vserver howto:



Re: [gentoo-user] baselayout and openrc issues from inside a vserver

2009-01-19 Thread Peter Alfredsen
Whoops, missed the link to the vserver howto:
http://www.gentoo.org/proj/en/vps/vserver-howto.xml




Re: [gentoo-user] Bash completion annoyance: escapes directory variables.

2009-01-17 Thread Peter Alfredsen
On Sat, 17 Jan 2009 20:59:38 +0100
Jean-Baptiste Mestelan meste...@gmail.com wrote:

 BUT (there had to be a 'but') ...
 gentoo-bashcomp does not play well with this latest version, meaning
 that after re-installing bashcomp, completion does not work after
 gentoo commands (emerge, ebuild ...).

Did you try using unstable gentoo-bashcomp too?

/PA



Re: [gentoo-user] Kpdf crashes with large documents.

2009-01-01 Thread Peter Alfredsen
[Please CC me on all replies]

On Wednesday 31 December 2008, Dale wrote:
 Hi,

 I recently stole me a Motorola Razr phone and it didn't come with
 the manual.  I downloaded it off the Motorola website and was
 reading, or attempting to read, it when Kpdf crashed.  It does this
 when I scroll down to about page 30 or so.  It's a pretty large
 document since it has both English and Spanish.

For me, this pdf crashed evince in cffparse.c:361, which is indicative 
of a bug in freetype (bug 247104) for which I just committed a fix. 
Please add to your package.keywords and test.
+*freetype-2.3.7-r1 (01 Jan 2009)
+
+  01 Jan 2009; Peter Alfredsen loki_...@gentoo.org
+  +files/freetype-2.3.7-b.g.o-247104.patch,
+  +files/freetype-2.3.7-b.g.o-253029.patch,
+  +files/freetype-2.3.7-fix-incorrect-scaling.patch,
+  +files/freetype-2.3.7-no-segfault-on-load_mac_face.patch,
+  +freetype-2.3.7-r1.ebuild:
+  Fix bug 247104, segfault in cffparse.c:361, bug 253029, missing 
letters in
+  certain fonts, thanks to Andreas Turriff for the patch-pointer. Also
+  import patches for alien bugs: http://bugs.debian.org/487101, 
segfault
+  when building certain fonts and
+  http://savannah.nongnu.org/bugs/index.php?23973 , incorrect scaling 
of
+  certain fonts.
+

-- 
/PA


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] KDE-4.1.3 + KDE-3.5.9 = messed up KDEDIRS ?

2008-11-12 Thread Peter Alfredsen
On Wednesday 12 November 2008, Dmitry S. Makovey wrote:
 Hi everybody,

 I've just updated to 4.1.3 (slotted alongside with 3.5.9) and all of
 sudden konqueror and akregator (didn't test much more, but I'm sure
 something else was broke too) stopped launching hinting that there is
 a CSS version mistmatch blah-blah-blah. Path to CSS suggested that
 4.1.3 was using CSS from 3.5.9 which was bizzare since it was working
 before.

You need to go fully ~arch on KDE for them to co-exist in a nicer way.



-- 
/PA


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] emerge does not update

2008-06-14 Thread Peter Alfredsen
On Saturday 14 June 2008, Peter Wood wrote:
 Hi,
 I just ran eix-sync and it informs me that there are updates
 available for 2 packages (Archiv-Tar and Archive-Zip). Both packages
 are pulled in by othe packages that are either in world or system.
 The current versions are not locked anywhere, nor are the new ones
 masked  as far as I can tell. Still,
 emerge --update --deep world
 and
 emerge --update --deep system
 tell me that there are no updates to install.
 I did emerge --metadata and emerge --regen, but the result is the
 same. Does anybody have any idea what I might be doing wrong?

Does
emerge --with-bdeps y -uDNav world 
Do it for you?

The problem comes from Portage not updating build-dependencies until a 
package is rebuilt. --with-bdeps y makes portage consider both build 
and runtime-dependencies.

-- 
/PA


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] `GLIBCXX_3.4.4' not found

2007-12-31 Thread Peter Alfredsen
On Monday 31 December 2007, Grant wrote:
 I'm running a hardened multilib profile and medium gr_security in the
 kernel.  I get the following:

That warning is because those packages are binary blobs and depend on 
the libstdc++ from gcc-4*. You'll have to wait till hardened gets GCC 4 
or till the stdc++ lib from gcc 4 is made into an ebuild (If it even 
can compile with gcc-3*...)

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dhcpcd brokenness

2007-11-21 Thread Peter Alfredsen
On Wednesday 21 November 2007, Grant Edwards wrote:
 Ever since an upgrade a few weeks, dhcpcd has been broken.

 If I start up my laptop withput a hard-wired ethernet
 connection on eth0, dhcpcd starts up for eth0 and notices that
 it's got a record of an unexpired lease stored away for eth0.

I just forwarded your mail to uberlord and he recommended that you try 
dhcpcd-3.1.7. This version is masked by ~arch, so you will have to do:
echo =net-misc/dhcpcd-3.1.7  /etc/portage/package.keywords
to upgrade to that version.
He also noticed that a bug had been filed at berlios. Since he isn't 
subscribed to this list, it'd probably be better to take this over there. For 
anyone else following this matter, the URL is:
http://developer.berlios.de/bugs/?func=detailbugbug_id=12519group_id=4229

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Perl problem

2007-11-19 Thread Peter Alfredsen
On Monday 19 November 2007, Andreas Vinsander wrote:
 Hi!

 It seems like perl-5.8.8-r3 introduced a new place
 (/usr/lib/vendor_perl) for perl modules, but the perl-cleaner utility
 didn't catch that properly. Now all perl modules/utilities (like genlop)
 are broken for me.

 What is the easiest way out? Trying to find out which perl modules are
 installed and re-install them all? Has anybody else seen the same problem?

Please re-emerge perl. *Somebody* hrm played with a stable ebuild without 
committing a revision bump (which would have gone to unstable first).
emerge --syncemerge -1 dev-lang/perl
should fix this.
See this bug:
https://bugs.gentoo.org/199518
for more information.
-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Installation problem

2007-11-12 Thread Peter Alfredsen
On Monday 12 November 2007, Fabio wrote:
 Thank you very much Peter. This is my ethernet card:

 82557/8/9 Ethernet pro 100

There are two ethernet cards in your machine, as evidenced by the error 
message eth1: PHY reset until link up. Enumeration starts at eth0, then 
eth1, etc. What is the other?
The card you list is supported by the eepro100 kernel module. That module 
nowhere mentions the error you are receiving. The only modules that do are 
sis190 and r8169:
sis190.c: net_link(tp, KERN_WARNING %s: PHY reset until link up.\n,
r8169.c: printk(KERN_WARNING %s: PHY reset until link up\n, dev-name);

Take note of the punctuation of the above messages. If indeed you have quoted 
the error message correctly, it would indicate that you have a r8169-based 
card in your machine.

Does any other live-cds boot for you? If yes, post the output of the following 
commands:
lspci
lspci -n
ifconfig
lsmod

 I downloaded the latest cd minimal installation image for amd64.
 So what do you suggest me to do?

By latest minimal installation image, do you 
mean install-amd64-minimal-2007.0.iso as available from: 
http://mirror.ing.unibo.it/gentoo/releases/amd64/2007.0/installcd/install-amd64-minimal-2007.0.iso
?

The reason I'm making doubly sure that it is indeed the latest live-cd, is 
that the last time the PHY reset until link up error led to failures such 
as yours was many kernel revisions ago.

That being said, there are some known problems with the r8169-based cards. For 
one, they will retain state when you reboot from windows. To test if that is 
what is causing this, power off your machine and pull the plug, wait 1 
minute, re-insert power cord and boot.

Also, the bug at http://bugzilla.kernel.org/show_bug.cgi?id=6807 has some of 
the characteristics you describe. It was hopefully fixed in kernel 2.6.23. 
You could try to install Gentoo from a 2.6.23-based livecd such as paldo at:
http://www.paldo.org/
The iso is at:
http://www.paldo.org/paldo-live-cd-x86_64-stable.iso

Gentoo only needs very few tools to be installed and most live-cds provide 
them. 

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Writing an ebuild, #gentoo-dev-help best place?

2007-10-28 Thread Peter Alfredsen
On Sunday 28 October 2007, Grant wrote:
 I'm writing an ebuild and need some help.  Is #gentoo-dev-help the
 best place to get it?

You could probably also ask here. Depending on how hard what you're trying to 
accomplish is, there are people here who can help.

 I've been checking it all morning here: 

 http://cgiirc.blitzed.org/

 and it always seems to be empty.  Is that a real client?

If it show it's empty, then it's a non-functioning one. #gentoo-dev-help has 
72 users right now.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] where is the unifont?

2007-10-22 Thread Peter Alfredsen
On Monday 22 October 2007, Ralf Stephan wrote:
 Albert wrote

 Then let me phrase it alternatively. As another poster said (thanks),
 the path can be set with xset +fp. Shouldn't this be done at
 installation?

That can only be done per-session. Also, you have to be in an X-session for it 
to work. And it'll do bugger-all once you restart.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new box: 2 small puzzles

2007-10-19 Thread Peter Alfredsen
On Friday 19 October 2007, Philip Webb wrote:

 (1) The mobo (ASUS P5K-VM) manual has as default 'Configure SATA as IDE',
 which I have left as is.  However, while the System Rescue CD finds the HDD
 as '/dev/sda', neither the Gentoo Live CD nor Knoppix sees it:
 should I change the mobo setting (the HDD is SATA) ?

If it has a setting that says Configure SATA as AHCI, you might want to try 
that. AHCI is a generic-ish interface that should improve compatibility.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage usage problems

2007-10-18 Thread Peter Alfredsen
On Thursday 18 October 2007, Neil Bothwick wrote:

 You need emerge --update --deep --ask --newuse --verbose world to see
 everything, although even this won't cover packages that are neither in
 world nor required by world. Those are the packages shown for removal by
 emerge --depclean --pretend.

Actually, the above example misses one last class of packages, those that are 
only build-dependencies. To get them you have to add --with-bdeps y, like so 
in short format:
emerge --with-bdeps y -uDNav world
Or, to conform with Neil's example, using the long form:
emerge --with-bdeps y --update --deep --ask --newuse --verbose world

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kdm does not start on boot

2007-10-16 Thread Peter Alfredsen
On Tuesday 16 October 2007, econti wrote:

 It does not work! ;-(
 DISPLAYMANAGER was already set to kdm
 In my opinion the trouble is in /etc/X11/startDM.sh,  but I do not know
 where.

Try to do:
emerge -1 baselayout
I vaguely remember something about xinit and baselayout being dependent on 
having been reemerged in the right order.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Problems after long-due emerge -uDN world

2007-10-11 Thread Peter Alfredsen
On Thursday 11 October 2007, Henk Boom wrote:

 First, my alt key seems not to work properly. It works fine in regular
 programs (e.g. alt-f in firefox pulls down the file menu properly),
 but not for wm or X-related things. For example, I can no longer use
 ctrl-alt-fx to change to a VT from with X.

Just FYI, I had the same problem. For inexplicable reasons, it disappeared 
when I configured the keyboard layout ONLY through xorg.conf, disabling all 
keyboard layout functionality in KDE Control Center. For some reason, 
CTRL+ALT+Fn only displayed the letter V when I pressed them in Konsole.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Cannot boot 2.6.21-gentoo-r4

2007-07-17 Thread Peter Alfredsen
On Tuesday 17 July 2007, Mick wrote:
 On Tuesday 17 July 2007 15:46, Neil Bothwick wrote:
  On Tue, 17 Jul 2007 15:00:05 +0100, Mick wrote:
   It's not as if it starts to load the kernel and then fails.  It just
   stops before then.  Shall I wait for a future version?  Am I the only
   one here with running a PIII that won't boot this kernel?
 
  Is it possible that your kernel image is corrupt, have you tried building
  it again?

 I've built it twice so far.

If I were you, I'd try 2.6.22. Out of the vague fog of memory I glance the 
image of a couple of regressions that haven't been fixed in .21 that were 
fixed in .22. 

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerging blockes by non-existing (?) ebuild

2007-06-17 Thread Peter Alfredsen
On Sunday 17 June 2007, [EMAIL PROTECTED] wrote:
 Do following:
 1) in /etc/portage/package.use add this:
 x11-libs/qt-3* opengl

=x11-libs/qt-3*  opengl

Is more likely to succeed, I think.

/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Error compiling jpeg for kde

2007-06-15 Thread Peter Alfredsen
On Friday 15 June 2007, Mike Diehl wrote:
 Hi all.

 I'm trying to emerge kde and I'm getting an error when the system tries to
 emerge media-libs/jpeg.

 So, where do I get crtbeginS.o and crtendS.o?

 TIA,

 
 i386-pc-linux-gnu-g++: /usr/lib/gcc/i386-pc-linux-gnu/4.1.1/crtbeginS.o: No
 such file or directory
 i386-pc-linux-gnu-g++: /usr/lib/gcc/i386-pc-linux-gnu/4.1.1/crtendS.o: No
 such file or directory

Hrmmm... Have you changed CHOSTS or upgraded GCC? That file is a part of of 
GCC so when it's missing, that's bad. I'd really recommend you post your 
emerge --info output, because the i386-pc-linux-gnu CHOST is no longer 
supported with the newer GLIBCs (also, it gives us the core information about 
your system). Also, post the output of gcc-config -l.

If you have changed CHOSTs, see this guide:
http://www.gentoo.org/doc/en/change-chost.xml
Follow it like it was holy scripture.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Make portage assume, that a package is installed

2007-06-15 Thread Peter Alfredsen
On Friday 15 June 2007, Alexander Skwar wrote:
 Good morning!

 On my system, I don't use a modem and don't intend to ever
 do so. Because of this, I did not install net-dialup/ppp.
 But I'd now like to install kde-base/kde-meta, which will
 pull in kde-base/kdenetwork-meta, which will pull in kde-base/kppp
 and this will finally pull in net-dialup/ppp.

 Can I now make it somehow so, that I am able to install kdenetwork-meta,
 but NOT install kppp  ppp?

 In the documentation at
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=5 and
 in man portage at http://gentoo-wiki.com/MAN_Portage, I read, that I
 might be able to use the package.provided file. But according to the man
 page, it is located in the profile directory (/etc/make.profile). I'd
 rather NOT fiddle with files in such a directory.

 So I tried to create the file in /etc/portage. Contents:

 --($:~)-- cat /etc/portage/package.provided
 kde-base/kppp-3.5.7
 net-dialup/ppp-2.4.4-r8
[...]
 Obviously, I'm doing something wrong.

 How do I do it right?

See:
http://marc.info/?l=gentoo-userm=114173922424811w=2
Basically:
mkdir /etc/portage/profile
cp /etc/portage/package.provided /etc/portage/profile/package.provided

Try it.

You might want to leave out the version numbers from kppp and ppp (Think of 
what happens when kppp 3.5.8 comes out or when ppp-2.4.4-r9 comes out).

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel upgrade, no sound.

2007-06-15 Thread Peter Alfredsen
On Friday 15 June 2007, Dale wrote:
 Well, you won't believe this but I rebooted into the newer kernel to get
 the info for you, now it works fine.  O_O  I have sound when I change
 desktops, it plays a CD fine, it seems to be working now.

That's so great. I couldn't find any reason why it would NOT work either from 
your posts, so I guess this was just a Go Away bug. Leave the computer, come 
back. It's gone.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel upgrade, no sound.

2007-06-14 Thread Peter Alfredsen
On Thursday 14 June 2007, Dale wrote:

 Thanks for the info but I build everything in the kernel.  I never liked
 modules.  I suspect that something did change about the kernel though.
 I may just stick with the older kernel for now and try another version
 later.

 Still open to ideas though.

If you post the output of this command:
lspci -s 01:0a.0 -n
We will have the PCI id to search for. Might make it easier to find bug 
reports.

The output of this command:
dmesg|egrep -i -A3 (alsa|sound)
Should give us an idea of whether your kernel actually detects your sound 
card.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Still video problem was: Videos not playing anymore

2007-06-11 Thread Peter Alfredsen
On Monday 11 June 2007, Christian Herzyk wrote:
 Hi,

 I still have the same problem:
 videos that I want to play with xine (or similar viewers) do not show
 anymore. In xine the screen stays blue and I just hear the sound of the
 videos. If I change the video driver from xv to opengl I get some moving
 stripes coresponding to the main colors in the video but nothing more.
 I reinstalled everything related to video playback, but no change.
 Playing videos from youtube etc. work, realplay stays black as well.

 Is there really none that has any idea what the problem might be?

It might be this problem I encountered:
http://forums.gentoo.org/viewtopic-t-564568.html

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Peter Alfredsen
On Friday 25 May 2007, [EMAIL PROTECTED] wrote:
 For instance,
 the reason that Blender is masked, is because it does messed up things
 to the save files in the AMD64 version.

http://www.blender.org/development/release-logs/blender-244/64-bits-support/
^Not anymore.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Semi OT: 64 bit processors, the Linux Kernel, and x86 Gentoo.

2007-05-25 Thread Peter Alfredsen
 http://www.blender.org/development/release-logs/blender-244/64-bits-supp
 ort/

  ^Not anymore.

 Has this migrated it's way to the portage tree yet?
 I am not in a position to check. ^^;;

Yes.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] MAJOR udev problem, PLEASE help

2007-05-02 Thread Peter Alfredsen
On Thursday 03 May 2007, Trenton Adams wrote:
 I have an ethernet controller that worked until I updated my udev to
 the latest version.

 00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1)
 Subsystem: ASUSTeK Computer Inc. Unknown device 8141
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
 ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast TAbort-
 TAbort- MAbort- SERR- PERR-
 Latency: 0 (250ns min, 5000ns max)
 Interrupt: pin A routed to IRQ 16
 Region 0: Memory at febd7000 (32-bit, non-prefetchable) [size=4K]
 Region 1: I/O ports at d080 [size=8]
 Capabilities: [44] Power Management version 2
 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
 PME(D0+,D1+,D2+,D3hot+,D3cold+)
 Status: D0 PME-Enable- DSel=0 DScale=0 PME-

 It shows up as follows from ifconfig
 eth0  Link encap:UNSPEC  HWaddr

Methinks that looks like some kind of firewire voodoo interface. The Link 
encap should be ethernet, like this:

eth0  Link encap:Ethernet  HWaddr 00:11:2F:28:94:AF
  inet addr:xxx.xxx.xx.xx  Bcast:xxx.xxx.xx.xx  Mask:255.255.255.240
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:18809418 errors:0 dropped:0 overruns:0 frame:0
  TX packets:16750561 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1252875785 (1194.8 Mb)  TX bytes:1941196921 (1851.2 Mb)
  Interrupt:10

Does ifconfig show any other interfaces?
Are you running ~arch or plain arch? If the latter, I think udev-110 has 
defaulted to blacklisting the offending module precisely because of problems 
with the interfaces getting juggled about.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Removing KDE 3.4 cruft

2007-03-17 Thread Peter Alfredsen
On Saturday 17 March 2007, Mick wrote:
 Hi All,

 I am trying to unmerge KDE 3.4 from a machine which has been running
 KDE 3.5 for sometime now and I get this error from one of the
 packages:

http://bugs.gentoo.org/show_bug.cgi?id=171221

http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/libksirtet/?hideattic=0

Not in portage, but WAS in portage. That's why you don't go around editing
eclasses once they've been committed.

http://bugs.gentoo.org/show_bug.cgi?id=170286

Should be fixed by adding the line kde-base/kdegames kde-base/libksirtet to
the definition of KDE_DERIVATION_MAP in kde-functions.eclass

Someone's been naughty and edited the eclass so it doesn't work with old KDE 
stuff.

Just save this file:
http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/eclass/kde-functions.eclass?rev=1.143
as kde-functions.eclass and do:
cp -f kde-functions.eclass /usr/portage/eclass/kde-functions.eclass

then remove the KDE cruft before emerge --sync'ing.
-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysterious freezes when browsing Internet

2007-03-15 Thread Peter Alfredsen
On Tuesday 06 March 2007, Peter Alfredsen wrote:
 On Tuesday 06 March 2007, Philip Webb wrote:
 Otherwise, my system is very stable  problem-free.

 I'm experiencing something similar at equally random intervals.

Just for your information, I discovered what the problem was. My 2½ year old 
Maxtor hd decided to let out the magic smoke. On my next reboot (evoked by a 
freeze), I was told my system was unable to mount my hd. It seems a number of 
bad blocks had been forming on my hd for these past few months, just waiting 
to trap me between a rock and a hard place. Luckily, the bad blocks were 
contained to a single area of the hd.

My method of recovery was straight-forward. I checked for bad blocks with 
badblocks, did a complete reiserfsck with --rebuild-tree and entered the hd 
and chrooted. Uhoh. /bin/bash segfault. I guess it's not called reiserfsck 
for nothing. A number of files had gotten little cutesie binary things 
embedded into them by reiserfsck, even though they weren't anywhere near the 
bad blocks. I had ordered a new hd by now and was waiting for it to arrive. I 
fixed the /bin/bash segfault by getting a quickpkg of the livecd bash. Gcc 
was fscked too. I downloaded a binpkg off tinderbox.gentoo.org. I did this 
until I had a fully functioning emerge system.

I then did an emerge -e world to get the right files in place, with 
FEATURES=buildpkg, so I could use the binpkgs to get a working system with 
my new hd. I learned of a new portage location 
here: /var/cache/edb/dep/usr/portage/. emerge --metadata didn't work, 
segfaulting, and if I tried to emerge some things, it would complain of the 
missing syake dependency. This was fixed by 
deleting /var/cache/edb/dep/usr/portage/ and doing emerge --metadata.

Yesterday morning, the emerge -e world had completed and I received my new hd 
later that day. Installing that was a comparative breeze. I just 
copied /etc/* to the new hd, emerged everything from binpkgs and was up and 
running. But when I emerged new stuff not from binpkgs, the configure would 
complain of the missing /usr/bin/as. Uhoh. It seems gcc doesn't create the 
necessary symlinks in /usr/bin automatically when emerging from binpkg 
(FIXME). I fixed this by installing the necessary symlinks from the bad hd.

I am now in the process of a new emerge -e world, to get everything back in 
perfect order.

/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysterious freezes when browsing Internet

2007-03-06 Thread Peter Alfredsen
On Tuesday 06 March 2007, Philip Webb wrote:

 which does not offer any helpful advice.
 There are no bugs answering to 'Epiphany freeze' or 'Konqueror freeze'.

 I'm using Kernel 2.6.18-gentoo, KDE 3.5.6 , Epiphany 2.16.3  Xorg-x11 7.1
 . Otherwise, my system is very stable  problem-free.

I'm experiencing something similar at equally random intervals. I have had 
maybe 3 of these freezes since the end of December. I am reasonably sure it 
is not memory, since I have emerge -e world 3-4 times since then (don't ask) 
and I have never had any unreproducible gcc errors. At one time I had a 
routine that helped me replicate the problem (now I just avoid it):
Go to forums.gentoo.org, grab a thread with massive posts. Click-drag a link 
quickly in circles. Boom!
The last freeze I had was last week, when I had 10 Konqueror windows open with 
on average 3 tabs each. Rtorrent was running in the background and suddenly 
my system deadlocked. I could still move the mouse but I couldn't click on 
anything. I suspect that if I could bother to write down the magic SYSRQ 
keys, I would be able to do a clean reboot.
The program I suspect is Konqueror (probably bad interaction with fglrx), 
since that is always open. I also always have Kmail, Konversation, Akregator, 
AmaroK, rtorrent and Kate running, though.

AMD Athlon 2500+
Ati X800 fglrx AGP
1 GB ram
~X86
Kernel 2.6.19-gentoo-r4 (waiting for someone to make a stable .20)

-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge perl does not work

2007-02-28 Thread Peter Alfredsen
On Thursday 01 March 2007, Andrey Vul wrote:

 Weird thing is, portage had same call stack until I did emerge -O
 libperl. But still, perl failed to compile.

 I am using stage1-2006-x86 tarball and am now between
 stage1(/usr/portage/scripts/bootstrap.sh) and stage2 (emerge -e
 system).
 I know stage1 is unsupported, but I want extreme optimization that
 might break the stage3 tarball packages during emerge world

There is a bug for this:
https://bugs.gentoo.org/show_bug.cgi?id=168312
and a patch even. Compiles for me.

-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge perl does not work

2007-02-28 Thread Peter Alfredsen
On Thursday 01 March 2007, Andrey Vul wrote:
 Is the fixed perl-5.8.8-r2.ebuild yet merged to the main portage tree?
 Because IAKMITA if I could fix this with emerge --sync

Sorry, no. You could also:
emerge -1v =sys-kernel/linux-headers-2.6.20emerge perl.
The problem is with perl, but the old linux headers are more lax. Beware that 
this may lead to issues such as this:
http://bugs.gentoo.org/show_bug.cgi?id=168660

But hey, it's ~arch.

/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed

2007-02-21 Thread Peter Alfredsen
On Wednesday 21 February 2007, Konstantin Budylov wrote:

 So, what's wrong?

fglrx doesn't do AIGLX. Sry.

-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] off topic : Dolphin massacre in Japan

2007-02-21 Thread Peter Alfredsen
On Wednesday 21 February 2007, Aggelos wrote:

 I would not define such a mail as spam.
 Aggelos

The relevant part of http://www.catb.org/~esr/faqs/smart-questions.html
[...]
This is a very risky thing to do, however, because the hackers' metric for 
what is exciting probably differs from yours. Posting from the International 
Space Station would qualify, for example, but posting on behalf of a 
feel-good charitable or political cause would almost certainly not. In fact, 
posting “Urgent: Help me save the fuzzy baby seals!” will reliably get you 
shunned or flamed even by hackers who think fuzzy baby seals are important.
[...]

-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ati-Drivers, no DRI

2007-01-29 Thread Peter Alfredsen
On Monday 29 January 2007, Timothy Roberts wrote:
 I have a working X environment with these three packages,
 Ati-drivers-8.32.5, Xorg-7.2, and Gentoo-sources-2.6.19-r4, but I cannot
 seem to get Direct Rendering.
See this:
http://bugs.gentoo.org/161378

Ati-drivers 8.32.5 is not compatible with xorg 7.2. Use the ebuild in that bug 
or wait for it to trickle into the tree.

-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg -configure fails

2007-01-29 Thread Peter Alfredsen
On Monday 29 January 2007, James Colby wrote:
 List members -

 I am trying to install gentoo on an older HP pc.  I am at the point in
 the handbook when I'm trying to configure X.  When I run the command
 Xorg -configure it is failing with the following error message:

The moon has entered a cycle unfortuitous for xorg --configure. Please use 
xorgcfg instead to get a working X11, then tune from the many xorg.confs 
floating around.
Caveat: Depending on how old your video card is, ati-drivers may not support 
it. Use radeon DRI/mesa instead.



-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge sys-apps/util-linux-2.12r-r4 fails

2007-01-04 Thread Peter Alfredsen
On Thursday 04 January 2007 19:39, Dale wrote:

 Anybody know how to fix this?

Yeah, -r4 fails for me too. -r5 compiles beautifully, though.
Just add this line to /etc/portage/package.keywords:
=sys-apps/util-linux-2.12r-r5 ~x86

And re-emerge it.

HTH
-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge sys-apps/util-linux-2.12r-r4 fails

2007-01-04 Thread Peter Alfredsen
On Thursday 04 January 2007 23:37, Dale wrote:
 Peter Alfredsen wrote:
  On Thursday 04 January 2007 19:39, Dale wrote:
  Anybody know how to fix this?
 
  Yeah, -r4 fails for me too. -r5 compiles beautifully, though.
  Just add this line to /etc/portage/package.keywords:
  =sys-apps/util-linux-2.12r-r5 ~x86
 
  And re-emerge it.
 
  HTH

 Oh, may try that.  I'm using a script that I found on the forums to do
 this instead of emerge -ev world.  It is something I found when updating
 gcc a good while back.  According to some emerge doesn't do them in the
 correct order but this script does.  It starts out with the kernel so it
 is different.

Yes, I've read about that. Looks nice. There should be file where you can 
alter stuff like this, IIRC.

 Now to go figure out how to get this script to emerge that version
 without starting over.  ;)

 Now to figure out what the deal was on my CFLAGS.

I think your CFLAGS are probably fine. I have sane (march, pipe, 
fomitframepointer) CFLAGS and the problem is still there. If they've worked 
for you before with no problems, they will probably work for you again.

I think your problem probably is that you're trying to build a system based 
off a 2.6.19 kernel/headers while remaining in stable for the rest of the 
tree. I guess that this is the case because there is only one significant 
difference between -r4 and -r5 of util-linux:
   31 Oct 2006; Mike Frysinger [EMAIL PROTECTED]
   +files/util-linux-2.12r-no-_syscall.patch, util-linux-2.12r-r5.ebuild:
   Fix building with linux-headers-2.6.18+ as _syscall#() no longer exists
   #150852 by Mario Fetka.
This will not work without a lot of unmasking. Only ~x86 is fully patched for 
2.6.19. 

-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge sys-apps/util-linux-2.12r-r4 fails

2007-01-04 Thread Peter Alfredsen
On Friday 05 January 2007 01:25, Dale wrote:

 Any ideas in case this don't work?

What you are doing WILL NOT WORK. The old version of util-linux will only work 
with the (really) old linux-headers. What is the output of emerge -pv 
linux-headers? It's probably 2.16.18, since you have these problems. If you 
just want to fix this (and only this) problem, just put that line into 
package.keywords, emerge --sync and emerge util-linux.

If you still have problems, let's have the output of emerge --info.


-- 
/PA
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unicode fonts

2006-12-22 Thread Peter Alfredsen
On Friday 22 December 2006 19:40, A. Khattri wrote:
 Does anyone know of a good all-round font to use for a unicode console?
 Ideally, I want to be able to display mostly European languages (though,
 if there is a font out there that can deal with Asian languages too, that
 would be great ;-)

Terminus has all the characters I need:
http://www.is-vn.bg/hamster/jimmy-en.html
 Terminus Font - a clean fixed width font
 source: terminus-font-4.20.tar.gz (198KB)
 Terminus Font is designed for long (8 and more hours per day) work with
 computers. Version 4.16 contains 690 characters, covering code pages
 ISO8859-1/2/5/9/13/15/16, IBM-437/852/855/866, KOI8-R/U/E/F,
 Windows-1250/1251/1252/1254/1257, Paratype-PT154/PT254, Bulgarian-MIK,
 Macintosh-Ukrainian, Esperanto and many others (a total of about 110
 language sets). Also included are the IBM VGA, vt100 and xterm
 pseudographic characters. The sizes present are 6x12, 8x14, 8x16, 10x20,
 12x24, 14x28 and 16x32. The styles are normal and bold (except for 6x12),
 plus EGA/VGA-bold for 8x14 and 8x16.

And it's available in portage:
emerge -av media-fonts/terminus-font

I've heard that the Microsoft Arial Unicode fonts have nearly all characters, 
but I don't know if they can be used in the console (probably not).
-- 
/PA
-- 
gentoo-user@gentoo.org mailing list