Re: [gentoo-user] Mysterious failure of ConsoleKit

2010-12-23 Thread Daniel Pielmeier
I guess all of you having this problem use baseayout-2/openrc with
parallel service start. Try if rc_parallel=NO in /etc/rc.conf fixes
the problem. I had a similar problem with sshd [1] which disappeared
after disabling parallel start.

[1] http://bugs.gentoo.org/show_bug.cgi?id=292843

-- 
Daniel Pielmeier



Re: [gentoo-user] Remove redundant entries in world - howto

2010-12-08 Thread Daniel Pielmeier
Helmut Jarausch jarau...@igpm.rwth-aachen.de:
 Hi,

 does anybody know about an easy method to remove all entries from
 /var/lib/portage/world
 which would have been pulled in anyway
 even if they were not contained in world.

 My current attempt would be to write a script
 which executes emerge -vpc on each entry in world.
 If it wouldn't be removed it's obsolete in world.

 Unfortunately this has to be done in several rounds.

As far as I know there is currently no tool available for something like this.

I have a skript which runs emerge -pv --depclean for every entry in
world. If depclean returns reverse dependencies the package in
question is redundant in world. It takes quite some time but works
reliable. There are false positives for packages with PDEPENDS, but
you will recognize this when emerge -pv --depclean wants to remove
packages which you want to keep afterwards and you can add them back
manually.

Another method would be removing the world file (backup before) and
run the regenworld script afterwards. The result is not really minimal
so there will still be redundant entries.

I asked the portage maintainer about such a tool, as it would be best
if it uses the portage API to speed things up. He didn't not see the
point of such a script but thought about writing something which
creates a minimal word file. If you want such a functionality I
recommend to open a bug about it.

-- 
Daniel Pielmeier



Re: [gentoo-user] Updating a profile from 2005

2010-11-06 Thread Daniel Pielmeier
Andrew Lowe schrieb am 06.11.2010 16:56:
 On 11/06/10 20:30, Neil Bothwick wrote:
 On Sat, 06 Nov 2010 12:36:01 +0800, Andrew Lowe wrote:

 .='update pass'  *='binary update'  #='/var/db update'  @='/var/db
 move' s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
 p='update /etc/portage/package.*'
 /usr/portage/profiles/updates/1Q-2005
 .
 .
 .
 .
 ..
 /usr/portage/profiles/updates/4Q-2010

These are normal messages you receive if there are ebuilds moved around
or slots for ebuilds change within the portage tree. It has nothing to
do with the profile you are running.

Portage saves all data for installed packages in a database under
/var/db/pkg. Lets say you have installed dev-lang/toluapp. Recently this
package has been moved to dev-lua/toluapp. The information about this
package is now wrong and needs to be fixed. This is what happened here.
It also takes care about existing binary packages. So there is nothing
to worry about.

Just take a look at these files and you will find lines like:
slotmove sys-libs/libchipcard 2 0
move dev-lang/toluapp dev-lua/toluapp
It just informs portage about the changes, so it can fix it in the database.

* An update to portage is available. It is _highly_ recommended

A new version of portage is available and you should update to that new
version.

 Is the first line of emerge --info,
 
 Portage 2.1.9.24 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5,
 glibc-2.12.1-r1, 2.6.35-gentoo-r9 x86_64)

Yes this is the profile you are running and it is the most recent, so no
need to change anything here. You are not running the 2005 profile,
which would be strange as it has been removed long ago.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] HP C4795 All-in-One Att'n Neil Bothwick

2010-11-03 Thread Daniel Pielmeier
2010/11/3 CJoeB colleen.bea...@gmail.com:

 Thanks for the link.  I got the scanner working and BTW, I did do a
 google search, but the search parameters I used only returned stuff from
 my previous posts.

Good to hear!

 The reason for the Att'n Neil Bothwick in the subject line is because
 Neil responded months ago when I had the scanner working the first time,
 but could only run xsane as root, not as a normal user.  Neil responded
 suggesting that I write a udev rule and gave me an example:

 SYSFS{product}==CanoScan, SYSFS{manufacturer}==Canon,
 GROUP:=scanner, MODE:=0660

 I used this to write a udev rule after reading some documentation.  Of
 course I changed the product and manufacturer in the above line to what
 is applicable to my HP C4795.  After rebooting, I was able to run xsane
 as a normal user.

sane-backends should provide udev rules maybe there is something
wrong/missing for your scanner.

 However, when I run it from the command line, a bunch
 of messages appear and I'm not sure if there is a problem or if I didn't
 write the rule correctly.

 This is the message that repeats itself in the terminal window:

 (xsane:10566): Gtk-WARNING **: GtkSpinButton: setting an adjustment with
 non-zero page size is deprecated

 Do I need to be concerned about this?

Don't think so. It's just some gtk deprecation warnings. The xsane
developers should be concerned about this messages though.

-- 
Daniel Pielmeier



Re: [gentoo-user] world symlinking

2010-11-02 Thread Daniel Pielmeier
2010/11/2 Gary Golden m...@garygolden.me:
 Hi, list.
 I keep changes of my /etc with git and I would like to include
 /var/lib/portage/world file into the repository.

 Can I safely do:

 mv /var/lib/portage/world /etc/portage
 ln -s /etc/portage /var/lib/portage/world

 Will portage update handle it properly?
 Using hardlinks seems to be more cleaner way, but for some reason I
 don't want to use it for this task.

It should work. Just try it out, but make a copy of your world file
before. Should be easy to switch back if anything fails.

Afaik, the creation of the symbolic link should look like this:
ln -s /etc/portage/world /var/lib/portage/world

-- 
Daniel Pielmeier



Re: [gentoo-user] HP C4795 All-in-One

2010-11-02 Thread Daniel Pielmeier
2010/11/2 CJoeB colleen.bea...@gmail.com:
  Hi,

 Before someone asks Haven't you posted this before?, I'll respond,
 Sort of, but not really!

 Anyway, I've reread all the previous posts.  Mostly, they were related
 to the printer portion of the device.  The printer works fine.

 The current problem is related to the scanner.  My previous post was
 about not being able to use xsane as a normal user, it would only work
 as root.  Since posting that, I've done upgrades to my system and for
 months, the scanner won't work at all - not as a normal user nor as root.

 I've tried reinstalling sane-backends and xsane using an unstable
 version, but that didn't help the situation.  I've checked the kernel
 configuration and that looks fine.

 When installing sane-backends, after the normal USE=, there is a
 statement SANE-BACKENDS= ...  where a number of devices are listed,
 but none in the 4700 series.

 I have no idea what is going on here.  I don't scan much, but tonight
 when I desperately needed to scan I couldn't despite my best efforts.

 BTW, I AM in the scanner group, so that is not the issue.  Whenever, I
 try to run xsane as a normal user or root, I get the message No device
 found.

 Help would be appreciated.

The sane project has a pretty good search engine [1] where you can
find the needed driver.
Hint: Try hpaio :) PS: Your internet search engine of choice is your friend.

http://www.sane-project.org/cgi-bin/driver.pl?manu=Hewlett-Packardmodel=Photosmartbus=anyv=p=

-- 
Daniel Pielmeier



Re: [gentoo-user] cruft after perl-cleaner --all

2010-10-23 Thread Daniel Pielmeier
Allan Gottlieb schrieb am 23.10.2010 18:13:
 perl-cleaner could not deal with
 
 /usr/lib/perl5/vendor_perl/5.8.8/XML/SAX/ParserDetails.ini
 /usr/lib/perl5/5.8.8/i686-linux/Encode/ConfigLocal.pm
 
 I ran
equery belongs
 and neither turned up.
 

It is cruft! Some leftovers from perl-5.8.8. There should be new ones in
the corresponding locations for perl-5.12.2 after upgrading and running
perl-cleaner.

/usr/lib/perl5/vendor_perl/5.12.2/XML/SAX/ParserDetails.ini
/usr/lib/perl5/5.12.2/i686-linux/Encode/ConfigLocal.pm

After the switch to a new perl version and successful run of
perl-cleaner it should be safe to remove everything below /usr/lib/perl5
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl for older perl
installations, except stuff belonging to packages which were not
installed by the package manager or have been altered manually.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Illegal instruction error

2010-10-12 Thread Daniel Pielmeier
2010/10/12 Alan McKinnon alan.mckin...@gmail.com:

 To top it off, I missed the obvious three other times today, all completely
 different.

It is always the obvious things we miss. I should have thought of this
too, as just recently we had one machine failing two times within
weeks because of kaput memory. Thank goodness there is NBD support :)

 I blame it on the 'flu. OK, it's a head cold. Everyone in Joburg has a head
 cold all the time. Mine just got much worse for a few days

Spring time is flu time. Get well soon!

-- 
Daniel Pielmeier



Re: [gentoo-user] repositiory browser - misc-functions

2010-10-11 Thread Daniel Pielmeier
2010/10/11 Al oss.el...@googlemail.com:

 please, where do the file usr/lib/portage/bin/misc-functions.sh within
 a HTML repository browser, so that I can compare versions?

Here you can find all commits with changes to misc-functions.sh:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=history;f=bin/misc-functions.sh;h=b266764f9909e6877f963a5e556163cc8e9e7a09;hb=HEAD

-- 
Daniel Pielmeier



Re: [gentoo-user] Illegal instruction error

2010-10-11 Thread Daniel Pielmeier
Alan McKinnon schrieb am 11.10.2010 22:39:
 Uh-oh.
 
 genlop started failing today with the mysterious error Illegal instruction, 
 and it's consistent - every time. That's all the message, nothing else:
 
 $ genlop -t portage
 Illegal instruction
 
 Now emerge dbus-glib fails similarly:
 
 /bin/sh: line 21:  1084 Illegal instruction /usr/bin/gtkdoc-rebase --
 relative --dest-dir=/var/tmp/portage/dev-libs/dbus-glib-0.88/image/ --html-
 dir=${installdir}
 
 
 I don't really know where to start looking.
 I just know Google is going to give me millions of useless hits with that 
 search, but I'll hope over to b.g.o. meanwhile and poke around unless someone 
 else has a better idea.
 
 

Google has something to say about this.

Recently changed CFLAGS.
Wrong CFLAGS.
Compiler has problems with march native.
Glibc corruption.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Illegal instruction error

2010-10-11 Thread Daniel Pielmeier
Alan McKinnon schrieb am 12.10.2010 00:26:
 
 It's none of those apparently. I checked CFLAGS set by the ebuild in the 
 emerge log before posting and they looked fine. gcc was last updated a month 
 ago and the machine gets updated almost daily. 
 
 glibc seems possible but it's a moot point, especially as after investigating 
 memory at Mark's suggestion, genlop runs fine now, world updates successfully 
 and 2 ./configure errors about aclocal (that I didn't even mention before) 
 have gone away.
 
 I should probably start treating this poor machine more like a notebook and 
 less like a high performance machine - running flat out almost 24/7 is 
 probably outside of it's design spec :-)
 

Glad the reason for your problem was found. Time make use of Dell's NBD
support then :)

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-08-30 Thread Daniel Pielmeier
Alan McKinnon schrieb am 30.08.2010 18:32:
 Apparently, though unproven, at 18:03 on Monday 30 August 2010, Paul Hartman 
 did opine thusly:
 
 On Fri, Aug 27, 2010 at 9:04 PM, Daniel Pielmeier bil...@gentoo.org wrote:
 Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
 your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
 (1.98) it is possible without. You don't need an initrd for LABEL/UUID
 in /etc/fstab for both cases.

 FWIW I'm using sys-boot/grub-0.97-r10 with GPT, labeled partitions and
 no initrd. My kernel has EFI_PARTITION compiled in (no module).

 My fstab looks like this:

 LABEL=swap   noneswapsw  0 0
 LABEL=boot  /bootext2defaults,noatime1 2
 LABEL=root   /   ext4defaults,noatime0 1
 LABEL=home  /home   ext4defaults,noatime0 1

 My kernel boot commandline still specified root by device name
 /dev/sda2 but otherwise my system works normally so far. :)
 
 Don't listen to nay-sayers. Your fstab will work just fine and there's 
 nothing 
 wrong with it.
 
 The LABEL= sysntax has also worked for years and years now on all grub-
 supported filesystems that support volume labels. I don't know where a 
 previous poster got the idea from that it is not supported, or you need an 
 initrd - I have never used an initrd on Gentoo and have used that syntax 
 since 
 forever.
 
 Similar for claims of unreliability by someone else. The only cause I can 
 think of is using weird grub patches or some combination of insane flags.

If you are referring to my post please read again my statements. I am
not a native speaker so I probably did not make this clear.

I did not say that LABEL/UUID does not work within /etc/fstab.
Specifying the root device by using the LABEL/UUID syntax in
grub.conf/menu.lst however wont work without a proper initrd.

I must confess I did not test it before but I was sure it does not work.
I did some tests now (with sys-boot/grub-0.97-r10) and only the
following syntax for the grub.conf kernel command-lines works.

kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=/dev/sda3

All the others below need an initrd if you use GRUB LEGACY. Also the
GRUB LEGACY manual [1] does not mention LABEL or UUID at all. With GRUB
2 it will probably work by using the --search menu entry [1].

kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=LABEL=root
kernel /boot/kernel/kernel-2.6.35-gentoo-r4 root=/dev/disk/by-label/root
kernel /boot/kernel/kernel-2.6.35-gentoo-r4
root=/dev/disk/by-uuid/ab24cad5-ae0b-45d7-82f4-68357d5b6ff4

[1] http://www.gnu.org/software/grub/manual/legacy/grub.html
[2] http://www.gnu.org/software/grub/manual/grub.html#search

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-08-28 Thread Daniel Pielmeier
Dale schrieb am 28.08.2010 13:13:
 
 P. S.  Any way to label swap?  It's not reiserfs or ext*.
 

It is swap :)

swappoff -a
mkswap -L label device
swapon -a

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-08-27 Thread Daniel Pielmeier
Nikos Chantziaras schrieb am 27.08.2010 18:06:
 On 08/27/2010 07:02 PM, J. Roeleveld wrote:

 Actually, you can:
 http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.html

 (Read the section below Use a label):

 fstab:
 LABEL=ROOT  / ext3defaults1 1
 LABEL=BOOT  /boot ext3defaults1 2
 LABEL=SWAP  swap  swapdefaults0 0
 LABEL=HOME  /home ext3nosuid,auto 1 2
 
 This syntax never worked here.  Always resulted in an unbootable system.
  Only the /dev/disk/by-label/ syntax works reliably.
 

Afaik if you are using GRUB LEGACY (0.97) and want to use LABEL/UUID in
your grub.conf/menu.lst you also need an initrd. I think with GRUB 2
(1.98) it is possible without. You don't need an initrd for LABEL/UUID
in /etc/fstab for both cases.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] dependency on unmerged imagemagick

2010-07-09 Thread Daniel Pielmeier
lmeida val.gen...@gmail.com:

 Hello,

 I have unmerged imagemagick from my system did a revdep-rebuild and
 emerge --depclean but continue to get this output

 - equery depends imagemagick
 [ Searching for packages depending on imagemagick... ]
 gnome-extra/libgsf-1.14.15 (gnome? media-gfx/imagemagick)
 media-libs/gegl-0.0.22 (doc? media-gfx/imagemagick

 why are these packages still depending on imagemagick?

Do you have the gnome USE flag enabled for gnome-extra/libgsf or the
doc USE flag for media-libs/gegl? I guess not.
Equery depends does not give you the correct information. I guess it
just looks for imagemagick in the dependencies list but does not take
the USE flags into account.

Use emerge -pv --depclean media-gfx/imagemagick for correct information

-- 
Daniel Pielmeier



Re: [gentoo-user] [OT] How to capture a screen video?

2010-07-05 Thread Daniel Pielmeier
2010/7/5 William Kenworthy bi...@iinet.net.au:

 There is a very informative movie that might help explain the process of
 asking a question, then asking what question you need to get the answer.
 Its called Hitch Hikers Guide to the Galaxy.

 Its obvious, the answers 24.

24? I always thought The Answer to the Ultimate Question of Life, the
Universe, and Everything was 42. Did I miss something? :)

-- 
Daniel Pielmeier



Re: [gentoo-user] tbz2 flag

2010-06-12 Thread Daniel Pielmeier
Dan Johansson schrieb am 12.06.2010 17:28:
 I have two Gentoo Hosts that are (should be) 100% equal except on the 
 following points:
 a)Hostname
 b)IP
 c)One Host has FEATURES=fixpackages buildpkg while the other has 
 FEATURES=fixpackages
 
 As far as I know I have no other differences between the systems (same USE 
 flags, same packages installed), but still I can see one difference:
 For instance:
 
 Host-A:
 # eix -I portage-uti
 [I] app-portage/portage-utils
  Available versions:  0.2.1{tbz2} 0.3.1{tbz2} ~0.4 {static}
  Installed versions:  0.3.1{tbz2}(20:46:47 06/10/10)(-static)
  Homepage:http://www.gentoo.org/
  Description: small and fast portage helper tools written in C
 
 Host-B:
 #  eix -I portage-utils
 [I] app-portage/portage-utils
  Available versions:  0.2.1 0.3.1 ~0.4 {static}
  Installed versions:  0.3.1(20:47:10 06/10/10)(-static)
  Homepage:http://www.gentoo.org/
  Description: small and fast portage helper tools written in C
 
 
 As you can see on host-A there is a tbz2 flag but on host-B there is not 
 (portage-utils is just one example there are a lot more).
 I have probably missed something easy, but I can not figure out how to enable 
 this flag on host-B.
 
 Suggestions?

Difference c) is causing this. Eix shows for which package there is a binary
package stored as tbz2 archive.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Problem emerging bluefish

2010-06-02 Thread Daniel Pielmeier
 but got the same error. I haven't come across this problem before, and
 Google and Bugzilla don't help. I had run emerge -e world only last
 night.

 Anyone here have any clues?

Maybe you should try harder next time.

http://bugs.gentoo.org/321721

-- 
Daniel Pielmeier



Re: [gentoo-user] libdb no longer slotted?

2010-05-04 Thread Daniel Pielmeier
2010/5/4 Grant Edwards grant.b.edwa...@gmail.com:
 Is libdb no longer slotted?

This is bug #318367 [1]. It looks like the issue is already fixed in
the tree. So just sync your portage tree and the error should be gone.

[1] http://bugs.gentoo.org/318367

-- 
Daniel Pielmeier



Re: [gentoo-user] xorg-server/nvidia/x86-driver updated: No kbd, no mouse

2010-04-25 Thread Daniel Pielmeier
meino.cra...@gmx.de schrieb am 25.04.2010 14:25:
 
 Hi,
 
 I updated to the newest nvidia-drivers-195.36.24 and to xorg-1.80.
 Afterwards I etc-updated and recompiled the output of 
 qlist -I -C x11-drivers and did a modprobe -r.
 I rebooted. X11 starts with no problem but the keyboard
 and the mouse were not responding.
 
 The xorg logfiles says that there are no input-devices
 specified and that module dri and dri2 couldn't be found.
 A quick look at man xorg.conf says nothing about definitions
 of input devices.
 The previous versions has had no problems with my xorg.conf,
 so something added with the latest update may have killed
 the functionality...
 
 What did I wrong?
 
 Thank you very much in advance for any help in advance!

Afaik input devices are managed by udev instead of hal in xorg-1.8. There is an
upgrade guide [1] but I don't know if it is official and finished.

[1] 
http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-24 Thread Daniel Pielmeier
ubiquitous1980 schrieb am 24.04.2010 07:29:
 why has moving /etc/udev/rules.d/40-hplip.rules to
 /etc/udev/rules.d/71-hplip.rules and
 /etc/udev/rules.d/55-hpmud_support.rules to
 /etc/udev/rules.d/71-hpmud_support.rules changed the group from scanner
 to lp for file: /dev/bus/usb/005/005 and allowed my printer to work?

Look at my previous post where I explained this.
Also there should be no need to move /etc/udev/rules.d/55-hpmud_support.rules.

Can you please tell me which application are you using for scanning.

hp-scan included in the hplip package,
xane,
scanimage included in sane-backends or
xscanimage included in sane-frontends.

I would appreciate it if you could try is scanning fails with all of the above
applications if the rules files are not moved. Especially if it just fails with
the hp-scan program or also with the other applications not shipped by hplip.

Thanks in advance.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Maybe OT: Sync freq of LCDpanel != framerate of movie ?!?

2010-04-24 Thread Daniel Pielmeier
meino.cra...@gmx.de schrieb am 24.04.2010 18:28:
 Volker Armin Hemmann volkerar...@googlemail.com [10-04-24 17:56]:
 Oh - and the freqs of the current has nil influence at all.

 
 Sorry for not understanding -- English is not my mothers tongue --:
 The last sentence: of the current what?
 

I guess he is talking about electric current.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-23 Thread Daniel Pielmeier
2010/4/23 ubiquitous1980 nixuser1...@gmail.com:
 Daniel,

 Some additional info in the log file:

So your device uses the scanner group where mine uses the lp group.
From your log file I see you are in the scanner and the lp group, so
you should have the appropriate permissions to access the device.

Nevertheless can you post the the groups your user is in by entering
groups on the commandline

Also did you add your printer through the cups webinterface or hp-setup?

--
Daniel Pielmeier



Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-23 Thread Daniel Pielmeier
2010/4/23 ubiquitous1980 nixuser1...@gmail.com:
 Hello Daniel,

 I have tried both cups webinterface and hp-setup with the same results.
 My groups are as follows:

 adm disk lp wheel uucp audio cdrom dialout video games cdrw usb users
 haldaemon plugdev gdm ubiquitous1980 polkituser scanner

Hm I am out of ideas now. You can try a newer version of hplip maybe
this solves your issue.
There is also a forum post [1] where a user had a similar problem and
solved it by adding the lp user to the scanner group. See the last
comment of the thread.

[1] 
https://forums.gentoo.org/viewtopic-t-822795.html?sid=f4214ab346ef56e607623918801d5764

-- 
Daniel Pielmeier



Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-23 Thread Daniel Pielmeier
ubiquitous1980 schrieb am 24.04.2010 01:39:
 Some success!
 
 By changing the permissions by:
 
 chmod a=rw /dev/bus/usb/005/005 I get printing (Scanning still works
 also).  However simply adding the groups and rebooting does not. 
 Therefore, I am still completely at a loss.  Not pragmatic to have to
 set permissions on a moving target each boot.  Any ideas how to proceed
 from here?

Solving a permission problem by giving the device world write permission seems
not like proper solution. Please try if this problem also occurs with
net-print/hplip-3.10.2-r4.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-23 Thread Daniel Pielmeier
ubiquitous1980 schrieb am 24.04.2010 03:45:
 Hello everyone who has replied so far,
 
 I updated to net-print/hplip-3.10.2-r4 same fault occurs...ran hp-setup
 as root.  Perhaps it is time to escalate this as a bug?  Any opinion?

You already opened a bug here which I try to fix :)

What are the contents of /etc/udev/rules.d/. I guess among the files there are
70-libsane.rules and 40-hplip.rules or 55-hpmud.rules. If this is the case
rename 40-hplip.rules or 55-hpmud.rules by changing the number to 71. Restart
udev, killall udevd  /sbin/udevd --daemon should be sufficient. Afterwards
try if printing and scanning works.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-22 Thread Daniel Pielmeier
ubiquitous1980 schrieb am 22.04.2010 16:23:
 On 21/04/10 01:26, Daniel Pielmeier wrote:
 I do not own an all-in-one printer so I can not test, but if Paul's 
 suggestions
 do not work can you tell me the permissions of your device.

 lsusb
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 03f0:1712 Hewlett-Packard Printing Support
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 lsusb tells you to which bus the printer is attached. In my case it is Bus 
 001
 and Device 002 so I have the following device /dev/bus/usb/001/002

 ls -al /dev/bus/usb/001/002
 crw-rw-r-- 1 root lp 189, 1 20. Apr 19:05 /dev/bus/usb/001/002

 There should also be a /dev/usb/lp0

 ls -al /dev/usb/lp0
 crw-rw 1 root lp 180, 0 20. Apr 19:05 /dev/usb/lp0

 Do you have the same permissions or do they differ?

 The results for lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 006: ID 12d1:1465 Huawei Technologies Co., Ltd.
 Bus 002 Device 004: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 006 Device 002: ID 046d:c315 Logitech, Inc. Classic New Touch Keyboard
 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 003: ID 046d:c51a Logitech, Inc. MX Revolution/G7
 Cordless Mouse
 Bus 005 Device 004: ID 03f0:5811 Hewlett-Packard PhotoSmart C5100 series
 Bus 005 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 004: ID 0a5c:4502 Broadcom Corp.
 Bus 003 Device 005: ID 0a5c:4503 Broadcom Corp.
 Bus 003 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
 Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub
 (part of BCM2046 Bluetooth)
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
 Thanks for your response, and sorry for my delay.

Please also provide the following output I already requested above and check if
the permissions are the same.

ls -al /dev/bus/usb/005/004

ls -al /dev/usb/lp0

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-20 Thread Daniel Pielmeier
2010/4/19 ubiquitous1980 nixuser1...@gmail.com:
 Recompiled hplip for use with C5180 with new use flag: scanner.  Now
 scanning works, printing does not.  Recompiled with new-hpcups use flag.
 Still not working.  Output from cups web interface:
 /usr/libexec/cups/backend/hp failed

Is it connected via network or usb? Which hplip version? Which cups version?

-- 
Daniel Pielmeier



Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-20 Thread Daniel Pielmeier
Paul Hartman schrieb am 20.04.2010 17:03:
 On Tue, Apr 20, 2010 at 5:58 AM, ubiquitous1980 nixuser1...@gmail.com wrote:
 Hello Daniel

 The all-in-one printer is connected via USB.  The following versions are
 installed:

 net-print/hplip-3.9.12-r1
 net-print/cups-1.3.11-r1
 
 Try to blacklist  rmmod the usblp module. I had to do that for my HP
 USB printer to work. Whenever usblp module was loaded, printing
 failed... I don't know if it applies to your printer as well, but it's
 something easy to try. :)
 
 

