Re: [gentoo-user] unmerge boo_boo
Am Freitag 31 Oktober 2008 06:07:12 schrieb ext James: > Well, > > I've done it now, being in too big of a hurry. > > After an emerge --sync, and the blocking packages, I > got in a hurry, did not think and ran: > > emerge --unmerge sys-libs/ss sys-libs/com_err > sys-fs/e2fsprogs sys-libs/e2fsprogs-libs > > > So now I cannot emerge anything to fix this. > > Here I tried (re) emerge wget: > > Downloading > 'ftp://rm.mirror.garr.it/mirrors/gnuftp/gnu/wget/wget-1.11.1.tar.bz2' wget: > error while loading shared libraries: libcom_err.so.2: cannot open shared > object file: No such file or directory > > > Can I just copy some file over from another amd64 machine? > > If so, which ones exactly? emerge sys-fs/e2fsprogs If wget still fails while doing this, download the archive for this package manually and put it into your distfiles directory. Afterwards, wget should work again. HTH... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] packages/All - how to create ?
2008/10/30 Volker Armin Hemmann <[EMAIL PROTECTED]>: > On Donnerstag 30 Oktober 2008, Helmut Jarausch wrote: >> On 30 Oct, Volker Armin Hemmann wrote: >> > Hi, >> > >> > I have the same 'problem'. Which portage version are you using? >> >> I'm using portage-2.2_rc12 on amd64 hardware. > > same here. > > Would nice to know the version from peoples without the problem. I use portage-2.1.4.5 on x86. -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando -- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell
Re: [gentoo-user] unmerge boo_boo
2008/10/31 James <[EMAIL PROTECTED]>: > Well, > > I've done it now, being in too big of a hurry. > > After an emerge --sync, and the blocking packages, I > got in a hurry, did not think and ran: > > emerge --unmerge sys-libs/ss sys-libs/com_err > sys-fs/e2fsprogs sys-libs/e2fsprogs-libs Hi James! This is the cause what you should use revdep-rebuild after emerge -avt --deep --newuse --update world is done. András -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando -- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell
[gentoo-user] Re: unmerge boo_boo
Paul Hartman gmail.com> writes: > Well, com_err broken openssl which broke wget with "ssl" USE flag set. > I forgot to mention that part. :) > Disable "ssl" USE flag when you rebuild wget, then you can download > everything else you need to rebuild. When you're done, you can rebuild > wget with SSL and should probably do a revdep-rebuild to see if > anyhing else got missed. If you don't have the current wget sources in > distfiles, see if you have /any/ and try to rebuild the exact version, > that way you don't need to download manually or copy from another PC. I'm not having any luck with scp, or putting stuff on a usb stick to copy onto the broken system. Maybe I should try http do download wget? In //usr/portage/net-misc/wget I have: -rw-r--r-- 1 root 15793 Aug 16 12:09 ChangeLog -rw-r--r-- 1 root 4392 Aug 16 12:09 Manifest drwxr-xr-x 2 root 176 Feb 16 2008 files -rw-r--r-- 1 root 165 Dec 30 2007 metadata.xml -rw-r--r-- 1 root 1851 Jan 28 2008 wget-1.10.2.ebuild -rw-r--r-- 1 root 1967 Feb 16 2008 wget-1.11-r1.ebuild -rw-r--r-- 1 root 1899 Jun 16 18:06 wget-1.11.1.ebuild -rw-r--r-- 1 root 1911 May 6 07:40 wget-1.11.2.ebuild -rw-r--r-- 1 root 1908 Aug 14 12:07 wget-1.11.3.ebuild -rw-r--r-- 1 root 1911 Aug 16 11:39 wget-1.11.4.ebuild -rw-r--r-- 1 root 1616 Oct 22 2007 wget-1.9.1-r5.ebuild but no wget*.tar.bz2 in /usr/portage/distfiles/ It's late for me. I'm going to work on this tomorrow Ideas?
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, Oct 30, 2008 at 7:38 PM, <[EMAIL PROTECTED]> wrote: > On Thu, Oct 30, 2008 at 07:39:10PM -0400, Eric Martin wrote: >> Why not go even easier and use bzcat,bzless,zcat,and zless > > Because bzgrep and many others haven't been written. http://www.bzip.org/bzip2-howto/with-grep.html
Re: [gentoo-user] Re: unmerge boo_boo
On Fri, Oct 31, 2008 at 12:38 AM, »Q« <[EMAIL PROTECTED]> wrote: > In <[EMAIL PROTECTED]>, > James <[EMAIL PROTECTED]> wrote: > >> Well, >> >> I've done it now, being in too big of a hurry. >> >> After an emerge --sync, and the blocking packages, I >> got in a hurry, did not think and ran: >> >> emerge --unmerge sys-libs/ss sys-libs/com_err >> sys-fs/e2fsprogs sys-libs/e2fsprogs-libs >> >> >> So now I cannot emerge anything to fix this. >> >> Here I tried (re) emerge wget: >> >> Downloading >> 'ftp://rm.mirror.garr.it/mirrors/gnuftp/gnu/wget/wget-1.11.1.tar.bz2' >> wget: error while loading shared libraries: libcom_err.so.2: cannot >> open shared object file: No such file or directory >> >> >> Can I just copy some file over from another amd64 machine? >> >> If so, which ones exactly? >> >> >> If not, any other ideas to fix this? > > It's com_err you need to make wget work again. Using 'emerge -fpv > com_err' should get you a list of URL(s) for the file(s) needed, then > you can use a web browser to download them and put them in your > distfiles/ directory. (Or if you've got them on the other machine, > just copy them from there.) > > After you have com_err installed, use 'emerge -fuDN' to to get > everything you need to upgrade before you unmerge the blockers again. Well, com_err broken openssl which broke wget with "ssl" USE flag set. I forgot to mention that part. :) Disable "ssl" USE flag when you rebuild wget, then you can download everything else you need to rebuild. When you're done, you can rebuild wget with SSL and should probably do a revdep-rebuild to see if anyhing else got missed. If you don't have the current wget sources in distfiles, see if you have /any/ and try to rebuild the exact version, that way you don't need to download manually or copy from another PC. Paul
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, Oct 30, 2008 at 07:23:09PM -0700, Andrey Falko wrote: > It does get a little annoying when you want to use grep for all files in the > directory, but nothing a little for loop cannot fix: > > for i in /path/to/dir/*; do echo $i; bzcat $i | grep yay; done Sorry, not good enough. The disk space taken by uncompressed docs is hardly significant these days, and grep -r is too handy to have to live with shell programming just because part of the disk is compressed. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
[gentoo-user] Re: unmerge boo_boo
In <[EMAIL PROTECTED]>, James <[EMAIL PROTECTED]> wrote: > Well, > > I've done it now, being in too big of a hurry. > > After an emerge --sync, and the blocking packages, I > got in a hurry, did not think and ran: > > emerge --unmerge sys-libs/ss sys-libs/com_err > sys-fs/e2fsprogs sys-libs/e2fsprogs-libs > > > So now I cannot emerge anything to fix this. > > Here I tried (re) emerge wget: > > Downloading > 'ftp://rm.mirror.garr.it/mirrors/gnuftp/gnu/wget/wget-1.11.1.tar.bz2' > wget: error while loading shared libraries: libcom_err.so.2: cannot > open shared object file: No such file or directory > > > Can I just copy some file over from another amd64 machine? > > If so, which ones exactly? > > > If not, any other ideas to fix this? It's com_err you need to make wget work again. Using 'emerge -fpv com_err' should get you a list of URL(s) for the file(s) needed, then you can use a web browser to download them and put them in your distfiles/ directory. (Or if you've got them on the other machine, just copy them from there.) After you have com_err installed, use 'emerge -fuDN' to to get everything you need to upgrade before you unmerge the blockers again. -- »Q« Kleeneness is next to Gödelness.
Re: [gentoo-user] unmerge boo_boo
On Fri, Oct 31, 2008 at 12:07 AM, James <[EMAIL PROTECTED]> wrote: > Well, > > I've done it now, being in too big of a hurry. > > After an emerge --sync, and the blocking packages, I > got in a hurry, did not think and ran: > > emerge --unmerge sys-libs/ss sys-libs/com_err > sys-fs/e2fsprogs sys-libs/e2fsprogs-libs > > > So now I cannot emerge anything to fix this. > > Here I tried (re) emerge wget: > > Downloading > 'ftp://rm.mirror.garr.it/mirrors/gnuftp/gnu/wget/wget-1.11.1.tar.bz2' > wget: error while loading shared libraries: libcom_err.so.2: cannot open > shared > object file: No such file or directory > > > Can I just copy some file over from another amd64 machine? > > If so, which ones exactly? > > > If not, any other ideas to fix this? Hi, As your error shows, the problem is wget is broken so you cannot download anything using wget. If you can use another tool to FTP the wget archive to /usr/portage/distfiles, or copy it from another machine, then you should be able to rebuild wget and proceed with emerging everything else. I ran into the same problem on my laptop a while back. There were lots of people who got bit by this, if you do some searching on this list or on the forums, or this bug: http://bugs.gentoo.org/show_bug.cgi?id=234907 you can get additional info that might help you some more. Good luck! :) Paul
[gentoo-user] unmerge boo_boo
Well, I've done it now, being in too big of a hurry. After an emerge --sync, and the blocking packages, I got in a hurry, did not think and ran: emerge --unmerge sys-libs/ss sys-libs/com_err sys-fs/e2fsprogs sys-libs/e2fsprogs-libs So now I cannot emerge anything to fix this. Here I tried (re) emerge wget: Downloading 'ftp://rm.mirror.garr.it/mirrors/gnuftp/gnu/wget/wget-1.11.1.tar.bz2' wget: error while loading shared libraries: libcom_err.so.2: cannot open shared object file: No such file or directory Can I just copy some file over from another amd64 machine? If so, which ones exactly? If not, any other ideas to fix this? James
Re: [gentoo-user] broken ALSA
On Fri, Oct 31, 2008 at 12:43 AM, M. Sitorus <[EMAIL PROTECTED]> wrote: > no, I did emerge -v. But the asym and empty USE Flag is used on emerge Try -DNv . Sometimes portage is blind to new USE flags / features unless -N or --newuse is used. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] broken ALSA
no, I did emerge -v. But the asym and empty USE Flag is used on emerge -- Salam, Marc
Re: [gentoo-user] Screwed up swap while trying to get hibernate working; help
Walter Dnes wrote: I ran hibernate once unsuccessfully. I forgot to put "resume=" into my lilo.conf (oops). I finally did that, but now, hiberate gets to... hibernate: Running /usr/sbin/s2disk ... s2disk: Could not use the resume device (try swapon -a). Reason: No such device ...and backs out gracefully. According to "fdisk -l", swap is there... [d530][root][~] fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xd000 Device Boot Start End Blocks Id System /dev/sda1 1 60801 4883840015 Extended /dev/sda5 1 62 497952 83 Linux /dev/sda6 63 549 3911796 82 Linux swap / Solaris /dev/sda7 550 60801 483974158+ 83 Linux ...but according to swapon, it's not... [d530][root][~] swapon -a swapon: /dev/sda6: Invalid argument What did I did? And how do I straighten it out? mkswap /dev/sda6 swapon /dev/sda6 ? -- Iain Buchanan They had to edit the first ending of 'Lone Wolf McQuade' after Chuck Norris kicked David Carradine's ass, then proceeded to barbecue and eat him.
[gentoo-user] Screwed up swap while trying to get hibernate working; help
I ran hibernate once unsuccessfully. I forgot to put "resume=" into my lilo.conf (oops). I finally did that, but now, hiberate gets to... hibernate: Running /usr/sbin/s2disk ... s2disk: Could not use the resume device (try swapon -a). Reason: No such device ...and backs out gracefully. According to "fdisk -l", swap is there... [d530][root][~] fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xd000 Device Boot Start End Blocks Id System /dev/sda1 1 60801 4883840015 Extended /dev/sda5 1 62 497952 83 Linux /dev/sda6 63 549 3911796 82 Linux swap / Solaris /dev/sda7 550 60801 483974158+ 83 Linux ...but according to swapon, it's not... [d530][root][~] swapon -a swapon: /dev/sda6: Invalid argument What did I did? And how do I straighten it out? -- Walter Dnes <[EMAIL PROTECTED]>
Re: [gentoo-user] alsa in-kernel vs. alsa-lib
Markos Chandras wrote: From my experience i would recommend to use alsa-in-kernel + alsa-libs + FYI that's alsa-lib not alsa-libs :) might confuse someone reading later. alsa-headers + alsa-utils + alsa-tools This combination works perfect on my 3 gentoo machines -- Iain Buchanan The animals are not as stupid as one thinks -- they have neither doctors nor lawyers. -- L. Docquier
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Ashish Shukla आशीष शुक्ल wrote: Iain Buchanan writes: Ashish Shukla आशीष शुक्ल wrote: Hi all While trying to lookup XCB API documentation ( /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now I'm wondering is there anyway to install that documentation in the decompressed form, hmm...? why? less /usr/share/doc/libxcb/manual/blah.doc.bz2 cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2 I know how to view and decompress compressed-files, but I don't want to decompress file and but then after decompressing, I'll lose the ability to track the file from portage's database. I still don't understand - if you know how to view a compressed file "without" decompressing it, then what do you want to decompress it for? -- Iain Buchanan "Any excuse will serve a tyrant." -- Aesop
Re: [gentoo-user] broken ALSA
On Thu, Oct 30, 2008 at 8:36 PM, M. Sitorus <[EMAIL PROTECTED]> wrote: > unfortunately, my Gentoo box is not connected to Internet ( i'm > writing this from my office :D ) > > Andrey, I've try your advice my alsa still not working. > First I try to put asym after dmix on ALSA_PCM_PLUGINS, but it still > not working. And then I run emerge -pv alsa-lib, and look at the USE > Flag. I saw empty there, so I put empty on ALSA_PCM_PLUGINS, then I > emerge alsa-lib alsa-utils mpg123 again. But the results still the > same. > I try to put open on ALSA_PCM_PLUGINS, eventhough i didn't saw that > flag on emerge -pv alsa-lib, but there is no progress. I still got the > same error with the one before. > Something's weird, because my ALSA_PCM_PLUGINS works on all 3 of my gentoo boxes. Did you try emerge -DN alsa-lib ? -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, Oct 30, 2008 at 5:40 PM, <[EMAIL PROTECTED]> wrote: > On Fri, Oct 31, 2008 at 08:20:40AM +0930, Iain Buchanan wrote: > > > less /usr/share/doc/libxcb/manual/blah.doc.bz2 > > cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d > > cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2 > > and grep? You don't need bzgrep or what everjust bzcat /ab/def/sd/blah.bz2 | grep yay Or if you want to use the cases above, a "| grep yay" should be more than enough...plus you get the colors in the results. It does get a little annoying when you want to use grep for all files in the directory, but nothing a little for loop cannot fix: for i in /path/to/dir/*; do echo $i; bzcat $i | grep yay; done > > > -- >... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. > Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED] > GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license > #4933 > I've found a solution to Fermat's Last Theorem but I see I've run out of > room o > >
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Fri, Oct 31, 2008 at 08:20:40AM +0930, Iain Buchanan wrote: > less /usr/share/doc/libxcb/manual/blah.doc.bz2 > cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d > cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2 and grep? -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, Oct 30, 2008 at 07:39:10PM -0400, Eric Martin wrote: > Why not go even easier and use bzcat,bzless,zcat,and zless Because bzgrep and many others haven't been written. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o
Re: [gentoo-user] broken ALSA
unfortunately, my Gentoo box is not connected to Internet ( i'm writing this from my office :D ) Andrey, I've try your advice my alsa still not working. First I try to put asym after dmix on ALSA_PCM_PLUGINS, but it still not working. And then I run emerge -pv alsa-lib, and look at the USE Flag. I saw empty there, so I put empty on ALSA_PCM_PLUGINS, then I emerge alsa-lib alsa-utils mpg123 again. But the results still the same. I try to put open on ALSA_PCM_PLUGINS, eventhough i didn't saw that flag on emerge -pv alsa-lib, but there is no progress. I still got the same error with the one before. -- Salam, Marc
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, 30 Oct 2008 19:39:10 -0400, Eric Martin wrote: > Why not go even easier and use bzcat,bzless,zcat,and zless On HTML documentation? -- Neil Bothwick Bury a lawyer 12 feet under, because deep down they're nice. signature.asc Description: PGP signature
Re: [gentoo-user] alsa in-kernel vs. alsa-lib
On Thu, Oct 30, 2008 at 7:46 PM, Markos Chandras <[EMAIL PROTECTED]> wrote: > From my experience i would recommend to use alsa-in-kernel + alsa-libs + > alsa-headers + alsa-utils + alsa-tools > > This combination works perfect on my 3 gentoo machines All... *thinks a moment* 6 of mine as well. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Albert Hopkins writes: >> , >> | % emerge --info libxcb >> | Portage 2.2_rc12 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, >> glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) > [blah] >> Any ideas why PORTAGE_COMPRESS_* aren't set on my box. > Because you haven't set them. Therefore they take the defaults. BTW, > 'emerge --info' doesn't print out every portage variable, only the > "interesting" ones (e.g. ones useful for submitting bug reports). >> BtW, how do I see >> what PORTAGE_COMPRESS_EXCLUDE_SUFFIXES is set to. > # cat /etc/make.conf /etc/make.globals /etc/make.profile/make.defaults \ >|grep -m 1 ^PORTAGE_COMPRESS_EXCLUDE_SUFFIXES Yes, PORTAGE_COMPRESS_EXCLUDE_SUFFIXES is set to that default. Thanks for mentioning this. Anyways, re-emerging libxcb fixes the issue for me. Maybe it is some bug in old portage version (which I used when I emerged libxcb), as I recently upgraded to 2.2_rc12 to have KDE 4.1.2. Thanks Ashish Shukla -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgpJAcnmLCYsq.pgp Description: PGP signature
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Iain Buchanan writes: > Ashish Shukla आशीष शुक्ल wrote: >> Hi all >> >> While trying to lookup XCB API documentation ( >> /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now >> I'm wondering is there anyway to install that documentation in the >> decompressed form, hmm...? > why? > less /usr/share/doc/libxcb/manual/blah.doc.bz2 > cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d > cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2 I know how to view and decompress compressed-files, but I don't want to decompress file and but then after decompressing, I'll lose the ability to track the file from portage's database. Ashish -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgpKG8sOfaU4y.pgp Description: PGP signature
Re: [gentoo-user] alsa in-kernel vs. alsa-lib
On Friday 31 October 2008 01:04:42 Andrey Vul wrote: > On Thu, Oct 30, 2008 at 6:42 PM, Pupino <[EMAIL PROTECTED]> wrote: > > Hi all, > > i was used to intall alsa-lib and co. and use tools like alsamixer to > > manage the audio on my gentoo; now i've tryied to switch to the > > in-kernel way. > > I've built the relevant part into the kernel, no module, but now i'm > > stuck. If i try to emerge alsa-utils (wich has alsamixer) it pulls in > > also alsa-lib, alsa-header, etc... > > is this the correct behaviour? i tought i'll get rid of those > > packages(-header, -lib) switching to the in-kernel drivers. > > alsa-lib and alsa-headers are unrelated to the kernel modules. > alsa-lib and alsa-headers are userspace. > If you ditch alsa-lib and go full kernel: > Will you have sound? Maybe. > Will alsa-using apps be able to use it? Absolutely not. They need alsa-lib. From my experience i would recommend to use alsa-in-kernel + alsa-libs + alsa-headers + alsa-utils + alsa-tools This combination works perfect on my 3 gentoo machines
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Why not go even easier and use bzcat,bzless,zcat,and zless On 10/30/08, Albert Hopkins <[EMAIL PROTECTED]> wrote: > >> , >> | % emerge --info libxcb >> | Portage 2.2_rc12 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, >> glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) > [blah] > >> Any ideas why PORTAGE_COMPRESS_* aren't set on my box. > > Because you haven't set them. Therefore they take the defaults. BTW, > 'emerge --info' doesn't print out every portage variable, only the > "interesting" ones (e.g. ones useful for submitting bug reports). > >> BtW, how do I see >> what PORTAGE_COMPRESS_EXCLUDE_SUFFIXES is set to. > > # cat /etc/make.conf /etc/make.globals /etc/make.profile/make.defaults \ >|grep -m 1 ^PORTAGE_COMPRESS_EXCLUDE_SUFFIXES > > Also the man page for make.conf lists many common defaults. > > >
Re: [gentoo-user] alsa in-kernel vs. alsa-lib
On Thu, Oct 30, 2008 at 6:42 PM, Pupino <[EMAIL PROTECTED]> wrote: > Hi all, > i was used to intall alsa-lib and co. and use tools like alsamixer to > manage the audio on my gentoo; now i've tryied to switch to the > in-kernel way. > I've built the relevant part into the kernel, no module, but now i'm stuck. > If i try to emerge alsa-utils (wich has alsamixer) it pulls in also > alsa-lib, alsa-header, etc... > is this the correct behaviour? i tought i'll get rid of those > packages(-header, -lib) switching to the in-kernel drivers. alsa-lib and alsa-headers are unrelated to the kernel modules. alsa-lib and alsa-headers are userspace. If you ditch alsa-lib and go full kernel: Will you have sound? Maybe. Will alsa-using apps be able to use it? Absolutely not. They need alsa-lib. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] blocks to fix
Good ideas all. Thanks. I can do some work setting things up and then not test it until I have my dad sitting in front of the machine. He can hit Ctrl-D. We've seen that one before. Cheers, Mark On Thu, Oct 30, 2008 at 3:12 PM, BRM <[EMAIL PROTECTED]> wrote: > That might work for some scenerios; however, it wouldn't likely for the > recent e2fsprogs-lib/ss/com_err fiasco because the booting system would be > unable to execute mount and wait until the user either entered the root > password for maintenance mode or pressed "CTRL+D" to continue. (Yep, I hosed > one of my systems over that issue!) So the system would not be either in a > kernel panic nor able to run /etc/conf.d/local.start. So it wouldn't reboot > without user intervention. > > In most cases that would likely work though. > > Ben > > > > - Original Message > From: Alex Schuster <[EMAIL PROTECTED]> > To: gentoo-user@lists.gentoo.org > Sent: Thursday, October 30, 2008 4:44:53 PM > Subject: Re: [gentoo-user] blocks to fix > > Mark Knecht writes: > >> Having a second install is a reasonable idea. I suppose I can probably >> install that remotely but I cannot test it remotely (AFAIK) without >> someone handy to choose the right line in the grub menu... > > You can use the grub-set-default command to boot another than the default > entry: > > default saved > fallback 0 > ... > title System A > kernel (hd0,0)/A > > title System B > kernel (hd0,1)/B > > > System A is your default system. When you have installed B, activate the 2nd > entry with "grub-set-default 1" (grub counts from 0). Put something > like "sleep 600 & reboot" into B's /etc/conf.d/local.start that will make > it reboot after a while, unless you are able to log in from remote and kill > the sleep command. > Now reboot. B will be started. Try to log in. If it fails, wait a little, > and try again. This time A should be up again. > > Unless you have a kernel panic, and the system is just halted. Does anyone > know if there is something one could do about that? > >Wonko > >
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
> , > | % emerge --info libxcb > | Portage 2.2_rc12 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, > glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) [blah] > Any ideas why PORTAGE_COMPRESS_* aren't set on my box. Because you haven't set them. Therefore they take the defaults. BTW, 'emerge --info' doesn't print out every portage variable, only the "interesting" ones (e.g. ones useful for submitting bug reports). > BtW, how do I see > what PORTAGE_COMPRESS_EXCLUDE_SUFFIXES is set to. # cat /etc/make.conf /etc/make.globals /etc/make.profile/make.defaults \ |grep -m 1 ^PORTAGE_COMPRESS_EXCLUDE_SUFFIXES Also the man page for make.conf lists many common defaults.
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wed, Oct 29, 2008 at 10:23 PM, Andrey Vul <[EMAIL PROTECTED]> wrote: > But I usually use emerge -p > file in order to see the difference in > dependencies from testing USE flags. > I would always choose -pN over -aN. > > Where's the portage to-do list? > If you can find it, add these two items: > fix the uname > add pager support for -p, -a, -t Well, I didn't find it with the miserably little effort I put into looking... so instead, I wrote up a quick hack to emerge to implement use of a pager any time the internal display() function is called. I made the mistake of writing it against the 'stable' version of portage, though... so I'll be (hopefully) porting it over to Portage 2.2_rc12 (the newest my current state of laziness allows on my amd64 machine). Any chance anyone here's a bit more skilled with python than I am and would want to remind me of all the error checking I left out? After I get a patch handy, at least... As for the 'fix the uname' bit... I haven't had a chance to dig through the changelogs to see the who/when/why of the change that made it what it is now, and whether (as was clarified as likely in the related thread here) the current output is what's "intended." -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Ashish Shukla आशीष शुक्ल wrote: Hi all While trying to lookup XCB API documentation ( /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now I'm wondering is there anyway to install that documentation in the decompressed form, hmm...? why? less /usr/share/doc/libxcb/manual/blah.doc.bz2 cat /usr/share/doc/libxcb/manual/blah.doc.bz2 | bzip2 -d cp /usr/share/doc/libxcb/manual/blah.doc.bz2 ~/; bzip2 -d ~/blah.doc.bz2 -- Iain Buchanan One thing they don't tell you about doing experimental physics is that sometimes you must work under adverse conditions... like a state of sheer terror. -- W.K. Hartmann
[gentoo-user] alsa in-kernel vs. alsa-lib
Hi all, i was used to intall alsa-lib and co. and use tools like alsamixer to manage the audio on my gentoo; now i've tryied to switch to the in-kernel way. I've built the relevant part into the kernel, no module, but now i'm stuck. If i try to emerge alsa-utils (wich has alsamixer) it pulls in also alsa-lib, alsa-header, etc... is this the correct behaviour? i tought i'll get rid of those packages(-header, -lib) switching to the in-kernel drivers. Davide
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Thanks Albert and Daniel for the replies. Daniel Pielmeier writes: > 2008/10/30 Ashish Shukla आशीष शुक्ल <[EMAIL PROTECTED]>: >> While trying to lookup XCB API documentation ( >> /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now >> I'm wondering is there anyway to install that documentation in the >> decompressed form, hmm...? > I tink there is the PORTAGE_COMPRESS variable. > Set PORTAGE_COMPRESS="" in make.conf and portage will not compress > documentation. > There is also PORTAGE_COMPRESS_EXCLUDE_SUFFIXES which you can extend > to your needs. Currently it defaults to > PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" , | % emerge --info libxcb | Portage 2.2_rc12 (default/linux/amd64/2008.0/no-multilib, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) | = | System Settings | = | System uname: Linux-2.6.25-gentoo-r7-x86_64-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.2.5 | Timestamp of tree: Tue, 28 Oct 2008 16:45:01 + | distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] | ccache version 2.4 [enabled] | app-shells/bash: 3.2_p33 | dev-java/java-config: 1.3.7, 2.1.6 | dev-lang/python: 2.4.4-r13, 2.5.2-r7 | dev-python/pycrypto: 2.0.1-r6 | dev-util/ccache: 2.4-r7 | dev-util/cmake: 2.6.2 | sys-apps/baselayout: 2.0.0 | sys-apps/openrc: 0.3.0-r1 | sys-apps/sandbox:1.2.18.1-r2 | sys-devel/autoconf: 2.13, 2.61-r2 | sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 | sys-devel/binutils: 2.18-r3 | sys-devel/gcc-config: 1.4.0-r4 | sys-devel/libtool: 1.5.26 | virtual/os-headers: 2.6.23-r3 | ACCEPT_KEYWORDS="amd64" | CBUILD="x86_64-pc-linux-gnu" | CFLAGS="-O2 -pipe -fforce-addr -mtune=nocona -march=nocona -mmmx -msse2 -msse3 -ggdb" | CHOST="x86_64-pc-linux-gnu" | CONFIG_PROTECT="/etc /opt/openjms/config /usr/share/config /var/bind" | CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d | /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release | /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" | CXXFLAGS="-O2 -pipe -fforce-addr -mtune=nocona -march=nocona -mmmx -msse2 -msse3 -ggdb" | DISTDIR="/usr/portage/distfiles" | FEATURES="buildpkg ccache collision-protect distlocks fakeroot | fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned | sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv | usersandbox" | GENTOO_MIRRORS="http://mirror.cambrium.nl/pub/os/linux/gentoo/ | ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.gentoo.no/ | ftp://mirror.bih.net.ba/gentoo/ ftp://mirrors.ludost.net/gentoo/"; | LANG="en_US.UTF-8" | LC_ALL="en_US.UTF-8" | LDFLAGS="-Wl,--hash-style,both" | LINGUAS="hi en en_US" | MAKEOPTS="-j3" | PKGDIR="/usr/portage/packages" | PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times | --compress --force --whole-file --delete --stats --timeout=180 | --exclude=/distfiles --exclude=/local --exclude=/packages" | PORTAGE_TMPDIR="/var/tmp" | PORTDIR="/usr/portage" | PORTDIR_OVERLAY="/usr/portage/local/layman/perl-experimental | /usr/portage/local/layman/sunrise /usr/portage/local/layman/emacs | /usr/portage/local/layman/xemacs /usr/portage/local/layman/haskell | /usr/local/portage" | SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" | USE="X a52 aac accessibility acl acpi alsa amd64 ao artworkextra | audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo | caps cdr cli cracklib crypt cscope cups curl dbus dirac djvu doc dri dvd | dvdr emacs exif ffmpeg flac fontconfig fortran gdbm gif gnome | gnome-keyring gpm gstreamer gtk gtkhtml guile hal hashstyle htmlhandbook | iconv idn imlib ipv6 isdnlog jingle jpeg jpeg2k kde latex lcms ldap | libcaca libffi libnotify libsamplerate loop-aes lzma mad maildir midi | mmx mp3 mpeg mudflap musepack mysql ncurses networkmanager nls nntp nptl | nptlonly offensive ogg opengl openmp pam pango pcre perl plasma png | policykit postgres pppd pth pulseaudio python qt4 readline reflection | ruby schroedinger sdl session sndfile speex spell spl sqlite3 sse sse2 | ssl startup-notification svg sysfs tcl tcpd tetex tex theora tiff | truetype unicode urandom vim-syntax vnc vorbis xattr xcb xcomposite xfce | xft xinetd xorg xscreensaver xulrunner xv zeroconf zlib" | ALSA_CARDS="hda-intel ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy | dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat | linear meter mmap_emul mulaw multi null plug rate route share shm | softvol" APACHE2_MODULES="actions alias auth_basic authn_alias | authn_anon authn_dbm authn_default authn_file authz_dbm authz_default | authz_groupfile authz_host authz_owner authz_user autoindex cache dav | dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache | filter headers include i
Re: [gentoo-user] blocks to fix
That might work for some scenerios; however, it wouldn't likely for the recent e2fsprogs-lib/ss/com_err fiasco because the booting system would be unable to execute mount and wait until the user either entered the root password for maintenance mode or pressed "CTRL+D" to continue. (Yep, I hosed one of my systems over that issue!) So the system would not be either in a kernel panic nor able to run /etc/conf.d/local.start. So it wouldn't reboot without user intervention. In most cases that would likely work though. Ben - Original Message From: Alex Schuster <[EMAIL PROTECTED]> To: gentoo-user@lists.gentoo.org Sent: Thursday, October 30, 2008 4:44:53 PM Subject: Re: [gentoo-user] blocks to fix Mark Knecht writes: > Having a second install is a reasonable idea. I suppose I can probably > install that remotely but I cannot test it remotely (AFAIK) without > someone handy to choose the right line in the grub menu... You can use the grub-set-default command to boot another than the default entry: default saved fallback 0 ... title System A kernel (hd0,0)/A title System B kernel (hd0,1)/B System A is your default system. When you have installed B, activate the 2nd entry with "grub-set-default 1" (grub counts from 0). Put something like "sleep 600 & reboot" into B's /etc/conf.d/local.start that will make it reboot after a while, unless you are able to log in from remote and kill the sleep command. Now reboot. B will be started. Try to log in. If it fails, wait a little, and try again. This time A should be up again. Unless you have a kernel panic, and the system is just halted. Does anyone know if there is something one could do about that? Wonko
Re: [gentoo-user] blocks to fix
On Thu, Oct 30, 2008 at 4:51 PM, Neil Bothwick <[EMAIL PROTECTED]> wrote: > On Thu, 30 Oct 2008 21:44:53 +0100, Alex Schuster wrote: > >> Unless you have a kernel panic, and the system is just halted. Does >> anyone know if there is something one could do about that? > > Isn't there a kernel option to force a reboot in the event of a panic? BOOTPARAM_SOFTLOCKUP_PANIC may be what you're thinking of.
Re: [gentoo-user] blocks to fix
On Thu, 30 Oct 2008 21:44:53 +0100, Alex Schuster wrote: > Unless you have a kernel panic, and the system is just halted. Does > anyone know if there is something one could do about that? Isn't there a kernel option to force a reboot in the event of a panic? -- Neil Bothwick Death to all fanatics! signature.asc Description: PGP signature
Re: [gentoo-user] blocks to fix
Mark Knecht writes: > Having a second install is a reasonable idea. I suppose I can probably > install that remotely but I cannot test it remotely (AFAIK) without > someone handy to choose the right line in the grub menu... You can use the grub-set-default command to boot another than the default entry: default saved fallback 0 ... title System A kernel (hd0,0)/A title System B kernel (hd0,1)/B System A is your default system. When you have installed B, activate the 2nd entry with "grub-set-default 1" (grub counts from 0). Put something like "sleep 600 & reboot" into B's /etc/conf.d/local.start that will make it reboot after a while, unless you are able to log in from remote and kill the sleep command. Now reboot. B will be started. Try to log in. If it fails, wait a little, and try again. This time A should be up again. Unless you have a kernel panic, and the system is just halted. Does anyone know if there is something one could do about that? Wonko
Re: [gentoo-user] Sound issue - can't use /dev/dsp
+++ Andrey Vul [gentoo-user] [Thu, Oct 30, 2008 at 01:01:39PM -0400]: > On Thu, Oct 30, 2008 at 12:41 PM, Andrew MacKenzie <[EMAIL PROTECTED]> wrote: > > I have tried without this asound.conf and see the same issue. > Try using alsaconf as root. alsaconf ran fine. I stopped 'alsa' (and noted that all snd modules were unloaded), ran alsaconf, and noted that modules were now loaded. Still can't get sound via /dev/dsp. It's my understanding that snd_pcm_oss should be the one that handles /dev/dsp. The following 'snd' related modules are loaded: # lsmod |grep snd snd_pcm_oss41824 0 snd_mixer_oss 16640 1 snd_pcm_oss snd_intel8x0 34024 0 snd_ac97_codec117784 1 snd_intel8x0 snd_pcm87256 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec snd_page_alloc 9424 2 snd_intel8x0,snd_pcm ac97_bus2240 1 snd_ac97_codec My kernel is 2.6.26-gentoo-r1. But I tried another couple from 2.6.24 and didn't have success there either. I wonder whether it's a user-land lib issue? Installed: alsa-lib 1.0.16 alsa-oss 1.0.15 alsa-tools 1.0.16 alsa-utils 1.0.16 -- // Andrew MacKenzie | http://www.edespot.com // GPG public key: http://www.edespot.com/~amackenz/public.key // There is an old time toast which is golden for its beauty. // "When you ascend the hill of prosperity may you not meet a friend." // -- Mark Twain pgpjbm35qZnZ9.pgp Description: PGP signature
Re: [gentoo-user] packages/All - how to create ?
On Thu, Oct 30, 2008 at 2:53 PM, Paul Hartman <[EMAIL PROTECTED]> wrote: > On Thu, Oct 30, 2008 at 2:34 PM, Volker Armin Hemmann > <[EMAIL PROTECTED]> wrote: >> On Donnerstag 30 Oktober 2008, Helmut Jarausch wrote: >>> On 30 Oct, Volker Armin Hemmann wrote: >>> > Hi, >>> > >>> > I have the same 'problem'. Which portage version are you using? >>> >>> I'm using portage-2.2_rc12 on amd64 hardware. >> >> same here. >> >> Would nice to know the version from peoples without the problem. > > In my case, I've never used buildpkg feature and my > /usr/portage/packages is empty. After reading this thread, I decided > to enable it and emerge something small to see what comes out. > > After emerging, I do not have an All directory, and there are no > symlinks. It put the package file directly in > /usr/portage/packages/app-arch/zip-3.0.tbz2 and generated a > /usr/portage/packages/Packages file with some info in it. > > In make.conf my PKGDIR is not set, so I'm using default... > > My profile is default/linux/amd64/2008.0/desktop > > good luck :) > > paul > And I'm using Portage 2.2_rc12
Re: [gentoo-user] packages/All - how to create ?
On Thu, Oct 30, 2008 at 2:34 PM, Volker Armin Hemmann <[EMAIL PROTECTED]> wrote: > On Donnerstag 30 Oktober 2008, Helmut Jarausch wrote: >> On 30 Oct, Volker Armin Hemmann wrote: >> > Hi, >> > >> > I have the same 'problem'. Which portage version are you using? >> >> I'm using portage-2.2_rc12 on amd64 hardware. > > same here. > > Would nice to know the version from peoples without the problem. In my case, I've never used buildpkg feature and my /usr/portage/packages is empty. After reading this thread, I decided to enable it and emerge something small to see what comes out. After emerging, I do not have an All directory, and there are no symlinks. It put the package file directly in /usr/portage/packages/app-arch/zip-3.0.tbz2 and generated a /usr/portage/packages/Packages file with some info in it. In make.conf my PKGDIR is not set, so I'm using default... My profile is default/linux/amd64/2008.0/desktop good luck :) paul
Re: [gentoo-user] packages/All - how to create ?
On Donnerstag 30 Oktober 2008, Helmut Jarausch wrote: > On 30 Oct, Volker Armin Hemmann wrote: > > Hi, > > > > I have the same 'problem'. Which portage version are you using? > > I'm using portage-2.2_rc12 on amd64 hardware. same here. Would nice to know the version from peoples without the problem.
Re: [gentoo-user] package.keywords syntax?
>> The real problem is when you type >> float real_number = 4e10; >> int integer = real_number; >> If your integer can only hold values up to 2^31 - 1 , the behavior of >> the above code is undefined. >> In a language like Python, everything either behaves as you intended, >> of throws an exception. >> This is why I say "In C, you must completely understand the behavior >> of every statement or function, and you *must* handle the possibility >> of errors". > > The line: > int integer = real_number; > will produce a warning. (or an error if you are smart enough to > compile with -Werror) It seems you did not get the point. To attribute a floating point number to an integer variable is perfectly valid, depending on the specific program. The compiler normally does not even warn about this, as this is perfectly valid (from my testing, the compiler only warns if you are using gcc 4.3, and specify -Wconversion, an option that is not included in -Wall and not even in -Wextra). So erase this *wrong idea* that attributing floating-point value to an integer variable is invalid or even just unwise. There is nothing generally wrong with it. The point is: in certain situations, the behavior is well-defined and unsurprising. What happens, though, if (for example) the value of the floating-point variable is too big for the int? In a forgiving language, you would either have a sensible behavior (such as the int receiving a INT_MAX value) or an error. In C the behavior is *undefined*. Got the point? In C, you *must* know what you are doing, and *must* handle the possibility of errors. If not, your program is not even garanteed to crash; it can, after an error, go on working (erratically), possibly damaging user data or yielding subtly wrong results without any warning. -- Software is like sex: it is better when it is free - Linus Torvalds
Re: [gentoo-user] package.keywords syntax?
On Thu, 2008-10-30 at 16:54 -0200, Jorge Peixoto de Morais Neto wrote: > > To back myself up: > > > > > > #!/usr/bin/python > > > > import random > > > > for i in range(1,1): > >if random.random() < 0.001: > >print "rare" > >if malformed < beast: > >print "kick me in the ..." > >else: > >print "whatever" > > > This kind of error is not a syntax error; this kind of error is indeed > only discovered at runtime. However, syntax errors are discovered at > byte-compile time. byte-compile happens automatically when you load a > module, but you can perform it yourself easily, and this is > recommended in certain situations. > > For this kind of error (try to reference an undefined variable), there > are tools like pychecker. > I'm coming into this thread kinda late, so feel free to ignore... ... but Jorge is right. This is easily picked up by a lint tool... and good python programmers use them ;-). Some python-aware editors even have this functionality built in. Using the above example: $ pylint who_no.py ... C: 1: Missing docstring C: 5: Comma not followed by a space for i in range(1,1): ^^ E: 8: Undefined variable 'malformed' E: 8: Undefined variable 'beast'
Re: [gentoo-user] package.keywords syntax?
> To back myself up: > > > #!/usr/bin/python > > import random > > for i in range(1,1): >if random.random() < 0.001: >print "rare" >if malformed < beast: >print "kick me in the ..." >else: >print "whatever" > This kind of error is not a syntax error; this kind of error is indeed only discovered at runtime. However, syntax errors are discovered at byte-compile time. byte-compile happens automatically when you load a module, but you can perform it yourself easily, and this is recommended in certain situations. For this kind of error (try to reference an undefined variable), there are tools like pychecker. -- Software is like sex: it is better when it is free - Linus Torvalds
Re: [gentoo-user] packages/All - how to create ?
On 30 Oct, Volker Armin Hemmann wrote: > Hi, > > I have the same 'problem'. Which portage version are you using? I'm using portage-2.2_rc12 on amd64 hardware. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] blocks to fix
On Thu, Oct 30, 2008 at 10:24 AM, Neil Bothwick <[EMAIL PROTECTED]> wrote: > On Thu, 30 Oct 2008 06:46:30 +0100, Momesso Andrea wrote: > >> > It's a bit late now, but installing a second distro, or a bare stage 3 >> > gentoo, as a dual boot so you can still access the machoine if it >> > breaks. As an alternative, send the user a GRML CD and get them to >> > boot that if things go wrong. > >> There is no need to drive there or to send a cd. Even with no com_err >> and no wget, you can still ssh into the machine, so scp should work too. > > On this occasion, yes. But as a general CYA policy, as long as the user > is capable of making a selection from a boot menu, a fallback distro > would be useful in this situation. > > > -- > Neil Bothwick Yes, it would be helpful. In my case it would need to be configured for full ssh/noip support, and probably shouldn't be Gentoo based as this selection wouldn't likely get updated very often and the now far more restrictive policies on how often Gentoo has to be updated probably aren't appropriate for this task. None the less maybe a good thing for me to do would be to do an install of something like this remotely, test it, and then deal with system updates later. Also, as long as ssh isn't harmed I can pretty much scp any package to the machine and get it working again, albeit with some extra work. Normally I already do a --fetchonly any time I'm planning on an emerge -DuN world but if I forgot usually you can still make it work somehow. Take care, Mark
Re: [gentoo-user] more than one package directory ?
On Thu, 30 Oct 2008 09:25:37 +0100 (CET), Helmut Jarausch wrote: > I'd like to use more than one package directory, e.g. > /usr/portage/packages plus plus all stuff on a DVD. Mount (or symlink) the DVD within the packages directory. -- Neil Bothwick Member, National Association For Tagline Assimilators (NAFTA) signature.asc Description: PGP signature
Re: [gentoo-user] blocks to fix
On Thu, 30 Oct 2008 06:46:30 +0100, Momesso Andrea wrote: > > It's a bit late now, but installing a second distro, or a bare stage 3 > > gentoo, as a dual boot so you can still access the machoine if it > > breaks. As an alternative, send the user a GRML CD and get them to > > boot that if things go wrong. > There is no need to drive there or to send a cd. Even with no com_err > and no wget, you can still ssh into the machine, so scp should work too. On this occasion, yes. But as a general CYA policy, as long as the user is capable of making a selection from a boot menu, a fallback distro would be useful in this situation. -- Neil Bothwick If it isn't broken, I can fix it. signature.asc Description: PGP signature
Re: [gentoo-user] Sound issue - can't use /dev/dsp
On Thu, Oct 30, 2008 at 12:41 PM, Andrew MacKenzie <[EMAIL PROTECTED]> wrote: > My MythTV Gentoo box has recently started having issues recording sound. > The TV tuner re-plays audio through the "mic" interface on my soundcard. > It has worked for months, but now MythTV can't read anything from /dev/dsp. > > Any device that uses ALSA directly seems to work fine (like TVTime which > plays TV with audio just fine) - only those that rely on /dev/dsp seem to > have trouble. My simple test shows this: > > # cat /dev/dsp > /dev/null > cat: /dev/dsp: Input/output error > > This was run as root. Perms are fine: > > crw-rw 1 root audio 14, 3 2008-10-03 08:56 /dev/dsp > > Myth user is in audio group (always has been). > > Has something changed in ALSA that I didn't catch? I don't see anything in > my logs or dmesg that shows a problem. My /etc/asound.conf is as follows: > pcm.nforce-hw { >type hw >card 0 > } > pcm.!default { >type plug >slave.pcm "nforce" > } > pcm.nforce { >type dmix >ipc_key 1234 >ipc_perm 0660 >slave { >pcm "hw:0,0" >period_time 0 >period_size 1024 >buffer_size 4096 >#rate 44100 >rate 48000 >} > } > ctl.nforce-hw { >type hw >card 0 > } > > > I have tried without this asound.conf and see the same issue. Try using alsaconf as root. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
[gentoo-user] Sound issue - can't use /dev/dsp
My MythTV Gentoo box has recently started having issues recording sound. The TV tuner re-plays audio through the "mic" interface on my soundcard. It has worked for months, but now MythTV can't read anything from /dev/dsp. Any device that uses ALSA directly seems to work fine (like TVTime which plays TV with audio just fine) - only those that rely on /dev/dsp seem to have trouble. My simple test shows this: # cat /dev/dsp > /dev/null cat: /dev/dsp: Input/output error This was run as root. Perms are fine: crw-rw 1 root audio 14, 3 2008-10-03 08:56 /dev/dsp Myth user is in audio group (always has been). Has something changed in ALSA that I didn't catch? I don't see anything in my logs or dmesg that shows a problem. My /etc/asound.conf is as follows: pcm.nforce-hw { type hw card 0 } pcm.!default { type plug slave.pcm "nforce" } pcm.nforce { type dmix ipc_key 1234 ipc_perm 0660 slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 4096 #rate 44100 rate 48000 } } ctl.nforce-hw { type hw card 0 } I have tried without this asound.conf and see the same issue. -- // Andrew MacKenzie | http://www.edespot.com // GPG public key: http://www.edespot.com/~amackenz/public.key // I've touch'd the highest point of all my greatness; // And from that full meridian of my glory // I haste now to my setting. I shall fall, // Like a bright exhalation in the evening // And no man see me more. // -- Shakespeare pgpM8f4bM5U0g.pgp Description: PGP signature
Re: [gentoo-user] packages/All - how to create ?
Hi, I have the same 'problem'. Which portage version are you using?
Re: [gentoo-user] broken ALSA
On Thu, Oct 30, 2008 at 2:53 AM, M. Sitorus <[EMAIL PROTECTED]> wrote: > Ok, thanks. I'll try that later. I'm not on my gentoo box right now > There's always SSH... -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] packages/All - how to create ?
On 30 Oct, Michele Schiavo wrote: > Il giorno gio, 30/10/2008 alle 09.13 +0100, Helmut Jarausch ha scritto: > >> Hi, >> >> I have a (nearly) identical Gentoo system on several machines. >> On all machines except one, there is a directory >> >> /usr/portage/packages/All >> >> which contains symlinks to the packages in the specific >> directories. This is quite comfortable when copying the >> most recent packages. >> >> How can I set up GenToo to create and maintain this directory? >> Thanks for the script, still, I don't understand it. Why quickpkg? The packages are all there (because of FEATURES=buildpkg in my /etc/make.conf) But they are in e.g. /usr/portage/package/dev-util/eclipse-sdk-3.4.1.tbz2 whereas on my other machines the package is in /usr/portage/package/All/eclipse-sdk-3.4.1.tbz2 and /usr/portage/package/dev-util/eclipse-sdk-3.4.1.tbz2 is only a symlink to the former. but there is no symlink Thanks for your help, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] more than one package directory ?
On Thu, Oct 30, 2008 at 4:25 AM, Helmut Jarausch <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to use more than one package directory, e.g. > /usr/portage/packages plus plus all stuff on a DVD. > > Is there a Gentoo specific way to do so or > do I need an overlay file system like aufs ? > > Many thanks for a hint, > > Helmut Jarausch > > Lehrstuhl fuer Numerische Mathematik > RWTH - Aachen University > D 52056 Aachen, Germany You could set the package directory manually when you need the dvd's repository, such as: PKGDIR="/mnt/dvd/packages" emerge --usepkg mozilla-firefox Based on how portage uses the variable, I'm pretty sure you can't use more than one simultaneously. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
2008/10/30 Ashish Shukla आशीष शुक्ल <[EMAIL PROTECTED]>: > While trying to lookup XCB API documentation ( > /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now > I'm wondering is there anyway to install that documentation in the > decompressed form, hmm...? I tink there is the PORTAGE_COMPRESS variable. Set PORTAGE_COMPRESS="" in make.conf and portage will not compress documentation. There is also PORTAGE_COMPRESS_EXCLUDE_SUFFIXES which you can extend to your needs. Currently it defaults to PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" -- Regards, Daniel
Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
On Thu, 2008-10-30 at 19:13 +0530, Ashish Shukla आशीष शुक्ल wrote: > While trying to lookup XCB API documentation ( > /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now > I'm wondering is there anyway to install that documentation in the > decompressed form, hmm...? See the PORTAGE_COMPRESS* variables in the make.conf man page. I typically use PORTAGE_COMPRESS="" HTH, -a
Re: [gentoo-user] A question about emerge --info
On Thu, 2008-10-30 at 13:43 +0100, Heiko Wundram wrote: > Again, this is utter bullshit. Python doesn't have a "shoddy" implementation > of libc_ver(), it just doesn't give you what you expect it to give you (it's > not a package manager, for gods sake), but rather what's of actual interest > to anyone doing application development. > Thanks for the explanation. I realize the difference between interface version and actual libc version. However I was going on the actual function documentation and the fact that all the other *_ver() functions in the platform module give the actual version. My apologies if I confused anyone. -a
[gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?
Hi all While trying to lookup XCB API documentation ( /usr/share/doc/libxcb/manual/ ), I noticed that it is compressed, now I'm wondering is there anyway to install that documentation in the decompressed form, hmm...? Thanks Ashish Shukla -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in pgpwJnkMAmBdN.pgp Description: PGP signature
Re: [gentoo-user] A question about emerge --info
Am Thursday 30 October 2008 13:26:27 schrieb Albert Hopkins: > On Wed, 2008-10-29 at 20:47 -0400, Joshua Murphy wrote: > > Hrm. I know just enough about python to get myself in trouble here... > > but it looks like a python bug in magicking up the libc name and > > version... but the below is WAY outside my level of practice with > > python (it'll take re-reading and digging elsewhere a good few times > > if I'm ever to make sense of it... > > > > -- > > def libc_ver(executable=sys.executable,lib='',version='', > > > > chunksize=2048): > > > This is a very simple hack which simply doesn't work. Nice try. It's > not so much portage's fault as it is Python. > > Basically what python is doing is opening it's executable > (/usr/bin/python') and doing a egrep for > > (__libc_init)|(GLIBC_([0-9.]+))|(libc(_\w+)?\.so(?:\.(\d[0-9.]*))?) > > Then it finds the matches and tries to apply some "logic" to decide the > best answer. On my system it's "GLIBC_2.0" and so platform.libc_ver() > returns ('glibc', '2.0') whereas my actual libc is glibc 2.8. > > Obviously the person who wrote the function was trying to be > cross-platform. Python runs on many different platforms, POSIX and > non-POSIX. But the implementation is a bit "lazy" and, obviously, > inaccurate. That's utter bollocks and shows a fundamental misunderstanding of shared libraries. True, your installed glibc might be _package version_ 2.8, but the base _interface_ (as in ABI) defined and supported by your shared glibc is version 2.0, which is the currently developed interface version (the interface is also known as libc6), and that's what's actually of any interest to a dynamically linked application. Guess why applications dynamically linked against a 2.3 glibc can still be run (without recompilation!) on a 2.8 glibc, and mostly vice-versa, except when the application linked with a 2.8 glibc uses symbols which were introduced later than the libc you're trying to run it on, but in that case these symbols aren't marked as GLIBC_2.0 in your 2.8 glibc, but as GLIBC_2.4, for example (stating that this symbol was first introduced and conforms to the ABI that glibc 2.4 upwards have/has). Do a readelf -a /lib/libc.so.6 to see what I'm talking about (symbol versioning, and multiple symbols for one name differing in the symbol version). > ... > So partial blame goes to both python and portage: python for it's shoddy > implementation of platform.libc_ver() and portage for relying on it :-) Again, this is utter bullshit. Python doesn't have a "shoddy" implementation of libc_ver(), it just doesn't give you what you expect it to give you (it's not a package manager, for gods sake), but rather what's of actual interest to anyone doing application development. -- Heiko Wundram hackerkey://v4sw7CHJLSUY$hw5ln5pr7FOP$ck2ma9u7FL$w3DVWXm0l7GL$i65e6t3EMRSXb7ADORen5a26s5MSr2p-6.62/-6.56g5AORZ
Re: [gentoo-user] packages/All - how to create ?
Il giorno gio, 30/10/2008 alle 09.13 +0100, Helmut Jarausch ha scritto: > Hi, > > I have a (nearly) identical Gentoo system on several machines. > On all machines except one, there is a directory > > /usr/portage/packages/All > > which contains symlinks to the packages in the specific > directories. This is quite comfortable when copying the > most recent packages. > > How can I set up GenToo to create and maintain this directory? > > Many thanks for a hint, > > Helmut Jarausch > > Lehrstuhl fuer Numerische Mathematik > RWTH - Aachen University > D 52056 Aachen, Germany > creapkgs.sh Description: application/shellscript signature.asc Description: Questa è una parte del messaggio firmata digitalmente
Re: [gentoo-user] A question about emerge --info
On Wed, 2008-10-29 at 20:47 -0400, Joshua Murphy wrote: > > Hrm. I know just enough about python to get myself in trouble here... > but it looks like a python bug in magicking up the libc name and > version... but the below is WAY outside my level of practice with > python (it'll take re-reading and digging elsewhere a good few times > if I'm ever to make sense of it... > > -- > def libc_ver(executable=sys.executable,lib='',version='', > > chunksize=2048): This is a very simple hack which simply doesn't work. Nice try. It's not so much portage's fault as it is Python. Basically what python is doing is opening it's executable (/usr/bin/python') and doing a egrep for (__libc_init)|(GLIBC_([0-9.]+))|(libc(_\w+)?\.so(?:\.(\d[0-9.]*))?) Then it finds the matches and tries to apply some "logic" to decide the best answer. On my system it's "GLIBC_2.0" and so platform.libc_ver() returns ('glibc', '2.0') whereas my actual libc is glibc 2.8. Obviously the person who wrote the function was trying to be cross-platform. Python runs on many different platforms, POSIX and non-POSIX. But the implementation is a bit "lazy" and, obviously, inaccurate. OTOH, if I were to take a guess I'd say not many people use the platform module. I've been programming in python for over 10 years and this is the first time I've even looked at it. Most code I've seen will use sys.platform. It only returns the OS name but, when you're using a cross-platform language, that's usually all you're worried about. So partial blame goes to both python and portage: python for it's shoddy implementation of platform.libc_ver() and portage for relying on it :-) -a
Re: [gentoo-user] blocks to fix
Allan Gottlieb schrieb: > At Tue, 28 Oct 2008 22:43:38 -0400 James Homuth <[EMAIL PROTECTED]> wrote: > > >> >> >> -Original Message- >> From: Mark Knecht [mailto:[EMAIL PROTECTED] >> [snip] >> >> E1fsprogs and com_err have apparently been merged into the new package >> portage wants to install for you. It's been suggested remove the two >> packages it wants to upgrade, then install that one. >> >> Hint: emerge --fetchonly sys-libs/e2fsprogs-libs; emerge --unmerge >> e2fsprogs; emerge --unmerge com_err; emerge sys-libs/e2fsprogs-libs *should* >> work. I say should, because I haven't actually tried it. >> > > It is not quite that simple. There were many posts today (28 oct) on > this. I suggest reading them. You might need to unmask mit-krb5 for > example. There is a danger of rendering wget and hence emerge unusable > (but if you have already --fetchonly'ed the pkgs then emerge can install > them). > > To repeat the main point: Read *carefully* today's discussion. > > good luck, > allan Consider using quikpkg before unmerging anything kh
Re: [gentoo-user] package.keywords syntax?
To back myself up: #!/usr/bin/python import random for i in range(1,1): if random.random() < 0.001: print "rare" if malformed < beast: print "kick me in the ..." else: print "whatever" Regards Dirk
Re: [gentoo-user] package.keywords syntax?
On Wed, Oct 29, 2008 at 10:13 PM, Jorge Peixoto de Morais Neto <[EMAIL PROTECTED]> wrote: > The real problem is when you type > float real_number = 4e10; > int integer = real_number; > If your integer can only hold values up to 2^31 - 1 , the behavior of > the above code is undefined. > In a language like Python, everything either behaves as you intended, > of throws an exception. > This is why I say "In C, you must completely understand the behavior > of every statement or function, and you *must* handle the possibility > of errors". The line: int integer = real_number; will produce a warning. (or an error if you are smart enough to compile with -Werror) But, if you know that the real number will be small enough and you don't mind getting the floor of the float, you may wish to ignore the error. Like mr McKinnon said, c will allow you to do wrong things. Depending on what you are doing, the babysitting of python, may or may not be a problem. One thing I would like to know (not knowing python that well), is when you make an error in python, when will the exception be thrown? At the start of run-time, or when the guilty code is encountered? And what if that code is in a codebranch that gets executed 0.0005% of the time? Regards Dirk
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wednesday 29 October 2008 19:59:11 Alan McKinnon wrote: > A last note on emerge's output, especially with blockers: the time spent > to read all the portage pages (several times) is time very well spent. I > recommend when next you get blockers, is to rerun emerge with -t and take > note of what packages cause a blocker to be pulled in or up|downgraded. > make a list of everything involved and read the ebuilds. Plot it all out > with pen and pencil, do this repetitively till you have a lightbulb > moment where it all suddenly makes sense. Sound advice, but it didn't help me last week. I had to take a more devious approach involving a new test system and repeated attempts to install the same packages on it as were on the live system until I found the one that was causing the trouble. It was then a simple matter to remove it from the world file, where it shouldn't have been in the first place, and I can now dispense with the test system. So I could have saved myself several days of head-banging if I'd just looked in the world file - I'd have noticed the offender straight away. 20-20 hindsight. Wonderful. > Most folks around here have done this at some point and there doesn't > seem to be a shortcut :-) Indeed. -- Rgds Peter
Re: [gentoo-user] A question about emerge --info
Hi, I don't know if this is clear by now, but apparently the glibc version which is printed is the glibc version used to built python, because >libcname,libcversion = libc_ver(sys.executable) in this line the version is determined of sys.executable which is the python interpreter used to run the script. But I'm not sure if libc_ver is working correctly, since platform.py says on my system "with-glibc2.0", but my current version is 2.6.1 and I doubt that my python 2.5 was built with 2.0. Some checking: $ ldd $(which python) linux-gate.so.1 => (0xb7efb000) libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb7dcf000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7db7000) libdl.so.2 => /lib/libdl.so.2 (0xb7db3000) libutil.so.1 => /lib/libutil.so.1 (0xb7daf000) libm.so.6 => /lib/libm.so.6 (0xb7d86000) libc.so.6 => /lib/libc.so.6 (0xb7c34000) /lib/ld-linux.so.2 (0xb7efc000) and $ ls -l /lib/libc.so.6 lrwxrwxrwx 1 root root 13 2008-09-28 01:38 /lib/libc.so.6 -> libc-2.6.1.so $ qfile /lib/libc.so.6 sys-libs/glibc (/lib/libc.so.6) $ eix -s glibc [I] sys-libs/glibc Available versions: (2.2) [P]2.2.5-r10!s [P]2.3.2-r12!s [P]2.3.5-r3!s [P]2.3.6-r4!s [P]2.3.6-r5!s 2.4-r4!s 2.5-r2!s 2.5-r3!s 2.5-r4!s **2.5.1!s ~2.6!s 2.6.1!s ~2.7-r2!s ~2.8_p20080602!s {build crosscompile_opts_headers-only debug erandom gd glibc-compat20 glibc-omitfp hardened linuxthreads-tls multilib nls nptl nptlonly pic profile selinux userlocales vanilla} Installed versions: 2.6.1(2.2)!s(01:38:10 AM 09/28/2008)(glibc-omitfp nls -crosscompile_opts_headers-only -debug -gd -hardened -multilib -profile -selinux -vanilla) Homepage:http://www.gnu.org/software/libc/libc.html Description: GNU libc6 (also called glibc2) C library As you can see 2.6.1 is installed and python is using this version of glibc. That's why I'm wondering if it's not libc_ver which is buggy. Geralt.
Re: [gentoo-user] packages/All - how to create ?
Helmut Jarausch wrote: > On 30 Oct, András Csányi wrote: > >> 2008/10/30 Helmut Jarausch <[EMAIL PROTECTED]>: >> >>> Hi, >>> >>> I have a (nearly) identical Gentoo system on several machines. >>> On all machines except one, there is a directory >>> >>> /usr/portage/packages/All >>> >>> which contains symlinks to the packages in the specific >>> directories. This is quite comfortable when copying the >>> most recent packages. >>> >>> How can I set up GenToo to create and maintain this directory? >>> >> If you set up in the /etc/make.conf file the FEATURES="buildpkg" the >> portage will maintain the /usr/portage/packages/All directory >> automatically. >> > > Unfortunately this is not the case here. > The packages are built but no 'All' subdirectory is created nor > maintained. > > I'm not sure you are correct in this. I have this set up in my make.conf and it takes care of the All/ directory on this system and has done so for about 5 or 6 years now. It works. My settings: FEATURES="buildsyspkg sandbox fixpackages " Mine only keeps system packages but it can be set up several different ways. Dale
Re: [gentoo-user] packages/All - how to create ?
2008/10/30 Helmut Jarausch <[EMAIL PROTECTED]>: > On 30 Oct, András Csányi wrote: >> 2008/10/30 Helmut Jarausch <[EMAIL PROTECTED]>: >>> Hi, >>> >>> I have a (nearly) identical Gentoo system on several machines. >>> On all machines except one, there is a directory >>> >>> /usr/portage/packages/All >>> >>> which contains symlinks to the packages in the specific >>> directories. This is quite comfortable when copying the >>> most recent packages. >>> >>> How can I set up GenToo to create and maintain this directory? >> >> If you set up in the /etc/make.conf file the FEATURES="buildpkg" the >> portage will maintain the /usr/portage/packages/All directory >> automatically. > > Unfortunately this is not the case here. > The packages are built but no 'All' subdirectory is created nor > maintained. I don't know what is the problem in your system. On my system: Without FEATURES="buildkpg" cd /usr/portage/packages/ ls -lR softwarealchemy packages # ls -lR .: total 20 drwx-- 2 root root 4096 2008-10-30 10:22 All drwx-- 2 root root 4096 2008-10-30 10:13 dev-lang drwx-- 2 root root 4096 2008-10-22 17:14 games-simulation drwx-- 2 root root 4096 2008-10-30 10:13 www-servers ./All: total 11164 -rw--- 1 root root 6 2008-10-30 10:22 cvs-1.12.12-r4.tbz2 -rw--- 1 root root 3501052 2008-10-22 17:14 openttd-0.6.3-r2.tbz2 -rw--- 1 root root 6247886 2008-10-30 10:13 php-5.2.6-r7.tbz2 ./dev-lang: total 0 lrwxrwxrwx 1 root root 24 2008-10-30 10:13 php-5.2.6-r7.tbz2 -> ../All/php-5.2.6-r7.tbz2 ./games-simulation: total 0 lrwxrwxrwx 1 root root 28 2008-10-22 17:14 openttd-0.6.3-r2.tbz2 -> ../All/openttd-0.6.3-r2.tbz2 ./www-servers: total 0 lrwxrwxrwx 1 root root 27 2008-10-30 10:13 apache-2.2.9-r1.tbz2 -> ../All/apache-2.2.9-r1.tbz2 I switched FEATURES="buildpkg" and emerge cvs and the result: softwarealchemy packages # ls -lR .: total 20 drwx-- 2 root root 4096 2008-10-30 10:22 All drwx-- 2 root root 4096 2008-10-30 10:13 dev-lang drwxr-xr-x 2 root root 4096 2008-10-30 10:22 dev-util drwx-- 2 root root 4096 2008-10-22 17:14 games-simulation drwx-- 2 root root 4096 2008-10-30 10:13 www-servers ./All: total 11164 -rw--- 1 root root 6 2008-10-30 10:22 cvs-1.12.12-r4.tbz2 -rw--- 1 root root 3501052 2008-10-22 17:14 openttd-0.6.3-r2.tbz2 -rw--- 1 root root 6247886 2008-10-30 10:13 php-5.2.6-r7.tbz2 ./dev-lang: total 0 lrwxrwxrwx 1 root root 24 2008-10-30 10:13 php-5.2.6-r7.tbz2 -> ../All/php-5.2.6-r7.tbz2 ./dev-util: total 0 lrwxrwxrwx 1 root root 26 2008-10-30 10:22 cvs-1.12.12-r4.tbz2 -> ../All/cvs-1.12.12-r4.tbz2 ./games-simulation: total 0 lrwxrwxrwx 1 root root 28 2008-10-22 17:14 openttd-0.6.3-r2.tbz2 -> ../All/openttd-0.6.3-r2.tbz2 ./www-servers: total 0 lrwxrwxrwx 1 root root 27 2008-10-30 10:13 apache-2.2.9-r1.tbz2 -> ../All/apache-2.2.9-r1.tbz2 You can see the cvs is installed and the tarball is placed in /usr/portage/packages/All. In the /usr/portage/packages/dev-util/ directory has a symlink to /usr/portage/packages/All/cvs-1.12.12-r4.tbz2 file. I think it is workign fine. Or we are both in big trouble :-D Sorry my english. András -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando -- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell
Re: [gentoo-user] packages/All - how to create ?
On 30 Oct, András Csányi wrote: > 2008/10/30 Helmut Jarausch <[EMAIL PROTECTED]>: >> Hi, >> >> I have a (nearly) identical Gentoo system on several machines. >> On all machines except one, there is a directory >> >> /usr/portage/packages/All >> >> which contains symlinks to the packages in the specific >> directories. This is quite comfortable when copying the >> most recent packages. >> >> How can I set up GenToo to create and maintain this directory? > > If you set up in the /etc/make.conf file the FEATURES="buildpkg" the > portage will maintain the /usr/portage/packages/All directory > automatically. Unfortunately this is not the case here. The packages are built but no 'All' subdirectory is created nor maintained. > If you wanto to know more about portage and portage features I suggest > to you to read the documentation. Here is: > http://www.gentoo.org/doc/en/index.xml?catid=gentoo > > -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] packages/All - how to create ?
2008/10/30 Helmut Jarausch <[EMAIL PROTECTED]>: > Hi, > > I have a (nearly) identical Gentoo system on several machines. > On all machines except one, there is a directory > > /usr/portage/packages/All > > which contains symlinks to the packages in the specific > directories. This is quite comfortable when copying the > most recent packages. > > How can I set up GenToo to create and maintain this directory? If you set up in the /etc/make.conf file the FEATURES="buildpkg" the portage will maintain the /usr/portage/packages/All directory automatically. If you wanto to know more about portage and portage features I suggest to you to read the documentation. Here is: http://www.gentoo.org/doc/en/index.xml?catid=gentoo -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando -- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell
[gentoo-user] more than one package directory ?
Hi, I'd like to use more than one package directory, e.g. /usr/portage/packages plus plus all stuff on a DVD. Is there a Gentoo specific way to do so or do I need an overlay file system like aufs ? Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
[gentoo-user] packages/All - how to create ?
Hi, I have a (nearly) identical Gentoo system on several machines. On all machines except one, there is a directory /usr/portage/packages/All which contains symlinks to the packages in the specific directories. This is quite comfortable when copying the most recent packages. How can I set up GenToo to create and maintain this directory? Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] hibernate fails, "s2disk" not found
On Thu, Oct 30, 2008 at 12:33 AM, Walter Dnes <[EMAIL PROTECTED]> wrote: > On Wed, Oct 29, 2008 at 12:27:39PM +0100, Pint?r Tibor wrote >>> [d530][root][~] emerge -pv s2disk >>> These are the packages that would be merged, in order: >>> Calculating dependencies | >>> emerge: there are no ebuilds to satisfy "s2disk". >>> Now what? >> >> emerge -pv suspend > > First, I had to keyword "=sys-power/suspend-0.8 ~x86" in > package.keywords. I set up suspend.conf like so... > > snapshot device = /dev/snapshot > resume device = /dev/sda6 > #image size = 35000 > #suspend loglevel = 2 > compute checksum = y > #compress = y > #encrypt = y > #early writeout = y > #splash = y > > Here is my disk layout > > [d530][root][~] fdisk -l > > Disk /dev/sda: 500.1 GB, 500107862016 bytes > 255 heads, 63 sectors/track, 60801 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > Disk identifier: 0xd000 > > Device Boot Start End Blocks Id System > /dev/sda1 1 60801 4883840015 Extended > /dev/sda5 1 62 497952 83 Linux > /dev/sda6 63 549 3911796 82 Linux swap / Solaris > /dev/sda7 550 60801 483974158+ 83 Linux > > No, it's not LVM. / is half-a-gig, followed by swap, followed by the > rest of the drive. I use multiple bindmounts to make things look > normal. When I tried "sync", followed by "hibernate" it shut down, but > when I powered back up with the power button, here's what happened... > > - on the reboot, it complained about the superblock "last access" being > in the future (the half-gig partition is ext2) > > - it "fixed" the access date > > - complained that the hard drive was "dirty", i.e. not properly shut > down > > - rebooted > > - played back a whole bunch of disk transactions on /dev/sda7 > (reiserfs). Did i mention I ran "sync" before "hibernate"? > > - it did the rest of the ordinary boot process. > > - it did *NOT* restore anything from the previous session. Do I have to > explicitly set something to tell it to restore a previous session? > Gentoo-wiki is stll down. > > -- > Walter Dnes <[EMAIL PROTECTED]> I've not touched hibernation, but from what I've gathered in 5 mins on google, I've a few probable guesses. Firstly, the image of the system set aside by s2disk leaves the system's partitions in a 'dirty' state simply because they're technically still in use. Your kernel needs to be told to look at /dev/sda6 for resuming, appending resume=/dev/sda6 (might be resume=swap:/dev/sda6, not sure) in your grub/lilo config should handle that part, though I've a vague recollection of something about a default resume partition last time I ran through menuconfig too, so you may even be able to avoid that. When it boots, rather than running through init and the usual, it needs access to the 'resume' executable, which has to be usable *before* the system's current mounts are reestablished... which means initrd or initramfs. If you already have both of those things (kernel knowing what the resume partition is and having access to 'resume' where it wants it) as they should be... I'm at a loss. If you go to: http://www.google.com/search?q=HOWTO+Userspace+Software+Suspend+(uswsusp)+-+Gentoo+Linux+Wiki and then hit 'cached' under the first hit, it'll take you to google's last copy of the page. Also, as a side note, from http://www.freewebs.com/gkiagia/hibernate.html -- "WARNING: Never boot the suspended system with another kernel than the one that you used to suspend and never try to mount suspended partitions from another linux system, such as a live cd, otherwise you will probably have data loss." -- Poison [BLX] Joshua M. Murphy