[gentoo-user] emerge doesn't work after emerge-webrsync
Hello. Today I did an emerge-webrsync successfully, and followed the instruction to have upgraded profile to default/linux/x86/2008.0/desktop. Then all portage related command stopped working. Example: emerson ~ # emerge -av hsqldb Traceback (most recent call last): File /usr/bin/emerge, line 4049, in ? emerge_main() File /usr/bin/emerge, line 3768, in emerge_main settings, trees, mtimedb = load_emerge_config() File /usr/bin/emerge, line 3679, in load_emerge_config trees = portage.create_trees(trees=trees, **kwargs) File /usr/lib/portage/pym/portage.py, line 6780, in create_trees config_incrementals=portage_const.INCREMENTALS) File /usr/lib/portage/pym/portage.py, line 902, in __init__ addProfile(os.path.realpath(self.profile_path)) File /usr/lib/portage/pym/portage.py, line 889, in addProfile raise portage_exception.ParseError( NameError: global name 'parents_file' is not defined I am completely clueless because search for the error message only gets 3 google results talking about seeming unrelated issues. What information should I provide to get some help? I hope this information is useful: the output of emerge-webrsync, the last a few lines are like following (note I followed exactly the steps instructed at the bottom to upgrade my profile to default/linux/x86/2008.0/desktop.) [..snip..] deleting xfce-extra/xfce4-xkb/files/digest-xfce4-xkb-0.4.3-r1 deleting xfce-extra/xfce4-xkb/files/ Number of files: 126531 Number of files transferred: 67199 Total file size: 161189139 bytes Total transferred file size: 118930379 bytes Literal data: 118930379 bytes Matched data: 0 bytes File list size: 3095723 File list generation time: 1.351 seconds File list transfer time: 0.000 seconds Total bytes sent: 125231642 Total bytes received: 1592044 sent 125231642 bytes received 1592044 bytes 216978.08 bytes/sec total size is 161189139 speedup is 1.27 cleaning up transferring metadata/cache Performing Global Updates: /usr/portage/profiles/updates/3Q-2004 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' ... Performing Global Updates: /usr/portage/profiles/updates/1Q-2005 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' . Performing Global Updates: /usr/portage/profiles/updates/1Q-2007 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' . Performing Global Updates: /usr/portage/profiles/updates/2Q-2007 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' .. Performing Global Updates: /usr/portage/profiles/updates/3Q-2007 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' Performing Global Updates: /usr/portage/profiles/updates/4Q-2007 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' . Performing Global Updates: /usr/portage/profiles/updates/1Q-2008 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' Performing Global Updates: /usr/portage/profiles/updates/2Q-2008 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' . Performing Global Updates: /usr/portage/profiles/updates/3Q-2008 (Could take a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update
Re: [gentoo-user] emerge doesn't work after emerge-webrsync
On Tue, Jul 29, 2008 at 8:24 AM, [EMAIL PROTECTED] wrote: Hello. Today I did an emerge-webrsync successfully, and followed the instruction to have upgraded profile to default/linux/x86/2008.0/desktop. Then all portage related command stopped working. [snip] *** Completed websync, please now perform a normal rsync if possible. Update is current as of the of MMDD: 20080728 Did you also do this last step? If that profile still gives trouble, you can use an earlier one instead and re-sync -- Alan McKinnon [EMAIL PROTECTED]
Re: [gentoo-user] The day of the living aspell
Sun, 27 Jul 2008 23:12:52 -0700 Andrey Falko [EMAIL PROTECTED] wrote: On Fri, Jul 25, 2008 at 12:41 PM, Jan Seeger [EMAIL PROTECTED] wrote: Greetings, I have recently tasted the superior spelling correction of hunspell, and don't ever want to see aspell on my system again. To that end, I have globally disabled the spell flag. However, kdelibs still seems to depend on aspell, even though I have disabled the flag and even rebuild kdelibs. equery d aspell gives me this (and yes, I have removed the dictionaries) : app-dicts/aspell-de-0.60_pre20030222 (=app-text/aspell-0.60) app-dicts/aspell-en-6.0.0 (=app-text/aspell-0.60) app-editors/emacs-22.2-r2 (spell? app-text/aspell) kde-base/kdelibs-3.5.9-r4 (spell? =app-text/aspell-0.60.5) I have disabled the spell flag globally and in package.use, did a emerge --newuse, and still, kdelibs is pulling in aspell. So, how can I get rid of it? Regards, Jan -- Four bits at a time www.thenybble.de So after removing aspell, aspell-en and aspell-de are still show in equery d? This is very strange...if I remove a package, it will no longer be shown in equery d.can you post you emerge --info? 'equery depends' shows depedencies and possible depedencies, and it doesn't care if they're installed or not. For example, if I've set USE=minimal for xinit so xterm won't be pulled in: [EMAIL PROTECTED] ~ $ equery d xterm [ Searching for packages depending on xterm... ] x11-apps/xinit-1.0.5-r1 (!minimal? x11-terms/xterm) [EMAIL PROTECTED] ~ $ emerge -pv xterm These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] sys-libs/libutempter-1.1.5 15 kB [ebuild N] x11-apps/luit-1.0.2 USE=-debug 97 kB [ebuild N] x11-terms/xterm-235 USE=truetype unicode -Xaw3d -paste64 -toolbar 838 kB Total: 3 packages (3 new), Size of downloads: 949 kB [EMAIL PROTECTED] ~ $ emerge -pv xinit These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-apps/xinit-1.0.5-r1 USE=minimal pam -debug -hal 105 kB Total: 1 package (1 reinstall), Size of downloads: 105 kB [EMAIL PROTECTED] ~ $ In the aspell case, the (=app-text/aspell-0.60) from equery means 'if USE=spell, depend on aspell' I hope that explains it Miika signature.asc Description: PGP signature
Re: [gentoo-user] Re: blank consoles after X starts
Hi! Indeed, that looks quite promising. It would be a nice Christmas present for Gentoo users. In the mean time my problems were gone by using the versions stated in the bug. Greetings! -- Jorge Martínez López [EMAIL PROTECTED] http://www.jorgeml.net
Re: [gentoo-user] media-video/totem-2.20.3 Access violation
Ivan Alden wrote: When I run a revdep-rebuild or emerge totem I get an access violation error when the system tries to compile totem. Anyone knows what could be wrong? Thanks Source compiled. --- ACCESS VIOLATION SUMMARY --- LOG FILE = /var/log/sandbox/sandbox-16382.log unlink:/usr/share/xml2po/docbook.pyc unlink:/usr/share/xml2po/docbook.pyc unlink:/usr/share/xml2po/docbook.pyc unlink:/usr/share/xml2po/docbook.pyc unlink:/usr/share/xml2po/docbook.pyc unlink:/usr/share/xml2po/docbook.pyc unlink:/usr/share/xml2po/docbook.pyc unlink:/usr/share/xml2po/docbook.pyc Not sure about that, but I just got a similar error with some *.pyc files in /usr/share/pygtk/2.0/codegen/. I renamed those files, and could merge the package then. If you try this, you do not need to compile totem, just do an ebuild /usr/portage/media-video/totem-2.20.3.ebuild qmerge. Or FEATURES=keepwork emerge -1 totem, which would take slightly longer due to unpacking and configuring again. Wonko
Re: [gentoo-user] FIXED!! Re: Can't emerge xfce4 with installed lprng. But ran out of inodes. :-(
Hi Dale, on Fri, Jul 25, 2008 at 03:44:54PM -0500, you wrote: How do you run out of inodes anyway? I use reiserfs for most partitions except /boot and portage. My /data partition has 75,000 files and 3,600 directories. No problems so far but not near as many files as you have. You can adjust the number of inodes to create at mkfs using -i, -N or -T which are just different ways of doing the same thing. Lowering the number of inodes wastes less disk space if you know you're not going to write many files anyway. This feature bit me once when I set up a -Tlargefile4 partition (i.e. one inode per 4 MiB of disk) for videos. As it happens, I had to misuse it for backups at some point and was very puzzled when df showed 3% used space but even touch gave me a no space left on device error. tarring the stuff I had planned to just copy solved it and would prolly have been faster in the first place :) cheers, Matthias -- I prefer encrypted and signed messages. KeyID: FAC37665 Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665 pgpvA54BVEYxS.pgp Description: PGP signature
[gentoo-user] Sync'ing and compiling pkgs for multiple PCs
Hi, Below I explain my story, I show some difficulties and near the end ask a few questions, but last paragraph is my main question, comments on the rest is greatly appreciated. I have 3 computers and they are all setup the same with the exception of the kernel that has different options for the youngest of my pcs. I'm looking for a simple, easy and efficient way to keep them all up2date. I want to avoid 3 --sync to the gentoo servers. I have tried to setup one of my pc as central server and sync the others on it, but has the main disadvantage that the other PCs are dependant on it (ok, it's not so difficult to change make.conf). Then, I would have to compile approximately 3 times the same software. My computers are slow, I am poor, can't buy new hardware (FORGET IT). So I tried turning on buildpkg and compile on my fastest PC. I already use unison to sync my /home directory through ssh, i use it because it is simple and does exactly what I need out of the box. (Compared to rsyncd, where you need to setup a server, setup the firewall, what about security?...). Anyway, I decided to sync /usr/portage with unison as well, which worked fine and I had the binpkgs on the other pc. When I did an `emerge -k -uDN world` I found that many packages still had to be built. I extracted the list of packages and versions, formated properly and emerged them all on my fastest pc, ran through the same routine and at the end I had to recompile just a few packages that I let run (nothing like gcc or glibc, hehe). Now, with my unison technique I believe the only flaw was that I didn't have the list of all packages on all my PCs and I wonder if there is a way to generate such a list, similar to what `emerge -vp -uDN world` gives but in a format ready for emerge, so I can dump the pkg list for the 3 pc in 3 files and run emerge on those 3 files. I would compile them -1, which, as I understand it would upgrade my system (upgrade but not change world entries) and install unneeded packages around. I would then use --depclean which would remove the unneeded packages cleanly and finally revdep-rebuild. I would be left with my fastest pc's world up2date + all binpkgs of all 3 pcs. The advantage of my unison technique is it's transparent to any 3 pc, if a pkg is not there, it downloads the distfile from the internet and compiles it, completely independant. Just doing the --sync requires a little bit of consideration. I'm wondering if there is (i'm sure there is) a better practice in the compilation of binpkgs for use by multiple computers, so that none of the other computers will compile (quick update for them) and that the compiling computer can compile all needed pkgs in one run preferably. As usual, if you can answer my question directly on the mailing list that'd be nice, if you could give URLs to some documentation that answers my question that'd be very nice too! Thanks, Simon
Re: [gentoo-user] Sync'ing and compiling pkgs for multiple PCs
On Tue, Jul 29, 2008 at 4:09 PM, Simon [EMAIL PROTECTED] wrote: Hi, Below I explain my story, I show some difficulties and near the end ask a few questions, but last paragraph is my main question, comments on the rest is greatly appreciated. I have 3 computers and they are all setup the same with the exception of the kernel that has different options for the youngest of my pcs. I'm looking for a simple, easy and efficient way to keep them all up2date. I want to avoid 3 --sync to the gentoo servers. I have tried to setup one of my pc as central server and sync the others on it, but has the main disadvantage that the other PCs are dependant on it (ok, it's not so difficult to change make.conf). Then, I would have to compile approximately 3 times the same software. My computers are slow, I am poor, can't buy new hardware (FORGET IT). So I tried turning on buildpkg and compile on my fastest PC. I already use unison to sync my /home directory through ssh, i use it because it is simple and does exactly what I need out of the box. (Compared to rsyncd, where you need to setup a server, setup the firewall, what about security?...). Anyway, I decided to sync /usr/portage with unison as well, which worked fine and I had the binpkgs on the other pc. When I did an `emerge -k -uDN world` I found that many packages still had to be built. I extracted the list of packages and versions, formated properly and emerged them all on my fastest pc, ran through the same routine and at the end I had to recompile just a few packages that I let run (nothing like gcc or glibc, hehe). Now, with my unison technique I believe the only flaw was that I didn't have the list of all packages on all my PCs and I wonder if there is a way to generate such a list, similar to what `emerge -vp -uDN world` gives but in a format ready for emerge, so I can dump the pkg list for the 3 pc in 3 files and run emerge on those 3 files. I would compile them -1, which, as I understand it would upgrade my system (upgrade but not change world entries) and install unneeded packages around. I would then use --depclean which would remove the unneeded packages cleanly and finally revdep-rebuild. I would be left with my fastest pc's world up2date + all binpkgs of all 3 pcs. The advantage of my unison technique is it's transparent to any 3 pc, if a pkg is not there, it downloads the distfile from the internet and compiles it, completely independant. Just doing the --sync requires a little bit of consideration. I'm wondering if there is (i'm sure there is) a better practice in the compilation of binpkgs for use by multiple computers, so that none of the other computers will compile (quick update for them) and that the compiling computer can compile all needed pkgs in one run preferably. As usual, if you can answer my question directly on the mailing list that'd be nice, if you could give URLs to some documentation that answers my question that'd be very nice too! Thanks, Simon I don't have time right now to answer all of your questions, but in terms of having all machines have the same list of installed packages, all you probably need is /var/lib/portage/world . This lists all of the packages that you emerged. I.e. those packages not brought in via dependencies. If you have the same USE flags set on all machines, then you should not see the need for new dependencies to be brought in on any of the non-compile machines.
[gentoo-user] sdl-perl
Anyone have a clue as to what would cause the following error: Install sdl-perl-2.1.3-r3 into /var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/image/ category dev-perl WARNING: Can't figure out install path for types: arch lib Files will not be installed. The package is already installed, so it succeeded at one time, but revdep-rebuild wants to reinstall it and it keeps failing. I believe the above is the issue, but I'll paste the full output from the installation attempt below. There is also this error: Error: 'GLint' not in typemap in OpenGL.xs, line 2099 but the process appears to continue after that and I don't _think_ that's causing the ultimate failure. Thanks in advance for any assistance. - # emerge sdl-perl Calculating dependencies... done! Verifying ebuild Manifests... Emerging (1 of 1) dev-perl/sdl-perl-2.1.3-r3 to / * SDL_Perl-2.1.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking SDL_Perl-2.1.3.tar.gz ;-) ... [ ok ] Unpacking source... Unpacking SDL_Perl-2.1.3.tar.gz to /var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/work * Applying sdl-2.1.3.build.patch ... [ ok ] * Applying sdl-perl-2.1.3-gfxPie.patch ... [ ok ] Source unpacked. Compiling source in /var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/work/SDL_Perl-2.1.3 ... * Using Module::Build Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'SDL_Perl' version '2.1.3' Copying lib/SDL/Tutorial/Animation.pm - blib/lib/SDL/Tutorial/Animation.pm Copying lib/SDL/Surface.pm - blib/lib/SDL/Surface.pm Copying lib/SDL/Rect.pm - blib/lib/SDL/Rect.pm Copying lib/SDL/Palette.pm - blib/lib/SDL/Palette.pm Copying lib/SDL/MPEG.pm - blib/lib/SDL/MPEG.pm Copying lib/SDL/SFont.pm - blib/lib/SDL/SFont.pm Copying lib/SDL/Tool/Graphic.pm - blib/lib/SDL/Tool/Graphic.pm Copying lib/SDL/Tutorial/Drawing.pm - blib/lib/SDL/Tutorial/Drawing.pm Copying lib/SDL/Cursor.pm - blib/lib/SDL/Cursor.pm Copying lib/SDL/Video.pm - blib/lib/SDL/Video.pm Copying lib/SDL/Event.pm - blib/lib/SDL/Event.pm Copying lib/SDL/Tutorial.pm - blib/lib/SDL/Tutorial.pm Copying lib/SDL/Mixer.pm - blib/lib/SDL/Mixer.pm Copying lib/SDL/Sound.pm - blib/lib/SDL/Sound.pm Copying lib/SDL/OpenGL.pm - blib/lib/SDL/OpenGL.pm Copying lib/SDL.pm - blib/lib/SDL.pm Copying lib/SDL/Font.pm - blib/lib/SDL/Font.pm Copying lib/SDL/Timer.pm - blib/lib/SDL/Timer.pm Copying lib/SDL/Music.pm - blib/lib/SDL/Music.pm Copying lib/SDL/OpenGL/Constants.pm - blib/lib/SDL/OpenGL/Constants.pm Copying lib/SDL/Color.pm - blib/lib/SDL/Color.pm Copying lib/SDL/Config.pm - blib/lib/SDL/Config.pm Copying lib/SDL/Tool/Font.pm - blib/lib/SDL/Tool/Font.pm Copying lib/SDL_perl.pm - blib/lib/SDL_perl.pm Copying lib/SDL/Cdrom.pm - blib/lib/SDL/Cdrom.pm Copying lib/SDL/Tutorial/Images.pm - blib/lib/SDL/Tutorial/Images.pm Copying lib/SDL/App.pm - blib/lib/SDL/App.pm Copying lib/SDL/TTFont.pm - blib/lib/SDL/TTFont.pm Copying lib/SDL/Constants.pm - blib/lib/SDL/Constants.pm Copying src/SDL.xs - ./SDL_perl.xs ./SDL_perl.xs - ./SDL_perl.c cc -I/usr/local/lib/perl5/5.10.0/x86_64-linux/CORE -DXS_VERSION=2.1.3 -DVERSION=2.1.3 -fPIC -I/usr/X11R6/include -I/usr/include/smpeg -I/usr/include/SDL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_PNG -DHAVE_SDL -DHAVE_SDL_TTF -DHAVE_SDL_NET -DHAVE_SDL_IMAGE -DHAVE_SDL_GFX -DHAVE_JPEG -DHAVE_SMPEG -DHAVE_SDL_MIXER -fPIC -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -o ./SDL_perl.o ./SDL_perl.c ./SDL_perl.xs: In function 'XS_SDL_NetResolveIP': ./SDL_perl.xs:2449: warning: assignment discards qualifiers from pointer target type
[gentoo-user] ath0 startup problem
Greetings, I am following this guide... http://gentoo-wiki.com/Madwifi_Wireless_Access_Point ...to setup my gentoo system as a wireless access point. I have it all setup and everthing is working, however, when I boot up my gentoo system it says... Bringing up interface ath0 starting wpa_supplicant on ath0 ioctl[SIOCSIWMODE]: invalid argument Could not configure driver to use managed mode Starting wpa_cli on ath0... Backgrounding WARNING:net.ath0 has started, but is inactive I think something must be configured the wrong way. How do I fix this? I think I want master mode not managed mode I think this problem may have to do with the fact I am using baselayout 2.0.0 but am not totally sure. What does ioctl[SIOCSIWMODE]: invalid argument mean? What does inactive mean? Again, everything is working so this isn't a major problem but I would still like to fix it. Thanks Jason
Re: [gentoo-user] Sync'ing and compiling pkgs for multiple PCs
I don't have time right now to answer all of your questions, but in terms of having all machines have the same list of installed packages, all you probably need is /var/lib/portage/world . This lists all of the packages that you emerged. I.e. those packages not brought in via dependencies. If you have the same USE flags set on all machines, then you should not see the need for new dependencies to be brought in on any of the non-compile machines. Hmmm, a simple cat of those three files then, simpler than my idea! And for the system I believe this depends only on the profile chosen, so this profile should be the same on each machine, or then I would have to generate the list of packages in each pc's system... I don't see why they should be different so this should not be a concern. Thanks!
Re: [gentoo-user] ath0 startup problem
[EMAIL PROTECTED] wrote: Greetings, I am following this guide... http://gentoo-wiki.com/Madwifi_Wireless_Access_Point ...to setup my gentoo system as a wireless access point. I have it all setup and everthing is working, however, when I boot up my gentoo system it says... Bringing up interface ath0 starting wpa_supplicant on ath0 ioctl[SIOCSIWMODE]: invalid argument Could not configure driver to use managed mode Starting wpa_cli on ath0... Backgrounding WARNING:net.ath0 has started, but is inactive I think something must be configured the wrong way. How do I fix this? I think I want master mode not managed mode I think this problem may have to do with the fact I am using baselayout 2.0.0 but am not totally sure. What does ioctl[SIOCSIWMODE]: invalid argument mean? What does inactive mean? Again, everything is working so this isn't a major problem but I would still like to fix it. Thanks Jason I'm not sure if this will help but I did a little googleing for ya. Look at the last post on this one. http://www.gossamer-threads.com/lists/gentoo/user/169035 Hope that helps or some guru will come help. Dale :-) :-)
Re: [gentoo-user] ath0 startup problem
That was me trying to set this up last week :-) [EMAIL PROTECTED] wrote: Greetings, I am following this guide... http://gentoo-wiki.com/Madwifi_Wireless_Access_Point ...to setup my gentoo system as a wireless access point. I have it all setup and everthing is working, however, when I boot up my gentoo system it says... Bringing up interface ath0 starting wpa_supplicant on ath0 ioctl[SIOCSIWMODE]: invalid argument Could not configure driver to use managed mode Starting wpa_cli on ath0... Backgrounding WARNING:net.ath0 has started, but is inactive I think something must be configured the wrong way. How do I fix this? I think I want master mode not managed mode I think this problem may have to do with the fact I am using baselayout 2.0.0 but am not totally sure. What does ioctl[SIOCSIWMODE]: invalid argument mean? What does inactive mean? Again, everything is working so this isn't a major problem but I would still like to fix it. Thanks Jason I'm not sure if this will help but I did a little googleing for ya. Look at the last post on this one. http://www.gossamer-threads.com/lists/gentoo/user/169035 Hope that helps or some guru will come help. Dale :-) :-)
[gentoo-user] Switching back to console
Hi list! For some time now (I seem to recall this not working a few weeks back ) I can't seem to be able to switch back to console from X with Ctr+Alt+Fn. Xev sees Ctr+Alt+Fn keycode as Fn keycode(don't know if this is expected behaivor or not). I can't the console to work neither from kde-svn nor from fluxbox. I have not defined no particular keyboard layout, I'm just using the default one. I have defined some key mappings for other keys, none of them involves F keys, and the behaivor is the same weather I use the mappings or not. Could you perhaps give me a hand with this?