I do not own an all-in-one printer so I can not test, but if Paul's suggestions
do not work can you tell me the permissions of your device.

lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 03f0:1712 Hewlett-Packard Printing Support
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsusb tells you to which bus the printer is attached. In my case it is Bus 001
and Device 002 so I have the following device /dev/bus/usb/001/002

ls -al /dev/bus/usb/001/002
crw-rw-r-- 1 root lp 189, 1 20. Apr 19:05 /dev/bus/usb/001/002

There should also be a /dev/usb/lp0

ls -al /dev/usb/lp0
crw-rw 1 root lp 180, 0 20. Apr 19:05 /dev/usb/lp0

Do you have the same permissions or do they differ?

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] net-im/emesene-1.5.1: No download source available.

2010-04-17 Thread Daniel Pielmeier
2010/4/17 ubiquitous1980 nixuser1...@gmail.com:
 Hey guys...no downloadable source for emesene from the sunrise overlay...
 Thought I would check first before I write a bug for bugzilla.

 Thanks

 ubiquitous1980

Go to http://sourceforge.net/ and you will find out.

-- 
Daniel Pielmeier



Re: [gentoo-user] broken files left and revdep-rebuild

2010-03-21 Thread Daniel Pielmeier
KH schrieb am 21.03.2010 20:15:
 Hi,
 
 I just ran revdep-rebuild -i -- --ask. At the end there was:
 
  * Found some broken files that weren't associated with known packages
  * The broken files are:
  *   /usr/bin/imgcmp
  *   /usr/bin/imginfo
  *   /usr/bin/jasper
  *   /usr/lib/libjasper-1.701.so.1.0.0
 
 
 Does somebody know where those files came from? I tend to remove them.
 Will this break the system?

media-libs/jasper?

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] CUPS and hp OfficeJet Pro

2010-03-19 Thread Daniel Pielmeier
Philip Webb schrieb am 19.03.2010 06:20:
 100318 Daniel Pielmeier wrote:
 hpcups
 Is the new printer driver which replaces the hpijs driver.
 hpijs
 See above.
 
 Well, I replaced 'hpijs' with 'hpcups'  my printer wouldn't work,
 so I restored 'hpijs'  dropped 'hpcups'  all was ok.
 It's an ancient Deskjet 500C with the b+w '500' driver.
 Installed versions: Cups-1.3.11-r1 Hplip-3.9.12-r1 (both stable).
 
 Any comments or helpful suggestions ?
 

As you sad it is a very old model and already reached End of support [1]
state. Hpcups is the new driver and I guess such old models are not supported by
the new driver. Just use the hpijs driver then. The hpijs driver wont disappear
from hplip in the near future.

[1] http://hplipopensource.com/hplip-web/models/deskjet/deskjet_500c.html

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] CUPS and hp OfficeJet Pro

2010-03-18 Thread Daniel Pielmeier
James schrieb am 18.03.2010 14:37:

 So I cannot find an explicit listing for this new model HP printer:
 OfficeJet Pro 8500; so I'm using this driver:
 HP OfficeJet Pro 1150C.

According to http://hplipopensource.com/hplip-web/supported_devices/index.html
your printer is supported sine hplip 3.9.2, so there should be a driver.

New versions of hplip do not install ppd files for every printer they support
anymore. The ppd file is generated at run time by using hp-setup.

 eix hplip
 * net-print/hplip
  Available versions:  2.8.6b ~3.9.8-r3 3.9.12-r1 ~3.10.2 {cupsddk dbus doc
 fax gtk +hpcups hpijs libnotify minimal -new-hpcups parport policykit ppds qt4
 scanner snmp static-ppds -udev-acl}

About the hplip use flags

 cupsddk

Not relevant as it has been removed in recent versions of hplip. With newer
versions of cups you wont need cupsddk as it has been integrated into cups.

 hpcups

Is the new printer driver which replaces the hpijs driver.

 hpijs

See above.

 new-hpcups

You don't need it.

 static-ppds

It seems for some printers the new method of creating the ppd file is not
available. So if you have problems with installing your printer by using
hp-setup you should try installing hplip with the static-ppds flag and try
hp-setup again.

 So hplip and cups work together? I thought is was one
 or the other?


 You use the hpcups flag and not the new-hpcups flag?

Hplip needs cups!

 I could not help but notice the avahi and zeroconf flags. I do not
 see them. Do I have to install mono-zeroconf and avahi to see those
 flags?

 Do you find them useful? What applications are using avahi/zeroconf ?

You don't need avahi or zeroconf for hplip, which does not work for current
versions of hplip due to bugs in cups anyway. This is only needed if you have a
networked printer. You can still detect the printer without the mDNS
(avahi,zeroconf) method through SLP. You should be able to select the detection
method at run time with hp-setup.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Kernel Error

2010-02-14 Thread Daniel Pielmeier
German Lopez Cortina schrieb am 14.02.2010 19:45:
 What can be this
 
 / bin / sh: lzma: command not found
 make [2]: *** [arch/x86/boot/compressed/vmlinux.bin.lzma] Error 1
 make [1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
 make: *** [bzImage] Error 2
 
 

You have lzma compression enabled for your kernel image but you don't have
app-arch/xz-utils or app-arch/lzma-utils installed.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Scheduled wakeup from suspend to ram

2010-01-10 Thread Daniel Pielmeier
Frank Steinmetzger schrieb am 10.01.2010 18:11:
 Hi Group
 
 one of the very last things I still need Win***s for is to wake me up in the 
 morning: I set up a task schedule to launch a playlist with Winamp. Do you 
 know of any way to let my laptop go on again automatically after I put it to 
 sleep in its RAM?
 
 In case it helps: I'm running 32 bit i686, version 2.6.30.
 
 TIA

You can use the real time clock to wake up from suspend to ram.

# Set alarm to 0
echo 0  /sys/class/rtc/rtc0/wakealarm
# Set new alarm time
date '+%s' -d '+5 minutes'  /sys/class/rtc/rtc0/wakealarm
# Suspend to ram
echo mem /sys/power/state

If you don't have /sys/class/rtc/rtc0/wakealarm you need to enable rtc
support in your kernel.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Blocks with xz-utils lzma-utils

2009-12-17 Thread Daniel Pielmeier
Dale schrieb am 17.12.2009 16:55:
 
 [blocks b ] kde-base/kde-meta:4.3[-kdeprefix]
 (kde-base/kde-meta:4.3[-kdeprefix] is blocking kde-base/kde-meta-)
 [blocks B ] app-arch/lzma-utils (app-arch/lzma-utils is blocking
 app-arch/xz-utils-)
 [blocks B ] app-arch/xz-utils (app-arch/xz-utils is blocking
 app-arch/lzma-utils-4.32.7)
 
 Total: 278 packages (17 upgrades, 19 new, 242 in new slots, 248
 uninstalls), Size of downloads: 240,422 kB
 Conflict: 511 blocks (2 unsatisfied)
 Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage/layman/kde
 
 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.
 
  ('ebuild', '/', 'app-arch/xz-utils-', 'merge') pulled in by
app-arch/xz-utils required by ('installed', '/',
 'app-arch/rpm2targz-9.0.0.3g', 'nomerge')
app-arch/xz-utils required by ('installed', '/',
 'sys-libs/gpm-1.20.5', 'nomerge')
app-arch/xz-utils required by ('installed', '/',
 'dev-libs/mpfr-2.4.1_p1', 'nomerge')
(and 10 more)
 
  ('ebuild', '/', 'app-arch/lzma-utils-4.32.7', 'merge') pulled in by
app-arch/lzma-utils required by ('installed', '/',
 'app-portage/eix-0.17.0', 'nomerge')
app-arch/lzma-utils required by ('installed', '/',
 'app-arch/libarchive-2.7.0-r1', 'nomerge')
 

You need at least eix-0.17.1 and libarchive-2.7.1. Older versions depend
on lzma-utils instead of xz-utils, thus the blocker.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] question about wireless setting

2009-12-01 Thread Daniel Pielmeier
2009/12/1 Willie Wong ww...@math.princeton.edu:
 On Tue, Dec 01, 2009 at 03:46:51PM +0900, Penguin Lover ?? squawked:
 I could see wireless driver when typed lspci.

 No you can't. You see the pci devices. You don't see drivers. You need
 a drive either emerged or compiled into your kernel before the device
 will function.


Afaik lspci -v shows the driver in use.

-- 
Daniel Pielmeier



Re: [gentoo-user] mplayer plugin

2009-11-22 Thread Daniel Pielmeier
Mick schrieb am 22.11.2009 14:48:
 http://www.amd.com/us-
 en/assets/content_type/DownloadableAssets/T64X2_animation.wmv
 

Works fine with gecko-mediaplayer and download-helper.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] mplayer plugin

2009-11-22 Thread Daniel Pielmeier
Mick schrieb am 22.11.2009 20:02:
 On Sunday 22 November 2009 17:27:26 Daniel Pielmeier wrote:
 Mick schrieb am 22.11.2009 14:48:
 http://www.amd.com/us-
 en/assets/content_type/DownloadableAssets/T64X2_animation.wmv
 Works fine with gecko-mediaplayer and download-helper.
 
 Yes, thank you.  I've installed it now and it looks neat.
 
 Any luck with Apple Trailers?  It doesn't ask me where to save the download.

I am not able to play the Apple Trailers by clicking at the link to the
movie (maybe a problem with the java script popup). When I open the link
in a new window I can watch/download with gecko-mediaplayer like normal.
Download-helper seems to have problems though.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Reading a DVD as an ISO image

2009-11-17 Thread Daniel Pielmeier
2009/11/17 José Romildo Malaquias j.romi...@gmail.com:
 With both commands, the resulting image is 99.9% identical to the
 original one.

 Is there anything I can do to get an image identical to the original one?

What about mounting the iso and create it again from the mountpoint.

-- 
Daniel Pielmeier



Re: [gentoo-user] Reading a DVD as an ISO image

2009-11-17 Thread Daniel Pielmeier
2009/11/17 Sebastian Beßler webmas...@darkmetatron.de:
 What about mounting the iso and create it again from the mountpoint.

 That he has deleted the iso?

Well, he then can create the iso again from the mounted DVD, without
readcd or dd, but with the same program (mkisofs?) he used before.

-- 
Daniel Pielmeier



equery depends vs. emerge -pv --depclean atom (was: Re: [gentoo-user] MySql versus sqlite. Don't want sqlite anymore.)

2009-11-17 Thread Daniel Pielmeier
Dale schrieb am 17.11.2009 22:53:

 r...@smoker / # equery depends sqlite
 [ Searching for packages depending on sqlite... ]
 app-pda/libopensync-0.22 (=dev-db/sqlite-3)

If you have this package installed and want to keep it you are forced to
keep sqlite as it is a hard dependency. Meaning this package needs
sqlite and there is no alternative.

 app-portage/eix-0.17.0 (sqlite? =dev-db/sqlite-3)

Here sqlite is optional via use flag. So you can get rid of the
dependency it by disabling the use flag.

 Those appear to be in the ebuild and MySql is not a option for
 replacement.  Is there a way?  I have already emerged these with the
 -sqlite and +mysql USE flag.  I notice something about sqlite3 in one of
 the ebuilds.  What is that?

The main reason why I respond to this post is that there are still a lot
of people which are using equery depends, although it is known to
print false positive by not taking use flags into account. You have to
scan through the output and check if the use flag is activated which
pulls in the package you want to check. Like for eix in the above
example. Eix only depends on sqlite if the sqlite use flag is activated.
Equery depends lists it in any case (activated or not) as it doesn't
take the use flags into account.

A more convenient way to find out the correct reverse dependencies with
portage is emerge -pv --depclean atom[1]. Running only emerge -pv
--depclean checks the complete world and system set, but if you pass a
package to it only the reverse dependencies of the package in question
are examined.

[1] http://www.gentoo.org/proj/en/portage/doc/faq.xml

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] openwatcom ebuild question

2009-11-15 Thread Daniel Pielmeier
David Relson schrieb am 15.11.2009 05:07:
 
 Daniel,
 
 A detail I meant to include in my original posting is that I'm
 attempting the build on (and for) a 32 bit machine.  So distcc _is_
 the problem.

 The lack of 64-bit buildability for openwatcom is a whole 'nother
 subject and I'm in communication with the developer about it.
 
 Regards,
 
 David
 
 

Everything correct. I was just confused as there were two problems
distcc on one hand and the 64bit problem in the other hand.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] openwatcom ebuild question

