Re: [gentoo-user] firefox.bin vs firefox
On Wed, 17 Dec 2014 20:59:23 -0500, cov...@ccs.covici.com wrote: Mine takes more than an hour, I don't use tmpfs for /var/tmp/portage because sometimes I need many gigs even more than memory for certain packages. But Linux is pretty good at disk caching, so I wonder if that is it? You can change PORTAGE_TMPDIR per-package. I have it on a tmpfs and then change it for packages like LO. % cat /etc/portage/package.env/libreoffice app-office/libreoffice disk-tmpdir.conf % cat /etc/portage/env/disk-tmpdir.conf PORTAGE_TMPDIR=/mnt/scratch -- Neil Bothwick ... I just forgot to increment the counter, Tom said, nonplussed. pgpw0BmGwmDaq.pgp Description: OpenPGP digital signature
Re: [gentoo-user] What is the correct way to remove an old gcc-version (emerge --depclean) ?
On 18/12/2014 09:45, meino.cra...@gmx.de wrote: Hi, on my embedded system I currently ran into a problem: As adviced after a greater world update I did emerge --depclean -vp beside other stuff sys-devel/gcc was shown as candidate for removal. An old version was shown for removal and a newer one was shown as preserved. I checked with eselect, whether the new version was selected (it was), made a backup and started emerge --depclean -v. As soon it has removed gcc, a firework of error brightened my terminal...beside other things the shell failed while trying to access libgcc (if I had recognized that correctly...). Technically no problem: I stopped that, cleared the sdcard and installed the backup...but what did I wrong here? What is the correct way to handle such things? That's a good question. My first thought was you could have c++ apps built against the old version of gcc, they will still use the old libs at runtime. depclean those, and you get fireworks like you got. Solution would seem to be emerge -e world with your choice of gcc enabled, then depclean the old versions. But, in 10+ years of using gentoo, I must admit that has never happened to me yet! -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] firefox.bin vs firefox
Neil Bothwick n...@digimed.co.uk wrote: On Wed, 17 Dec 2014 20:59:23 -0500, cov...@ccs.covici.com wrote: Mine takes more than an hour, I don't use tmpfs for /var/tmp/portage because sometimes I need many gigs even more than memory for certain packages. But Linux is pretty good at disk caching, so I wonder if that is it? You can change PORTAGE_TMPDIR per-package. I have it on a tmpfs and then change it for packages like LO. % cat /etc/portage/package.env/libreoffice app-office/libreoffice disk-tmpdir.conf % cat /etc/portage/env/disk-tmpdir.conf PORTAGE_TMPDIR=/mnt/scratch That is interesting, but firefox requires 8g I think of temp space, the very package which takes so long. I have 16g of memory, but I wonder if my whole system would start to crawl. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] Re: CI Continuous Integration
On 18/12/2014 08:25, Sam Bishop wrote: Mindful of the aforementioned rabbit hole, I'll stop myself here and sum it up by saying that I don't see any reason Gentoo must be hard. Gentoo isn't hard as long as you are up to speed with how to drive it. It's a high performance race engine that you can turn into anything you want it to be, and we are the mechanics. The guys in the pits at races don't consider their engines hard, they just take it in their stride because they have large amounts of clue. Just like most of us here :-) The beauty of Gentoo is that if you do want to make something suitable for Aunt Tillie to use and nothing else out there fits the bill, you can write a wrapper around Gentoo to get what you want, and that's where the complexity lies - in a place Aunt Tillie doesn't need to see it. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] firefox.bin vs firefox
On 18/12/2014 03:33, Alec Ten Harmsel wrote: On 12/17/2014 04:59 PM, Alan McKinnon wrote: On 18/12/2014 04:45, Harry Putnam wrote: Is there any advantage one way or the other emerging firefox.bin vs firefox? Depends on your needs: firefox: - pro: you get all the USE flags - pro: you don't get bundled libs from Mozilla, the ebuild can use system libs - pro: the compiled binaries are integrated into gentoo like other ebuilds - con: slow compiles. I have 8 i7 cores and 16G. the merge takes 20-35 minutes... Really? 20-35 minutes? I have 6 cores and 32G, and firefox only takes 10 minutes. Do you have PORTAGE_TMPDIR mounted on tmpfs? Yes, it is a tmpfs. I notice firefox compile times have been steadily increasing over time, and also vary a lot. But, with 16G ram, I've stopped worrying about what else the machine is doing when emerging. I'll easily do an mp4 encode with handbrake while building firefox and not worry about load :-) Sat Aug 2 14:08:00 2014 www-client/firefox-31.0 merge time: 18 minutes and 37 seconds. Mon Sep 1 00:08:02 2014 www-client/firefox-31.0 merge time: 13 hours, 54 minutes and 44 seconds. Thu Sep 4 23:53:39 2014 www-client/firefox-32.0 merge time: 19 minutes and 50 seconds. Sun Sep 14 10:43:15 2014 www-client/firefox-32.0 merge time: 41 minutes and 59 seconds. Thu Oct 16 19:50:24 2014 www-client/firefox-33.0 merge time: 34 minutes and 56 seconds. Fri Nov 7 20:34:48 2014 www-client/firefox-33.0-r1 merge time: 21 minutes and 13 seconds. Sun Dec 7 14:01:03 2014 www-client/firefox-34.0.5-r1 merge time: 37 minutes and 31 seconds. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] firefox.bin vs firefox
cov...@ccs.covici.com wrote: Neil Bothwick n...@digimed.co.uk wrote: On Wed, 17 Dec 2014 20:59:23 -0500, cov...@ccs.covici.com wrote: Mine takes more than an hour, I don't use tmpfs for /var/tmp/portage because sometimes I need many gigs even more than memory for certain packages. But Linux is pretty good at disk caching, so I wonder if that is it? You can change PORTAGE_TMPDIR per-package. I have it on a tmpfs and then change it for packages like LO. % cat /etc/portage/package.env/libreoffice app-office/libreoffice disk-tmpdir.conf % cat /etc/portage/env/disk-tmpdir.conf PORTAGE_TMPDIR=/mnt/scratch That is interesting, but firefox requires 8g I think of temp space, the very package which takes so long. I have 16g of memory, but I wonder if my whole system would start to crawl. I have 16Gbs here and I have portage on tmpfs. Only once has it ran out of room and it was slow as expected. It was working on seamonkey, firefox and LOo all at the same time. Yea, it was memory hungry. It has only did that once during a emerge -e world tho. It's never happened during a normal update. I think setting at least LOo to not use memory would pretty much fix this issue. I plan to work on that at some point. I also plan to work on upgrading to 32Gbs too. Dale :-) :-)
Re: [gentoo-user] Re: firefox.bin vs firefox
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 18/12/14 06:10, Frank Steinmetzger wrote: I once -- just for fun -- compiled Firefox on an Atom N450. This has no effect on the loading time of 20 seconds. ^^ And how long did it take? -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQEcBAEBCAAGBQJUkqdjAAoJEK64IL1uI2hacwoIAJpTGmlC+e0EzyIDEcOJDfcK HJtlOl7T31oAGxtz51hMko0Nj0bh4dLnDVl7KTTnwfU8VCIvotyFsHweqWx4Cn2b jHFGou/eLD9DHFtA89xyhSQmY7ywq3SIK3ywZDmiHAOI80iMzlPfB82gTSzetVe9 +XMG2GjTZ7YZa/KcPyjAFcapUh0A7y4aYGW71XI1gqUI6nvdRJY3kGuVV1Xrw3Zc dXgilcpjk9n/Jyj2NtxjNsZQyGQTiz5TqICkUURKg2ZxH/YJniQLGutVnJp+vnfF q/OzH6trZ6frbKqkqeOfYrARxbrpnsO+Gz7mr7dPDr3SVyxox92+9zJTwbgpkJ0= =0Sfj -END PGP SIGNATURE-
Re: [gentoo-user] firefox.bin vs firefox
On Thursday 18 December 2014 08:23:59 Neil Bothwick wrote: You can change PORTAGE_TMPDIR per-package. I have it on a tmpfs and then change it for packages like LO. % cat /etc/portage/package.env/libreoffice app-office/libreoffice disk-tmpdir.conf % cat /etc/portage/env/disk-tmpdir.conf PORTAGE_TMPDIR=/mnt/scratch Are comments allowed in, e.g., /etc/portage/env/disk-tmpdir.conf? -- Rgds Peter.
Re: [gentoo-user] firefox.bin vs firefox
On Thu, 18 Dec 2014 10:26:42 +, Peter Humphrey wrote: % cat /etc/portage/env/disk-tmpdir.conf PORTAGE_TMPDIR=/mnt/scratch Are comments allowed in, e.g., /etc/portage/env/disk-tmpdir.conf? It's just a bashrc file,so comments should be fine. -- Neil Bothwick Top Oxymorons Number 46: Found missing pgp3R4GBKD1_1.pgp Description: OpenPGP digital signature
[gentoo-user] Re: akonadi-server upgrade desaster
Hi, Mick wrote: On Wednesday 17 Dec 2014 19:13:03 Jörg Schaible wrote: Hi folks, it seems there's no way for me to upgrade my akonadi-server 1.11.0 to 1.12.x or 1.13.x. I am using an external MySQL for years, but it fails to upgrade the tables nor will it recreate them without errors if I drop them all. All I can do is to downgrade to 1.11.0 again and restore the DB schema from a backup. [snip] So, what now? I am out of ideas ... - Jörg I'm sure I've seen a bug reported in KDE about it when I suffered some similar error, but can't find the link just now. You may want to dump the database so that you have a back up and convert it from MyISAM to InnoDB before you try to update akonadi. Actually I already tried that, but it failed again. I replaced all occurrences of MyISAM with InnoDB in them dumb file, dropped the DB and tried to restore it, but again with strange failures that the table allready existed. Something is weird with the InnoDB part of MySQL, but I dunno what. - Jörg
Re: [gentoo-user] Re: firefox.bin vs firefox
On Thu, Dec 18, 2014 at 01:07:34PM +0300, the wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 18/12/14 06:10, Frank Steinmetzger wrote: I once -- just for fun -- compiled Firefox on an Atom N450. This has no effect on the loading time of 20 seconds. ^^ And how long did it take? Can’t really remember, I’d have to fire the baby up in order to look (I don’t use it productively anymore). Maybe 15–20 hours, but I could confuse that with the compile time of LibreOffice. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any social network. Friends may come and go, but enemies accumulate. signature.asc Description: Digital signature
[gentoo-user] How to install a pkg without all dependencies?
Setup: very new install of gentoo I want to install emacs-w3m without most of the dependencies: Calculating dependencies... done! [ebuild N ] app-admin/eselect-emacs-1.17 0 KiB [ebuild N ] virtual/w3m-0 0 KiB [ebuild N ] app-emacs/emacs-common-gentoo-1.4-r1 USE=X -games 40 KiB [ebuild N ] app-editors/emacs-24.4-r1:24 USE=X acl alsa dbus gif gpm gtk gtk3 inotify jpeg png svg tiff xpm zlib -Xaw3d (-aqua) -athena -games -gconf -gfile -gnutls -gsettings -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int -xft 38804 KiB [ebuild N ] virtual/emacs-24 0 KiB [ebuild N ] app-emacs/emacs-w3m-1.4.528_pre20140213 LINGUAS=-ja 734 KiB I don't want to install another (older) version of emacs. I installed emacs outside portage from bzr sources. I'd sooner track emacs development my way. I vaguely remember some way to tell portage about that... but not enough to do it...
Re: [gentoo-user] How to install a pkg without all dependencies?
On 18/12/2014 20:18, Harry Putnam wrote: Setup: very new install of gentoo I want to install emacs-w3m without most of the dependencies: Calculating dependencies... done! [ebuild N ] app-admin/eselect-emacs-1.17 0 KiB [ebuild N ] virtual/w3m-0 0 KiB [ebuild N ] app-emacs/emacs-common-gentoo-1.4-r1 USE=X -games 40 KiB [ebuild N ] app-editors/emacs-24.4-r1:24 USE=X acl alsa dbus gif gpm gtk gtk3 inotify jpeg png svg tiff xpm zlib -Xaw3d (-aqua) -athena -games -gconf -gfile -gnutls -gsettings -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int -xft 38804 KiB [ebuild N ] virtual/emacs-24 0 KiB [ebuild N ] app-emacs/emacs-w3m-1.4.528_pre20140213 LINGUAS=-ja 734 KiB I don't want to install another (older) version of emacs. I installed emacs outside portage from bzr sources. I'd sooner track emacs development my way. I vaguely remember some way to tell portage about that... but not enough to do it... --nodeps -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] How to install a pkg without all dependencies?
On Thu, Dec 18, 2014 at 1:18 PM, Harry Putnam rea...@newsguy.com wrote: Setup: very new install of gentoo I want to install emacs-w3m without most of the dependencies: Calculating dependencies... done! [ebuild N ] app-admin/eselect-emacs-1.17 0 KiB [ebuild N ] virtual/w3m-0 0 KiB [ebuild N ] app-emacs/emacs-common-gentoo-1.4-r1 USE=X -games 40 KiB [ebuild N ] app-editors/emacs-24.4-r1:24 USE=X acl alsa dbus gif gpm gtk gtk3 inotify jpeg png svg tiff xpm zlib -Xaw3d (-aqua) -athena -games -gconf -gfile -gnutls -gsettings -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd -m17n-lib -motif -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int -xft 38804 KiB [ebuild N ] virtual/emacs-24 0 KiB [ebuild N ] app-emacs/emacs-w3m-1.4.528_pre20140213 LINGUAS=-ja 734 KiB I don't want to install another (older) version of emacs. I installed emacs outside portage from bzr sources. I'd sooner track emacs development my way. I vaguely remember some way to tell portage about that... but not enough to do it... With the understanding that changes between the version it's asking for and what you've built on your end (which probably should be done with a custom ebuild when it impacts as many things as emacs tends to) might well break whatever's trying to use it, you can use package.provided to convince portage that whatever dependency it's looking for is already in place. -- Poison [BLX] Joshua M. Murphy
[gentoo-user] Re: How to install a pkg without all dependencies?
Poison BL. poiso...@gmail.com writes: With the understanding that changes between the version it's asking for and what you've built on your end (which probably should be done with a custom ebuild when it impacts as many things as emacs tends to) might well break whatever's trying to use it, you can use package.provided to convince portage that whatever dependency it's looking for is already in place. Ahh there is the bit I was fumbling to remember. package.provided OK, so in this case would I tell portage I am providing the emacs version its pulling in? ie app-editors/emacs-24.4-r1 man portage section on package.provided doesn't make it very clear what should actually go in there. The example for telling portage user will manage 2.6 kernel: sys-kernel/development-sources-2.6.7 But what portage is asking for is app-editors/emacs-24.4-r1 So I'm guessing to tell portage to not worry about that version or any newer one: Something like: =app-editors/emacs-24 If that the proper syntax?
Re: [gentoo-user] How to install a pkg without all dependencies?
On Dec 18, 2014, at 20:18, Harry Putnam rea...@newsguy.com wrote: I installed emacs outside portage from bzr sources. I'd sooner track emacs development my way. I vaguely remember some way to tell portage about that... but not enough to do it... As Poison instructed: package.provided or then get emacs-.ebuild that uses the bzr and installs straight from emacs trunk. You can easily find one or write your own ebuild. It's really straight forward. -- -Matti
Re: [gentoo-user] firefox.bin vs firefox
On Thursday 18 December 2014 11:53:41 Neil Bothwick wrote: On Thu, 18 Dec 2014 10:26:42 +, Peter Humphrey wrote: % cat /etc/portage/env/disk-tmpdir.conf PORTAGE_TMPDIR=/mnt/scratch Are comments allowed in, e.g., /etc/portage/env/disk-tmpdir.conf? It's just a bashrc file,so comments should be fine. That's good, because that's the easiest way to include or exclude things in it to compare the effects of tmpfs. -- Rgds Peter.
Re: [gentoo-user] What is the correct way to remove an old gcc-version (emerge --depclean) ?
On Thu, Dec 18, 2014 at 9:45 AM, meino.cra...@gmx.de wrote: Hi, on my embedded system I currently ran into a problem: As adviced after a greater world update I did emerge --depclean -vp beside other stuff sys-devel/gcc was shown as candidate for removal. An old version was shown for removal and a newer one was shown as preserved. I checked with eselect, whether the new version was selected (it was), made a backup and started emerge --depclean -v. As soon it has removed gcc, a firework of error brightened my terminal...beside other things the shell failed while trying to access libgcc (if I had recognized that correctly...). Technically no problem: I stopped that, cleared the sdcard and installed the backup...but what did I wrong here? What is the correct way to handle such things? Best regards, Meino You may want to go over the instructions given in the https://wiki.gentoo.org/wiki/Upgrading_GCC guide, just in case you might have overlooked something, unless you've already done that.
[gentoo-user] Making DVD high resolution
I've used Imagination to make VOB and set in preferences resolution 1920 x 1080 HD made VOB. How do I check the VOB frame size settings? When I tried to made HD video using DVD Styler the max frame rate I can set to make DVD ISO is 720x480. How to make DVD with higher resolution? -- Joseph
[gentoo-user] Garbled manpages OR terminal corruption OR ...
Hi, Currently I haven noticed a few manpages (for example 'man ftop'), which miss kinda second part of a sentence. For ftop: FTOP(1) General Commands ManualFTOP(1) NAME ftop - show progress of open files and file systems SYNOPSIS ftop [options] COPYRIGHT ftop is Copyright (C) 2009 Jason Todd. Send bug reports and sugges‐ tions/patches/etc. to jto...@earthlink.net. ... ... ... -F Show un-expanded files Show all files that are open within the displayed processes. See also -h Help Toggle the help screen. ... ... ... ftop 1.0 2009-02-16 FTOP(1) See the end of the explanation for option '-F'. As it happens on all three embedded systems and my Linux PC it cannot be something architecture dependant. All systems are setup 'the same way' - regarding the applications related to this effect (and hopefully I havent overlooked something. It would help, if someone else could check this at her/his system... What may ve the reason for this? Thank you very much in advance for any help! Best regards, Meino PS: If I came across more of the cutted sent I will post another email to this mailin ;)
[gentoo-user] Re: How to install a pkg without all dependencies?
Alan McKinnon alan.mckin...@gmail.com writes: --nodeps Nope, even that doesn't work... it fails at some point with things like: * ERROR: app-emacs/emacs-w3m-1.4.528_pre20140213::gentoo failed (configure phase): * econf failed * * Call stack: *ebuild.sh, line 93: Called src_configure * environment, line 2886: Called default * phase-functions.sh, line 770: Called default_src_configure * phase-functions.sh, line 805: Called __eapi2_src_configure * phase-helpers.sh, line 691: Called econf * phase-helpers.sh, line 584: Called die * The specific snippet of code: * die econf failed --- --- ---=--- --- --- Starting to look like I better just go with emacs-vcs rather than find some mess every little ways.
Re: [gentoo-user] Making DVD high resolution
On 12/18/14 10:50, Joseph wrote: I've used Imagination to make VOB and set in preferences resolution 1920 x 1080 HD made VOB. How do I check the VOB frame size settings? When I tried to made HD video using DVD Styler the max frame rate I can set to make DVD ISO is 720x480. How to make DVD with higher resolution? I checked the VOB with ffmpeg -i The VOB is: Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9] The DVD I created with DVD Styler is only 720x480 Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR 4:3] How to burn higher resolution DVD, I think I'll have to use command line? -- Joseph
Re: [gentoo-user] Making DVD high resolution
On 18 December 2014 18:50:09 CET, Joseph syscon...@gmail.com wrote: I've used Imagination to make VOB and set in preferences resolution 1920 x 1080 HD made VOB. How do I check the VOB frame size settings? When I tried to made HD video using DVD Styler the max frame rate I can set to make DVD ISO is 720x480. How to make DVD with higher resolution? You can't. The DVD spec doesn't support HD video. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] Making DVD high resolution
On 12/18/14 19:10, J. Roeleveld wrote: On 18 December 2014 18:50:09 CET, Joseph syscon...@gmail.com wrote: I've used Imagination to make VOB and set in preferences resolution 1920 x 1080 HD made VOB. How do I check the VOB frame size settings? When I tried to made HD video using DVD Styler the max frame rate I can set to make DVD ISO is 720x480. How to make DVD with higher resolution? You can't. The DVD spec doesn't support HD video. So what format do I have to burn the disk in, in order to have lets say 1920 x 1080 HD -- Joseph
[gentoo-user] BluRay reproduction
Hello! Someone had already played BD Video discs I bought a Pioneer BD player/recorder and I want to play BD films on it, but the things I found in net were (a) badly documented, (b) confusing and/or (c) Ubuntu oriented. Any tips? Already tried to put bluray on USE flags and all the things I could and nothing... :( -- Obrigado! Fabio Emilio Costa São Bernardo do Campo - SP - Brazil fabiocosta0...@gmail.comLinux User #416439(counter.li.org) ICQ #:173799674 Twitter:@HufflepuffBR Google+: http://plus.google.com/+FabioEmilioCosta Facebook: http://facebook.com/fabiocosta0305 Blog: hogwartslinux.wordpress.com Copie. Seja Legal. Não seja trouxa! Use Software Livre!
Re: [gentoo-user] Making DVD high resolution
On 12/18/2014 01:31 PM, Joseph wrote: On 12/18/14 19:10, J. Roeleveld wrote: On 18 December 2014 18:50:09 CET, Joseph syscon...@gmail.com wrote: I've used Imagination to make VOB and set in preferences resolution 1920 x 1080 HD made VOB. How do I check the VOB frame size settings? When I tried to made HD video using DVD Styler the max frame rate I can set to make DVD ISO is 720x480. How to make DVD with higher resolution? You can't. The DVD spec doesn't support HD video. So what format do I have to burn the disk in, in order to have lets say 1920 x 1080 HD Bluray. But I think it would be rather worthless. If you're burning to a disc, I assume you're not using a computer, which means you probably trying to play it on a TV in which case I would say just use a Bluray player that upscales DVDs (most do) So just burn the DVD as normal (don't bother upscaling) and play it on a Bluray player.
Re: [gentoo-user] Nvidia and optimus
Need some help (taking the topic that is about this): already build bumblebee and implemented everything (runned glxgears with optirun and things gone okay). However, I'm with some problems to play some games, like Shatter and Anomaly, that has 32-bit only versions (my ARCH=~amd64). I don't remember the package I need to build so optirun can run correctly those games. Any help? 2014-12-18 3:28 GMT-02:00 behrouz khosravi bz.khosr...@gmail.com: On Dec 16, 2014 2:38 PM, J. Roeleveld jo...@antarean.org wrote: On Tuesday, December 16, 2014 02:12:06 PM behrouz khosravi wrote: Hello everyone. I was trying to get native optimus support for my laptop using the Nvidia driver, but after startx the screen goes black for some several seconds and xserver exits. The output messages are attached. I just added a dot to end of xorg.conf and .xinitrc to bypass it for now. Thanks for your time. Did you install and configure Bumblebee? I haven't configured anything special myself and got it working following the official documentation: http://bumblebee-project.org/install.html#Gentoo emerge bumblebee After installation completes, add yourself to the bumblebee group to enable use of the optirun command. You will have to re-login for group changes to take effect. -- Joost Not actually, I wanted to get it working without bumblebee, but it seems that its not easy! In my Arch box a I couldent manage too set up too. I guess I will try that sometime. -- Obrigado! Fabio Emilio Costa São Bernardo do Campo - SP - Brazil fabiocosta0...@gmail.comLinux User #416439(counter.li.org) ICQ #:173799674 Twitter:@HufflepuffBR Google+: http://plus.google.com/+FabioEmilioCosta Facebook: http://facebook.com/fabiocosta0305 Blog: hogwartslinux.wordpress.com Copie. Seja Legal. Não seja trouxa! Use Software Livre!
Re: [gentoo-user] Nvidia and optimus
On 18 December 2014 19:40:27 CET, Fábio Emilio Costa fabiocosta0...@gmail.com wrote: Need some help (taking the topic that is about this): already build bumblebee and implemented everything (runned glxgears with optirun and things gone okay). However, I'm with some problems to play some games, like Shatter and Anomaly, that has 32-bit only versions (my ARCH=~amd64). I don't remember the package I need to build so optirun can run correctly those games. Any help? 2014-12-18 3:28 GMT-02:00 behrouz khosravi bz.khosr...@gmail.com: On Dec 16, 2014 2:38 PM, J. Roeleveld jo...@antarean.org wrote: On Tuesday, December 16, 2014 02:12:06 PM behrouz khosravi wrote: Hello everyone. I was trying to get native optimus support for my laptop using the Nvidia driver, but after startx the screen goes black for some several seconds and xserver exits. The output messages are attached. I just added a dot to end of xorg.conf and .xinitrc to bypass it for now. Thanks for your time. Did you install and configure Bumblebee? I haven't configured anything special myself and got it working following the official documentation: http://bumblebee-project.org/install.html#Gentoo emerge bumblebee After installation completes, add yourself to the bumblebee group to enable use of the optirun command. You will have to re-login for group changes to take effect. -- Joost Not actually, I wanted to get it working without bumblebee, but it seems that its not easy! In my Arch box a I couldent manage too set up too. I guess I will try that sometime. I would start with the packages with 'compat' in the name. Unless someone knows specifically -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
[gentoo-user] sysctl not executed at boot time
Hi, It seems that my sysctl.conf is not executed at boot time. If a apply a sysctl -p after boot, it adjusts a lot of parameters I added to syscl.conf. A rc-update shows the the sysctl server should start a boot time. Any ideas? Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Nvidia and optimus
Am 18.12.2014 um 20:03 schrieb J. Roeleveld: I don't remember the package I need to build so optirun can run correctly those games. Any help? I would start with the packages with 'compat' in the name. Unless someone knows specifically For optirun you don't need any particular 32-bit dependencies, but you need the 32-bit dependencies for the games. The best way to find the dependencies is to install the game and run ldd on the binary. E.g.: ldd /opt/anomaly/anomaly (If that's the name of its binary.) Then find the packages to which the libraries in the output belong and install the corresponding app-emulation/emul-linux-x86-* packages resp. put them into the DEPENDS array of your ebuild. Heiko
Re: [gentoo-user] BluRay reproduction
On Thu, 18 Dec 2014 16:37:15 -0200, Fábio Emilio Costa wrote: Someone had already played BD Video discs I bought a Pioneer BD player/recorder and I want to play BD films on it, but the things I found in net were (a) badly documented, (b) confusing and/or (c) Ubuntu oriented. You need to install MakeMKV. Then you can either rip BD-ROM discs or stream the content and play it with something like VLC. -- Neil Bothwick Capt'n! The spellchecker kinna take this abuse! pgpP0l2LSfo1d.pgp Description: OpenPGP digital signature
[gentoo-user] No burners are currently available
When I start Xfburn I get a message: No burners are currently available Possibly the disc(s) are in use, and cannot get accessed. How to check which program is using the DVD drive? ps fax is not showing that any program is using it. -- Joseph
Re: [gentoo-user] No burners are currently available
Joseph syscon...@gmail.com [14-12-18 21:16]: When I start Xfburn I get a message: No burners are currently available Possibly the disc(s) are in use, and cannot get accessed. How to check which program is using the DVD drive? ps fax is not showing that any program is using it. -- Joseph Hi Joseph, Suppose /dev/dvd is the device in question do a fuser /dev/dvd to see, what is using the device. Another source for that kind of error messages are wrong permissions of the device, you (or better your account) is missing a certain group membership (group cdrom, cdrw for example) or Xfburn exspects /dev/dvd (or something else) and udev has generated a more cryptic device name like /dev/sr0. HTH! Good luck! Best regards, Meino
[gentoo-user] Identifying a file by a block number...how?
Hi, with sysctl vm.block_dump=1 one can enable the logging of IO to the harddisk/flashmem/... into dmesg. The logs report the block number of the file in question... but not the filename itsself. Is there any other way as examine each single file of the filesystem to find the file to which a certain block number is assigned? Thank you very mcuh for any help! Best regards, Meino
Re: [gentoo-user] No burners are currently available
On 12/18/14 21:20, meino.cra...@gmx.de wrote: Joseph syscon...@gmail.com [14-12-18 21:16]: When I start Xfburn I get a message: No burners are currently available Possibly the disc(s) are in use, and cannot get accessed. How to check which program is using the DVD drive? ps fax is not showing that any program is using it. -- Joseph Hi Joseph, Suppose /dev/dvd is the device in question do a fuser /dev/dvd to see, what is using the device. Another source for that kind of error messages are wrong permissions of the device, you (or better your account) is missing a certain group membership (group cdrom, cdrw for example) or Xfburn exspects /dev/dvd (or something else) and udev has generated a more cryptic device name like /dev/sr0. I've tried to burn a dvd from a command line: cdrecord -v -eject -dao speed=4 dev=0,0,0 dvd.iso but I got a generic error message that it is not possible. running: fuser /dev/sr0 come up with empty line, but Xfburn now can access the drive :-/ -- Joseph
[gentoo-user] virtual/emacs-24
After reading a few google hits of gentoo documetation about virtual pkgs. I still didn't get it. In my case I'm trying to avoid problems with a self built emacs (25) not done thru portage. I'm not looking to discuss the pros and cons of doing in this thead, but want to understand how it will effect things in the situation described below. I also want to install emacs-w3m (thru portage) emacs-w3m requires: [ebuild N ] app-admin/eselect-emacs-1.17 0 KiB [ebuild N ] app-emacs/emacs-common-gentoo-1.4-r1 [...] [ebuild N ] app-editors/emacs-24.4-r1:24 [..] [ebuild N ] virtual/emacs-24 0 KiB [...] a few other pkgs I didn't want to have the confusion of another version of emacs installed so resorted to use of: /etc/portage/profile/package.provided: like so: app-editors/emacs-24 To tell portage about my home rolled emacs Well, that knocks down most of the unwanted pkgs but still as you see: emerge -vp emacs-w3m [ebuild N ] virtual/emacs-24 0 KiB [ebuild N ] virtual/w3m-0 0 KiB [ebuild N ] app-emacs/emacs-w3m-1.4.528_pre20140213 `virtual/emacs-24' still hanging in there I didn't learn enough googling to understand what having that virtual/emacs-24 installed would mean. Would it be possible headaches with emacs-25 installed outside portage. Can anyone say what that package actually does?
Re: [gentoo-user] Identifying a file by a block number...how?
On Thu, Dec 18, 2014 at 3:24 PM, meino.cra...@gmx.de wrote: Hi, with sysctl vm.block_dump=1 one can enable the logging of IO to the harddisk/flashmem/... into dmesg. The logs report the block number of the file in question... but not the filename itsself. Is there any other way as examine each single file of the filesystem to find the file to which a certain block number is assigned? Thank you very mcuh for any help! Best regards, Meino That depends entirely on the filesystem being used. In the case of ext2/3/4, I believe /sbin/debugfs will do the trick with its icheck command to get the inode, and once you have the inode, you can get the filename via find. What I'm not 100% certain of is whether the block numbers involved map 1:1 with physical sectors, and how that plays with the 512B vs 4KB sectors, etc. With NTFS it's a hair quicker with ntfscluster and ntfsinfo doing the trick fairly trivially (I use a tool centered around that combo to identify files lost when I recover peoples windows drives with ddrescue). -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] virtual/emacs-24
On Thu, Dec 18, 2014 at 07:06:32PM -0500, Harry Putnam wrote: Well, that knocks down most of the unwanted pkgs but still as you see: emerge -vp emacs-w3m [ebuild N ] virtual/emacs-24 0 KiB [ebuild N ] virtual/w3m-0 0 KiB [ebuild N ] app-emacs/emacs-w3m-1.4.528_pre20140213 `virtual/emacs-24' still hanging in there I didn't learn enough googling to understand what having that virtual/emacs-24 installed would mean. Would it be possible headaches with emacs-25 installed outside portage. Can anyone say what that package actually does? It doesn't really do a thing - it only serves as a placeholder for functionality that can be provided by a number of different packages ... or in other words: There are multiple packages that could, in theory, provide virtual/emacs-24. app-editors/emacs-24.4-r1 would be one of them. You have told your system by means of package.provided that you have installed app-editors/emacs-24, so the system is validly assuming that you have something on your system satisfying virtual/emacs-24, and thus it shouldn't hurt to let portage install that virtual. portage(5) has this to say: Virtual packages (virtual/*) should not be specified in package.provided, since virtual packages themselves do not provide any files, and package.provided is intended to represent packages that do provide files. Depending on the type of virtual, it may be necessary to add an entry to the virtuals file and/or add a package that satisfies a virtual to package.provided. Greetings, Nils
Re: [gentoo-user] virtual/emacs-24
On Thu, 18 Dec 2014 19:06:32 -0500, Harry Putnam wrote: I didn't want to have the confusion of another version of emacs installed so resorted to use of: /etc/portage/profile/package.provided: like so: app-editors/emacs-24 To tell portage about my home rolled emacs Well, that knocks down most of the unwanted pkgs but still as you see: emerge -vp emacs-w3m [ebuild N ] virtual/emacs-24 0 KiB [ebuild N ] virtual/w3m-0 0 KiB [ebuild N ] app-emacs/emacs-w3m-1.4.528_pre20140213 `virtual/emacs-24' still hanging in there I didn't learn enough googling to understand what having that virtual/emacs-24 installed would mean. Nothing really. Would it be possible headaches with emacs-25 installed outside portage. Unlikely Can anyone say what that package actually does? A virtual is a way for portage to have one of several option satisfy a dependency. It doesn't install anything but depends on one of a number of packages, in this case emacs and emacs-vcs. It means ebuild writers can depend on emacs but leave you the choice of which brand of emacs to use. Look at the ebuild, or look at the ebuild of virtual/editor to see what a mess ebuilds would be without virtuals. -- Neil Bothwick WinErr 018: Unrecoverable error - System has been destroyed. Buy a new one. Old Windows licence is not valid anymore. pgprJGVhJWXI0.pgp Description: OpenPGP digital signature
Re: [gentoo-user] virtual/emacs-24
On 12/18/2014 07:06 PM, Harry Putnam wrote: After reading a few google hits of gentoo documetation about virtual pkgs. I still didn't get it. In my case I'm trying to avoid problems with a self built emacs (25) not done thru portage. What are you trying to do, just get emacs-25 installed somehow? If that's your goal, we have an ebuild in the emacs overlay already: $ git clone git://git.overlays.gentoo.org/proj/emacs.git $ PORTDIR_OVERLAY=$(pwd)/emacs ACCEPT_KEYWORDS=** \ emerge -pv1 emacs-vcs
Re: [gentoo-user] virtual/emacs-24
On Dec 19, 2014, at 2:06, Harry Putnam rea...@newsguy.com wrote: Can anyone say what that package actually does? virtual/emacs-24 installs a directory emacs-24 under /var/db/virtual/ and it takes around 10sec. This dir is only used by portage to figure out what you have in your system. Run: equery g --depth=2 emacs-w3m And you'll probably understand better what virtuals do. -- -Matti
[gentoo-user] CFLAGS for athlon 5350 apu?
Couldn't find those in documentation. Thank you
[gentoo-user] Re: virtual/emacs-24
Matti Nykyri matti.nyk...@iki.fi writes: On Dec 19, 2014, at 2:06, Harry Putnam rea...@newsguy.com wrote: Can anyone say what that package actually does? virtual/emacs-24 installs a directory emacs-24 under /var/db/virtual/ and it takes around 10sec. This dir is only used by portage to figure out what you have in your system. Run: equery g --depth=2 emacs-w3m And you'll probably understand better what virtuals do. OK posters... great input. That last bit with equery was sort of asstounding but it does show how complex things can get and how virtual might help keep down the clutter.
[gentoo-user] Re: virtual/emacs-24
Michael Orlitzky m...@gentoo.org writes: On 12/18/2014 07:06 PM, Harry Putnam wrote: After reading a few google hits of gentoo documetation about virtual pkgs. I still didn't get it. In my case I'm trying to avoid problems with a self built emacs (25) not done thru portage. What are you trying to do, just get emacs-25 installed somehow? If that's your goal, we have an ebuild in the emacs overlay already: No, I alread have emacs-25 installed from bzr sources using traditional ./configure, make, make install. $ git clone git://git.overlays.gentoo.org/proj/emacs.git $ PORTDIR_OVERLAY=$(pwd)/emacs ACCEPT_KEYWORDS=** \ emerge -pv1 emacs-vcs Yes, I know about this but I seem to recall it being more trouble using the emerge process to track developement on emacs which is moving in almost hourly jumps. Using the traditional way requires: cd bzr branch bzr pull ./configure $FLAGS make make install And the binary is now up to date with development What does it require if done thru emerge frequently? I am seriously considering scrapping my bzr approach in favor of emerge since it appears to have somewhat far reaching effects when compiling your own tools.
Re: [gentoo-user] sysctl not executed at boot time
On Thu, Dec 18, 2014 at 08:33:28PM +0100, Michael Schwartzkopff wrote Hi, It seems that my sysctl.conf is not executed at boot time. If a apply a sysctl -p after boot, it adjusts a lot of parameters I added to syscl.conf. A rc-update shows the the sysctl server should start a boot time. Any ideas? Is it possible that the system initializes to default values *AFTER* the sysctl server sets them to your values at bootup? To run sysctl -p as late as possible, I suggest putting the following 2 lines in /etc/local.d/000.start #!/bin/bash sysctl -p Anad remember to chmod the file to executable. According to /etc/local.d/README This directory should contain programs or scripts which are to be run when the local service is started or stopped. If a file in this directory is executable and it has a .start extension, it will be run when the local service is started. If a file is executable and it has a .stop extension, it will be run when the local service is stopped. All files are processed in lexical order. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] CFLAGS for athlon 5350 apu?
On Fri, Dec 19, 2014 at 02:38:48AM +0400, German wrote Couldn't find those in documentation. Thank you If you're building on the target machine, use the native CFLAG. It has been around for a while. It detects the CPU, and builds for it automagically. You don't have to do any more grunt work, figuring out the flags for your CPU. Computers are supposed to do the hard work. I use... FLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables CXXFLAGS=${CFLAGS} Mind you, if you're cross-compiling on another system, and then moving the binaries over, you will have to figure out the correct flags. See below for a method. Another problem is that there are also cpu-specific USE flags. You can get a good start on figuring them out, as well as CFLAGS, by running grep flags /proc/cpuinfo on the target machine. There will be one line of output for each core. You'll have multiple identical lines of output. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] CFLAGS for athlon 5350 apu?
On Fri, Dec 19, 2014 at 02:38:48AM +0400, German wrote: Couldn't find those in documentation. Thank you Well, why not give the standard -O2 -march=native a whirl, perhaps seasoned with -pipe. Or look at what march=native would actually yield: Create a simple c file: cat test.c EOF int main() { return 0; } EOF and look at the output of gcc -v -Q -march=native -O2 test.c -o test On my Celeron 847 (Sandy Bridge), this yields -march=corei7-avx with a lot of disabled options which the Celeron doesn't have compared to an actual i7 (had to find this out so I could set up a client config for distcc with an Haswell i5 as build host). A minute of searching brought me to¹, so march=native will work. ¹ http://www.phoronix.com/scan.php?page=news_itempx=MTY2MjI -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any social network. ATARI! We make top-notch toasters affordable! signature.asc Description: Digital signature
[gentoo-user] Re: firefox.bin vs firefox
On Wed, 17 Dec 2014 23:59:59 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: On 18/12/2014 04:45, Harry Putnam wrote: Is there any advantage one way or the other emerging firefox.bin vs firefox? Depends on your needs: firefox: - pro: you get all the USE flags - pro: you don't get bundled libs from Mozilla, the ebuild can use system libs - pro: the compiled binaries are integrated into gentoo like other ebuilds - con: slow compiles. I have 8 i7 cores and 16G. the merge takes 20-35 minutes... firefox-bin: - pro: fast install. It's a binary package - con: you get all of Mozilla's bundled libs - con: No USE, no choices. If Mozilla eg decides to ship with pulseaudio, then that is what you must have on your end - con: poor integration with the rest of your system. Files go where Mozilla says they go, the devs can only do so much to make stuff standard. Those are good lists. The only thing I can think to add is that firefox-bin is built with Profile Guided Optimization; the firefox package has the pgo USE flag for that, but it's forced off because it doesn't work and upstream doesn't support it. Building with PGO roughly doubles compile time, as firefox has to be built twice. I don't know what optimization gains there are. As I see it, go with firefox unless you can't spend the cpu cycles to build it locally. That's true of almost all -bin packages +1
[gentoo-user] Re: firefox.bin vs firefox
On Thu, 18 Dec 2014 03:59:58 -0500 cov...@ccs.covici.com wrote: That is interesting, but firefox requires 8g I think of temp space, the very package which takes so long. I have 16g of memory, but I wonder if my whole system would start to crawl. I would try it. I have only 8GiB. I used to build firefox in RAM, when it only required 4GiB in the tempdir, which was only a few months ago. Then I had to switch to building on disk. My build times went up from ~16 minutes to ~21.
Re: [gentoo-user] CFLAGS for athlon 5350 apu?
Thank you. I'll stick to -march=native for now Walter Dnes waltd...@waltdnes.org wrote: On Fri, Dec 19, 2014 at 02:38:48AM +0400, German wrote Couldn't find those in documentation. Thank you If you're building on the target machine, use the native CFLAG. It has been around for a while. It detects the CPU, and builds for it automagically. You don't have to do any more grunt work, figuring out the flags for your CPU. Computers are supposed to do the hard work. I use... FLAGS=-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables CXXFLAGS=${CFLAGS} Mind you, if you're cross-compiling on another system, and then moving the binaries over, you will have to figure out the correct flags. See below for a method. Another problem is that there are also cpu-specific USE flags. You can get a good start on figuring them out, as well as CFLAGS, by running grep flags /proc/cpuinfo on the target machine. There will be one line of output for each core. You'll have multiple identical lines of output. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
[gentoo-user] Getting rid of gcc-4.7.3...how?
Hi, (this happens on a embedded system) I ran into a problem I think... As adviced I run emerge --depclean -v -p after a greater update to world. (by the way: Updateing the world is generally to a bad idea...;) Beside other things, gcc-4.7.3 was slated for removal. As gcc-4.8.3 was already installed and gcc-config shows that it is active, I started the above command without -p And it screws up the whole thing badly: There were many, many applications (the shell for example...) which were directly linked to /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/libgcc_s.so.1 and/or /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/libstdc++.so.6 After clearing the sdcard and reinstalling the backup I started to emerge all affected ebuilds by hand...only to find, that they were again linked against the old libs. I checked again with gcc-config and found: beagleboneblack:/rootgcc-config -L /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.8.3 beagleboneblack:/rootgcc-config -c armv7a-hardfloat-linux-gnueabi-4.8.3 beagleboneblack:/rootgcc-config -E export PATH=/usr/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.8.3:/lib/rc/bin:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin/:/opt/bin:/usr/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.8.3:/usr/games/bin:/root/bin export GCC_SPECS= What is going on here? Why still the old compiler and its libraries are used? How can I convince Gentoo to finally switch ti gcc-4.8.3? What do you think? Best regards, Meino
Re: [gentoo-user] Making DVD high resolution
On Thu, 18 December 2014, at 6:10 pm, J. Roeleveld jo...@antarean.org wrote: On 18 December 2014 18:50:09 CET, Joseph syscon...@gmail.com wrote: When I tried to made HD video using DVD Styler the max frame rate I can set to make DVD ISO is 720x480. How to make DVD with higher resolution? You can't. The DVD spec doesn't support HD video. To be pedantic, I think you should be able to get 720x576 if you use PAL. I don't know how to enable this in any particular software, though, or if you have to use a different framerate (which could be problematic). Stroller.
Re: [gentoo-user] Nvidia and optimus
I'd like to use the internal card most of the time since I don't care about 3D acceleration but I do care alot about power saving. When using an external monitor I'd like to use the NVidia card. Currently my solution is to reboot and change bios settings, being able to switch at runtime would be a real enhancement for me. Is this possible? Yes, install xrandr/xinerama. P.S. On top of that, this laptop has only a year or so left before I replace it, and I know now to avoid Optimus entirely in the future. Will probably be impossible in the future if you buy anything with a discrete card (even a crap one, for multi-monitor). New laptops are shipping without an HDMI multiplexer like Christian's has.
Re: [gentoo-user] Getting rid of gcc-4.7.3...how?
On 19/12/14 13:39, meino.cra...@gmx.de wrote: Hi, (this happens on a embedded system) I ran into a problem I think... As adviced I run emerge --depclean -v -p after a greater update to world. (by the way: Updateing the world is generally to a bad idea...;) Beside other things, gcc-4.7.3 was slated for removal. As gcc-4.8.3 was already installed and gcc-config shows that it is active, I started the above command without -p And it screws up the whole thing badly: There were many, many applications (the shell for example...) which were directly linked to /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/libgcc_s.so.1 and/or /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/libstdc++.so.6 After clearing the sdcard and reinstalling the backup I started to emerge all affected ebuilds by hand...only to find, that they were again linked against the old libs. I checked again with gcc-config and found: beagleboneblack:/rootgcc-config -L /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.8.3 beagleboneblack:/rootgcc-config -c armv7a-hardfloat-linux-gnueabi-4.8.3 beagleboneblack:/rootgcc-config -E export PATH=/usr/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.8.3:/lib/rc/bin:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin/:/opt/bin:/usr/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.8.3:/usr/games/bin:/root/bin export GCC_SPECS= What is going on here? Why still the old compiler and its libraries are used? How can I convince Gentoo to finally switch ti gcc-4.8.3? What do you think? Best regards, Meino Did you run fix_libtool_files.sh? - you have to do it manually after switching gcc to a bew version. BillK
Re: [gentoo-user] Identifying a file by a block number...how?
find / -xdev -inum # If you know it is in a directory more specific than /, replace / with that directory. inodes are only meaningful to ext2/3/4, but you can use the fs tools to find out where it is on disk. On Thu, Dec 18, 2014 at 3:14 PM, Poison BL. poiso...@gmail.com wrote: On Thu, Dec 18, 2014 at 3:24 PM, meino.cra...@gmx.de wrote: Hi, with sysctl vm.block_dump=1 one can enable the logging of IO to the harddisk/flashmem/... into dmesg. The logs report the block number of the file in question... but not the filename itsself. Is there any other way as examine each single file of the filesystem to find the file to which a certain block number is assigned? Thank you very mcuh for any help! Best regards, Meino That depends entirely on the filesystem being used. In the case of ext2/3/4, I believe /sbin/debugfs will do the trick with its icheck command to get the inode, and once you have the inode, you can get the filename via find. What I'm not 100% certain of is whether the block numbers involved map 1:1 with physical sectors, and how that plays with the 512B vs 4KB sectors, etc. With NTFS it's a hair quicker with ntfscluster and ntfsinfo doing the trick fairly trivially (I use a tool centered around that combo to identify files lost when I recover peoples windows drives with ddrescue). -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] Getting rid of gcc-4.7.3...how?
Bill Kenworthy bi...@iinet.net.au [14-12-19 08:00]: On 19/12/14 13:39, meino.cra...@gmx.de wrote: Hi, (this happens on a embedded system) I ran into a problem I think... As adviced I run emerge --depclean -v -p after a greater update to world. (by the way: Updateing the world is generally to a bad idea...;) Beside other things, gcc-4.7.3 was slated for removal. As gcc-4.8.3 was already installed and gcc-config shows that it is active, I started the above command without -p And it screws up the whole thing badly: There were many, many applications (the shell for example...) which were directly linked to /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/libgcc_s.so.1 and/or /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/libstdc++.so.6 After clearing the sdcard and reinstalling the backup I started to emerge all affected ebuilds by hand...only to find, that they were again linked against the old libs. I checked again with gcc-config and found: beagleboneblack:/rootgcc-config -L /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.8.3 beagleboneblack:/rootgcc-config -c armv7a-hardfloat-linux-gnueabi-4.8.3 beagleboneblack:/rootgcc-config -E export PATH=/usr/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.8.3:/lib/rc/bin:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin/:/opt/bin:/usr/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.8.3:/usr/games/bin:/root/bin export GCC_SPECS= What is going on here? Why still the old compiler and its libraries are used? How can I convince Gentoo to finally switch ti gcc-4.8.3? What do you think? Best regards, Meino Did you run fix_libtool_files.sh? - you have to do it manually after switching gcc to a bew version. BillK Hi Bill, Thanks for your help and hint! :) In the meanwhile I found a trace of a bad install of version 4.8.3: /etc/env.d/*gcc* was not updated. Currently I am reinstalling the whole gcc-4.8.3. - suit and after that I will call fix_libtool_files.sh. Hope it will fix it! Best regards, Meino