Re: [gentoo-user] Stable users: libpng-1.4
Alan McKinnon wrote: On Thursday 01 July 2010 00:15:34 Mick wrote: I remember now what I eventually did to fix all my libpng problems back then: unmerge libpng delete everything left with libpng in it's name emerge -pvuND world just to see what was now busted same with revdep-rebuild re-emerge libpng and let portage pick the version to merge emerge -avuND world revdep-rebuild repeat till no problems reported and lafilefixer --justfixit somewhere in the mix as well just for good measure. This is called the throw shit at the wall and hope some of it sticks method of updating systems. By happy good fortune, it worked out for me. aka the dark underside of source-based systems :-) I'm sure that I followed your scientific approach too because my system still works ... although I may have lost the will to live somewhere in between the lafilefixer and revdep-rebuild for the nth time and decided to emerge -e world. :-)) Strangely enough two other x86 boxen were updated without any much drama. :-) On the front page of gentoo.org several blogs are reference that mention this issue. In one of them, the author shows evidence that the same binary was trying to link at one point to a 32 bit lib and at another point link to a 64 bit lib. All random of course, causing no end of mysterious failures, and explains why some people had success re-merging cairo, other with something else Truly bizarre. But it might go a ways to explaining why your 32 bit systems were unaffected? I followed flameeyes blog and everything worked fine. I umerged libpng, tried to do a rm but there was nothing left to rm, then ran revdep-rebuild -i. It was ~45 packages, most of them big I might add, but it ran all the way through without stopping. Naturally there is no way to know what would have happened if I did it some other way but flameeyes' way worked for me. Now to go catch up on all the emails I got. X would not start during the upgrade. Dale :-) :-)
[gentoo-user] Java EE 6
I would like to install Java EE 6, but not sure of the package name. A while back J2EE was rename to JEE and now the latest version is Java EE 6. The portage tree doesn't have anything when a search is done on JEE or java ee, but a search on J2EE results in the following. # emerge --search j2ee Searching... [ Results for search key : j2ee ] [ Applications found : 2 ] * dev-java/sun-j2ee [ Masked ] Latest version available: 1.3.1-r4 Latest version installed: [ Not Installed ] Size of files: 14,515 kB Homepage: http://java.sun.com/j2ee/sdk_1.3/ Description: Sun's Java 2 Enterprise Edition Development Kit License: sun-bcla-j2ee How do I find Java EE 6? Thanks, --dhk
Re: [gentoo-user] Java EE 6
On Thursday 01 July 2010 12:56:53 dhk wrote: I would like to install Java EE 6, but not sure of the package name. A while back J2EE was rename to JEE and now the latest version is Java EE 6. The portage tree doesn't have anything when a search is done on JEE or java ee, but a search on J2EE results in the following. # emerge --search j2ee Searching... [ Results for search key : j2ee ] [ Applications found : 2 ] * dev-java/sun-j2ee [ Masked ] Latest version available: 1.3.1-r4 Latest version installed: [ Not Installed ] Size of files: 14,515 kB Homepage: http://java.sun.com/j2ee/sdk_1.3/ Description: Sun's Java 2 Enterprise Edition Development Kit License: sun-bcla-j2ee How do I find Java EE 6? Thanks, --dhk There's no such thing as Java EE 6. There is the 1.6 jvm which runs client side, and the enterprise edition stuff which runs server side, currently at v1.3.1 If you just want a jre, use dev-java/sun-jre-bin If you want a full jdk, use dev-java/sun-jdk The server side stuff is dev-java/sun-j2ee as you already found -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Java EE 6
Now I'm confused. According to the following links there is a Java EE 6.* http://java.sun.com/javaee/downloads/index.jspThe first sentence here explains the name change.* http://en.wikipedia.org/wiki/J2ee#Nomenclature.2C_standards.2C_and_specificationsLooking for clarification.Thanks,--dhk- Original Message -From: Alan McKinnon Date: Thursday, July 1, 2010 7:09 amSubject: Re: [gentoo-user] Java EE 6To: gentoo-u...@lists.gentoo.orgcc: dhk On Thursday 01 July 2010 12:56:53 dhk wrote: I would like to install Java EE 6, but not sure of the package name. A while back J2EE was rename to JEE and now the latest version is Java EE 6. The portage tree doesn't have anything when a search is done on JEE or java ee, but a search on J2EE results in the following. # emerge --search j2ee Searching... [ Results for search key : j2ee ] [ Applications found : 2 ]* dev-java/sun-j2ee [ Masked ] Latest version available: 1.3.1-r4Latest version installed: [ Not Installed ]Size of files: 14,515 kBHomepage: http://java.sun.com/j2ee/sdk_1.3/Description: Sun's Java 2 Enterprise Edition Development KitLicense: sun-bcla-j2ee How do I find Java EE 6?Thanks,--dhk There's no such thing as Java EE 6. There is the 1.6 jvm which runs client side, and the enterprise edition stuff which runs server side, currently at v1.3.1 If you just want a jre, use dev-java/sun-jre-bin If you want a full jdk, use dev-java/sun-jdk The server side stuff is dev-java/sun-j2ee as you already found -- alan dot mckinnon at gmail dot com
[gentoo-user] activating swap by udev event
Hi, I would like to increase the speed of my machine by putting some swap on a fast pendrive. It is working manually by starting a script swapon -s swapon -p -1 /dev/sdb1 swapoff /dev/sda6 swapon -p -2 /dev/sda6 swapon -s but, I would like to make it automatic by creating an udev rule, so when I plug in that device the swap space is automatically activated and the priority is changed. I've tried to google for a solution like this, but I did not find. Maybe you already have some script at hand :) can you please share this with me? Thanks Laszlo
[gentoo-user] Re: Flash stopped working after Firefox 3.6.3-3.6.4 update.
On 2010-06-30, Grant Edwards grant.b.edwa...@gmail.com wrote: Firefox got upgraded from 3.6.3 to 3.6.4 yesterday, and now the flash plugin won't work. I tried both x86 and ~x86 versions, and both crash 100% of the time. The problem was caused by an old 9.x copy of the plugin that was left in ~/.mozialla/plugins. After deleting the flashplayer plugin from that directory, FF then found the officially installed 10.x version and is now happy. -- Grant Edwards grant.b.edwardsYow! GOOD-NIGHT, everybody at ... Now I have to go gmail.comadminister FIRST-AID to my pet LEISURE SUIT!!
Re: [gentoo-user] Minimal Gentoo with X
On 30.06.2010 15:48, Shoka wrote: Hello group, I'm trying to build kind of a minimal gentoo setup with X support. All I need is - X11 and a Window Manager - Mozilla Firefox - Lighttpd I use Gnome at this time. du reports the following directories as the biggest directories on my system: /usr/lib418 MB /usr/portage 1200 MB /usr/share 550 MB /usr/src560 MB (Kernel Sources) The other directories are very small. I think, the system is quite heavy in size, isn't it? I really would like to be able to shrink it down but not loosing functionality. Now I'm looking for tips to reduce disk consumption further. I've already cleaned /usr/portage/distfiles. I read that removing the whole /usr/portage after setting up the system is not a good idea. Is that true? May be someone could recommend a better window manager (smaller in size, stable)? I really appreciate any kind of recommendation to this topic. Kind regards, André Hello folks, Thank you all for giving me your thoughts and for sharing your experience with me. I really appreciate that. I think I'll give XFCE a try and have a more detailed look in all the mentioned cleanup commands posted here in this thread. SquashFS seems to be a good possibility to shrink the portage tree to a minimum. I take a dive into the docs and possibly give it a try too :) Thank you André
Re: [gentoo-user] activating swap by udev event
On Thu, 1 Jul 2010 15:49:08 +0200, SpaceCake wrote: I would like to increase the speed of my machine by putting some swap on a fast pendrive. It is working manually by starting a script swapon -s swapon -p -1 /dev/sdb1 swapoff /dev/sda6 swapon -p -2 /dev/sda6 swapon -s but, I would like to make it automatic by creating an udev rule, so when I plug in that device the swap space is automatically activated and the priority is changed. Create the udev rule in the usual way and add RUN=/path/to/your/script You must use a full path when running a program from a udev rule and the program should exit quickly as udev blocks while it is running. -- Neil Bothwick What colour is a chameleon on a mirror? signature.asc Description: PGP signature
[gentoo-user] Re: [gentoo-desktop] nm-applet / vpnc / pptp / openvpn
Yes, I do. The solution was to include gnome use flag for the plugins too... I had gnome useflag for Networkmanager but not for the plugins L: 2010/7/1 Daniel Gryniewicz d...@gentoo.org Do you have one of the networkmanager VPN plugins installed? Dan On Thu, Jul 1, 2010 at 10:01 AM, SpaceCake spaceca...@gmail.com wrote: the bug reappeard at me... vpn sections are grey, can't add new, and when I select an old one it says I don't have the necessary plugins installed... bugreport updated but I suppose this is related to -gnome global flag, so I'm trying to recompile with gnome enabled... L: 2009/11/28 Daniel Gryniewicz d...@gentoo.org On Wed, Nov 18, 2009 at 9:35 AM, SpaceCake spaceca...@gmail.com wrote: Hi, I've succesfullly installed Networkmanager and nm-applet with all the plugins under Gnome / Kde-4-3 using the instructions can be found at gentoo-wiki. It is working perfectly for wired and wireless LAN but not for any VPN (this part of the applet is grey I was searching the archive and googled this thing but I cannot find a solution, so I decided to ask you :) I suppose this is some problem with the dbus registration of the plugins, but I'm not sure This is because of dbus' default deny policy. I've opened a bug on this: https://bugs.gentoo.org/show_bug.cgi?id=294992 That fixes it for me. Daniel
Re: [gentoo-user] activating swap by udev event
tor 2010-07-01 klockan 15:49 +0200 skrev SpaceCake: Hi, I would like to increase the speed of my machine by putting some swap on a fast pendrive. It is working manually by starting a script swapon -s swapon -p -1 /dev/sdb1 swapoff /dev/sda6 swapon -p -2 /dev/sda6 swapon -s but, I would like to make it automatic by creating an udev rule, so when I plug in that device the swap space is automatically activated and the priority is changed. I've tried to google for a solution like this, but I did not find. Maybe you already have some script at hand :) can you please share this with me? Thanks Laszlo I tried doing something like this awhile ago. The problem I encountered was that I couldn't disable the swap once the the device was removed, swapoff couldn't find the device path(as it wasn't there anymore) but the system thought the swap was still there. So plugging and unplugging the swap stick got my system thinking it had loads of swap. But I didn't experiment all that much, maybe there's a way. Tricking udev to hold on to the device node until swap is disabled might be possible.
Re: [gentoo-user] Re: Flash stopped working after Firefox 3.6.3-3.6.4 update.
Firefox got upgraded from 3.6.3 to 3.6.4 yesterday, and now the flash plugin won't work. I tried both x86 and ~x86 versions, and both crash 100% of the time. The problem was caused by an old 9.x copy of the plugin that was left in ~/.mozialla/plugins. After deleting the flashplayer plugin from that directory, FF then found the officially installed 10.x version and is now happy. I'm having the exact same problem, except I don't have a ~/.mozilla/plugins directory at all. Any ideas? - Grant (a different Grant)
[gentoo-user] VFAQ mirroring a live root FS
Hi, would anybody please explain to me what difficulties might occur if I mirror a live root file system and use that for booting (in an emergency case). I know that for proper mirroring I may mirror a live root file system but I have to rsync it after booting from a different device (USB,...) But what happens if I have to boot a system from a backup which has been mirrored from a live root file system. Many thanks for sharing your experience, Helmut.
Re: [gentoo-user] activating swap by udev event
I've never created udev rule so the usal way does not tell me too much :) I've checked the net for examples but it looks like very complicated for me :) My usb stick looks like this Bus 007 Device 015: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive Can you share with me some example how can I use this info on udev rules? Thanks Laszlo 2010/7/1 Neil Bothwick n...@digimed.co.uk On Thu, 1 Jul 2010 15:49:08 +0200, SpaceCake wrote: I would like to increase the speed of my machine by putting some swap on a fast pendrive. It is working manually by starting a script swapon -s swapon -p -1 /dev/sdb1 swapoff /dev/sda6 swapon -p -2 /dev/sda6 swapon -s but, I would like to make it automatic by creating an udev rule, so when I plug in that device the swap space is automatically activated and the priority is changed. Create the udev rule in the usual way and add RUN=/path/to/your/script You must use a full path when running a program from a udev rule and the program should exit quickly as udev blocks while it is running. -- Neil Bothwick What colour is a chameleon on a mirror?
Re: [gentoo-user] Java EE 6
On 7/1/10, dhk dhk...@optonline.net wrote: I would like to install Java EE 6, but not sure of the package name. A while back J2EE was rename to JEE and now the latest version is Java EE 6. The portage tree doesn't have anything when a search is done on JEE or java ee, but a search on J2EE results in the following. # emerge --search j2ee Searching... [ Results for search key : j2ee ] [ Applications found : 2 ] * dev-java/sun-j2ee [ Masked ] Latest version available: 1.3.1-r4 Latest version installed: [ Not Installed ] Size of files: 14,515 kB Homepage: http://java.sun.com/j2ee/sdk_1.3/ Description: Sun's Java 2 Enterprise Edition Development Kit License: sun-bcla-j2ee How do I find Java EE 6? I think you can try installing it piecemeal from components listed in here (the names will need some guessing on Gentoo, but you'll probably get what you need by picking an implementation of some of the features, like hibernate or tomcat): http://java.sun.com/javaee/downloads/javaee6sdk_contents.jsp I haven't seen a meta-package which would pull everything in, though. -- Arttu V.
Re: [gentoo-user] activating swap by udev event
On Thu, 1 Jul 2010 17:17:15 +0200, SpaceCake wrote: I've never created udev rule so the usal way does not tell me too much :) I've checked the net for examples but it looks like very complicated for me :) http://www.reactivated.net/writing_udev_rules.html My usb stick looks like this Bus 007 Device 015: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive Can you share with me some example how can I use this info on udev rules? SUBSYSTEMS==usb, KERNEL==sd[a-z]1, ATTRS{idVendor}==058f, ATTRS{idProduct}==6387, RUN=/path/to/your/script That's all on one line. -- Neil Bothwick Like an atheist in a grave: all dressed up and no place to go. signature.asc Description: PGP signature
Re: [gentoo-user] Re: Flash stopped working after Firefox 3.6.3-3.6.4 update.
Le Thu, 1 Jul 2010 08:06:04 -0700, Grant a écrit : Firefox got upgraded from 3.6.3 to 3.6.4 yesterday, and now the flash plugin won't work. I tried both x86 and ~x86 versions, and both crash 100% of the time. The problem was caused by an old 9.x copy of the plugin that was left in ~/.mozialla/plugins. After deleting the flashplayer plugin from that directory, FF then found the officially installed 10.x version and is now happy. I'm having the exact same problem, except I don't have a ~/.mozilla/plugins directory at all. Any ideas? Close firefox and go to your profile directory. (~/.mozilla/firefox/.something) In this directory, you should find a file : pluginreg.dat You can try to remove it. A few days ago I realized that I had two different versions of the flash plugin registered in this file.
Re: [gentoo-user] Re: Patch via perl script in an ebuild?
I need to install the google-api-adwords-perl library, and it requires that SOAP-WSDL is patched with the soap_wsdl_patches.pl perl script. Can I have SOAP-WSDL patched via the perl script in an ebuild? - Grant Here is the perl script: http://pastebin.com/YM3G5sKn Can anyone with perl and ebuild knowledge determine if the script could be incorporated into an ebuild? David Abbott and I are working on getting google-api-adwords-perl into portage and this is a dependency. (Some preliminary setup work, like cpan -i Text::Patch SOAP::WSDL.) Running the patch after fixing its paths ... will result invariably in: Trying to patch /usr/lib64/perl5/site_perl/5.10.1/SOAP/WSDL/XSD/Typelib/Builtin/anySimpleType.pm...Hunk #1 failed at line 13. I'm no authority on perl, but AFAICT that patch does not match against either SOAP::WSDL latest stable sources nor latest SOAP::WSDL dev release code from CPAN. Actually, I couldn't find tarballs from CPAN which would match with the failing lines of that patch. There might've been some earlier 2.00-series releases, but they're ... long gone? Any idea of the version of SOAP::WSDL they are using for this at Google? Thank you Arttu. Here is the link to the SOAP::WSDL: http://soap-wsdl.svn.sourceforge.net/viewvc/soap-wsdl/SOAP-WSDL/branches/Typemap.tar.gz?view=tarpathrev=846 from the README: http://code.google.com/p/google-api-adwords-perl/source/browse/trunk/README - Grant
Re: [gentoo-user] activating swap by udev event
So, it solves the first problem, identifiying the device, but how can I tell to udev to use always /dev/sds (for example) for this device? Also I'm thinking how can I instruct udev to turn off swap when the device is removed, but this is another story :) Thanks L: 2010/7/1 Neil Bothwick n...@digimed.co.uk On Thu, 1 Jul 2010 17:17:15 +0200, SpaceCake wrote: I've never created udev rule so the usal way does not tell me too much :) I've checked the net for examples but it looks like very complicated for me :) http://www.reactivated.net/writing_udev_rules.html My usb stick looks like this Bus 007 Device 015: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive Can you share with me some example how can I use this info on udev rules? SUBSYSTEMS==usb, KERNEL==sd[a-z]1, ATTRS{idVendor}==058f, ATTRS{idProduct}==6387, RUN=/path/to/your/script That's all on one line. -- Neil Bothwick Like an atheist in a grave: all dressed up and no place to go.
Re: [gentoo-user] activating swap by udev event
On 07/01/2010 08:44 AM, SpaceCake wrote: So, it solves the first problem, identifiying the device, but how can I tell to udev to use always /dev/sds (for example) for this device? Also I'm thinking how can I instruct udev to turn off swap when the device is removed, but this is another story :) Here's what I have in my /etc/fstab file for one of my USB keys. I assume you could just change it to say swap instead. fs mntpt fs opts dump/pass UUID=BA62-89BD /mnt/key auto noauto,user,exec,nosuid 0 0
Re: [gentoo-user] X-Server-1.8 and Intel i915 modesetting stability
Am 30.06.2010 09:09, schrieb Andrea Conti: 1. On boot up, the screen goes completely black until the xserver is started. KMS provides its own framebuffer console driver -- disable any other framebuffer drivers such as (u)vesafb and enable FRAMEBUFFER_CONSOLE_DETECT_PRIMARY under drivers/graphics support/console display driver support. Also make sure you remove any vga= or video= options from the kernel commandline in your bootloader configuration. [...] BTW, everything KMS-related should be compiled in rather than built as a module. Thanks! I had to enable the option you mentioned and change everything framebuffer related from module to compiled-in. Now the console works like a charm. Then I had to remove my xorg.conf and it magically solved the X-Server instability (which was caused by a segfault of the intel driver, btw.). signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] activating swap by udev event
that's good if I want to mount at a specific location, but for swap I need the device name, but this is changes depending on how many other usb drives are connected. Looks lik this is a tricky question :) L: 2010/7/1 Bill Longman bill.long...@gmail.com On 07/01/2010 08:44 AM, SpaceCake wrote: So, it solves the first problem, identifiying the device, but how can I tell to udev to use always /dev/sds (for example) for this device? Also I'm thinking how can I instruct udev to turn off swap when the device is removed, but this is another story :) Here's what I have in my /etc/fstab file for one of my USB keys. I assume you could just change it to say swap instead. fs mntpt fs opts dump/pass UUID=BA62-89BD /mnt/key auto noauto,user,exec,nosuid 0 0
Re: [gentoo-user] activating swap by udev event
SpaceCake writes: So, it solves the first problem, identifiying the device, but how can I tell to udev to use always /dev/sds (for example) for this device? I think, you can's. But you can add SYMLINK=swap to make the device appear as /dev/swap, too. Also I'm thinking how can I instruct udev to turn off swap when the device is removed, but this is another story :) I doubt this is possible at all. If you unplug it, the memory that has been swapped there is lost. Wonko
Re: [gentoo-user] activating swap by udev event
tor 2010-07-01 klockan 08:49 -0700 skrev Bill Longman: On 07/01/2010 08:44 AM, SpaceCake wrote: So, it solves the first problem, identifiying the device, but how can I tell to udev to use always /dev/sds (for example) for this device? You need to have the udev rule or the script that it runs look at something specific(the swaplabel for instance). I'm thinking how can I instruct udev to turn off swap when the device is removed, but this is another story :) I tried doing exactly what you're doing now awhile ago and this is where I got stuck, swapoff needs the deivce node(path) to still exist, it can't disable swap without it. I could never get swapoff to run before udev removed the device node, so I ended up with the system thinking(or at least reporting) that it had loads more swap than it actually did.
Re: [gentoo-user] activating swap by udev event
On Thu, 1 Jul 2010 17:44:24 +0200, SpaceCake wrote: So, it solves the first problem, identifiying the device, but how can I tell to udev to use always /dev/sds (for example) I take it you haven't read the link I posted? BTW, please don't top-post on this list. -- Neil Bothwick Programmer (n): A red-eyed, mumbling mammal capable of conversing with inanimate objects. signature.asc Description: PGP signature
Re: [gentoo-user] activating swap by udev event
On Thu, 1 Jul 2010 18:05:46 +0200, Alex Schuster wrote: So, it solves the first problem, identifiying the device, but how can I tell to udev to use always /dev/sds (for example) for this device? I think, you can's. But you can add SYMLINK=swap to make the device appear as /dev/swap, too. That's a better method anyway, later versions of udev complain if you try to rename a device to a non-kernel name. -- Neil Bothwick Guns don't kill people--it's those little pieces of lead. signature.asc Description: PGP signature
Re: [gentoo-user] VFAQ mirroring a live root FS
On 07/01/2010 05:12 PM, Helmut Jarausch wrote: Hi, would anybody please explain to me what difficulties might occur if I mirror a live root file system and use that for booting (in an emergency case). I know that for proper mirroring I may mirror a live root file system but I have to rsync it after booting from a different device (USB,...) But what happens if I have to boot a system from a backup which has been mirrored from a live root file system. Many thanks for sharing your experience, Helmut. This will probably be no problem at all: it's (nearly) the same thing as pushing the reset knob and booting :) I suggest you use a LVM-snapshot. If you use cp or rsync, then use the -x switch (and -S with rsync). Those methods have worked for me for bare-metal-recovery until now. The only thing that mostly breaks are databases. So create a dump before copying, and copy it too. Or if possible stop the DB and make a copy of the files, then start it again. Or both ;) Bye, Daniel Just in case: When booting from CD always use --numeric-owner with tar and --numeric-ids with rsync or uids and gids will get messed up. -- PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] activating swap by udev event
On Thu, 2010-07-01 at 18:06 +0200, Nils Larsson wrote: tor 2010-07-01 klockan 08:49 -0700 skrev Bill Longman: On 07/01/2010 08:44 AM, SpaceCake wrote: So, it solves the first problem, identifiying the device, but how can I tell to udev to use always /dev/sds (for example) for this device? You need to have the udev rule or the script that it runs look at something specific(the swaplabel for instance). I'm thinking how can I instruct udev to turn off swap when the device is removed, but this is another story :) I tried doing exactly what you're doing now awhile ago and this is where I got stuck, swapoff needs the deivce node(path) to still exist, it can't disable swap without it. I could never get swapoff to run before udev removed the device node, so I ended up with the system thinking(or at least reporting) that it had loads more swap than it actually did. This is a bad thing to do. If you have pages swapped out to the device and you remove the device before putting those pages elsewhere then you have effectively hosed your system. If it doesn't fail immediately then as soon as the kernel tries to swap in those pages and finds out the device it's on can't be accessed then you are in for a world of pain. I guess the deeper question (although entirely rhetorical AFAIC) is why would someone want to swap out to a removable device?
[gentoo-user] Re: Flash stopped working after Firefox 3.6.3-3.6.4 update.
On 2010-07-01, Grant emailgr...@gmail.com wrote: Firefox got upgraded from 3.6.3 to 3.6.4 yesterday, and now the flash plugin won't work. ?I tried both x86 and ~x86 versions, and both crash 100% of the time. The problem was caused by an old 9.x copy of the plugin that was left in ~/.mozialla/plugins. ?After deleting the flashplayer plugin from that directory, FF then found the officially installed 10.x version and is now happy. I'm having the exact same problem, except I don't have a ~/.mozilla/plugins directory at all. Any ideas? Search for libflashplayer.so files. Another of my machines had an old one in /usr/lib/nsbrowser/plugins. That should have been a symlink to /opt/netscape/plugins/libflashplayer.so which is where the ebuild puts the file. While the old files in ~/.mozilla/plugins were udoubtedly due to a stupid human trick on my part, I don't know how I ended up with an old file instead of a symlink in /usr/lib/nsbrowser/plugins. I think all of my machines now have a working flashplayer plugin... -- Grant Edwards grant.b.edwardsYow! I wonder if I should at put myself in ESCROW!! gmail.com
Re: [gentoo-user] activating swap by udev event
I guess the deeper question (although entirely rhetorical AFAIC) is why would someone want to swap out to a removable device? Hot-pluggable swapspace. For various desperate and/or just-in-case scenarios. One might argue that if you find there you did it wrong in the first place.
Re: [gentoo-user] activating swap by udev event
This is a shame but the idea coming from Windows world. In Win7/Vista there is a feature called ready boost which I suppose do something similar... or maybe not :) the main goal is to break the bottleneck of the slow HDD, but it is maybe a better idea to put some part of the system on a SDHC card which can reside in my bulting SD slot :) I know, this is also removable :) L: 2010/7/1 Albert Hopkins mar...@letterboxes.org On Thu, 2010-07-01 at 18:06 +0200, Nils Larsson wrote: tor 2010-07-01 klockan 08:49 -0700 skrev Bill Longman: On 07/01/2010 08:44 AM, SpaceCake wrote: So, it solves the first problem, identifiying the device, but how can I tell to udev to use always /dev/sds (for example) for this device? You need to have the udev rule or the script that it runs look at something specific(the swaplabel for instance). I'm thinking how can I instruct udev to turn off swap when the device is removed, but this is another story :) I tried doing exactly what you're doing now awhile ago and this is where I got stuck, swapoff needs the deivce node(path) to still exist, it can't disable swap without it. I could never get swapoff to run before udev removed the device node, so I ended up with the system thinking(or at least reporting) that it had loads more swap than it actually did. This is a bad thing to do. If you have pages swapped out to the device and you remove the device before putting those pages elsewhere then you have effectively hosed your system. If it doesn't fail immediately then as soon as the kernel tries to swap in those pages and finds out the device it's on can't be accessed then you are in for a world of pain. I guess the deeper question (although entirely rhetorical AFAIC) is why would someone want to swap out to a removable device?
[gentoo-user] Where to get qmake for qt3?
I'm trying to build from sources an app that requires qt3 via qmake. According to the build instructions I need to point the make file to qt3's version of qmake. I've found some hints that it should bin in /usr/qt/3/bin, but the only thing under /usr/qt/3 is an 'etc' directory. No bin, no qmake. I've got qt3support in my global useflags, and x11-libs/qt-qt3support is installed. Where do I find qmake 3? -- Grant Edwards grant.b.edwardsYow! I'm imagining a surfer at van filled with soy sauce! gmail.com
Re: [gentoo-user] Re: Patch via perl script in an ebuild?
On 7/1/10, Grant emailgr...@gmail.com wrote: Thank you Arttu. Here is the link to the SOAP::WSDL: http://soap-wsdl.svn.sourceforge.net/viewvc/soap-wsdl/SOAP-WSDL/branches/Typemap.tar.gz?view=tarpathrev=846 from the README: http://code.google.com/p/google-api-adwords-perl/source/browse/trunk/README Ok, I see they're shipping the same version which is available from CPAN as the dev version (2.00.99_3). But the patch is still not made for its code ... maybe it is for _2 or _1? The patch keeps failing out of the box: cpan -i Text::Patch tar xvzf Typemap.tar.gz tar xvzf awapi_perl_lib_1.3.2.tar.gz ~/tempski $ awapi_perl_lib_1.3.2/bin/soap_wsdl_patches.pl Typemap Trying to patch Typemap/lib/SOAP/WSDL/Generator/Template/XSD/Interface/POD/Operation.tt... patch successful. Trying to patch Typemap/lib/SOAP/WSDL/Generator/Template/XSD/Server.tt... patch successful. Trying to patch Typemap/lib/SOAP/WSDL/Generator/Template/Plugin/XSD.pm... patch successful. Trying to patch Typemap/lib/SOAP/WSDL/XSD/Typelib/Builtin/anyType.pm... patch successful. Trying to patch Typemap/lib/SOAP/WSDL/XSD/Typelib/ComplexType.pm...Hunk #2 failed at line 425. ~/tempski $ Anyway, only three files' small chunks fail from the patch, and they're short and mostly just semantically adding some formerly non-existent subroutines and changing the return values of others. I think with some manual labour we could turn that patch into a fixed regular patch, which we could then apply in an ebuild for SOAP::WSDL via a USE flag. For example, something along these lines for dev-perl/SOAP-WSDL-2.00.99.3.ebuild (licenses etc might be wrong): # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=2 MODULE_AUTHOR=MKUTTER MY_P=${P:0:17}_3 inherit eutils perl-module DESCRIPTION=SOAP::WSDL module LICENSE=Artistic SLOT=0 KEYWORDS=amd64 x86 IUSE=adwords src_prepare() { perl-module_src_prepare use adwords epatch ${FILESDIR}/${PV}-adwords.patch } This SOAP-WSDL package could then in turn be made a dependency for your real google-adwords package (dev-perl/Google-Adwords?): RDEPENDS=dev-perl/SOAP-WSDL[adwords] Am I making any sense? Theoretically (if you insist), you could still use the perl's Text::Patch route as well, but (if I'm not entirely wrong, see the excerpted attempted patch run above) the patch would still need to be touched up to match properly with the _3 dev release code. And it would add a dependency to Text::Patch, and make an odd call to perl in the middle of the ebuild. (I assume it must be made explicitly as I don't know if perl-module.eclass has any automation for this. Probably not since AFAICT Text::Patch isn't even installed by default). HTH -- Arttu V. -- Running Gentoo is like running with scissors
Re: [gentoo-user] Where to get qmake for qt3?
Where do I find qmake 3? I assume qt3 and whatever deps. it needs are available through the kde-sunset overlay.
Re: [gentoo-user] activating swap by udev event
On 07/01/2010 08:59 AM, SpaceCake wrote: that's good if I want to mount at a specific location, but for swap I need the device name, but this is changes depending on how many other usb drives are connected. Looks lik this is a tricky question :) No, you don't *NEED* the device name to mount swap, you can use a UUID or a filesystem label: # swapon -h Usage: swapon -a [-e] [-v] [-f] enable all swaps from /etc/fstab swapon [-p priority] [-v] [-f] special enable given swap swapon -sdisplay swap usage summary swapon -hdisplay help swapon -Vdisplay version The special parameter: {-L label | LABEL=label} LABEL of device to be used {-U uuid | UUID=uuid} UUID of device to be used device name of device to be used file name of file to be used Just put LABEL=cakeswap none swap sw,user 0 0 in your fstab and use mkswap -L cakeswap on your USB stick. Certainly, you'd want to use swapoff *before* you removed the stick, so that's going to have to be a manual step so I think you're stuck unsticking your stick.
[gentoo-user] Opera 10.60: fonts suck
I updated to Opera 10.60 just now. The fonts look extremely ugly to the point that makes this browser just a useless bunch of bytes on disk. Anyway to fix this?
[gentoo-user] Re: Where to get qmake for qt3?
On 2010-07-01, Nils Larsson n...@nerdshack.com wrote: Where do I find qmake 3? I assume qt3 and whatever deps. it needs are available through the kde-sunset overlay. Two questions: 1) What do the qt3support use flag and the qt-qt3support package do? I had assumed that they enabled qt3 support, but apparently not? 2) Is there any documentation on how to use Qt3 from the kde-sunset overlay? The only thing I could find was on how to use KDE 3.5 instead of KDE 4. I'm not interested in KDE, and I want to keep the normal Qt4 install -- I just have a single Qt3 (not KDE) app that I need to build from sources. -- Grant Edwards grant.b.edwardsYow! FOOLED you! Absorb at EGO SHATTERING impulse gmail.comrays, polyester poltroon!!
Re: [gentoo-user] activating swap by udev event
On Thu, 01 Jul 2010 11:59:43 -0700, Bill Longman wrote: that's good if I want to mount at a specific location, but for swap I need the device name, but this is changes depending on how many other usb drives are connected. Looks lik this is a tricky question :) No, you don't *NEED* the device name to mount swap, you can use a UUID or a filesystem label: You have the device name in a UDEV rule, it is /dev/%k. -- Neil Bothwick deja noo - reminds you of the last time you visited Scotland signature.asc Description: PGP signature
Re: [gentoo-user] Re: Patch via perl script in an ebuild?
On Thu, Jul 1, 2010 at 2:40 PM, Arttu V. arttu...@gmail.com wrote: On 7/1/10, Grant emailgr...@gmail.com wrote: Thank you Arttu. Here is the link to the SOAP::WSDL: http://soap-wsdl.svn.sourceforge.net/viewvc/soap-wsdl/SOAP-WSDL/branches/Typemap.tar.gz?view=tarpathrev=846 from the README: http://code.google.com/p/google-api-adwords-perl/source/browse/trunk/README Ok, I see they're shipping the same version which is available from CPAN as the dev version (2.00.99_3). But the patch is still not made for its code ... maybe it is for _2 or _1? The patch keeps failing out of the box: cpan -i Text::Patch tar xvzf Typemap.tar.gz tar xvzf awapi_perl_lib_1.3.2.tar.gz ~/tempski $ awapi_perl_lib_1.3.2/bin/soap_wsdl_patches.pl Typemap Trying to patch Typemap/lib/SOAP/WSDL/Generator/Template/XSD/Interface/POD/Operation.tt... patch successful. Trying to patch Typemap/lib/SOAP/WSDL/Generator/Template/XSD/Server.tt... patch successful. Trying to patch Typemap/lib/SOAP/WSDL/Generator/Template/Plugin/XSD.pm... patch successful. Trying to patch Typemap/lib/SOAP/WSDL/XSD/Typelib/Builtin/anyType.pm... patch successful. Trying to patch Typemap/lib/SOAP/WSDL/XSD/Typelib/ComplexType.pm...Hunk #2 failed at line 425. ~/tempski $ Anyway, only three files' small chunks fail from the patch, and they're short and mostly just semantically adding some formerly non-existent subroutines and changing the return values of others. I think with some manual labour we could turn that patch into a fixed regular patch, which we could then apply in an ebuild for SOAP::WSDL via a USE flag. For example, something along these lines for dev-perl/SOAP-WSDL-2.00.99.3.ebuild (licenses etc might be wrong): # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=2 MODULE_AUTHOR=MKUTTER MY_P=${P:0:17}_3 inherit eutils perl-module DESCRIPTION=SOAP::WSDL module LICENSE=Artistic SLOT=0 KEYWORDS=amd64 x86 IUSE=adwords src_prepare() { perl-module_src_prepare use adwords epatch ${FILESDIR}/${PV}-adwords.patch } This SOAP-WSDL package could then in turn be made a dependency for your real google-adwords package (dev-perl/Google-Adwords?): RDEPENDS=dev-perl/SOAP-WSDL[adwords] Am I making any sense? Theoretically (if you insist), you could still use the perl's Text::Patch route as well, but (if I'm not entirely wrong, see the excerpted attempted patch run above) the patch would still need to be touched up to match properly with the _3 dev release code. And it would add a dependency to Text::Patch, and make an odd call to perl in the middle of the ebuild. (I assume it must be made explicitly as I don't know if perl-module.eclass has any automation for this. Probably not since AFAICT Text::Patch isn't even installed by default). HTH -- Arttu V. -- Running Gentoo is like running with scissors I was thinking along the same lines, my use was google # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit perl-module DESCRIPTION=SOAP-WSDL provides a SOAP client with WSDL support. HOMEPAGE=http://soap-wsdl.svn.sourceforge.net; SRC_URI=http://soap-wsdl.svn.sourceforge.net/viewvc/soap-wsdl/SOAP-WSDL/branches/Typemap.tar.gz - ${P}.tar.gz LICENSE=Apache-2.0 SLOT=0 KEYWORDS=~amd64 ~x86 IUSE=google DEPEND=${RDEPEND} virtual/perl-Module-Build RDEPEND=dev-perl/SOAP-Lite dev-perl/Class-Std-Fast src_prepare() { if use google ; then epatch ${FILESDIR}/${PN}.patch | die google patch failed fi } -- David Abbott (dabbott)
Re: [gentoo-user] activating swap by udev event
On Thursday 01 July 2010 18:06:54 Nils Larsson wrote: tor 2010-07-01 klockan 08:49 -0700 skrev Bill Longman: On 07/01/2010 08:44 AM, SpaceCake wrote: So, it solves the first problem, identifiying the device, but how can I tell to udev to use always /dev/sds (for example) for this device? You need to have the udev rule or the script that it runs look at something specific(the swaplabel for instance). I'm thinking how can I instruct udev to turn off swap when the device is removed, but this is another story :) I tried doing exactly what you're doing now awhile ago and this is where I got stuck, swapoff needs the deivce node(path) to still exist, it can't disable swap without it. I could never get swapoff to run before udev removed the device node, so I ended up with the system thinking(or at least reporting) that it had loads more swap than it actually did. It is blindingly obvious what mistake you are both making. You want to remove the device then disable swap. That will never work in a zillion years for all the good reasons mentioned elsewhere in this thread. You MUST disable swap THEN remove the device. This sequence is inviolate. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Where to get qmake for qt3?
Grant Edwards wrote: On 2010-07-01, Nils Larssonn...@nerdshack.com wrote: Where do I find qmake 3? I assume qt3 and whatever deps. it needs are available through the kde-sunset overlay. Two questions: 1) What do the qt3support use flag and the qt-qt3support package do? I had assumed that they enabled qt3 support, but apparently not? 2) Is there any documentation on how to use Qt3 from the kde-sunset overlay? The only thing I could find was on how to use KDE 3.5 instead of KDE 4. I'm not interested in KDE, and I want to keep the normal Qt4 install -- I just have a single Qt3 (not KDE) app that I need to build from sources. You don't have to install KDE to get qt3. Just add the kde-sunset overlay then emerge qt3 or whatever you do need. Then you can use the other package that needs qt3. Just keep in mind, qt3 may not always be there. KDE3 is there for the folks that just can't use KDE4, either missing options or just older hardware. Dale :-) :-)
[gentoo-user] Re: Where to get qmake for qt3?
On 07/01/2010 10:21 PM, Grant Edwards wrote: On 2010-07-01, Nils Larssonn...@nerdshack.com wrote: Where do I find qmake 3? I assume qt3 and whatever deps. it needs are available through the kde-sunset overlay. Two questions: 1) What do the qt3support use flag and the qt-qt3support package do? I had assumed that they enabled qt3 support, but apparently not? qt3support is a Qt4 aid that helps in porting Qt3 applications to Qt4. It does not provide a full Qt3 library. 2) Is there any documentation on how to use Qt3 from the kde-sunset overlay? The only thing I could find was on how to use KDE 3.5 instead of KDE 4. I'm not interested in KDE, and I want to keep the normal Qt4 install -- I just have a single Qt3 (not KDE) app that I need to build from sources. You just add the overlay with layman and emerge qt:3.
[gentoo-user] Re: Where to get qmake for qt3?
On 2010-07-01, Grant Edwards grant.b.edwa...@gmail.com wrote: On 2010-07-01, Nils Larsson n...@nerdshack.com wrote: Where do I find qmake 3? I assume qt3 and whatever deps. it needs are available through the kde-sunset overlay. Two questions: 1) What do the qt3support use flag and the qt-qt3support package do? I had assumed that they enabled qt3 support, but apparently not? Google found me some info on what the qt3support in qt4 did, but it was a bit vague. It apparently enables some qt3 compatibilty layer stuff that's used by some apps that have been partially ported from qt3 to qt4. Having qt3support does support the building of qt3 apps. 2) Is there any documentation on how to use Qt3 from the kde-sunset overlay? The only thing I could find was on how to use KDE 3.5 instead of KDE 4. I'm not interested in KDE, and I want to keep the normal Qt4 install -- I just have a single Qt3 (not KDE) app that I need to build from sources. Installing qt3 seems to be rather simple. Just enable the kde-sunset overlay using layman, and then: emerge qt:3 Now I've got a /usr/qt/3/bin/qmake. The app still won't build, but I think I'm getting closer. -- Grant Edwards grant.b.edwardsYow! An Italian is COMBING at his hair in suburban DES gmail.comMOINES!
Re: [gentoo-user] One hard drive much slower for some reason.
Dale wrote: It hasn't mattered in the past. I'm not sure why it should matter now. I really don't see how it could matter at all really. Heck, my DVD drive is slow as it gets, its udma4, but hdc is on the same cable and it is one of the faster drives I have. That would exclude sda of course. Those two drives has been in there this way for ages and used to be pretty close as far as speed. I'm thinking age is catching up on the drive myself. Dale :-) :-) Just a update on this drive: r...@smoker-new-hda / # /root/hdparm Thu Jul 1 15:16:25 CDT 2010 /dev/hda: Timing cached reads: 780 MB in 2.00 seconds = 389.91 MB/sec Timing buffered disk reads: 170 MB in 3.01 seconds = 56.43 MB/sec /dev/hdb: Timing cached reads: 772 MB in 2.00 seconds = 385.42 MB/sec Timing buffered disk reads: 14 MB in 3.08 seconds = 4.55 MB/sec /dev/hdc: Timing cached reads: 774 MB in 2.00 seconds = 386.48 MB/sec Timing buffered disk reads: 168 MB in 3.01 seconds = 55.80 MB/sec /dev/sda: Timing cached reads: 790 MB in 2.00 seconds = 394.72 MB/sec Timing buffered disk reads: 228 MB in 3.01 seconds = 75.86 MB/sec r...@smoker-new-hda / # It appears that hdb is on the way out. I think it is packing its bags. 4.55MB/sec is getting pretty slow. That is on par with the drives that were made 15 or 20 years ago. I guess the next time I have the rig turned off, I need to move hdc down to hdb's spot and bolt her down. Dale :-) :-)
Re: [gentoo-user] activating swap by udev event
On Thu, 1 Jul 2010 21:46:15 +0200, Alan McKinnon wrote: That will never work in a zillion years for all the good reasons mentioned elsewhere in this thread. You MUST disable swap THEN remove the device. This sequence is inviolate. You could use a udev rule to enable the swap, but it has to be removed manually. But it does raise the question of why you would want swap on a USB stick in the first place. It must be slower than hard disk swap, and will wear out the flash memory. Instead of all this messing around, just increase the size of your swap partition, or add another one. -- Neil Bothwick Rainbows are just to look at, not to really understand. signature.asc Description: PGP signature
Re: [gentoo-user] activating swap by udev event
On Thursday 01 July 2010 23:50:56 Neil Bothwick wrote: On Thu, 1 Jul 2010 21:46:15 +0200, Alan McKinnon wrote: That will never work in a zillion years for all the good reasons mentioned elsewhere in this thread. You MUST disable swap THEN remove the device. This sequence is inviolate. You could use a udev rule to enable the swap, but it has to be removed manually. But it does raise the question of why you would want swap on a USB stick in the first place. It must be slower than hard disk swap, and will wear out the flash memory. Instead of all this messing around, just increase the size of your swap partition, or add another one. Or deal with the actual underlying issue which is probably get more RAM -- alan dot mckinnon at gmail dot com
[gentoo-user] qemu-kvm setup questions
qemu-kvm apparently expects a couple of options in /etc/make.conf, namely QEMU_SOFTMMU_TARGETS and QEMU_USER_TARGETS. The documentation that I could find in Google is underwhelming, to say the least. I could guess from the names alone that they define targets...dohhh. It could use an example. For instance, my physical machine (i.e. the host) is x86_64, running 64-bit Gentoo. I would like to emulate a 32-bit x86 (i386 ?). I will be trying to run 32-bit Gentoo and OS/2 Warp 4. My uneducated guess is QEMU_SOFTMMU_TARGETS=i386 QEMU_USER_TARGETS=x86_64 Is this correct? If not, what should I be using? Also, are there any gotcha's for file access from the guest to the host? Rather than re-downloading stuff all the time, I'm thinking of giving the guest read-only access to the host's /usr/portage. That should cover both syncing and distfiles. My only concern is how the different profiles are handled, i.e. 64-bit versus 32-bit. -- Walter Dnes waltd...@waltdnes.org
[gentoo-user] OT: governors (was: Is cpufrequtils needed these days?)
On Sun, Feb 28, 2010 at 07:52:02PM +0100, Volker Armin Hemmann wrote: On Sonntag 28 Februar 2010, Mick wrote: or is the kernel itself clever enough to manage the hardware directly these days? yes, it is. Just use the ondemand governor. I've noticed what looks like some work overloads using the ondemand governor. I'm pretty sure it is normal but I can see (user feeling) when the system loads the processor by intermittence. It is visible on some compilations tasks and when playing flash videos and compared to the performance governor. I'm still runing a 2.6.26 kernel. Just a user back report. -- Nicolas Sebrecht
[gentoo-user] Re: Boost emerge: bjam-1.41 using 100% CPU
On Wed, Mar 03, 2010 at 05:25:18PM +, Grant Edwards wrote: I did an update to day on two systems. Both are installed boost-1.41.0-r3, and both paused during the install phase for about ten minutes with bjam-1.41 using 100% of the CPU time. Eventually, things become un-jammed and various files get copied to the proper destiantions. Is this behavior normal? No, it really looks like a bug you should report if you didn't yet. -- Nicolas Sebrecht
[gentoo-user] Re: Changed behavior of portage when using FEATURES=getbinpkg
On Fri, Mar 05, 2010 at 06:14:39PM +0100, Dan Johansson wrote: I have a setup where I have one development host and one production host. On the dev-host I have FEATURES=buildpkg and on the prod-host I have FEATURES=getbinpkg and PORTAGE_BINHOST=http://192.168.4.4/portage-i686/; (this is my dev-host) set. A few days ago, after the two hosts has been down for an extended time (since Nov last year) I can no longer install/update an packages on the prod-host. ... !!! Digest verification failed: !!! /usr/portage/packages/sys-apps/portage-2.1.7.17.tbz2 !!! Reason: Filesize does not match recorded size !!! Got: 568929 !!! Expected: 2224676 File renamed to '/usr/portage/packages/sys- apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY' Failed to emerge sys-apps/portage-2.1.7.17, Log file: '/var/log/portage/sys-apps:portage-2.1.7.17:20100305-165414.log' ---8- The size 568929 matches the size on dev and prod: dev: # ll /usr/portage/packages/sys-apps/portage-2.1.7.17.tbz2 /usr/portage/packages/All/portage-2.1.7.17.tbz2 -rw-r--r-- 1 root root 568929 Mar 5 17:53 /usr/portage/packages/All/portage-2.1.7.17.tbz2 lrwxrwxrwx 1 root root 28 Mar 5 17:53 /usr/portage/packages/sys- apps/portage-2.1.7.17.tbz2 - ../All/portage-2.1.7.17.tbz2 prod: # ll /usr/portage/packages/sys- apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY -rw-r--r-- 1 root root 568929 Mar 5 17:53 /usr/portage/packages/sys- apps/portage-2.1.7.17.tbz2._checksum_failure_.IJVYZY What has happened and how to solve it? I'd say the prod portage tree is not synced against the same version of the dev one since it's expecting for a 2224676 file size. Do you sync the prod tree against the dev tree? -- Nicolas Sebrecht
[gentoo-user] Re: problem emerging libsoup 2.29.91
On Mon, Mar 15, 2010 at 04:22:52AM -0400, cov...@ccs.covici.com wrote: Hi. On my latest update I cannot emerge libsoup -- I did a google search, but I cannot find anything relevant -- this is what I get: checking for Apache PHP module... yes checking for xmlrpc-epi-php... ACCESS DENIED unlink: /session_mm_cli0.sem ACCESS DENIED open_wr: /session_mm_cli0.sem ACCESS DENIED unlink: /session_mm_cli0.sem yes ... Source configured. --- ACCESS VIOLATION SUMMARY --- LOG FILE /var/log/sandbox/sandbox-15710.log ... What the heck do I do with this? Looks like a bug you should report if not done yet, IMHO. -- Nicolas Sebrecht
[gentoo-user] Re: linux-uvc
On Tue, Mar 23, 2010 at 07:35:39PM +0100, Arnau Bria wrote: I've an caer TravelMate 5720 and I'd like to use my webcam (Suyin). I've read some docs and say that I should use uvc driver from kernel and not linux-uvc driver from portage. But portage package also contains user-space tools for USB cameras, so, if I use kernel driver, How may I get the tools? What tools are you talking about? Anyone who is using uvc could explain me his experience? -- Nicolas Sebrecht
[gentoo-user] Re: gnome 2.6 won't install
On Tue, Mar 23, 2010 at 08:31:14PM -0400, David Mehler wrote: This is an add-on to my previous post on gnome 2.6 and gentoo. To recap i am trying to get gnome 2.6 going. The compilation is failing at gnome-extra/gnome-user-docs-2.6.2 and specifically on the accessibility guide i'm getting an error 2. At the end of the output i was told for support a emerge --info would be needed, i have included it below. Gentle remark: are you really expecting for people to find out by themselves what's the initial thread and problem you're talking about? Why start a new thread? -- Nicolas Sebrecht
[gentoo-user] Re: gconf errors
On Sat, Mar 27, 2010 at 05:16:22PM -0400, David Relson wrote: Recently noticed: error popup when starting firefox, gnumeric, archive manager, etc: An error occurred while loading or saving configuration information for {program}. Some of your configuration settings may not work properly. The details window says (in all cases): Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Server ping error: IDL:omg.org/CORBA/COMM_FAILURE:1.0) gconfd isn't running. Manually starting /usr/libexec/gconfd-2 worked to start gconfd-2, but hasn't affected the gconf errors. Possibly relevant: Yesterday openrc was updated from 0.6.0-r1 to 0.6.1-r1. gconfd Any suggestions regarding what's actually broken and how to fix it? You may want to try to move and backup your ~/.gconf* stuff. -- Nicolas Sebrecht
Re: [gentoo-user] Can we please get a USB-stick install boot image?
here's one I prepared earlier ;) This is from 2008: http://nthrbldyblg.blogspot.com/2008/06/gentoo-linux-live-usb-key.html and these are some notes of mine on syslinux which may help a bit too: http://nthrbldyblg.blogspot.com/2010/02/syslinux-from-linux.html HTH, -- Iain Buchanan iaindb at netspace dot net dot au Delay is preferable to error. -- Thomas Jefferson
[gentoo-user] Re: How can I redirect all portage messages to syslog?
On Wed, May 05, 2010 at 10:02:22PM +0200, Jarry wrote: is it possible to redirect *all* portage messages to syslog? I mean, I would like to redirect content of all these files into /var/log/messages (if possible in standard structure): /var/log/emerge-fetch.log /var/log/emerge.log /var/log/portage/elog/summary.log This really sounds like an odd request. Which problem are your trying to solve in the first place? -- Nicolas Sebrecht
[gentoo-user] Re: ecryptfs-mount: superflous asking?
On Thu, Jun 17, 2010 at 04:45:13AM +0200, meino.cra...@gmx.de wrote: When remounting a directory (I use manually started scripts for that) for using with ecryptfs I am always asked, whether to use a passphrase or openssl. Is there a way to tell mount to use a passphrase and to shut up for the reset - after mounting the directory I am always told, what options are in use... 'man 8 losetup' should help you, I guess. -- Nicolas Sebrecht
[gentoo-user] Re: Portage tree from git
On Mon, Jun 28, 2010 at 06:23:03PM +0200, Florian Philipp wrote: It has been discussed on gentoo-dev some months ago. Some people were afraid that git would use too many file stats on every operation to be usable (performance-wise). I don't know the outcome of that discussion. Part of it probably took place on IRC. Maybe someone more interested than me can read it up and summarize? AFAIK, this work is still in progress. -- Nicolas Sebrecht
[gentoo-user] Mailing list policy on reply
Hi all, I'm often stucked by the current policy in this mailing list changing the 'Reply-To' header to the mailing list address. Most mailing lists I use don't do that. It is usually better and prefer the answer to all policy as it permit to be notified of an answer without having to track the whole mailing list. What do you think about changing of policy? -- Nicolas Sebrecht
Re: [gentoo-user] ISDN problems
Thomas U. Nockmann wrote: On Wednesday 23 June 2010 Alex Schuster wrote: [...] Hello, But /etc/init.d/capi fails to start, when calling 'capiinit activate': ERROR: cannot open /dev/capi20 nor /dev/isdn/capi20 - No such device or address (6) I'd got the same message while setting up a hylafax-server. I solved it by creating a new 50-udev.rules: ### ~ $ cat /etc/udev/rules.d/50-udev.rules KERNEL==capi, NAME=capi20, SYMLINK+=isdn/capi20 faxCAPI, GROUP=uucp, MODE=0666 KERNEL==capi[0-9]*, NAME=capi/%n ~ $ ### You may waive the faxCAPI-directive. Sorry for not responding until now. My imminent ISDN problem was workarounded, I got access to a machineI could use for that. And then my phone problem was finally fixed, so I again have a PC I can use for that. But I will shut it down soon, it's too much of a waste fo energy to let it run only for being able to use it for ISDN, and das server for CVS and my Wiki. I first thougt your suggestions would just adjust the permissions, and that does not seem to be the real problem, but I tried anyway, and got a partial success! The error message is gone, and capiinfo shows stuff. Thanks! But still, pppd call peer does not work. The system seems to be dialing, I see familiar messages, but that's it, no more messages at all. When I just tried that again, the system even hung, I could not even switch to a text shell, I had to reset. I suspected this had to do with multiple drivers being loaded, these are running after system startup: weird ~ # lsmod|grep -i isdn mISDNipac 17480 1 avmfritz mISDN_core 78152 3 avmfritz,mISDNipac But I just tried again, after removing all avmfritz and mISDN modules. The last message I get is: capiplugin: using /dev/capi/0: - 022112345678 outgoing (pcli=...) I removed all modules again, commented out fcpci in /etc/capi.conf and enabled avmfritz, started capi. But then capiinfo again gives the capi not installed message. I'm not sure what to do now, maybe have a deeper look at the mISDN project. Why can't these things just keep working? And even worse, they make my PC crash, which makes trying around further no joy. Wonko
[gentoo-user] Re: Mailing list policy on reply
On 2010-07-02, Nicolas Sebrecht nicolas.s-...@laposte.net wrote: I'm often stucked by the current policy in this mailing list changing the 'Reply-To' header to the mailing list address. Most mailing lists I use don't do that. It is usually better and prefer the answer to all policy as it permit to be notified of an answer without having to track the whole mailing list. What do you think about changing of policy? I'd rather not get replies sent directly to my address, so I prefer it the way it is. -- Grant
Re: [gentoo-user] Re: gnome 2.6 won't install
On Fri, 2010-07-02 at 01:59 +0200, Nicolas Sebrecht wrote: On Tue, Mar 23, 2010 at 08:31:14PM -0400, David Mehler wrote: This is an add-on to my previous post on gnome 2.6 and gentoo. To recap i am trying to get gnome 2.6 going. The compilation is failing at gnome-extra/gnome-user-docs-2.6.2 and specifically on the accessibility guide i'm getting an error 2. At the end of the output i was told for support a emerge --info would be needed, i have included it below. Gentle remark: are you really expecting for people to find out by themselves what's the initial thread and problem you're talking about? Why start a new thread? The OP was over 3 months ago. I think a lack of response speaks volumes compared to responding so late. It was a thread that was DOA. Why did you decide to dig it up?
[gentoo-user] Compilation error: pygtk
Hi after updateing libpng I run revdep-rebuild, which said pygtk have to rebuild (beside others). The compilation of pygtk breaks with: Could not write function get_option_group: No ArgType for GOptionGroup* Could not write function settings_install_property: No ArgType for GParamSpec* Could not write function settings_install_property_parser: No ArgType for GParamSpec* Could not write function stock_add_static: No ArgType for const-GtkStockItem* Could not write function stock_set_translate_func: No ArgType for GtkTranslateFunc Could not write function print_run_page_setup_dialog_async: No ArgType for GtkPageSetupDoneFunc Could not write function builder_error_quark: No ArgType for GQuark Could not write function page_setup_new_from_key_file: No ArgType for GKeyFile* Could not write function paper_size_get_paper_sizes: No ArgType for GList* Could not write function paper_size_new_from_key_file: No ArgType for GKeyFile* Could not write function print_settings_new_from_key_file: No ArgType for GKeyFile* Could not write function rc_parse_color_full: No ArgType for GScanner* Warning: Constructor for GtkAccessible needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GtkClipboard needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GtkItemFactory needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GtkPreview needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GtkListItem needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GtkCList needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GtkCTree needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GtkMessageDialog needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GtkRecentAction needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors ***INFO*** The coverage of global functions is 88.67% (180/203) ***INFO*** The coverage of methods is 98.58% (2496/2532) ***INFO*** The coverage of virtual proxies is 94.67% (391/413) ***INFO*** The coverage of virtual accessors is 93.99% (469/499) ***INFO*** The coverage of interface proxies is 83.72% (72/86) make[2]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.16.0-r1/work/pygtk-2.16.0-2.6/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.16.0-r1/work/pygtk-2.16.0-2.6' make: *** [all] Error 2 * ERROR: dev-python/pygtk-2.16.0-r1 failed: * Building failed with CPython 2.6 in python_default_function() function * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 5365: Called python_src_compile * environment, line 5150: Called python_execute_function '-d' '-s' '--' * environment, line 4058: Called die * The specific snippet of code: * die ${failure_message}; * * If you need support, post the output of 'emerge --info =dev-python/pygtk-2.16.0-r1', * the complete build log and the output of 'emerge -pqv =dev-python/pygtk-2.16.0-r1'. * The complete build log is located at '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/environment'. * S: '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/work/pygtk-2.16.0' Failed to emerge dev-python/pygtk-2.16.0-r1, Log file: '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/build.log' * Messages for package dev-python/pygtk-2.16.0-r1: * ERROR: dev-python/pygtk-2.16.0-r1 failed: * Building failed with CPython 2.6 in python_default_function() function * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 5365: Called python_src_compile * environment, line 5150: Called python_execute_function '-d' '-s' '--' * environment, line 4058: Called die * The specific snippet of code: * die ${failure_message}; * How can I prevent the compilation problem? If requested, I will sent the other files mentioned in the above report of course -- I only want to mailbomb the mailinglist in beforehand ;) Best regards, mcc
Re: [gentoo-user] Re: problem emerging libsoup 2.29.91
Nicolas Sebrecht nicolas.s-...@laposte.net wrote: On Mon, Mar 15, 2010 at 04:22:52AM -0400, cov...@ccs.covici.com wrote: Hi. On my latest update I cannot emerge libsoup -- I did a google search, but I cannot find anything relevant -- this is what I get: checking for Apache PHP module... yes checking for xmlrpc-epi-php... ACCESS DENIED unlink: /session_mm_cli0.sem ACCESS DENIED open_wr: /session_mm_cli0.sem ACCESS DENIED unlink: /session_mm_cli0.sem yes ... Source configured. --- ACCESS VIOLATION SUMMARY --- LOG FILE /var/log/sandbox/sandbox-15710.log ... What the heck do I do with this? Looks like a bug you should report if not done yet, IMHO. Only way I have been able o emerge libsoup and friends is to unmerge php first and re-emerge it afterwards. I sure would like to know what access violation means, however. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
[gentoo-user] Re: gnome 2.6 won't install
On Thu, Jul 01, 2010 at 09:34:25PM -0400, Albert Hopkins wrote: The OP was over 3 months ago. I think a lack of response speaks volumes compared to responding so late. It was a thread that was DOA. Why did you decide to dig it up? The real reason is that I don't have time to track this list in a per day, week or even in a per month basis. I don't think it's a problem that much. Is there any reason to not answer, even late? Some problem are blocking, some aren't and can be delayed a long time. Who knows? Even if everything seems to show the problem is solved or turned around, people usually like to understand what could have happen or have more clues. I already had such feedback for problems older than one year. Now, what I was saying is more about how to make my chances bigger to have answers in general than trying to explain why a lack of response. -- Nicolas Sebrecht
[gentoo-user] Re: problem emerging libsoup 2.29.91
On Thu, Jul 01, 2010 at 09:58:34PM -0400, cov...@ccs.covici.com wrote: I sure would like to know what access violation means, however. You'll find explanations here : http://bugday.gentoo.org/sandbox.html -- Nicolas Sebrecht
Re: [gentoo-user] Re: Mailing list policy on reply
Grant Edwards wrote: On 2010-07-02, Nicolas Sebrechtnicolas.s-...@laposte.net wrote: I'm often stucked by the current policy in this mailing list changing the 'Reply-To' header to the mailing list address. Most mailing lists I use don't do that. It is usually better and prefer the answer to all policy as it permit to be notified of an answer without having to track the whole mailing list. What do you think about changing of policy? I'd rather not get replies sent directly to my address, so I prefer it the way it is. +1 When they start a new list and it is not set up this way, it causes confusion. This was discussed before on another list. I don't see this changing anytime soon and hope it doesn't. Dale :-) :-)
Re: [gentoo-user] Re: Patch via perl script in an ebuild?
[snip] Am I making any sense? I think all of that is right on. I need to find out why the patch isn't working though. Theoretically (if you insist), you could still use the perl's Text::Patch route as well, but (if I'm not entirely wrong, see the excerpted attempted patch run above) the patch would still need to be touched up to match properly with the _3 dev release code. And it would add a dependency to Text::Patch, and make an odd call to perl in the middle of the ebuild. (I assume it must be made explicitly as I don't know if perl-module.eclass has any automation for this. Probably not since AFAICT Text::Patch isn't even installed by default). Do you think it would be better to create a real patch than to use the perl patch (after we figure out why it isn't working)? I would think it would be easier to use the perl patch in case a different version is released so we don't have to re-create the patch each time. A Text::Patch dep wouldn't be so bad. What do you think? - Grant
Re: [gentoo-user] Re: Patch via perl script in an ebuild?
[snip] # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit perl-module DESCRIPTION=SOAP-WSDL provides a SOAP client with WSDL support. HOMEPAGE=http://soap-wsdl.svn.sourceforge.net; SRC_URI=http://soap-wsdl.svn.sourceforge.net/viewvc/soap-wsdl/SOAP-WSDL/branches/Typemap.tar.gz - ${P}.tar.gz LICENSE=Apache-2.0 SLOT=0 KEYWORDS=~amd64 ~x86 IUSE=google DEPEND=${RDEPEND} virtual/perl-Module-Build RDEPEND=dev-perl/SOAP-Lite dev-perl/Class-Std-Fast src_prepare() { if use google ; then epatch ${FILESDIR}/${PN}.patch | die google patch failed fi } David, you mentioned in the bug that you couldn't get the patch to work clean. I thought you got it working before when you posted the patched Typemap for me to download. Did it work then but not now? http://bugs.gentoo.org/show_bug.cgi?id=305621 - Grant
[gentoo-user] Re: qemu-kvm setup questions
On 07/01/2010 03:05 PM, waltd...@waltdnes.org wrote: qemu-kvm apparently expects a couple of options in /etc/make.conf, I'm jumping in here only because no one else has, so far. I'm the kind of nutcase who enjoys pulling and compiling the latest kernel sources from Linus every morning, and then I struggle and curse while trying to find the source of all the brand new bugs that just bit me. So, quite obviously, I do the same with the qemu-kvm git repo at kernel.org. (My only point here is that I don't build qemu-kvm from gentoo portage, so I can't answer your questions about the gentoo make.conf variables.) qemu-kvm does not come packaged with a cute and user-friendly gui for all the confusing micro-configuration details like network bridging, and on and on, ad nearly infinitum. Both qemu-kvm and virtualbox are forks of the original qemu project, and AFAICT they've stuck pretty closely to the original qemu command-line options (numbering in the hundreds, it seems to me). If you understand how to use the original qemu emulator, you are 99% of the way to understanding how to use both qemu-kvm and virtualbox. The big advantage of virtualbox is their creation of the guest-additions that allow for trivially easy sharing of files on the host machine with the guest machine. The catch is that the virtualbox guest additions are custom-built for each individual guest OS, and I don't know if OS/2 is one of the supported OS's in virtualbox. Being too lazy to dig in and learn the micro-details of qemu's networking, whenever I want to share files on my gentoo host with a qemu-kvm guest, I make a CD/iso image of the files and then mount the iso image on the guest machine using the qemu -cdrom=/path/to/my/custom/image.iso flag. I'm betting that there is a much better way of doing this, and I'm hoping someone out there can educate both of us.
Re: [gentoo-user] Re: Flash stopped working after Firefox 3.6.3-3.6.4 update.
Firefox got upgraded from 3.6.3 to 3.6.4 yesterday, and now the flash plugin won't work. ?I tried both x86 and ~x86 versions, and both crash 100% of the time. The problem was caused by an old 9.x copy of the plugin that was left in ~/.mozialla/plugins. ?After deleting the flashplayer plugin from that directory, FF then found the officially installed 10.x version and is now happy. I'm having the exact same problem, except I don't have a ~/.mozilla/plugins directory at all. Any ideas? Search for libflashplayer.so files. Another of my machines had an old one in /usr/lib/nsbrowser/plugins. That should have been a symlink to /opt/netscape/plugins/libflashplayer.so which is where the ebuild puts the file. I did have an extra libflashplayer.so, I deleted it, I deleted pluginreg.dat, I re-emerged adobe-flash, and I restarted firefox, but flash still isn't working. It works in opera. Any ideas? - Grant