2009-11-14 Thread Daniel Pielmeier
David Relson schrieb am 14.11.2009 21:33:
 As background, http://bugs.gentoo.org/show_bug.cgi?id=233097 has an
 experimental, unsupported ebuild for openwatcom-1.7.1 and it doesn't
 quite work :-
 
 The ebuild's src_compile function is:
 
 src_compile() {
 ./build.sh || die build.sh failed
 }
 
 When I run emerge =dev-lang/openwatcom-1.7.1, the build fails with
 
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:
 i386:x86-64 architecture of input file `bootstrp/clibext.o' is
 incompatible with i386 output distcc[16016] ERROR: compile (null)
 on localhost failed
 
 The full output of the emerge command is in the attached file.
 
 Alternatively, I can manually unpack and build with commands:
 
 ebuild =dev-lang/openwatcom-1.7.1.ebuild unpack
 cd /var/tmp/dev-lang/openwatcom-1.7.1/work
 ./build.sh
 
 With the steps performed manually, the compilation works properly.
 
 Anybody familiar with the i386:x86-64 ... incompatible ... i386
 message and know what it means?
 
 Any suggestions on ebuild changes to correct this behavior?
 
 Thanks !
 
 David

Do you use distcc? Try if the ebuild works with temporary disabling
distcc. If distcc is to blame, fixing wont be that easy. You have to
examine build.sh and fix it in order to work with distcc.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] openwatcom ebuild question

2009-11-14 Thread Daniel Pielmeier
David Relson schrieb am 14.11.2009 21:33:
 As background, http://bugs.gentoo.org/show_bug.cgi?id=233097 has an
 experimental, unsupported ebuild for openwatcom-1.7.1 and it doesn't
 quite work :-
 
 The ebuild's src_compile function is:
 
 src_compile() {
 ./build.sh || die build.sh failed
 }
 
 When I run emerge =dev-lang/openwatcom-1.7.1, the build fails with
 
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:
 i386:x86-64 architecture of input file `bootstrp/clibext.o' is
 incompatible with i386 output distcc[16016] ERROR: compile (null)
 on localhost failed
 
 The full output of the emerge command is in the attached file.
 
 Alternatively, I can manually unpack and build with commands:
 
 ebuild =dev-lang/openwatcom-1.7.1.ebuild unpack
 cd /var/tmp/dev-lang/openwatcom-1.7.1/work
 ./build.sh
 
 With the steps performed manually, the compilation works properly.
 
 Anybody familiar with the i386:x86-64 ... incompatible ... i386
 message and know what it means?
 
 Any suggestions on ebuild changes to correct this behavior?
 
 Thanks !
 
 David

Okay, this is not a distcc problem.

From looking at the bug. Do you really think by just tricking the
architecture check to accept x86_64 will make it magically compile. You
can't be serious! This software does not build on x86_64 at the moment.
If you don't have the appropriate programming skills to fix this
yourself you have to wait for the openwatcom developers to make it
x86_64 ready.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] udev problem during boot

2009-11-13 Thread Daniel Pielmeier
Francisco Ares schrieb am 13.11.2009 23:19:
 Hi
 
 After a lot of updates without rebooting (I`ve been keeping my computer on
 during several weeks), now it can`t boot anymore. Thanks to the LiveDVD I`m
 able to try somethings, including a emerge --sync and a emerge -vuDN
 world, followed up by a etc-update and a revdep-rebuild - nothing
 strange and no results.
 
 The error message is like this (I had to copy it by hand, sorry for any
 typo):
 
 *Press I to enter interactive mod
  * Mounting proc at /proc ... [ok]
  *** Skipping mount of /sys as /sys/kernel exists
 ** *** Mounting /dev ...  [ok]
 ** * Starting udevd ... [ok]
 **
 ** * Populating /dev with existing devices through uevents ...  [ok]
 **
 ** * Assuming udev failed somewhere, as /dev/zero does not exist  **
 ** * Mounting devpts at /dev/pts ...[ok]
 **
 ** * Caching service dependencies ...   **
 [ok]**
 Can't open /dev/fb0 or /dev/fb/0
 failed to configure resolution and icon positioning
 Failed to load theme 'livecd-2007.0'
 ** * Checking root filesystem ...
 Failed to open the device '/dev/sda9': No such file or directory
 
 
 ** * Filesystem couldn't be fixed :(
 Give root password for maintenance
 (or type Control-D to continue):
 ** ** **
 *Giving root password and listing the contents of the '/dev' directory,
 there are very few entries, none for my disk partitions, for example.
 
 I`ve already re-emerged udev, baselayout, and even built a new kernel -
 currently using 2.6.27-r7 and tried 2.6.30-r8 (I guess there`s nothing to do
 with the kernel, but I've built it just in case)
 
 Most probably I missed some messages during the ebuilds of the updates I've
 been applying.
 
 Any ideas on where to look for?
 
 Thanks a lot!
 Francisco

I guess this is baselayout-1. Please take a look at bug #291916 [1]

[1] http://bugs.gentoo.org/291916

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Layman and eix-sync

2009-11-12 Thread Daniel Pielmeier
2009/11/12 Dale rdalek1...@gmail.com:

 I'm wondering if something is set differently here.  After running eix-sync,
 there were updates from the layman part.  I got lines like this:

 Fetching (15 of 16) kde-base/konq-plugins-3.5.10 from kde-sunset
 Fetching (16 of 16) kde-base/kdeaddons-meta-3.5.10 from kde-sunset

 But also some like this:

 Fetching (3 of 16) media-libs/libsdl-1.2.13-r1
 Fetching (5 of 16) sci-calculators/kconvert-1.1-r1

 I haven't changed any configs for layman except to add that one line to
 make.conf that tells it where where the source is.  This is odd.


You can edit /etc/eix-sync.conf to sync layman overlays with eix-sync.
I think adding a line with * there should be enough, but look up the
eix man page to be sure.

This way eix-sync does the following emerge --sync  layman -S  eix-update.

-- 
Daniel Pielmeier



Re: [gentoo-user] update problems after profile update

2009-11-10 Thread Daniel Pielmeier
2009/11/10 Arnau Bria ar...@emergetux.net:
 my first update attempt after syncing...

 # emerge -uDvpt world

 !!! Your current profile is deprecated and not supported anymore.
 !!! Please upgrade to the following profile if possible:
        default/linux/x86/10.0/desktop

 To upgrade do the following steps:
 # Check 'eselect profile list'.
 # Find the number that corresponds with the default/linux/x86/10.0 profile.
 # Use 'eselect profile set number' to set a new /etc/make.profile symlink.
 #
 # Reference: http://www.gentoo.org/doc/en/gentoo-upgrading.xml
 # See: General instructions in Section 3. Profile updating instructions

 

 # eselect profile list
 Available profile symlink targets:
  [1]   default/linux/x86/10.0 *
  [2]   default/linux/x86/10.0/desktop
  [3]   default/linux/x86/10.0/developer
  [4]   default/linux/x86/10.0/server
  [5]   hardened/linux/x86/10.0
  [6]   selinux/2007.0/x86
  [7]   selinux/2007.0/x86/hardened
  [8]   selinux/v2refpolicy/x86
  [9]   selinux/v2refpolicy/x86/desktop
  [10]  selinux/v2refpolicy/x86/developer
  [11]  selinux/v2refpolicy/x86/hardened
  [12]  selinux/v2refpolicy/x86/server

 I ws on 2 and now at 1.

 Maybe I am misreading something here.
 Maybe I've not expressed my problem propertly :-(


Do you remember which profile you have used before. I am asking
because maybe it was the 2007 or 2008 profile which was depreciated
and portage somehow switched to the 10.0 profile but not the desktop
profile you had before. This caused some confusion when looking at
eselect profiles list, as it lead to the impression the 10.0 profile
got depreciated which is not the case. Try setting your profile to the
10.0/desktop profile and then again try to update world.

-- 
Daniel Pielmeier



Re: [gentoo-user] update problems after profile update

2009-11-10 Thread Daniel Pielmeier
2009/11/10 Arnau Bria ar...@emergetux.net:
 On Tue, 10 Nov 2009 12:10:08 +0100
 Daniel Pielmeier wrote:

 [...]
 Do you remember which profile you have used before.
 nop :-( sorry.
 when did the profile changed? cause my last update was 15/21 days ago...


The profile is never changed when running updates, the user has to
change it by using eselect or updating the make.profile symlink by
hand. There is a bug [1] open about a profile change without user
interaction. It seems something like this is only possible if there is
an ebuild which changes the profile, but imho this should not happen.

[1] http://bugs.gentoo.org/show_bug.cgi?id=292612

-- 
Daniel Pielmeier



Re: [gentoo-user] Sun JDK 1.6.0.17 is build only

2009-11-10 Thread Daniel Pielmeier
Manuel Fiorelli schrieb am 10.11.2009 19:18:
 Hello list,
 I have installed the SUN JDK 1.6.0.17 but now it seems to be build only.
 
 snip
 localhost ~ # java-config -L
 The following VMs are available for generation-2:
 1)Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
 *)Sun JDK 1.6.0.17 [sun-jdk-1.6]

I don't see a Build-Only flag for the VMs which are available. So what
is the problem here?

If there are Build Only VM's the output would look like this:

# java-config --list-available-vms
The following VMs are available for generation-2:
1)  Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] (Build Only)
2)  Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2] (Build Only)
3)  IcedTea6-bin 1.4.1 [icedtea6-bin]
4)  Sun JDK 1.5.0.20 [sun-jdk-1.5] (Build Only)
*)  Sun JDK 1.6.0.16 [sun-jdk-1.6]


 VMs marked as Build Only may contain Security Vulnerabilities and/or be EOL.
 Gentoo recommends not setting these VMs as either your System or User VM.
 Please see http://www.gentoo.org/doc/en/java.xml#build-only for more 
 information
 /snip

Did you read chapter 4 from the link above?

 I tried to downgrade to SUN JDK 1.6.0.15 but the problem persists.
 
 Manuel Fiorelli
 
 

-- 
Daniel Pielmeier





signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] ipsec-tools-0.7.3 fails to build

2009-11-07 Thread Daniel Pielmeier
Mick schrieb am 07.11.2009 18:10:
 Like so:
 
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec   -
 D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc -
 I./src/include-glibc  -I./../../src/racoon/missing -D_GNU_SOURCE -include 
 ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -
 I../../src/include-glibc -DSYSCONFDIR=\/etc\ -
 DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer -
 msse -mmmx -pipe  -Wall  -Wno-unused -MT session.o -MD -MP -MF 
 .deps/session.Tpo -c -o session.o session.c
 mv -f .deps/session.Tpo .deps/session.Po
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec   -
 D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc -
 I./src/include-glibc  -I./../../src/racoon/missing -D_GNU_SOURCE -include 
 ../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc -
 I../../src/include-glibc -DSYSCONFDIR=\/etc\ -
 DADMINPORTDIR=\/var/lib/racoon\ -O2 -march=pentium3 -fomit-frame-pointer -
 msse -mmmx -pipe  -Wall  -Wno-unused -MT isakmp.o -MD -MP -MF 
 .deps/isakmp.Tpo 
 -c -o isakmp.o isakmp.c
 In file included from ../../src/include-
 glibc/linux/byteorder/little_endian.h:12,
  from /usr/include/asm/byteorder.h:79,
  from ../../src/include-glibc/linux/ip.h:20,
  from isakmp.c:115:
 ../../src/include-glibc/linux/swab.h:6:22: error: asm/swab.h: No such file or 
 directory
 make[4]: *** [isakmp.o] Error 1
 make[4]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-
 tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon'
 make[3]: *** [all] Error 2
 make[3]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-
 tools-0.7.3/work/ipsec-tools-0.7.3/src/racoon'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-
 tools-0.7.3/work/ipsec-tools-0.7.3/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/var/tmp/portage/net-firewall/ipsec-
 tools-0.7.3/work/ipsec-tools-0.7.3'
 make: *** [all] Error 2
  * 
  * ERROR: net-firewall/ipsec-tools-0.7.3 failed.
  * Call stack:
  *   ebuild.sh, line   49:  Called src_compile
  * environment, line 4014:  Called die
  * The specific snippet of code:
  *   emake -j1 || die
  *  The die message:
  *   (no error message)
 
 Has anyone managed to build it?

Take a look at this bug: http://bugs.gentoo.org/264233

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] emerge --depclean does not remove due to link level dependencies

2009-11-04 Thread Daniel Pielmeier
2009/11/4 Alex Schuster wo...@wonkology.org:
 Hi there!

 Again, this is just something I am curious about, not a real problem.
 emerge -p --depclean gives me this output:

 [...]
 Calculating dependencies... done!
 Checking for lib consumers...
 Assigning files to packages...
  * In order to avoid breakage of link level dependencies, one or more
  * packages will not be removed. This can be solved by rebuilding the
  * packages that pulled them in.
  *
  *   dev-libs/elfutils-0.131-r2 pulled in by:
  *     dev-util/ddd-3.3.12-r1 needs libelf.so.1

Newer versions of portage print this message if a package is about to
be removed because there is no ebuild dependency from all other
installed packages, but it is still needed because other packages link
to it automagically. This seems to be the case here, ddd automagically
links to elfutils depending on whether it is available or not, instead
of being controlled by the ebuild via use flag. So ddd links against
elfutils and portage does not know about it. In this case the
suggestion of rebuilding the packages does not work.

With older portage versions elfutils is removed and the dependency is
ignored. Revdep-rebuild will complain about ddd linking against
elfutils which is not available anymore and then rebuild ddd which
will result in ddd not linking against elfutils anymore.

 [...]
 And some more of that involving media-libs/libcddb-1.3.2, media-
 sound/esound-0.2.41, sys-libs/db-4.5.20_p2-r1 and sys-libs/db-4.6.21_p4.

 Okay, ddd needs libelf.so.1, provided by elfutils. Still the same when I
 rebuild ddd. So, why does this output appear at all? ddd needs
 libelf.so.1, this is in elfutils, so of course elfutils is needed just
 like any other package.

 Oh, wait I think I got it. emerge -pe ddd dos NOT list elfutils. So is
 this a bug in the ddd ebuild, not having elfutils as a dependency? And the
 same would be true for the other packages? Should I file some bugs?

 H. Now I got it. ddd does indeed not need elfutils. But it uses it
 when it is available. After removing elfutils, ddd still builds. Starting
 the ddd configure script in by hand with the --help option does not show
 options like --without-elf, so it's not the ebuild's fault that ddd makes
 use of the libelf library when it is available.


[snip]

 Should some bugs be filed? And if so, should they go:
 - To the ebuild maintainers? But they probably cannot do much about it,
 apart from patching the package's autoconf stuff.
 - To upstream? Well, would they consider this this a bug at all, or a mere
 problem with Gentoo's special build system, that wants to know all the
 dependencies?

If ddd really links automagically against elfutils, you should file a
Gentoo bug about ddd which needs it's autotools fixed. To save the
Gentoo developers some time you can also file an upstream bug and add
a reference to it in the Gentoo bug report. If upstream cares about
automagic dependencies is another story, in Gentoo it is considered a
bug.

-- 
Daniel Pielmeier



Re: [gentoo-user] alternatives to 2008.0 live-install CD

2009-06-02 Thread Daniel Pielmeier
2009/6/2 Maxim Wexler maxim.wex...@gmail.com:
 I'm looking at it now. Why? There's nothing new there unless it's some
 link I haven't clicked yet.


Okay?

from http://www.gentoo.org/main/en/where.xml:

1.  Release Information

Descriptions, release notes, roadmaps, sub-projects and a list of the
Gentoo Developers who work on the Gentoo release media can all be
found on our Release Engineering Project page.

Please consult our Gentoo Handbooks for more information on what to
download and how to install Gentoo.

Downloading Gentoo Linux

Gentoo Linux is available free over the Internet. You can download
Gentoo Linux from the appropriate iso and architecture link below or,
if you prefer BitTorrent, you may see a list of available torrents at
torrents.gentoo.org.

Gentoo Minimal Install CD and Stages

Our Release Engineering team provides minimal install CDs and stages
on a weekly basis. You can find these releases on any of our mirrors
in /releases/arch/current/. Not every architecture is updated on the
same day.

Since these releases are built automatically by Release Engineering
servers, there is some chance that a stage or CD may not be produced
for a given week. When this happens, just use the latest CD and stage
available. More releases are available on our mirrors in
/releases/arch/autobuilds/. Use this directory if there isn't
anything recent enough in current/.

_alpha amd64 hppa ia64 ppc sparc x86_ --- Here are the links
for the latest autobuilds and stages! I guess this is what you want!?

If you prefer to select a local mirror yourself, they are listed at
www.gentoo.org/main/en/mirrors.xml.

Please consult our Gentoo Handbooks for more information on what to
download and how to install Gentoo.



-- 
Daniel Pielmeier



Re: [gentoo-user] alternatives to 2008.0 live-install CD

2009-06-01 Thread Daniel Pielmeier
Maxim Wexler schrieb am 01.06.2009 18:45:
 Err, click on an link and the ISO downloads, it's not difficult at all.

 http://ftp.heanet.ie/pub/gentoo/releases/x86/autobuilds/20090526/install-x86-minimal-20090526.iso
 
 be nice if gentoo.org - get gentoo lead to the new stuff.
 
 mw
 
 

Did you take a look at the page[1]?

[1] http://www.gentoo.org/main/en/where.xml

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Cleaning up world

2009-05-19 Thread Daniel Pielmeier
fe...@crowfix.com schrieb am 19.05.2009 20:25:
 On Tue, May 19, 2009 at 07:55:23PM +0200, Volker Armin Hemmann wrote:
 
 Oh, and why that --pretend and feed into emerge' crap? Just do -a and world 
 will not be bloated at all.
 
 Because I don't always want it to upgrade everything it wants to. 
 

Another quick thing would be copying the world file to a temporary
location and run regenworld. The created world file is not minimal but
in your case if you have still a few hundred entries in world the world
will be cut down a bit.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] portage bug?

2009-05-17 Thread Daniel Pielmeier
Daniel Iliev schrieb am 18.05.2009 00:16:
 Hi,
 
 
 Would anybody, please, confirm the following behavior before I file a
 report with B.G.O?
 
 
  % emerge -C dev-perl/yaml
 
  % emerge --depclean -p
 
 [-snip-]
 
 Calculating dependencies... done!
  * Dependencies could not be completely resolved due to
  * the following required packages not being installed:
  *
  *   dev-perl/yaml pulled in by:
  * perl-core/Module-Build-0.28.08
  *
  * Have you forgotten to run `emerge --update --newuse --deep world`
prior
  * to depclean? It may be necessary to manually uninstall packages that
no longer
  * exist in the portage tree since it may not be possible to satisfy
their
  * dependencies.  Also, be aware of the --with-bdeps option that is
documented
  * in `man emerge`.
 
 
 
 
  % emerge --update --newuse --deep world
 Calculating dependencies... done!
 Auto-cleaning packages...
 
 No outdated packages were found on your system.
 
 

What is the problem with this behavior. You unmerge yaml but it is
needed by Module-Build. What do you expect --depclean to do? If you run
emerge --update --newuse --deep world yaml would be pulled in again as
it is needed by Module-Build. --depclean only removes packages that have
now reverse dependencies which is not the case here.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] portage bug?

2009-05-17 Thread Daniel Pielmeier
Jason Weisberger schrieb am 18.05.2009 00:30:
 From what I see, update newuse deep world is NOT pulling it back in.  That's
 the bug.

Okay i should read more carefully. Tried the --with-bdeps option?


-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] CVS ebuild not working: Connection refused

2009-05-08 Thread Daniel Pielmeier
2009/5/8 Grant emailgr...@gmail.com:
 The dvda-author-cvs ebuild here:

 http://gentoo.zugaina.org/portage/media-sound/dvda-author-cvs/dvda-author-cvs-0.1.ebuild

 gives me this:

 * Running  cvs -q -f -z1 -d
 :pserver:anonymous:@cvs.sourceforge.net:/cvsroot/dvd-audio login
 Logging in to :pserver:anonym...@cvs.sourceforge.net:2401/cvsroot/dvd-audio
 cvs [login aborted]: connect to
 cvs.sourceforge.net(216.34.181.96):2401 failed: Connection refused

 Does it look like there may be an easy way to modify the ebuild to fix this?

Try dvd-audio.cvs.sourceforge.net:/cvsroot/dvd-audio for the
ECVS_SERVER variable.

-- 
Daniel Pielmeier



Re: [gentoo-user] emerge fetch grabs wrong file!?

2009-05-07 Thread Daniel Pielmeier
maxim wexler schrieb am 07.05.2009 18:59:
 Hi group,
 
 Will somebody please explain this:
 
 kyzyl heathen # emerge -afv klibc
 These are the packages that would be fetched, in order:
 Calculating dependencies... done!
 [ebuild  N] dev-libs/klibc-1.5.12-r1  USE=-debug (-n32) 48,765 kB
 Total: 1 package (1 new), Size of downloads: 48,765 kB
 Would you like to fetch the source files for these packages? [Yes/No] yes
 
 Fetching (1 of 1) dev-libs/klibc-1.5.12-r1
 Downloading 'http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2'
 --10:47:13--  http://distfiles.gentoo.org/distfiles/linux-2.6.26.tar.bz2
= `/usr/portage/distfiles/linux-2.6.26.tar.bz2'
 ...
 
 Whatever portage is fetching is turning into something I didn't order. I 
 checked in distfiles and sure enough, there's no klibc* but a growing 
 linux-2.6.26.tar.bz2. Weird.

Well you did not order it but the ebuild. klibc needs this version of
the linux kernel.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] conflict in update

2009-04-26 Thread Daniel Pielmeier
Sebastian Günther schrieb am 26.04.2009 19:55:
 * Alan McKinnon (alan.mckin...@gmail.com) [26.04.09 18:49]:
 It should be easy enough to write a program that examines world and displays 
 all packages it finds that are dependencies of something else in world, but 
 I 
 haven't found one, and prefer the manual approach above.

 
 
 #!/bin/bash
 for i in $( cat /var/lib/portage/world ); do 
 equery d $i; 
 done
 
 Slow, ugly, but does the job
 
 Sebastian
 

Afaik equery does not give the correct output.

Use emerge -pv --depclean on every entry in the world file.

This may however report false positives when packages are involved that
have post dependencies. Happens here with slim,mozilla-thunderbird and
audacious-plugins for instance.

I have attached a small perl script that examines all world entries. It
will take some time for your large world file but give some hints on
unneeded packages.

-- 
Daniel Pielmeier
#!/usr/bin/perl
#
#
#

use strict;
use diagnostics;
use warnings;

my ($package,$status,$line) = ();
my @depclean = ();
my $world = /var/lib/portage/world;

print Examining: $world\n\n;

open(WORLD,$world) || die(world: $!);

foreach $package (WORLD) {
chomp $package;
@depclean = qx(emerge -pv --depclean $package);
foreach $line ( @depclean ) {
if ( $line =~  These are the packages that would be 
unmerged: ) {
$status = needed;
write;
} elsif ( $line =~  No packages selected for removal by 
depclean ) {
$status = unneeded;
write;
}
}
}

format STDOUT_TOP =
Atom:Status: (required in world)
.

format STDOUT =
@ @
$package, $status
.


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] can't find ralink driver in 2.6.28-gentoo-r4 kernel

2009-04-26 Thread Daniel Pielmeier
maxim wexler schrieb am 27.04.2009 00:09:
 
 Hi group,
 
 For a #make menuconfig on the 2.6.28-gentoo-r4 sources trying to uncover the 
 ralink driver.
 
 When I type /rt2x00 I'm told it's defined in 
 drivers/net/wireless/rt2x00/Kconfig:1 and can be found by following the path:
 
 device drivers - net device support - wireless lan
 
 I didn't see it there. Anybody else have this problem? Is it named something 
 else?
 
 According to serialmonkey the add-on driver is no longer maintained. And the 
 one that comes with portage never worked for me.
 
 Maxim

Take a look in the Depends on line of the item you have identified as
the driver in the /rt2x00 search output. Maybe something is not enabled
that is needed for the driver to show up.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] denyhosts shows crashed status in rc-status, but seems to work fine

2009-04-21 Thread Daniel Pielmeier
2009/4/20 Paul Hartman paul.hartman+gen...@gmail.com:
 Does any RC expert know why denyhosts is showing Crashed status
 despite the fact that it seems to be running and operating normally?
 Is anyone else running denyhosts and has this same symptom?

 Thanks,
 Paul



I guess you are on baselayout and openrc. This is a problem with the
init script see bug 244700 [1]. Some init scripts do not work properly
with openrc as a few things have changed.

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

-- 
Regards,
Daniel



Re: [gentoo-user] dependencies tool

2009-04-14 Thread Daniel Pielmeier
2009/4/14 Jacques Montier jacques.mont...@numericable.fr:

 As udept seems no longer maintened (hard masked), do you know a good
 dependencies (and reverse) command line package tool  ?

emerge --depclean --pretend --verbose [atom] [1]

[1] http://www.gentoo.org/proj/en/portage/doc/faq.xml

-- 
Regards,
Daniel



Re: [gentoo-user] Moving Seamonkey email directory.

2009-04-09 Thread Daniel Pielmeier
2009/4/8 Dale rdalek1...@gmail.com:
 On another thread I had trouble with Seamonkey crashing on certain
 websites.  After some other people said it worked for them and some
 testing on my end, we figured out it was a bad file somewhere in
 ~/.mozilla.  I need to transfer my emails to the new clean .mozilla
 directory.  This is what I have done so far:

 1: move .mozilla to another directory using cp -av  I moved it to my
 data directory.
 2: delete ~/.mozilla
 3: open Seamonkey and let it recreate the new .mozilla directory.
 4: close Seamonkey
 5: copy the old Mail directory to the new ~/.mozilla directory.  I made
 sure it went to the right place too.  You know, in the default then some
 weird number thing.
 6: open Seamonkey and see if the mail is there.  It's not.

 I did check to make sure the permissions were correct.  I feel like
 there may be another file or something that I need to copy but am missing.

 Is there a how to for this?  Has someone did this recently successfully
 and like to share how they did it?  Could I just delete everything but
 the Mail directory and that work?

This should work but you need to set up your mail account(s) again as
the account settings itself are not stored in the maildir. But I guess
you have done this already as seamonkey should remind you about
creating a new account if it is started without an existing profile.

-- 
Regards,
Daniel



Re: [gentoo-user] Re: [off-topic] RPM binary on Gentoo

2009-04-06 Thread Daniel Pielmeier
2009/4/6 Neil Bothwick n...@digimed.co.uk:
 On Mon, 06 Apr 2009 14:41:43 +0300, Nikos Chantziaras wrote:

 If you're familiar with ebuilds, you can write one that does all this
 so you can do emerge packageXXX to install it.

 And there's an rpm.eclass to do some of the work for you.

If you also have access to the source rpm, you can create an ebuild
with the help of the above mentioned eclass which just takes care of
the proper unpacking of the rpm source. You will find some information
here [1] or directly in the eclass which is located in your portage
tree in the eclass directory.

[1] 
http://devmanual.gentoo.org/ebuild-writing/functions/src_unpack/rpm-sources/index.html

-- 
Regards,
Daniel



Re: [gentoo-user] verifying GCC version program was compiled with

2009-04-04 Thread Daniel Pielmeier
Joseph schrieb am 04.04.2009 22:48:
 Is there a way to verify GCC version program was compiled with?
 I just want to check if all the programs were compiled with latest GCC
 version as I'm getting an errors at time to time.

I don't think it is possible to get the compiler or it's version used
for a specific program. If you are upgrading the compiler it is
advisable to recompile the complete system so all programs are compiled
with the same compiler version. Take a look at the gcc upgrading guide
[1] for the necessary steps you need to follow.

[1] http://www.gentoo.org/doc/en/gcc-upgrading.xml

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] verifying GCC version program was compiled with

2009-04-04 Thread Daniel Pielmeier
Alan McKinnon schrieb am 04.04.2009 23:55:
 On Saturday 04 April 2009 23:42:54 Daniel Pielmeier wrote:
 Joseph schrieb am 04.04.2009 22:48:
 Is there a way to verify GCC version program was compiled with?
 I just want to check if all the programs were compiled with latest GCC
 version as I'm getting an errors at time to time.
 I don't think it is possible to get the compiler or it's version used
 for a specific program. If you are upgrading the compiler it is
 advisable to recompile the complete system so all programs are compiled
 with the same compiler version. Take a look at the gcc upgrading guide
 [1] for the necessary steps you need to follow.

 [1] http://www.gentoo.org/doc/en/gcc-upgrading.xml
 
 This is complete nonsense advice. There is absolutely no need to rebuild the 
 entire system every time you upgrade compilers, and whoever told you that is 
 flat out wrong. If the gentoo docs told you that, then they are wrong, or 
 misplaced, or the person writing them is overcautious to the point of being 
 ridiculous. If this advice really was true, then a whole lot of stuff would 
 break all over the world:
 
 - every Windows box on the planet would need a complete reinstall whenever a 
 Windows Update happened (Yes, Microsoft does upgrade their compiler!)
 - third party apps would not run, as you have no way of knowing if Oracle's 
 compiler is the same as yours (and you don't even have a guarantee that 
 Oracle 
 uses gcc). My Oracle instance at work is working just fine and I know for a 
 fact the compilers used for it and SuSE are not even in the same version 
 series.
 - Compiling any package locally could not work on a binary distro. But they 
 do.
 
 There are *some* special cases where the gcc devs break stuff at an ABI level 
 between versions (usually related to C++ not to C). These are well known and 
 heavily documented - the toolchain devs make sure of this. 3.3 to 3.4 was 
 such 
 a case, there was another minor case early in the gcc-4 series. By no means 
 do 
 this mean that the fix for those cases must now be applied every time.
 

I must confess that I don't know if there is an ABI breakage between
4.1.2 and 4.3.2. So if there is none you may be fine without rebuilding
world.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] ebuild syntax question

2009-04-01 Thread Daniel Pielmeier
2009/4/1 Helmut Jarausch jarau...@igpm.rwth-aachen.de:
 Hi,

 dev-util/eclipse-sdk-3.4.1.ebuild from layman/java-overlay

 contains

 CDEPEND=.
         =dev-java/tomcat-servlet-api-5.5.25-r1:2.4

 What does that mean?
 I have
 dev-java/tomcat-servlet-api-6.0.18
 installed in the 2.5 slot.
 But portage wants to emerge  tomcat-servlet-api-5.5.27 which
 is masked by me (I have masked all  tomcat-servlet-api-6)
 Does the '=' apply to the version only or to the slot, as well?


Afaik this means any version greater or equal than 5.5.25-r1 which is
in the 2.4 slot of dev-java/tomcat-servlet-api satisfies the
dependency.

-- 
Regards,
Daniel



Re: [gentoo-user] Nmap 4.85BETA5 ebuild (Conficker scanning)

2009-03-31 Thread Daniel Pielmeier
2009/3/31 Stroller strol...@stellar.eclipse.co.uk:
 I tried copying nmap-4.76.ebuild (the latest in the Portage tree) to
 /usr/local/portage/net-analyzer/nmap/nmap-4.85_beta5.ebuild and added the
 MY_P=${P/_beta/BETA} line from
 http://bugs.gentoo.org/attachment.cgi?id=8748action=view but I still get
 File nmap-4.85_beta5.tar.bz2 doesn't exist when I try to create a
 manifest. I also tried using MY_P=${P/_beta/BETA/} in case it needed that
 extra slash, but no joy.

This replacement should do normally.

Did you try ebuild nmap-4.85_beta5.ebuild clean before ebuild
nmap-4.85_beta5.ebuild manifest

-- 
Regards,
Daniel



Re: [gentoo-user] Nmap 4.85BETA5 ebuild (Conficker scanning)

2009-03-31 Thread Daniel Pielmeier
2009/3/31 Stroller strol...@stellar.eclipse.co.uk:

 On 31 Mar 2009, at 09:47, Daniel Pielmeier wrote:

 2009/3/31 Stroller strol...@stellar.eclipse.co.uk:

 I tried copying nmap-4.76.ebuild (the latest in the Portage tree) to
 /usr/local/portage/net-analyzer/nmap/nmap-4.85_beta5.ebuild and added the
 MY_P=${P/_beta/BETA} line from
 http://bugs.gentoo.org/attachment.cgi?id=8748action=view but I still get
 File nmap-4.85_beta5.tar.bz2 doesn't exist when I try to create a
 manifest. I also tried using MY_P=${P/_beta/BETA/} in case it needed
 that
 extra slash, but no joy.

 This replacement should do normally.

 Did you try ebuild nmap-4.85_beta5.ebuild clean before ebuild
 nmap-4.85_beta5.ebuild manifest

 Nope. :(

 Output attached in case I'm missing something really stupid.

 Stroller.


Yes you need to adapt SRC_URI and you probably also need to set S to
the correct location.

MY_P=${P/_beta/BETA}
SRC_URI=http://www.insecure.org/nmap/dist/${MY_P}.tar.bz2;
S=${WORKDIR}/${MY_P}

-- 
Regards,
Daniel



Re: [gentoo-user] Same version in portage and overlay, how to mask?

2009-03-31 Thread Daniel Pielmeier
Alan McKinnon schrieb am 31.03.2009 21:37:
 If I have identically named packages with the *same* version number in the 
 portage tree and in an overlay, how do I mask the overlay version without 
 deleting the overlay?
 
 I have kde-testing enabled to get koffice:2, but some packages conflict with 
 portage, like kscreensaver:
 
 [I] kde-base/kscreensaver
  Available versions:
 (3.5)   3.5.9 (~)3.5.10
 (4.2)   (~)4.2.1 (~)4.2.1[1] [M](~)4.2.2[1]
 
 This one isn't too bad, but recently kdelibs did this and mixing overlay with 
 KDE is never a good idea. I can fiddle with PORTDIR_OVERLAY and 
 local/layman/make.conf but layman tends to undo my changes.
 
 So how can I mask just a specific ebuild from a specific overlay?
 

This is not possible with current portage. I think with paludis you can
mask packages based on repositories, don't know about pkgcore though.

You should be able to work around this by doing something like this in
/etc/make.conf

PORTDIR=/your/port/dir
PORTDIR_OVERLAY=/your/overlays $PORTDIR

This way portage prefers the the packages from the portage tree over
packages with equal versions in overlays.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] qt-4.4.3 won't install any files

2009-03-30 Thread Daniel Pielmeier
2009/3/30 Neil Bothwick n...@digimed.co.uk:
 On Mon, 30 Mar 2009 08:24:54 +0200, Alan McKinnon wrote:

 No. qt is now a meta package and exists only to have the qt split
 ebuilds as DEPENDencies, so it installs nothing. Unlike the kde split
 ebuilds, the devs decided not to call it qt-meta and promptly confused
 most of the KDE using community.

 I'd say that's a good thing, it saved having to change every ebuild
 depending on qt to depend on || (qt qt-meta) and is the same way the
 transition to split XOrg packages was handled. Te -meta addition to the
 KDE package names was a necessary kludge, because the split builds lived
 alongside the monolithic variants.

Calling it qt-meta instead of simply qt has nothing to do with this.
No ebuild should ever depend on the qt meta ebuild, instead it should
just depend on the needed parts that have been split up. So a
transition from the single qt dependency to the split up parts was
needed anyway and already took place. The only remaining reason for
the meta ebuild is that some people who want all of qt can simply
emerge the meta ebuild.

-- 
Regards,
Daniel



Re: [gentoo-user] qt-4.4.3 won't install any files

2009-03-30 Thread Daniel Pielmeier
2009/3/30 Neil Bothwick n...@digimed.co.uk:
 On Mon, 30 Mar 2009 10:38:48 +0200, Daniel Pielmeier wrote:

 Calling it qt-meta instead of simply qt has nothing to do with this.
 No ebuild should ever depend on the qt meta ebuild, instead it should
 just depend on the needed parts that have been split up. So a
 transition from the single qt dependency to the split up parts was
 needed anyway and already took place. The only remaining reason for
 the meta ebuild is that some people who want all of qt can simply
 emerge the meta ebuild.

 During the transition, there will be lots of packages depending on qt.
 Your argument becomes true when all previous qt:4 ebuilds vanish from the
 tree, and so do all ebuilds depending on them. Until then, the meta ebuild
 is required, as it was with XOrg.


Okay, let me try to make this more clear.

First some example dependencies for the switch from monolithic to
split qt which happened between qt-4.3 and qt-4.4:

monolithic phase:
DEPEND=x11-libs/qt:4

transition phase (monolithic and split qt coexist):
DEPEND=|| ( ( x11-libs/qt-gui x11-libs/qt-opengl ) =x11-libs/qt-4.3* )

split phase (only split qt left):
DEPEND=x11-libs/qt-gui x11-libs/qt-opengl

In the monolithic phase there was no meta ebuild and everything
depended on the monolithic qt ebuild. During the transition phase the
dependencies have been separated to make it possible to use either the
monolithic qt-4.3 or the split qt-4.4 without any ebuild depending
direct on the new qt-4.4 meta ebuild but just the split parts which
are needed by the application. After the removal of the monolithic
qt-4.3 ebuild which already happened the ebuilds need to depend on the
split parts only. So there should be no ebuild in the monolithic phase
and almost all ebuilds in the transition phase that will be slowly
converted to the split phase.

So as far as I see the new qt meta ebuild wasn't needed at any time.

-- 
Regards,
Daniel



Re: [gentoo-user] qt-4.4.3 won't install any files

2009-03-30 Thread Daniel Pielmeier
2009/3/30 Neil Bothwick n...@digimed.co.uk:
 On Mon, 30 Mar 2009 12:53:30 +0200, Daniel Pielmeier wrote:

 So as far as I see the new qt meta ebuild wasn't needed at any time.

 So every ebuild, in the tree and all overlays, was updated before the
 split ebuilds were introduced?


I don't know the exact progress but I think the split ebuilds were
introduced masked, then the dependencies have been adjusted
accordingly. After the transition was done the ebuilds have been
unmasked.

-- 
Regards,
Daniel



Re: [gentoo-user] a couple of baselayout2 problems

2009-03-30 Thread Daniel Pielmeier
2009/3/30 John covici cov...@ccs.covici.com:
 Hi.  Several months ago, during an update, I converted to baselayout2
 -- openrt, etc.  This has caused a couple of annoying problems.  When
 I shutdown the computer with shutdown -r now it does not completely
 shut down, the last message I get is init: no more processes at this
 run level.  How can I fix such a thing?

 The other problem is that once in a while a service dies -- named did
 this -- and it would not let me stop the service and when I tried to
 restart I got the message that the service was already started and it
 would not start.  How do I tell openrt or whomever that something has
 already stopped?

 Any assistance on these would be appreciated.

Did you follow the migration guide?

http://www.gentoo.org/doc/en/openrc-migration.xml

-- 
Regards,
Daniel



Re: [gentoo-user] qt-4.4.3 won't install any files

2009-03-30 Thread Daniel Pielmeier
2009/3/30 Neil Bothwick n...@digimed.co.uk:
 On Mon, 30 Mar 2009 14:17:00 +0200, Daniel Pielmeier wrote:

  So every ebuild, in the tree and all overlays, was updated before the
  split ebuilds were introduced?

 I don't know the exact progress but I think the split ebuilds were
 introduced masked, then the dependencies have been adjusted
 accordingly. After the transition was done the ebuilds have been
 unmasked.

 OK, so the meta ebuild is just a safety net for those running ebuilds not
 in the portage tree.


Probably, but even overlays should consider changing the dependencies
and use the advantage of the split ebuilds ;-)

-- 
Regards,
Daniel



Re: [gentoo-user] Upgrading GCC (just to be sure)...

2009-03-30 Thread Daniel Pielmeier
Jarry schrieb am 30.03.2009 19:56:
 Hi,
 
 today after syncing I found new version of GCC being available,
 emerge --pretend --update --deep --newuse world shows:
 
 [ebuild  NS   ] sys-devel/gcc-4.3.2-r3 [4.1.2] USE=...
 
 I found a Gentoo GCC Upgrade Guide, but it deals with GCC 3.x,
 or 3.x-4.x. Should I follow that guide when upgrading 4.x version
 of GCC too? In a summary, the upgrade guide recommends this way:
 
 # emerge -uav gcc
 # gcc-config x86_64-pc-linux-gnu-4.3.2-r3
 # env-update  source /etc/profile
 # emerge --oneshot -av libtool
 # emerge -eav system
 # emerge -eav world
 # emerge -aC =sys-devel/gcc-4.1.2
 
 I'm asking just to be sure, because I have such a bad feeling,
 that screwing up gcc upgrade might render my system unusable...
 
 Jarry
 
 

The recommendations in the section General Upgrade Instructions should
apply here.

Another thing probably worth to mention is that some big packages (xorg,
mono, firefox, etc) are about to go stable in the near future. So it is
maybe a good idea to upgrade this packages in one go with the gcc
upgrade to avoid needlessly double compilation.

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] ebuild syntax question

2009-03-26 Thread Daniel Pielmeier
2009/3/26 Helmut Jarausch jarau...@igpm.rwth-aachen.de:
 Hi,

 the  sci-libs/mathgl-1.8-r1.ebuild  contains
 DEPEND=${RDEPEND}
        doc? ( app-text/texi2html virtual/texi2dvi )
        python? ( dev-lang/swig[python] )
        octave? ( dev-lang/swig[octave] )

 What does dev-lang/swig[python] mean?
 Since  dev-lang/swig/swig-1.3.39 does not
 use the useflags 'python', etc, anymore,
 emerging sci-libs/mathgl tries to downgrade to
 swig-1.3.36 which gives conflict elsewhere.

 Do I really need to mask swig-1.3.36 or
 is sci-libs/mathgl-1.8-r1.ebuild too old?

 Many thanks for a hint.
 (Should I generate a bug report?)


IMHO this is one drawdack of EAPI 2 use dependencies. The ebuilds
needs a package with a particular use flag but some versions of said
package do not use this flag and portage gets in trouble. So this is
clearly a bug.

I am not sure but a fix would be something like this:
python? || ( =dev-lang/swig-1.3.39 dev-lang/swig-1.3.39[python] )

-- 
Regards,
Daniel



Re: [gentoo-user] linux boot logo in 2.6.29-gentoo sources

2009-03-25 Thread Daniel Pielmeier
Thanasis schrieb am 25.03.2009 21:50:
 Has anyone seen the boot logo in 2.6.29-gentoo sources?
 usr/src/linux/drivers/video/logo/logo_linux_vga16.ppm
 
 Why did they substitute the penguin with this ugly disguised mouse?
 

http://www.linuxjournal.com/content/tux-takes-tasmanian-vacation

Regards,

Daniel



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] gentoo on a usb stick

2009-03-24 Thread Daniel Pielmeier
maxim wexler schrieb am 24.03.2009 20:36:

 home/user wget -c 
 downloads.sourceforge.net/sytemrescuecd/systemrescuecd-x86-1.1.6.iso

sytem? ;-)



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] can't upgrade to latest pkg

2009-03-23 Thread Daniel Pielmeier
maxim wexler schrieb am 23.03.2009 17:08:
 I did eix-sync and upgraded portage but when I try to upgrade gentoo-sources 
 portage wants to get v2.6.27 and for tuxonice-sources it goes for v2.6.24.
 
 How do I tell portage to get the latest packages?

These are the latest stable versions. If you want testing versions you
need to put the into /etc/portage/package.keywords [1].

[1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=3

Regards,

Daniel



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] can't upgrade to latest pkg

2009-03-23 Thread Daniel Pielmeier
maxim wexler schrieb am 23.03.2009 18:43:
 Nope,
 
 Using the model given:
 
 app-office/gnumeric ~x86
 
 like this:
 
 =sys-kernel/tuxonice-sources-2.6.28 ~x86 
 
 in package.keywords, gives the same result as above.

No wonder =sys-kernel/tuxonice-sources-2.6.28 does not exist :-) With =
you set ~x86 keywords for exact that version.

eix tuxonice-sources
* sys-kernel/tuxonice-sources
 Available versions:
(2.6.24-r9) 2.6.24-r9!b!s
(2.6.28-r3) (~)2.6.28-r3!b!s
(2.6.28-r4) (~)2.6.28-r4!b!s
(2.6.28-r5) (~)2.6.28-r5!b!s
(2.6.28-r7) (~)2.6.28-r7!b!s
(2.6.28-r8) (~)2.6.28-r8!b!s

So you need to set either this:
=sys-kernel/tuxonice-sources-2.6.28-r8 ~x86
to set keywords for exact the specified version

or this
=sys-kernel/tuxonice-sources-2.6.28 ~x86
to set keywords for any higher version than the specified

or better this
~sys-kernel/tuxonice-sources-2.6.28 ~x86
to set keywords for any revision of the specifies version

Regards,

Daniel



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] gentoo on a usb stick

2009-03-23 Thread Daniel Pielmeier
maxim wexler schrieb am 23.03.2009 22:31:
 I was planning to put the i686-2008.0-LiveCD-installer on a USB stick and 
 install it on a Asus 900A eeePC. But I understand the kernel on the CD is 
 v2.6.27 and therefore there is no Atheros driver for the eee's on-board 
 wifi. Can someone confirm this? 
 
 If true, can I simply add the driver after the fact? Any body done this 
 successfully?


You may want to take a look at the SystemRescueCd [1] afaik it is based
on gentoo and more up to date. It is also possible to install it on a
live-cd.

[1] http://www.sysresccd.org/Main_Page

Regards,

Daniel



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] gentoo on a usb stick

2009-03-23 Thread Daniel Pielmeier
Daniel Pielmeier schrieb am 23.03.2009 22:40:
 You may want to take a look at the SystemRescueCd [1] afaik it is based
 on gentoo and more up to date. It is also possible to install it on a
 live-cd.

Of course I want to say. You can install it on an usb-stick :-)



signature.asc
Description: OpenPGP digital signature


emerge-log (was: Re: [gentoo-user] Time to move on?)

2009-03-22 Thread Daniel Pielmeier
Philip Webb schrieb am 22.03.2009 07:58:

 I never do that: I always do 'emerge -Dup world',
 then decide which packages to update  emerge them individually.
 I also have a list of all the pkgs I have installed with dates + deps,
 which I keep upto-date by hand as I emerge items.
 I've never understood why 'emerge world' is considered standard:
 repeatedly, there are appeals for help here resulting from its shortcomings
 (was it copied from Free BSD when Gentoo was originally created ? ).
 
 But before I could do that, I had to upgrade portage, with made sense.
 When I go to emerge -u portage, I'm told:
 sys-apps/mktemp (is blocking sys-apps/coreutils-7.1)
 
 My hand-made list of pkgs tells me that I removed Mktemp 080419
  that it had been required for Debianutils,
 of which my current version is 2.28.5 installed 090314 .
 Others had problems with this block, perhaps 1 year ago,
 so if you really are that far behind in updating,
 you should search the list archive to see what the advice was back then:
 IIRC a new version of Debianutils incorporated the Mktemp stuff,
 so they became incompatible.
 

You know that such a list already exists. It is /var/log/emerge.log. To
get useful information out of it app-portage/genlop comes handy.

genlop -u mktemp
 * sys-apps/mktemp

 Sat Mar  3 18:14:30 2007  sys-apps/mktemp-1.5
 Tue Dec 18 01:37:31 2007  sys-apps/mktemp-1.5
 Sat Apr 12 23:15:42 2008  sys-apps/mktemp-1.5

Regards,

Daniel



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] depclean wants to remove qt-4.4.2

2009-03-21 Thread Daniel Pielmeier
Marc Blumentritt schrieb am 21.03.2009 14:33:
 Hi,
 
 when I run emerge -p --depclen, I get these results:
 
 [...]
 These are the packages that would be unmerged:
 
  x11-libs/qt
 selected: 4.4.2
protected: none
  omitted: 3.3.8b-r1
 
  x11-libs/qt-assistant
 selected: 4.4.2-r1
protected: none
  omitted: none
 
  x11-libs/qt-xmlpatterns
 selected: 4.4.2
protected: none
  omitted: none
 [...]
 
 Can someone explain me this?
 

Yeah these packages are not needed by others anymore. If you really
want/need them which i doubt you can put x11-libs/qt into the world file.

Starting with qt-4.4 the ebuild has been split up into components.
x11-libs/qt is just a meta ebuild nothing needs to depend on.
Dependencies are set upon the components. So if you really want all qt
stuff even if you do not need parts of it put x11-libs/qt in your world
file.

Regards,

Daniel



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] resolving this block

2009-03-21 Thread Daniel Pielmeier

Michael P. Soulier schrieb am 21.03.2009 22:17:

So, I checked for updates and I saw this.

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

Calculating dependencies... done!
[ebuild U ] app-text/tree-1.5.2.2 [1.5.2.1]
[ebuild U ] dev-libs/libxml2-2.7.3 [2.7.2-r2]
[ebuild U ] dev-libs/glib-2.18.4-r1 [2.16.6]
[ebuild  N] media-libs/babl-0.0.22  USE=-mmx -sse 
[ebuild U ] dev-util/intltool-0.40.5 [0.37.1]
[ebuild U ] x11-libs/pixman-0.12.0 [0.10.0] USE=(-altivec) -mmx% -sse% (-sse2) 
[ebuild U ] dev-libs/libgamin-0.1.10-r2 [0.1.10-r1]
[ebuild U ] x11-libs/cairo-1.8.6-r1 [1.6.4-r1] USE=-cleartype% 
[ebuild U ] x11-libs/pango-1.22.4 [1.20.5]
[ebuild U ] x11-libs/gtk+-2.14.7-r2 [2.12.11] USE=-jpeg2k% 
[ebuild U ] gnome-base/librsvg-2.22.3 [2.22.2]
[ebuild  N] media-libs/gegl-0.0.22  USE=cairo ffmpeg jpeg png svg -debug -doc -mmx -openexr -raw -sdl -sse -v4l 
[ebuild U ] gnome-extra/libgsf-1.14.11 [1.14.10]
[ebuild U ] media-gfx/gimp-2.6.4 [2.4.6] USE=jpeg%* -webkit% 
[ebuild U ] dev-python/pygobject-2.16.1 [2.14.2]

[ebuild U ] dev-python/pygtk-2.14.0 [2.12.1-r2]
[blocks b ] dev-python/pygtk-2.13 (dev-python/pygtk-2.13 is blocking 
dev-python/pygobject-2.16.1)
[blocks B ] gnome-base/gail-1000 (gnome-base/gail-1000 is blocking 
x11-libs/gtk+-2.14.7-r2)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'x11-libs/gtk+-2.14.7-r2', 'merge') pulled in by
=x11-libs/gtk+-2.4 required by ('installed', '/', 
'x11-libs/wxGTK-2.8.9.1-r3', 'nomerge')
=x11-libs/gtk+-2.6:2 required by ('installed', '/', 
'app-editors/mousepad-0.2.14', 'nomerge')
=x11-libs/gtk+-2.0 required by ('installed', '/', 
'dev-python/wxpython-2.6.4.0-r2', 'nomerge')
(and 49 more)

  ('installed', '/', 'gnome-base/gail-1.22.3', 'nomerge') pulled in by
=gnome-base/gail-1.19.6 required by ('installed', '/', 
'gnome-base/libgnomecanvas-2.20.1.1', 'nomerge')


Now, I'm still learning to read these. 


gnome-base/gail is blocking x11-libs/gtk,
dev-python/pygtk is blocking dev-python/pygobject

Now, dev-python/pygtk is marked as (automatically resolved conflict) while
gnome-base/gail-1000 is marked as (unresolved conflict).

The text of the conflict all points to x11-libs/gtk+ versions, so can I just
roll these up into one version of x11-libs/gtk+? 


This looks like a bit of a tangle, and I'm still trying to figure out how to
read the knot so I can untie it. :)

Thanks,
Mike


Gail is now part of gtk+ starting with version 2.14 [1]. So removing it 
should solve this issue.


Regards,

Daniel

[1] 
http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gail/ChangeLog?r1=1.156r2=1.157




Re: [gentoo-user] error while loading shared libraries: libcrypto.so.0.9.8

2009-03-17 Thread Daniel Pielmeier
Alexander Pilipovsky schrieb am 17.03.2009 22:07:
 Paul Hartman написав(ла):
 On Tue, Mar 17, 2009 at 3:50 PM, Alexander Pilipovsky
 alexander.pilipov...@gmail.com wrote:
   
 Hi all!
 When I tried to install googlearth (or any other application now), I got
 next message:
 
 re-emerge wget (and/or do revdep-revbuild)


   
 
 sh-3.2# re-emerge wget
 sh: re-emerge: command not found
 sh-3.2# revdep-revbuild
 sh: revdep-revbuild: command not found
 
 Hmm, I have not this commands...
 

re-emerge means something like emerge --oneshot wget

revdep-rebuild belongs to app-portage/gentoolkit which you should
install in any case.

Regards,

Daniel



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] error while loading shared libraries: libcrypto.so.0.9.8

2009-03-17 Thread Daniel Pielmeier
Alexander Pilipovsky schrieb am 17.03.2009 22:32:
 Paul Hartman написав(ла):
 On Tue, Mar 17, 2009 at 4:07 PM, Alexander Pilipovsky
 alexander.pilipov...@gmail.com wrote:
   
 Paul Hartman написав(ла):

 On Tue, Mar 17, 2009 at 3:50 PM, Alexander Pilipovsky
 alexander.pilipov...@gmail.com wrote:


 Hi all!
 When I tried to install googlearth (or any other application now), I got
 next message:


 re-emerge wget (and/or do revdep-revbuild)




 sh-3.2# re-emerge wget
 sh: re-emerge: command not found
 sh-3.2# revdep-revbuild
 sh: revdep-revbuild: command not found

 Hmm, I have not this commands...
 
 I'm sorry, I made a typo. It is revdep-rebuild. It is part of
 app-portage/gentoolkit and it will scan for broken dependencies and
 rebuild packages in order to fix them.


   
 Thank you Paul and Kirby.
 I get messages
 wget: error while loading shared libraries: libcrypto.so.0.9.8: cannot
 open shared object file: No such file or directory
 for any emerge commands :(
 May be I crashed libcrypto, and how to update/reload it?
 

If you have revdep-rebuild installed by app-portage/gentoolkit let it run.

If you don't have it installed manually download the sources for
gentoolkit from a gentoo mirror (for example [1] ) which avoids the need
of wget for fetching the sources. Then emerge gentoolkit and run
revdep-rebuild.

PS: This might also be due to bug 234907. Did you uninstall packages
like ss,com_err and e2fsprogs in order to be able to upgrade
e2fsprogs-libs and e2fsprogs?

[1]
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/distfiles/gentoolkit-0.2.4.2.tar.gz

[2] http://bugs.gentoo.org/show_bug.cgi?id=234907



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] error while loading shared libraries: libcrypto.so.0.9.8

2009-03-17 Thread Daniel Pielmeier
Alexander Pilipovsky schrieb am 17.03.2009 23:11:
 Daniel Pielmeier написав(ла):
 Alexander Pilipovsky schrieb am 17.03.2009 22:32:
   
 Paul Hartman написав(ла):
 
 On Tue, Mar 17, 2009 at 4:07 PM, Alexander Pilipovsky
 alexander.pilipov...@gmail.com wrote:
   
   
 Paul Hartman написав(ла):

 On Tue, Mar 17, 2009 at 3:50 PM, Alexander Pilipovsky
 alexander.pilipov...@gmail.com wrote:


 Hi all!
 When I tried to install googlearth (or any other application now), I got
 next message:


 re-emerge wget (and/or do revdep-revbuild)




 sh-3.2# re-emerge wget
 sh: re-emerge: command not found
 sh-3.2# revdep-revbuild
 sh: revdep-revbuild: command not found

 Hmm, I have not this commands...
 
 
 I'm sorry, I made a typo. It is revdep-rebuild. It is part of
 app-portage/gentoolkit and it will scan for broken dependencies and
 rebuild packages in order to fix them.


   
   
 Thank you Paul and Kirby.
 I get messages
 wget: error while loading shared libraries: libcrypto.so.0.9.8: cannot
 open shared object file: No such file or directory
 for any emerge commands :(
 May be I crashed libcrypto, and how to update/reload it?

 
 If you have revdep-rebuild installed by app-portage/gentoolkit let it run.

 If you don't have it installed manually download the sources for
 gentoolkit from a gentoo mirror (for example [1] ) which avoids the need
 of wget for fetching the sources. Then emerge gentoolkit and run
 revdep-rebuild.

 PS: This might also be due to bug 234907. Did you uninstall packages
 like ss,com_err and e2fsprogs in order to be able to upgrade
 e2fsprogs-libs and e2fsprogs?

 [1]
 http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/distfiles/gentoolkit-0.2.4.2.tar.gz

 [2] http://bugs.gentoo.org/show_bug.cgi?id=234907

   
 It want emerge sys-apps/debianutils-2.28.5 first and get me error with
 libcrypto :(
 

Then manually download the sources for debianutils like for gentoolkit.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10

2009-03-06 Thread Daniel Pielmeier
2009/3/6 Dragos Petre drpet...@gmail.com:
 Hi, everybody!

 I have recently upgraded to x11-base/xorg-server-1.5.2 and since then I've
 started having problems with my touchpad although IMO I have followed the
 correct steps to migrate to hal-based hotplugging. My computer is a Samsung
 NC10 netbook with a Synaptics Touchpad.

 I have basic mouse functionality, i.e. cursor move and button click, but no
 tapping, edge scrolling etc although according to hal-device the correct
 options are loaded - please see below

 I cannot use synclient as I get a
 Can't access shared memory area. SHMConfig disabled?
 error.

 One give-away of what the issue may be is that Xorg.0.log shows the
 synaptics device to be configured as mouse. Does that make any sense?

 I'm using sys-kernel/gentoo-sources-2.6.27-r9, sys-apps/hal-0.5.11-r8 and
 x11-drivers/xf86-input-synaptics-0.15.2-r2 although I have tried
 x11-drivers/xf86-input-synaptics-1.0.0 to no avail.

 You can find below the output/content of
 hal-device
 xorg.conf
 Xorg.0.log
 emerge --info


And what about your x11-input.fdi? I guess you don't have one! Take a
look here [1] for a documented example.
If you want xorg-server and hal working you need:

xorg-server built with hal use flag and evdev as input-device.
comment out the input sections in xorg.conf.
a fdi file placed at /etc/hal/fdi/policy/10-x11-input.fdi (basically
the configuration done in xorg.conf prior is now done in this file)

[1] http://cgit.freedesktop.org/xorg/xserver/tree/config/x11-input.fdi

-- 
Regards,
Daniel



Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10

2009-03-06 Thread Daniel Pielmeier
2009/3/6 Dragos Petre drpet...@gmail.com:

 Sorry about the incomplete information, I have the following in

 /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi

     match key=info.capabilities contains=input.touchpad
   merge key=input.x11_driver type=stringmouse/merge
   match key=/org/freedesktop/Hal/devices/computer:system.kernel.name
  string=Linux
     merge key=input.x11_driver type=stringevdev/merge
   /match
     /match

My guess is having the in 10-x11-input.fdi and 11-x11-synaptics.fdi 10
gets loaded before 11. In 10 you are specifing mouse as driver for
your touchpad so the touchpad uses this driver and the 11 file can not
overwrite that as the device already has a driver configured.

So you can either try to remove that input.touchpad section from
10-x11-input.fdi or replace it by the contents of
11-x11-synaptics.fdi.

-- 
Regards,
Daniel



Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10

2009-03-06 Thread Daniel Pielmeier
2009/3/6 Dragos Petre drpet...@gmail.com:

 Thanks, Daniel! Just tried it - commented out altogether the synaptics
 section in the 10-x11-input.fdi section but I get exactly the same result.
 Anybody other ideas?

 Best Regards,
 Dragos.


Did you also try to replace it with the contents of the other file and
how does the Xorg.0.log look now?

-- 
Regards,
Daniel



Re: [gentoo-user] xzgv cannot display jpeg pictures

2009-03-06 Thread Daniel Pielmeier
2009/3/6 Frank Schwidom schwi...@gmx.net:
 Hi

 xzgv cannot display jpeg pictures

 i installes imlib and reinstalled xzgv, but no betttering happens

 what can i try next?


I think there was a similar problem lately. Grapic apps that depend on
gtk usually need gtk+ to be built with the jpeg use flag.

-- 
Regards,
Daniel



Re: [gentoo-user] python2.4 directory

2009-03-05 Thread Daniel Pielmeier
2009/3/5 Evgeniy Bushkov z...@dotcomltd.ru:
 Dirk Uys wrote:

 Hi

 I noticed that I still had python-2.4 on my system. Did a quick run of
 python-updater, to make sure nothing is using python-2.4 anymore and
 then unmerged python2.4.

 Should I manually remove /usr/lib64/python2.4, or is there a way to
 make portage do it?

 Regards
 Dirk



 Just run: emerge --depclean -a python
 You should get something like this:

 dev-lang/python
   selected: 2.4.4-r14
 protected: none
  omitted: 2.5.2-r7
 'Selected' packages are slated for removal.
 'Protected' and 'omitted' packages will not be removed.

 Would you like to unmerge these packages? [Yes/No]

He already told us that he unmerged python.

If you have successfully migrated to python 2.5 you should normally be
able to remove this directory as this are probably leftovers from the
old install where portage can do nothing about.
To be save, what are the contents of this directory? Just
site-packages with byte compiled python modules?

-- 
Regards,
Daniel



Re: [gentoo-user] {OT} Copy the full path to clipboard from Thunar

2009-02-26 Thread Daniel Pielmeier
2009/2/26 Grant emailgr...@gmail.com:
 I'm trying to copy the full path of a file from xfce4's file manager
 Thunar so I can paste it into a command line program.  The way I found
 to do this was with the Configure custom actions... option like
 this:

 echo %f | xcopy -selection c

 I can then paste the path, but there is a newline character at the end
 which messes things up.  Is there a better way to do this, or can I
 strip the newline character?

 - Grant


If this newline comes from the echo command you can suppress it with -n.

echo -n %f | xcopy -selection c

-- 
Regards,
Daniel



Re: [gentoo-user] custom-cxxflags not supported but on anyway

2009-02-16 Thread Daniel Pielmeier
 [ebuild   R   ] x11-libs/qt-core-4.4.2  USE=qt3support ssl
 -custom-cxxflags% -debug -doc -glib -pch 0 kB

-custom-cxxflags

To me it looks like it is disabled!
This flag has been added recently to the qt packages and although it
is disabled the affected packages need a rebuild when newuse is
triggered.

-- 
Regards,
Daniel



Re: [gentoo-user] custom-cxxflags not supported but on anyway

2009-02-16 Thread Daniel Pielmeier
2009/2/16 Neil Bothwick n...@digimed.co.uk:
 On Mon, 16 Feb 2009 12:38:25 +0100, Daniel Pielmeier wrote:

 This flag has been added recently to the qt packages and although it
 is disabled the affected packages need a rebuild when newuse is
 triggered.

 Use --reinstall changed-use instead of --newuse. It saves on pointless
 rebuilds.


Hm I must have missed this option somehow. Good to know there is such
feature. I guess in this case only the portage package database is
updated.

-- 
Regards,
Daniel



Re: [gentoo-user] custom-cxxflags not supported but on anyway

2009-02-16 Thread Daniel Pielmeier
2009/2/16 Dale rdalek1...@gmail.com:

 But since it is changing, I would assume it was on before?  If it was
 off before then why would it rebuild it?

 I do have to say, I don't recall ever seeing this one before.


The use flag was intruduced to the stable version without a version
bump. So it is a new flag but if you don't enable it nothing will
change if you do a rebuild. Thus following the suggestion from Neil
would be the best solution. If I had known this option before it would
have saved me a useless rebuild.

-- 
Regards,
Daniel



Re: [gentoo-user] Using multiple languages in XFCE (and the console)

2009-02-14 Thread Daniel Pielmeier
list-catcher schrieb am 15.02.2009 00:10:
 I'm taking an online Spanish course which requires the use of accented
 vowels along with the ñ character.  Right now I'm forced to cut and
 paste these letters when I need them but that's slowly driving me
 insane.  Is there a way I can use a control or alt key along with the
 vowel (or n) to make the appropriate accented version?  Is there
 another way to handle this?
 

As XFCE is based on GTK+ you should be able to use this combination
CTRL+SHIFT+U+Hexcode [1].

You can release CTRL+SHIFT after typing U then type the hexcode and hit
Enter. After that the character appears. When holding CTRL+SHIFT then
typing U+Hexcode the character appears after releasing CTRL+SHIFT.

From [2]
N WITH TILDE, LATIN CAPITAL LETTER  00D1
N WITH TILDE, LATIN SMALL LETTER00F1

CTRL+SHIFT+U+00D1 = Ñ
CTRL+SHIFT+U+00F1 = ñ

[1] http://en.wikipedia.org/wiki/Unicode_input
[2] http://www.unicode.org/charts/charindex.html

PS: Google is your friend

Regards,

Daniel



signature.asc
Description: OpenPGP digital signature


<    1   2   3   4   5   6   >