[gentoo-user] Re: Rubygems and Rake problem
On Wed, 27 Jan 2021 19:13:37 +0100, Bertram Scharpf wrote: > after a long period with a lot of problems installing Ruby Gems and > Gentoo packages containing Ruby Gems, I found the following solution: I > added a line > > s.executables = ["rake".freeze] > What do you think? Maybe someone likes to confirm this. > I will definitely not file any report or patch to neither the RubyGems > nor the Rake project any more. Could you file a but about this at https://bugs.gentoo.org/ including an example of the problem this is causing for you? As far as I'm aware this is not a known issue. Hans
[gentoo-user]
[gentoo-user] Re: dev-lang/ruby and dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25] error
On Mon, 22 Jul 2019 05:12:55 -0500, Dale wrote: > emerge: there are no ebuilds to satisfy > ">=dev-ruby/xmlrpc-0.3.0[ruby_targets_ruby25]". > (dependency required by "dev-lang/ruby-2.5.5::gentoo" [ebuild]) > Anyone have a clue on this? An error on my part in preparing for a stable ruby:2.5. It was fixed yesterday: https://bugs.gentoo.org/690300 What happens is that RUBY_TARGETS would like to install ruby25 as well, but the corresponding ruby_targets_ruby25 USE flag is still masked in stable. Hans
[gentoo-user] Re: Compiling ronn: Missing an already installed item
On Sun, 01 Oct 2017 06:25:27 +0200, tuxic wrote: >>>> Compiling source in /var/tmp/portage/app-text/ronn-0.7.3-r3/work ... > * Running compile phase for all ... > fatal: the 'hpricot' library is required (gem install hpricot) The compile phase for all uses the currently eselected ruby. Perhaps you have a mismatch between your RUBY_TARGETS and the eselected version? Hans
[gentoo-user] Re: Ruby - 3 versions - seriously????
On Sat, 02 Sep 2017 22:57:12 +0200, Alan McKinnon wrote: > OK, so disclaimer up front. I detest Ruby. I hate it with a passion. Personally I find that passion is better reserved for positive things. > You have to understand what Ruby is. It is not a language. It is 5 > languages. Like python27 and python3 are really different languages with > much in common. The difference is the python devs have solid reasons for > doing python3 and the transition has been mostly smooth. Each new minor > version of ruby is a whole new language and the devs are OK with large > breaking changes between minor version numbers. I'm not sure this is fully fair to both ruby and python. Yes, there are incompatibilities between ruby versions, sometimes even large ones (1.8 to 1.9 certainly had them), but recent versions haven't seen major changes and for the most part all ruby code in the gentoo repository works with all versions. To say that the python3 transition has been smooth probably doesn't do justice to the slow uptake. > So why 3 rubys? Because they are 3 languages and you have packages that > for whatever reason are tied to different rubys. Just pretend to > yourself that they aren't really ruby22, ruby23 and ruby24 - they are > php, perl and python (or whatever 3 language names you like that help > you get past the 3 rubys! thing). The situation with ruby really isn't different from python or perl at all. We also have multiple python versions in the tree just like with ruby. perl is not slotted but faces the same issues on each version (e.g. the "no . in INC path anymore" issue that made ruby 1.8 to 1.9 such a big deal). > You probably need all 3. As housekeeping, you can put this in make.conf: > RUBY_TARGETS="ruby22", > and remove all ruby versions from world and let depclean, revdep-rebuild > and emerge world take care of the details. I find it very unlikely that you would *need* all three versions, unless you are doing ruby development and want to actively use all three. The RUBY_TARGETS="ruby22" advice matches the current default in the profile. Until recently we had four different ruby versions, so we are already improving here. The end goal is to only have the two latest versions in the tree. Hans
[gentoo-user] Re: Ruby - 3 versions - seriously????
On Sat, 02 Sep 2017 21:33:31 +0800, Andrew Lowe wrote: > Hi all, > I'm in the process of doing a world update and due to a failed compile, > I have cause to look up through the list of stuff to compile/update. > Imagine my surprise when I saw there were three versions of Ruby wanting > to update: > > [ebuild U ] dev-lang/ruby-2.4.1-r4 [2.4.1-r3] > [ebuild U ] dev-lang/ruby-2.3.4-r4 [2.3.4-r3] > [ebuild U ] dev-lang/ruby-2.2.7-r4 [2.2.7-r3] That is unusual unless you configured this yourself. Did you set RUBY_TARGETS in make.conf? Are you on stable or testing? It would also be interesting to know what is pulling in these ruby versions. > I would prefer to get rid of Ruby, but, if memory serves me correctly, > someone associated with the kernel decided it would be a good idea to > use yet another language for something, obviously Python wasn't good > enough webkit-gtk and thin-provisioning-tools come to mind as pulling ruby for people that don't want it perse. Hans
[gentoo-user] Re: ruby 22
On Sun, 20 Aug 2017 08:26:49 -0600, Alec Ten Harmsel wrote: > I don't believe that will be enough. You should update RUBY_TARGETS in > /etc/portage/make.conf if you have it set. If you don't have it set and > are still getting this error, that's a bug and should be filed on b.g.o. > I have a custom RUBY_TARGETS as I do some ruby development, so I don't > have a vanilla system to test this on. I initially forgot to update the default RUBY_TARGETS specified in the profiles, so this may have caused some issues. That is fixed now. > You shouldn't have to 'eselect ruby' either - portage will do this for > you while updating. The automatic eselect will only happen when ruby 2.1 is uninstalled. On a default system ruby 2.2 should already be installed for some time alongside with ruby 2.1. My recommendation is to switch explicitly to ruby 2.2 now (using eselect), and remove ruby 2.1 once all dependencies have been updated. Hans
[gentoo-user] Re: [OT] Customised System Rescue CD -> USB stick and UEFI
On 18/09/16 15:02, Peter Humphrey wrote: On Saturday 17 Sep 2016 22:55:32 Neil Bothwick wrote: On Sat, 17 Sep 2016 17:10:28 +0100, Peter Humphrey wrote: Has anyone managed to install a customised (or even standard) SysRescCd image onto a USB stick so that it will boot in UEFI mode? I've done it several times with a stock SysResCd. Just loop mount the ISO and run the install script. Yes, I can do that with no trouble; I just wanted to see if I could use their instructions to make my own version. I've never bothered to try to customise it as I usually only use them to install Gentoo. A few times this box has somehow lost its UEFI stubs and I've had to use a rescue CD to reinstall them. I tried this several times. Finally installed Gentoo with Xfce DE and all utilities I could think of ever using on a USB drive.
[gentoo-user] Re: [OT] Is it still advisable to partition a big hard drive?
On 05/09/16 15:31, Mick wrote: On Monday 05 Sep 2016 10:42:34 Hans wrote: On 01/09/16 16:04, gevisz wrote: I have bought an external 5TB Western Digital hard drive that I am going to use mainly for backing up some files in my home directory and carrying a very big files, for example a virtual machine image file, from one computer to another. This hard drive is preformatted with NTFS. Now, I am going to format it with ext4 which probably will take a lot of time taking into account that it is going to be done via USB connection. So, before formatting this hard drive I would like to know if it is still advisable to partition big hard drives into smaller logical ones. For about 20 last years, following an advice of my older colleague, I always partitioned all my hard drives into the smaller logical ones and do very well know all disadvantages of doing so. :) But what are disadvantages of not partitioning a big hard drive into smaller logical ones? Is it still advisable to partition a big hard drive into smaller logical ones and why? I use 2TB USB drive with one EXT4 partition. Took about 30 seconds to format connected to a USB2 port. Testing the drive with dd and copying files to the drive is very slow. Don't touch "Green Drives". They die like flies. Did you get the logical and physical sector aligned when you partitioned them? (if not sure, google for 4k sector drives). All recent versions of fdisk/gdisk/parted and friends will align them by default. How did you test it with dd and how are you copying files? How slow is slow in this case? Can't remember. Much slower than copying 1TB Video files from and to SATA disks.
[gentoo-user] Re: [OT] Is it still advisable to partition a big hard drive?
On 05/09/16 17:22, gevisz wrote: 2016-09-05 3:42 GMT+03:00 Hans <li...@c5ace.com>: On 01/09/16 16:04, gevisz wrote: I have bought an external 5TB Western Digital hard drive that I am going to use mainly for backing up some files in my home directory and carrying a very big files, for example a virtual machine image file, from one computer to another. This hard drive is preformatted with NTFS. Now, I am going to format it with ext4 which probably will take a lot of time taking into account that it is going to be done via USB connection. So, before formatting this hard drive I would like to know if it is still advisable to partition big hard drives into smaller logical ones. For about 20 last years, following an advice of my older colleague, I always partitioned all my hard drives into the smaller logical ones and do very well know all disadvantages of doing so. :) But what are disadvantages of not partitioning a big hard drive into smaller logical ones? Is it still advisable to partition a big hard drive into smaller logical ones and why? I use 2TB USB drive with one EXT4 partition. Took about 30 seconds to format connected to a USB2 port. May be. But I have just finished testing its first 41 GB with # badblocks -sw -b4096 Three passes with different write patterns took about 2 hours 10 minutes, that is about 33 minutes per pass. So, the full one-pass write test with badblocks should take about 3 days, if I do not err in my calculations. The same amount of time should take formatting it with # mke2fs -cc But I have not tried that so far. Testing the drive with dd and copying files to the drive is very slow. Don't touch "Green Drives". They die like flies. What do you mean by this? My WDC WD15EADS (it is Green) already works (hosting my /home) for more than 10 years and the systems reports that it is still ok. (I work at this computer from 6 to 8 hours daily.) I look after 4 laptops. They came with "Green Drives". Had on all 4 multiple drive failures during the first year. They could not stand 24/7 use in mining equipment. Replaced them with HGST drives. No failure since 18 month.
[gentoo-user] Re: [OT] Is it still advisable to partition a big hard drive?
On 01/09/16 16:04, gevisz wrote: I have bought an external 5TB Western Digital hard drive that I am going to use mainly for backing up some files in my home directory and carrying a very big files, for example a virtual machine image file, from one computer to another. This hard drive is preformatted with NTFS. Now, I am going to format it with ext4 which probably will take a lot of time taking into account that it is going to be done via USB connection. So, before formatting this hard drive I would like to know if it is still advisable to partition big hard drives into smaller logical ones. For about 20 last years, following an advice of my older colleague, I always partitioned all my hard drives into the smaller logical ones and do very well know all disadvantages of doing so. :) But what are disadvantages of not partitioning a big hard drive into smaller logical ones? Is it still advisable to partition a big hard drive into smaller logical ones and why? I use 2TB USB drive with one EXT4 partition. Took about 30 seconds to format connected to a USB2 port. Testing the drive with dd and copying files to the drive is very slow. Don't touch "Green Drives". They die like flies.
[gentoo-user] Re: Suggestion for freenode
On Sat, 03 Sep 2016 21:41:51 -0700, Jigme Datse Yli-RAsku wrote: > I like that. Haven't got to even reaching the "dev in training" stage, > but I'd like to have some place where I can ask general gentoo-dev > questions. I have a couple of projects which I'd like to get working > with a simple "emerge". #gentoo-dev-help is an existing channel specifically for getting help with writing ebuilds. Hans
[gentoo-user] Re: speech recognition?
On 16/05/16 00:34, lee wrote: Hi, is there a speech recognition software or the like which is capable to listen in on a phone call in order to put on screen as text what the other person is saying? I'd like to connect that to a softphone so that someone who suffers from very bad hearing can talk to people on the phone more easily. It must work for German. If there's a phone capable of this, I'd like to know about it. Surely we should be able with nowadays technology to achieve this. There is a commercial dictation software for Windows and Mac. It may work with whine. http://nuance.com/dragon/index.htm
[gentoo-user] Re: udev detection weirdness
On 26/05/16 23:39, James wrote: Daniel Frey gmail.com> writes: It appears to be udev. Somewhere along in its stupid detection it decides to process USB devices before sata ports, thusly randomly renaming the boot drive to something else in the process. It took me forever to figure this out, I eventually had a lightbulb moment and used my phone to record video of it booting, then slowing it down, as when the kernel panics you can't scroll back up to see WTF happened. Kernel crash dumps might help [1] This is an older machine, but I'm not convinced it's the motherboard doing this. I've checked the boot order in the BIOS. I've also tried setting and unsetting "BIOS order determines boot disk" in the kernel config and it made no difference. You might want to 'emerge -1 sys-apps/hwids' What eventually fixed it was building USB as modules. (Another kludge!) There are numerous 'usb sniffers' that capture data. Some clue might be found using a usb sniffer. I have no custom udev rules, the only rules I could find were in /lib/udev/rules.d: I use sys-fs/eudev. ymmv. Does anyone have any explanation for this daft behaviour or know where I should look? I have multiple machines and it's only this one that has this problem, which happened after a world update long ago. If you have a similar setup on similar hardware, then 'diff' the (dmesg) boot log files for any differences and analyze. hth, James [1] https://wiki.gentoo.org/wiki/Kernel_Crash_Dumps I had similar problems. Fixed them permanently by using disk labels on all partitions on all computers.
[gentoo-user] Re: Kernel upgrade from 4.1.12 to 4.4.6 hangs without writing logs.
On 02/05/16 22:59, Michael Mol wrote: On Saturday, April 30, 2016 01:32:54 AM Hans wrote: On 30/04/16 00:28, Michael Mol wrote: On Friday, April 29, 2016 10:56:28 PM Hans wrote: On 28/04/16 22:22, Hans wrote: Kernel 4.4.6 as a bug. x11-drivers/xf86-video-virtualbox does not compile. Reason: /usr/src/linux-4.4.6-gentoo/include/linux/string.h 'char *strreplace(char *s, char old, char new);' causes compile failure. "new" is a C++ keyword. Changing tp 'char *strreplace(char *s, char oldstr, char newstr);' fixes the problem. That's not a bug in the kernel per se, that's a bug in using that kernel header (written in C) in a compiler expecting C++ code. Which would make it a bug in xf86-video-virtualbox for not linking against a C-compiled object file. Granted, it'd be a heck of a lot more convenient if the kernel header files didn't use C++ keywords...but it *is* fundamentally a problem with compiling a source file using the wrong language. Like trying to read something in Portugese, except it was written in Spanish. It might work some of the time, but it'll catch you out eventually. The Virtualbox internal runtime compiler, assembler and gcc compiler to build executables such as app-emulation/virtualbox-guest-additions, etc. use some of the kernel sources and headers. Assuming those components are using this string.h header file, that just means that those components are correctly treating treating these header files as C header files, and not C++ header files. Kernel 4.1.12 string.h and earlier did not have this silly problem. That just means that Kernel 4.1.12 string.h and earlier weren't exposing a bug in xf86-video-virtualbox. The Linux kernel is written in C with a smattering of platform-specific assembler, and some other used languages at build time. The header files for Linux are written in C. It's built with a C compiler. It's expected to be consumed by things expecting to be consuming C. xf86-video-virtualbox is trying to build C code in a C++ environment, and that's not guaranteed to work. In fact, it's semantically broken, as C isn't simply a subset of C++, nor is C++ simply a superset of C. They're two distinct languages that can be made to work reliably together if you pay attention, and the VirtualBox developers...didn't. Linux promises a stable ABI for existing API calls, but the symbol name for an *argument* of an API call isn't part of the ABI; functions' arguments' names aren't preserved at compile time. Similarly, adding new API calls doesn't disrupt existing API calls or the ABI, so adding a new API call with an argument named 'new' doesn't violate that ABI promise. Now, an argument can be made that the kernel developers working in C shouldn't use C++ keywords, but that's a dangerous slippery slope; there are a *lot* of languages out there that are superficially syntactically (and even semantically) similar to C, but *aren't*. What makes C++ special enough that the kernel should respect it, but not every other language? No...userland is built around the kernel, not the other way around--that's what makes it the kernel. The kernel has a fairly well-defined set of rules in that it's written in a supremely common standardized language, and there exist good practices for interfacing code written in that language with code written in other languages. I get that it's frustrating. Just trying to help you understand what's going on a a lower level, and why. Just checked Kernel-4.1.12 string.h. The function declaration 'char *strreplace(char *s, char old, char new);' does not exist at all. The style of functions declarations used is 'char * strcpy(char *,const char *);' except for 'char *strreplace(char *s, char old, char new);'
[gentoo-user] Re: Kernel upgrade from 4.1.12 to 4.4.6 hangs without writing logs.
On 30/04/16 00:28, Michael Mol wrote: On Friday, April 29, 2016 10:56:28 PM Hans wrote: On 28/04/16 22:22, Hans wrote: On 27/04/16 21:33, J. Roeleveld wrote: On April 27, 2016 12:59:18 PM GMT+02:00, Hans <li...@c5ace.com> wrote: Tried to upgrade the kernels of my desktop and notebook fron kernel 4.1.12 upgrade to 4.4.6. Both systems freeze during booting with 4.4.6. No dmsg, No messages logs. Previous kernel upgrades always worked smooth as silk. Using: OpenRC, eudev, Xfce, Desktop configration: Genkernel with /etc/genkernel.conf additional options: MENUCONFIG="yes" MAKEOPTS="-j5" MDADM="yes" MDADM_CONFIG="/etc/mdadm.conf" DISKLABEL="yes" KNAME="genkernel-G_ROOT" Boot: Grub-static grub.conf: title PROXY-64 domdadm LABEL=G_ROOT Gentoo Linux 4.4.6-gentoo root (hd0,0) kernel /boot/kernel-genkernel-G_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 root=/dev/ram0 domdadm real_root=LABEL=G_ROOT initrd /boot/initramfs-genkernel-G_ROOT-x86_64-4.4.6-gentoo No error reported in genkernel.log -- Notebook configration: Genkernel with /etc/genkernel.conf additional options: MENUCONFIG="yes" MAKEOPTS="-j5" DISKLABEL="yes" KNAME="genkernel-HP_ROOT" Boot: Grub-static grub.conf: title PROXY-64 domdadm LABEL=HP_ROOT Gentoo Linux 4.4.6-gentoo root (hd0,0) kernel /boot/kernel-genkernel-HP_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 root=/dev/ram0 real_root=LABEL=HP_ROOT initrd /boot/initramfs-genkernel-HP_ROOT-x86_64-4.4.6-gentoo No error reported in genkernel.log --- Why are you specifying root=/dev/ram0? Modern kernels use initramfs and you normally specify the real root device there. "root=/dev/ram0" is a leftover from the original installation from a long time ago. Removing it makes no difference. Am at the moment making a new test installation in VirtualBox. So far its working with kernel 4.4.6. If Xfce works tomorrow, it's either a configuration or driver problem. I will then do a re-install of Gentoo on my desktop and the notebook using a external drive. Kernel 4.4.6 as a bug. x11-drivers/xf86-video-virtualbox does not compile. Reason: /usr/src/linux-4.4.6-gentoo/include/linux/string.h 'char *strreplace(char *s, char old, char new);' causes compile failure. "new" is a C++ keyword. Changing tp 'char *strreplace(char *s, char oldstr, char newstr);' fixes the problem. That's not a bug in the kernel per se, that's a bug in using that kernel header (written in C) in a compiler expecting C++ code. Which would make it a bug in xf86-video-virtualbox for not linking against a C-compiled object file. Granted, it'd be a heck of a lot more convenient if the kernel header files didn't use C++ keywords...but it *is* fundamentally a problem with compiling a source file using the wrong language. Like trying to read something in Portugese, except it was written in Spanish. It might work some of the time, but it'll catch you out eventually. The Virtualbox internal runtime compiler, assembler and gcc compiler to build executables such as app-emulation/virtualbox-guest-additions, etc. use some of the kernel sources and headers. Kernel 4.1.12 string.h and earlier did not have this silly problem.
[gentoo-user] Re: Kernel upgrade from 4.1.12 to 4.4.6 hangs without writing logs.
On 28/04/16 22:22, Hans wrote: On 27/04/16 21:33, J. Roeleveld wrote: On April 27, 2016 12:59:18 PM GMT+02:00, Hans <li...@c5ace.com> wrote: Tried to upgrade the kernels of my desktop and notebook fron kernel 4.1.12 upgrade to 4.4.6. Both systems freeze during booting with 4.4.6. No dmsg, No messages logs. Previous kernel upgrades always worked smooth as silk. Using: OpenRC, eudev, Xfce, Desktop configration: Genkernel with /etc/genkernel.conf additional options: MENUCONFIG="yes" MAKEOPTS="-j5" MDADM="yes" MDADM_CONFIG="/etc/mdadm.conf" DISKLABEL="yes" KNAME="genkernel-G_ROOT" Boot: Grub-static grub.conf: title PROXY-64 domdadm LABEL=G_ROOT Gentoo Linux 4.4.6-gentoo root (hd0,0) kernel /boot/kernel-genkernel-G_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 root=/dev/ram0 domdadm real_root=LABEL=G_ROOT initrd /boot/initramfs-genkernel-G_ROOT-x86_64-4.4.6-gentoo No error reported in genkernel.log -- Notebook configration: Genkernel with /etc/genkernel.conf additional options: MENUCONFIG="yes" MAKEOPTS="-j5" DISKLABEL="yes" KNAME="genkernel-HP_ROOT" Boot: Grub-static grub.conf: title PROXY-64 domdadm LABEL=HP_ROOT Gentoo Linux 4.4.6-gentoo root (hd0,0) kernel /boot/kernel-genkernel-HP_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 root=/dev/ram0 real_root=LABEL=HP_ROOT initrd /boot/initramfs-genkernel-HP_ROOT-x86_64-4.4.6-gentoo No error reported in genkernel.log --- Why are you specifying root=/dev/ram0? Modern kernels use initramfs and you normally specify the real root device there. "root=/dev/ram0" is a leftover from the original installation from a long time ago. Removing it makes no difference. Am at the moment making a new test installation in VirtualBox. So far its working with kernel 4.4.6. If Xfce works tomorrow, it's either a configuration or driver problem. I will then do a re-install of Gentoo on my desktop and the notebook using a external drive. Kernel 4.4.6 as a bug. x11-drivers/xf86-video-virtualbox does not compile. Reason: /usr/src/linux-4.4.6-gentoo/include/linux/string.h 'char *strreplace(char *s, char old, char new);' causes compile failure. "new" is a C++ keyword. Changing tp 'char *strreplace(char *s, char oldstr, char newstr);' fixes the problem.
[gentoo-user] Re: Kernel upgrade from 4.1.12 to 4.4.6 hangs without writing logs.
On 27/04/16 21:33, J. Roeleveld wrote: On April 27, 2016 12:59:18 PM GMT+02:00, Hans <li...@c5ace.com> wrote: Tried to upgrade the kernels of my desktop and notebook fron kernel 4.1.12 upgrade to 4.4.6. Both systems freeze during booting with 4.4.6. No dmsg, No messages logs. Previous kernel upgrades always worked smooth as silk. Using: OpenRC, eudev, Xfce, Desktop configration: Genkernel with /etc/genkernel.conf additional options: MENUCONFIG="yes" MAKEOPTS="-j5" MDADM="yes" MDADM_CONFIG="/etc/mdadm.conf" DISKLABEL="yes" KNAME="genkernel-G_ROOT" Boot: Grub-static grub.conf: title PROXY-64 domdadm LABEL=G_ROOT Gentoo Linux 4.4.6-gentoo root (hd0,0) kernel /boot/kernel-genkernel-G_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 root=/dev/ram0 domdadm real_root=LABEL=G_ROOT initrd /boot/initramfs-genkernel-G_ROOT-x86_64-4.4.6-gentoo No error reported in genkernel.log -- Notebook configration: Genkernel with /etc/genkernel.conf additional options: MENUCONFIG="yes" MAKEOPTS="-j5" DISKLABEL="yes" KNAME="genkernel-HP_ROOT" Boot: Grub-static grub.conf: title PROXY-64 domdadm LABEL=HP_ROOT Gentoo Linux 4.4.6-gentoo root (hd0,0) kernel /boot/kernel-genkernel-HP_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 root=/dev/ram0 real_root=LABEL=HP_ROOT initrd /boot/initramfs-genkernel-HP_ROOT-x86_64-4.4.6-gentoo No error reported in genkernel.log --- Why are you specifying root=/dev/ram0? Modern kernels use initramfs and you normally specify the real root device there. "root=/dev/ram0" is a leftover from the original installation from a long time ago. Removing it makes no difference. Am at the moment making a new test installation in VirtualBox. So far its working with kernel 4.4.6. If Xfce works tomorrow, it's either a configuration or driver problem. I will then do a re-install of Gentoo on my desktop and the notebook using a external drive.
[gentoo-user] Kernel upgrade from 4.1.12 to 4.4.6 hangs without writing logs.
Tried to upgrade the kernels of my desktop and notebook fron kernel 4.1.12 upgrade to 4.4.6. Both systems freeze during booting with 4.4.6. No dmsg, No messages logs. Previous kernel upgrades always worked smooth as silk. Using: OpenRC, eudev, Xfce, Desktop configration: Genkernel with /etc/genkernel.conf additional options: MENUCONFIG="yes" MAKEOPTS="-j5" MDADM="yes" MDADM_CONFIG="/etc/mdadm.conf" DISKLABEL="yes" KNAME="genkernel-G_ROOT" Boot: Grub-static grub.conf: title PROXY-64 domdadm LABEL=G_ROOT Gentoo Linux 4.4.6-gentoo root (hd0,0) kernel /boot/kernel-genkernel-G_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 root=/dev/ram0 domdadm real_root=LABEL=G_ROOT initrd /boot/initramfs-genkernel-G_ROOT-x86_64-4.4.6-gentoo No error reported in genkernel.log -- Notebook configration: Genkernel with /etc/genkernel.conf additional options: MENUCONFIG="yes" MAKEOPTS="-j5" DISKLABEL="yes" KNAME="genkernel-HP_ROOT" Boot: Grub-static grub.conf: title PROXY-64 domdadm LABEL=HP_ROOT Gentoo Linux 4.4.6-gentoo root (hd0,0) kernel /boot/kernel-genkernel-HP_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 root=/dev/ram0 real_root=LABEL=HP_ROOT initrd /boot/initramfs-genkernel-HP_ROOT-x86_64-4.4.6-gentoo No error reported in genkernel.log ---
[gentoo-user] Re: Can't get any boot method working
On 26/03/16 02:31, Dan Douglas wrote: I'm installing gentoo hardened on several machines all with btrfs root filesystems, the simplest of which is a single gpt partitioned disk. This is my current partitioning scheme (based on numerous conflicting explainations on the wiki and handbook): # gdisk /dev/sda -l GPT fdisk (gdisk) version 1.0.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sda: 1953525168 sectors, 931.5 GiB Logical sector size: 512 bytes Disk identifier (GUID): 4C1FE8C1-69CE-4433-A3E4-7060FFF5AF10 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 1953525134 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector)End (sector) Size Code Name 12048 1050623 512.0 MiB EF00 EFI System 2 1050624 9439231 4.0 GiB 8200 Linux swap 3 9439232 1953525134 927.0 GiB 8300 Linux filesystem grub2-mkconfig generates no menu entries. Do I need anything generated by /etc/grub.d/00_header? That output looks like garbage. The only real relevant configuration in /etc/default/grub should be correct. GRUB_CMDLINE_LINUX="root=UUID=f0373f0c-3798-4965-a845-b1b94cc14731 rootfstype=btrfs rootflags=rw,noatime,compress=zlib,space_cache,subvol=rootfs" I've tried several values for GRUB_DEVICE, which has no effect. This page says an initramfs isn't needed even (for either btrfs RAID or non-RAID configuration), though several pages disagree on this. https://wiki.gentoo.org/wiki/GRUB2 grub2-install also fails: # grub2-install --target=x86_64-efi /dev/sda Installing for x86_64-efi platform. grub2-install: error: cannot find EFI directory. What EFI directory? The one I created under /boot? I've also tried a pure EFI stub loader. Attempting to build a dracut image into the kernel causes the build to fail in various ways depending on the compression method used. GEN usr/initramfs_data.cpio.gz ERROR: incorrect format, could not locate file type line 8: '' usr/Makefile:73: recipe for target 'usr/initramfs_data.cpio.gz' failed make[1]: *** [usr/initramfs_data.cpio.gz] Error 255 Makefile:949: recipe for target 'usr' failed make: *** [usr] Error 2 make: *** Waiting for unfinished jobs... This page suggests generating an uncompressed image with dracut and renaming the file with a .cpio extension which I'd guess is erroneous advice. https://wiki.gentoo.org/wiki/EFI_stub_kernel . The remaining instructions WRT eficompmgr all seem to assume I've been able to build a kernel with a built-in command line and initramfs. Is there any simpler way of doing this? I've gotten grub2 to work with a btrfs RAID 10 and initramfs in the past but somehow grub2-mkconfig isn't working now. I installed Gentoo on more than 10 PC's and Laptops and virtual machines during the past 12 month. Tried Grub2, Btrf, etc. They caused problems. Genkernel, Grub-static, Ext4 with Disklabels, Samba, Xfce, always worked at first try, including workstations with RAID 5 booting from a RAID 1 partition using a "Cut & Paste" installation script that does 95% of the keyboard work. Nothing complex, just very simple.
[gentoo-user] Re: dealing with distfiles bloat?
On 07/03/16 03:38, Alan Grimes wrote: I can't really read the stupid unformatted du output but it looks like I have 30 gb of bloat in some 3,600 files in my distfiles directory. is there any sane way to prune out some of the older versions, I am in no mood to spend all day hand-pruning these and the nuclear option is not too friendly to the portage servers that I want to respect. nuclear = rm * -> emerge --fetchonly --emptytree system Just cleaned 9GB distfiles using 'rm /usr/portage/distfiles/*'
[gentoo-user] Re: incremental ZFS backups
On Sat, 05 Mar 2016 01:23:08 +0100, lee wrote: > I haven't found any documentation about how to deal with all the > snapshots which would be created over time. Can they be destroyed once > the backup is finished? A full backup took about 48 hours, so something > faster is needed, and I don't want to end up with hundreds or thousands > of snapshots by making new ones every day without being able to ever > destroy them. You might want to look at sys-fs/zfstools in my "graaff" overlay. It manages snapshots automatically. There are other similar tools as well. > Basically, documentation says that such incremental backups are awesome > because you get a 1:1 copy and only need to transfer what has changed > after a previous backup as if you would use rsync, but that it's better > than that and you can do it in like no time. It doesn't really say how > to actually do that and what to do with all the snapshots, though. You can use "zfs send" and "zfs receive" for this. Once sent the snapshot can be deleted. > I also can only guess that enabling compression on the target FS won't > work unless compression is enabled at the source, though it would be > rather useful to have the backups compressed while the source is not. > You could do that with rsync, though, but I don't know how to access the > snapshot for that. zfs send and receive don't handle compression. You get and transmit the uncompressed data. So this works for any combination of compressions settings on the sending and receiving data sets. Hans
[gentoo-user] Re: Full system encryption on Gentoo
On 31/12/15 09:15, Jeremi Piotrowski wrote: On Thu, Dec 31, 2015 at 07:45:29AM +1000, Hans wrote: I can't follow Sakaki's_EFI_Install_Guide. The system will run in VirtualBox and only have BIOS. No UEFI, EFI, USB stick as boot or key disk. You should still atleast read the guide to figure out how to get the encryption part right. You can skip the USB stuff and fallback to BIOS equivalents of EFI concepts. I just have to find a way to get the same result using Gentoo with OpenRC and if possible without LVM. Entering the pass phrase several times is no problem. The steps are more or less the following: 1. cryptsetup your whole device 2. mkfs 3. chroot 4. install grub with device-mapper flag 5. install dracut and cryptsetup. 6. add GRUB_ENABLE_CRYPTODISK=y to /etc/default/grub 7. grub2-install 8. set 'hostonly="yes"' in /etc/dracut.conf OR add the output of `dracut --print-cmdline` to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub 9. grub2-mkconfig -o /boot/grub/grub.cfg 10. dracut --regenerate-all Somewhere between step 3 and 10 you need to build the kernel with atleast the dm_crypt module. This will lead to you having to enter the password twice - once when grub starts and once when the initramfs is setting up /. Check the arch wiki article on the topic [1] for more info, but don't blindly trust the boot loader part because that is specific to arch's initramfs generator. [1]: https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system I have a working VM with Gentoo on LVM on top of LUKS. Works fine in change root, Just can't get it to boot. Probably somewhere missed something. Will start from scratch using your 10 steps with dracut instead of genkernel. Have a nice New Year Hans
[gentoo-user] Re: Full system encryption on Gentoo
I can't follow Sakaki's_EFI_Install_Guide. The system will run in VirtualBox and only have BIOS. No UEFI, EFI, USB stick as boot or key disk. OpenSuse 42.1 boots from a encrypted single LVM volume on a MSDOS drive, single partition, using grub2 as boot manager, and systemd. I just have to find a way to get the same result using Gentoo with OpenRC and if possible without LVM. Entering the pass phrase several times is no problem. Hans On 31/12/15 03:53, Roman Dobosz wrote: On Wed, 30 Dec 2015 07:34:52 +1000 Hans <li...@interworld.net.au> wrote: Is it possible to fully encrypt a Gentoo system as can be done with Fedora, Suse, Arch Linux, Debian and Ubunto without using a unencrypted USB boot stick or unencrypted /boot partition? If yes, where can I find instructions that really work on a BIOS only box without UEFI, EFI, systemd using EXT4 file system? It's definitely possible - for both usb stick or ordinary boot partition, although it's not quite the same as in distros you've mentioned, since it require either custom made initramfs or some utility which would made one for you (like dracut, genkernel etc). There is several guides which might be useful, just google for one. It doesn't have to be gentoo specific, since the install procedure is almost the same, the only difference is the choice of medium for booting up the encrypted system, bootloader and fstab configuration, partition layout (with/without lvm) and so on. One of teh most comprehensive guide about the topic is the Sakaki's EFI Install Guide [1]. Yeah, I know there is "EFI" word, but it doesn't matter - you can just skip the part with efi partition and make your own pendrive (using syslinux) or create unencrypted boot partition :) [1] https://wiki.gentoo.org/wiki/Sakaki%27s_EFI_Install_Guide
[gentoo-user] Full system encryption on Gentoo
Hi, Is it possible to fully encrypt a Gentoo system as can be done with Fedora, Suse, Arch Linux, Debian and Ubunto without using a unencrypted USB boot stick or unencrypted /boot partition? If yes, where can I find instructions that really work on a BIOS only box without UEFI, EFI, systemd using EXT4 file system? Hans
[gentoo-user] Re: Emerge order not deterministic !?
On 12/11/15 19:51, Neil Bothwick wrote: On Thu, 12 Nov 2015 10:35:14 +0100, Jörg Schaible wrote: Then use emerge --keep-going and portage will take care of skipping failing merges for you. Ah, no, that's not an option. It breaks for a reason. Sometimes I can ignore that and look for it later and in this case I skip it, but normally I fix the problem first. However, you have to take care, which package you're actually skipping. Especially if the build order is different with resume. --keep-going will emerge all unaffected packages, meaning you are then working with a much smaller list when you try to fix the problem. At least, that's the approach that normally works for me. --keep-going is intelligent enough to skip any packages that depend on the failed package. That means you often end up with a package list that is a single branch dependency tree, so the order is unlikely to change. I use the following commands to upgrade my Gentoo boxes: emerge --sync emerge --update --deep --with-bdeps=y --newuse --backtrack=300 --changed-deps=y --keep-going=y @world -va When necessary adding, deleting or changing use flags, keywords, masks. Followed by: emerge --depclean revdep-rebuild No more problems since using this sequence unless there is a bug in a ebuild, like the one last one in busybox ebuild.
[gentoo-user] Re: old lappy fix
On 04/11/15 06:17, James wrote: hello, Over the years lots of folks have wondered about how to fix and old laptop to work with gentoo again, cost effectively. There seems to be (2) problems in the majority. 1. Which environment to set up for minimal old hardware:: That discussion can continue, but I like lxqt or lxde. Others should chime in, as I hope to create a howto or wiki page after some input. 2. The other (most common) issue that I think I have solved, is how to replace those old dead ide hard drives:: SYBA SD-CF-IDE-DI IDE to Compact Flash Adapter ( Direct Insertion Mode ) can be had for less that $5 USD. Combined with a 16Gb Compact flash card less that $20 usd and it should just slide right into the old 2.5" ide HD container slot and plug right in. You can up-size if you need to, but prices for the CF go crazy after 16Gb. There are many form factors for the syba card, so make sure you try the Direct connect one in this pic:: [1]. EXT2 w2orks best as a file system. Comments and physical verification are most welcome, as it fits snugly in (2) old lappies I have tested so far. I intend to also insert tiny pieces of bubble wrap for circuit boards, just to wedge it tightly in place. Very little heat generated with this solution. You can prolly get it down to a 4Gb card, if you are going 'thin client' with the restored lappy. I'm looking for all complimentary info to add to a howto or a wiki page on resurrecting old laptops (hardware and software) centric to gentoo, links are welcome too. James http://www.sybausa.com/index.php?route=product/product=64_147_150_id=612 I resurrected a 12 year old Toshiba laptop with 2GB RAM. Replaced the flaky 40GB IDE drive after replacing the connector, with a 500GB SATA drive salvaged from a broken Dell laptop. Then installed Gentoo, XFCE, Libre Office, Firefox, Thunderbird and VLC. Everything works, except for the dead battery. If the laptop can boot from a USB port, use a external USB drive or USB stick.
[gentoo-user] Re: laptop/tablet convertibles linux compatibility
On 01/11/15 19:53, Stefano Crocco wrote: Hello to everyone. I'd like to buy a laptop/tablet convertible and to install Gentoo on it. Searching Google I couldn't find up to date information about the linux compatibility of this kind of device (most of the pages I found are at least a couple of years old and at any rate, they give quite contradictory information). Does anyone know what the situation is like today in this regard? In particular, I'm looking to buy some of the less expensive convertibles, at most around 300€ (350$), as my needs for it are modest (basically, as I'm a teacher, I'd like to use it as a tablet in the classroom to record absent students, marks and so on instead of the very old tablet the school provided and to use it as a laptop to read e-books and write while traveling to school by bus). Looking on amazon, I found some models which could satisfy my needs: * Asus T100TAF-BING-DK024B [1] * Asus T100TAL-BING-DK034B [2] * Acer Aspire Switch W5-012-149A [3] * HP Pavilion x2 10-n002nl [4] Does anyone know whether they work with Gentoo? Are there any models which work well and that I overlooked? Thanks in advance Stefano [1] http://www.amazon.it/Asus-T100TAF-BING-DK024B-Transformer-Convertibile-Touchscreen/dp/B00SU7V1A8/ref=sr_1_1/280-8290032-6323628?s=pc=UTF8=1446368786=1-1 [2] http://www.amazon.it/gp/product/B00P0YRGW6/ref=ask_ql_qh_dp_hza [3] http://www.amazon.it/Acer-Aspire-Switch-W5-012-149A-Convertibile/dp/B00PMCS2WO/ref=sr_1_3/280-8290032-6323628?s=pc=UTF8=1446368786=1-3 [4] http://www.amazon.it/HP-Pavilion-10-n002nl-Touchscreen-DDR3L-1600/dp/B011760S7K/ref=sr_1_5/276-5315837-3449853?s=pc=UTF8=1446369891=1-5 I purchased during the last 10 years 2 Toshiba, 1 Gateway and 1 HP. They all work with Gentoo. I tested them before purchase with OpenSuse and Sabayon Live CD installed on a USB stick. Important points to test are Wireless and Extended Function Keys. Do not buy from a dealer who does not allow extensive testing before you pay or provide credit card details. The alternative is to buy from a Linux specialist with Gentoo installed.
[gentoo-user] Re: OT:: free pop3 mail box?
If you have or can get a fixed IP address and own domain name, check out ispconfig.org (mail, web, dns, ftp) and iredmail.org (mail). You can run either in VirtualBox with 500K ram or on a old laptop. Both run on top of Debian, Ubunto, OpenSuse. I was some years ago annoyed with my mail provider and decided to run IRedMail in VirtualBox. Now it's ISPconfig on an old laptop in VirtualBox to server as Mail, Web and local DNS server. Hans On 08/10/15 02:07, James wrote: Folks, I do not want gmail or any other big (brother) organization email. I just need a simple pop3 (small) email box, in case my (underconstruction) email server is not happy. Low traffic. Temporary is fine too. Suggestions most welcome. Tia, James
Re: [gentoo-user] New Firefox-38.1.0 headers, or is Google getting smarter?
Hi, On Fri, Jul 31, 2015 at 10:31:48AM +0100, Mick wrote: Have you noticed something similar and should we be changing anything on the new FF configuration, or is this Gmail getting smarter? i've also received that with IE/Windows, so i guess gmail is getting smarter. This started some weeks ago, iirc. cheers Hans-Jürgen
[gentoo-user] Re: Project:Installer
On 27/07/15 03:29, James wrote: wabenbau at gmail.com writes: I used to install and look after OpenSuse Desk and Laptops until systemd showed it's ugly face. Now I install and look after several Gentoo Xfce desktops and 3 OpenSuse Xfce Laptops. I use a Cut Paste script to install Gentoo on Desktops. The only manual parts are booting a Gentoo USB stick, modifying hostname, ip address, user names and partitioning. When completed. Wen done, log in as user and set up email accounts and various eye candy. Sounds reasonable. Wouldn't it be great if that was an automated semantic we could all use? OpenSuse install on laptop involves booting of a installation USB stick, select Xfce Desktop, manually enter time zone, user name, counry, hostname, ip address, Samba, login as user and and set up email accounts and various eye candy. I am to stupid to install and get Gentoo to work on Laptops. Um, I disagree. The disk/bios/bootstrap issues are perverted by the manufacturers, particularly on laptops, tablets and embedded devices as to soot their business goals; hence on a laptop the preventative issues are magnified. You are not alone in this struggle. My dream would be to have the OpensSuse Yast installer and administration gui to install, configure and maintain Gentoo on Desktops and Laptops. This should be easy for a programmer whois familiar with Ruby and C. The Yast installer and administration gui's are nothing more than gui interfaced to various command line utilities. If it works, I'd use it, regardless of Yast. Maybe we can find a person that knows Yast (Ruby and such) to hire to write a similar installer for GEntoo? I'm not against hiring the right person to write a gentoo installer:: as long as I get a BTRFS raid 1 base system out of it. DONE DEAL! If anyone is interested, just drop me some private email. It has to open sourced. Yast was one of the reasons why I switched from SUSE to gentoo in 2003. IIRC one problem with Yast was that it used it's own configuration files and not the standard upstream configuration files of the installed packages. This sometimes made the manual configuration of packages very difficult for me, because the original package documentation refers to config files that I could not found on my SUSE system. Another caveat was that if one of the Yast config files was altered by hand, it was not possible to configure this file with Yast anymore. Of course in the beginning of my Linux experience (SuSE 4.2) I was happy that there was Yast because I came from OS/2 and it was a nightmare for me to configure Linux the first time, even with Yast. Without Yast I maybe would not use Linux today. Maybe Yast is better today, but in the past it was sometimes very frustrating. OK, so we need an expert here. Any takers? Make a few dollars and get famous for writing (hacking) a gentoo installer for the gentoo-commoners? Anyone? James I don't really think that there is a requirement for Ruby. Today's Yast2 is simply a GUI like grsync that calls on command line utilities. This can be done using the GTK C library. The Yast running in a terminal appears to be a ncurses interface to the same command line utilities. I could, with some help from a Bash coder, create a USB stick that runs Gentoo and a Bash script to install Gentoo on a hard drive. I have about 80% done as Cut Paste script. My bottleneck is running fdisk and feeding commands to fdisk from within a bash script. Running Gentoo from a USB stick with Grub static is no problem if you don't mind that its slw. I use 2TB USB drive with Gentoo Xfce installed to back up my families Laptops. Plug in the USB drive. Power on the Laptop, Login as Laptop-1. Click the Backup or Restore Icon to start the required rsync session. Have lunch or surf the net. Will make a image for a USB stick with or without Xfce if someone is seriously interested. This USB stick require DHCP from a router for networking and have only VGA video.
[gentoo-user] Re: Project:Installer
On 18/07/15 03:25, James wrote: From [1] we have Project:Installer [2] which looks very interesting. However, If I were to create a new gentoo installer, I think I'd leverage ansible and the persistence mode (usb stick) code that LikeWhoa put together, as a basis for the effort. I'd be most curious to read other folk's ideas (strategies) to create a more automated installation semantic for installing gentoo systems. The handbook is fine; in fact it is great. But, many gentoo users that have performed more than a dozen gentoo installs sooner or later get around to their own installations customizations for a wide variety of valid reasons. Ansible would lend itself to expanded and very targeted types of system installs where an accomplished gentoo user could supplement the base install with a collection of specific packages and config settings; imho. Say for example a secure web or mail server, not that it would be the only way to build such a server, but just one specific method a particular author wanted to (share) publish. Surely there are other and better ideas that folks have used or that they are currently contemplating for routine gentoo installs? Maybe some discussion herein could help shape the efforts of [2,3]? Naturally, we should remember Release Engineering and their role as pivotal [3]. [1 and 2] are interesting to read. James [1] https://wiki.gentoo.org/wiki/Project:Gentoo [2] https://wiki.gentoo.org/wiki/Project:Installer [3] https://wiki.gentoo.org/wiki/Project:RelEng_GRS I used to install and look after OpenSuse Desk and Laptops until systemd showed it's ugly face. Now I install and look after several Gentoo Xfce desktops and 3 OpenSuse Xfce Laptops. I use a Cut Paste script to install Gentoo on Desktops. The only manual parts are booting a Gentoo USB stick, modifying hostname, ip address, user names and partitioning. When completed. Wen done, log in as user and set up email accounts and various eye candy. OpenSuse install on laptop involves booting of a installation USB stick, select Xfce Desktop, manually enter time zone, user name, counry, hostname, ip address, Samba, login as user and and set up email accounts and various eye candy. I am to stupid to install and get Gentoo to work on Laptops. My dream would be to have the OpensSuse Yast installer and administration gui to install, configure and maintain Gentoo on Desktops and Laptops. This should be easy for a programmer whois familiar with Ruby and C. The Yast installer and administration gui's are nothing more than gui interfaced to various command line utilities.
[gentoo-user] Re: Ruby is infesting my machine
On Fri, 03 Jul 2015 13:53:39 +0800, Andrew Lowe wrote: Does anyone know how I can prevent this infestation from happening? It may not be possible since some packages require ruby to be present unconditionally, e.g. webkit-gtk has a built-time dependency on ruby, and the thin-provisioning-tools have a dependency on ruby with FEATURES=test. There are other packages with similar requirements. Hans
[gentoo-user] Re: PPPoE ADSL modem choice
On 29/06/15 03:40, Mick wrote: On Sunday 28 Jun 2015 16:07:30 Hans wrote: On 22/06/15 20:41, Volker Armin Hemmann wrote: fritzbox There are all other modems/router and then there are fritzbox versions. With very good security. Updates. And lots of niceuseful features. 2015-06-22 12:08 GMT+02:00 Peter Humphrey pe...@prh.myzen.co.uk mailto:pe...@prh.myzen.co.uk: On Monday 22 Jun 2015 02:49:24 I wrote: PPPoA is not used here in the UK as far as I know. I think I may have this backwards. -- Rgds Peter Bought last year a $300.-- FritzBox 7490. Returned the first one because it did not sync with my ISP. Returned the replacement because GRC Shieldsup (https://www.grc.com/x/ne.dll?bh0bkyd2) test showed 100's of open ports. FritzBox Australia claimed this is normal and is not a security risk. The supplier refunded the purchase price, Using now a $78.-- TP-Link TD-VG3631 with Voip. Not as fancy. Just works and has no open ports that can't be closed. Hans Are you sure it was actually showing open ports? It would show closed ports, rather than stealth if your firewall uses '-j REJECT' instead of '-j DROP' packets. The FritzBox firewall has no provisions to set REJECT or DROP.
[gentoo-user] Re: OT: webserver reccomendations
On 28/06/15 07:45, Bill Kenworthy wrote: Hi all, over the years when I need a web-server I have just used Apache. I am in the process of consolidating my separate services VM's for various things into LXC containers and am looking for something a bit lighter if its worthwhile. I am currently using Apache for internal and external http/https static pages, webdav and radicale (dav/wsgi calendar) sometimes using vhosts. Is there something else much lighter weight than Apache for (each) of these tasks? - doesn't have to be the same application as I want to separate the tasks rather than have one huge complex Apache configuration serving an extremely light load. Nginx is an alternative for radicale (is it worth changing from one large application to one almost as heavy?) but what else can do wsgi/dav? BillK I use Debian 7 with Apache, Dovecot, etc. as Web, Mail, DNS, FTP server with 3 domains administered by ISPconfig running in a VirtualBox on top of Gentoo. Installation, configuration and maintenance is a piece of cake. Have a look at www.ispconfig.org. ISPconfig used to support Gentoo. Should work on Gentoo if appropriate symlinks are created to emulate Debian or Ubunto.
[gentoo-user] Re: PPPoE ADSL modem choice
On 22/06/15 20:41, Volker Armin Hemmann wrote: fritzbox There are all other modems/router and then there are fritzbox versions. With very good security. Updates. And lots of niceuseful features. 2015-06-22 12:08 GMT+02:00 Peter Humphrey pe...@prh.myzen.co.uk mailto:pe...@prh.myzen.co.uk: On Monday 22 Jun 2015 02:49:24 I wrote: PPPoA is not used here in the UK as far as I know. I think I may have this backwards. -- Rgds Peter Bought last year a $300.-- FritzBox 7490. Returned the first one because it did not sync with my ISP. Returned the replacement because GRC Shieldsup (https://www.grc.com/x/ne.dll?bh0bkyd2) test showed 100's of open ports. FritzBox Australia claimed this is normal and is not a security risk. The supplier refunded the purchase price, Using now a $78.-- TP-Link TD-VG3631 with Voip. Not as fancy. Just works and has no open ports that can't be closed. Hans
[gentoo-user] Re: How to poweroff the system from user?
On 22/03/15 05:26, German wrote: If I run poweroff from root, the system shuts down, however when I run poweroff from user -- command not found. How to shut down the system from user? Thanks If nothing works, I use the big red switch at the front of my box to poweroff.
[gentoo-user] Re: systemd: incorrect behavior when doing poweroff/reboot
On 22/03/15 08:44, walt wrote: I'd be 100% sure this is a systemd bug except that the problem is so obvious and (I think) so common that I can't believe I'm the only systemd user seeing it: I routinely share /usr/portage over NFS between several gentoo boxes on my wireless network. When I poweroff or reboot the NFS client machines, systemd tears down the wireless connection *before* it unmounts the /usr/portage share, and so the umount command hangs and the machine won't shut down. I'd think people that hang out in this list must do the same thing, surely? No one else here running into this silly problem? Had the same and various other problem. Resolved it by giving systemd the boot. No more problems with after I changed to openrc.
[gentoo-user] Re: new linux router
On 05/03/15 01:10, James wrote: Hello, It's time to build a new router. Surely, I would just like to purchase hardware and run a minimized or embedded gentoo on it along with iptables and a few other packages. But, I got to reading and well it seems much has changed. Dansguardian is deprecated? If I add protection above layer 3, what is the best route (pun intended) to protect some winblows systems? And I need the ability to dynamically block some gaming sites (kids playing too many hours of video). Then I read about NFtables... [1] And there is more. So, being a bit busy what would folks recommend for purchase (I really do not need another project at this time)? I've used routers with ebtables in the past too. I'd like to be able to download some open source linux to the router hardware if updates and pathces are not maintained by the vendor? That way I do not purchase something that is to be abandoned in a few years by the vendor. It's just a small home/office so 3x100Mb E would be fine, but GigE ports would be better. I'm flexible on the CPU/arch of the hardware, so all discussion and suggestions are welcome. In an idealized world I'd pay extra for a gentoo_derivative based router; but all I find is the WRT, devil_linux and such, nothing really cool and interesting. Anyone used lilblue or pentoo as the basis for a firewalled_router? A purchase is what I really want, but some hacking, if absolutely necessary, would be ok too. Ideas? curiously, James [1] http://netfilter.org/projects/nftables/ I use a TP-Link TD-VG3631 ADSL Modem-Router. Has dynamic site blocking etc. GPL Source is available from: www.tp-link.com/resources/gpl/TD-VG3631V1_GPL.tar.gz
[gentoo-user] Re: External HDD: sector size incorrectly detected on first connect
On 10/03/15 19:45, Marc Joliet wrote: Hi while I haven't had a chance to try the external HDD on my brother's Windows computer yet, I did notice one thing: when I turn the HDD off (i.e., unplug its AC) for several hours and turn it back on (with my PC still running the entire time) the problem does *not* show up. I would think that this points to a driver problem, but then again, the problem also fails to show up when I reboot my computer while the drive stays on. The only time when the problem consistently shows up is when I turn my computer off for a longer period of time (with or without turning off the power strip the PC and HDD are attached to). For example, after turning the PC off for the night, the problem always occurs after I turn it back on in the morning. I wonder if it has anything to do with my USB3 PCI card. (This is, incidentally, why I haven't been able to try it with my brother's PC yet: the only condition where I know the that the problem will show up is after leaving my computer off for the night or while I'm gone during the day. So I would have to try it with my brother in the morning or evening, but that has not been possible yet.) One more thing I'll try: not having the HDD plugged into the USB3 slot when my computer boots up. Greetings Have a very similar problem with a USB drive. Resolved it by installing a toggle switch into the DC power line and switched the drive on when I did a backup. I.e. power up the PC, login, power up the USB drive.
[gentoo-user] Re: Software to keep track of stocks
On Tue, 20 Jan 2015 18:20:18 -0700, Joseph wrote: I've tried to setup some stocks in GnuCash but it does not list TSX What alternatives are to keep track of stocks under Linux. GnuCash uses Finance-Quote to get its stock quotes, and it looks like Finance-Quotes also includes a source for TSX stock. So it seems like things should work with GnuCash. Hans
[gentoo-user] Re: etiquette for stabilization request
On Sun, 02 Nov 2014 10:10:34 -0500, gottlieb wrote: I am running firefox-24.8.0, which is highest stable (highest testing is 33.0). Several sites, in particular mail.google.com, report that This version of Firefox is no longer supported. Please upgrade to a supported browser. Does that warrant a stabilization request. I have never filed one before and do not have a feeling of what is considered justification. I should add that other than generating the above complaints, firefox is working fine (including with mail.google.com). The stable request in this case is a bit hidden, and pending on mesa stabilization: https://bugs.gentoo.org/show_bug.cgi?id=525474 Hans
[gentoo-user] Re: Ansible, puppet and chef
On Tue, 16 Sep 2014 22:43:18 +0200, Alan McKinnon wrote: Puppet seems to me a good product for a large site with 1000 hosts. Not so much for ~20 or so. Plus puppet's language and configs get large and hard to keep track of - lots and lots of directory trees with many things mentioning other things. (Nagios has the same problem if you start keeping host, services, groups and commands in many different files) I'm using puppet for small installs ( 10 hosts) and am quite happy with it. It's wonderful to push some changes and have all these hosts configure themselves accordingly. Not to mention the joy of adding new hosts. The configuration can get large, but then again, these are all things that you are already managing on the host. Better to do it all in one place, rather than on each individual host with all its associated inconsistencies. Us being a ruby shop I never looked at ansible and I'm not even sure it existed when we choose puppet. One thing you can do to make the deployment easier for smaller scale setups would be to use a masterless puppet. One less component to worry about. Just distribute the puppet repository and run puppet apply. Hans
[gentoo-user] Re: 1TB 2.5in drive recommendation
On 28/08/14 21:45, Joseph wrote: I need to select 500GB or 1TB infernal 2.5in drive, any recommendation (reliability) of the brand. My current WD 320GB fail after 5-years. Go Samsung actually made by Samsung in Korea or if you can get Hitachi actually made by Hitachi in Japan. Western Digital and Seagate come out of the same plants in Thailand and Indonesia and don't last. I had a 14 year old Toshiba Laptop with a Toshiba disk, The disk died after 14 month when the warranty has expired. Replaced it with Samsung disk. The Laptop was used until very recently 24/7 as mail and web server with buld in UPS (battery) until the screen and keyboard died. The Samsung disk is still alive and well as a plugin backup for the replacement Laptop server.
[gentoo-user] Re: clone XP-Virtual to a file
On 11/09/14 03:37, Joseph wrote: How to close virtualbox machine (windows xp) to a file? I need to transfer it to another box. I made some notes but they are old so I'm not sure if they are applicable or there is an easier way. === 1) Shut down the virtual machine you would like to copy 2) In File Virtual Media Manager, select the virtual machine disk image you would like to copy, and press the Release button 3) In a terminal window, issue following command (see virtualbox user manual): VBoxManage clonehd (complete-path)/directory/image1.vdi (complete_path)/directory/image2.vdi VBoxManage clonehd /home/thelma/.VirtualBox/HardDisk/xp-clinic.vdi /home/thelma/xp-clinic.vdi 4) In File Virtualdiskmanager, add the new disk image you've created in step 3. 5) In the main virtualbox window, press the New button to create a new virtual machine, and link it to the new disk image you've created. To re-attache the vdi: Next we have to undo the Release we did before so that we can continue using our Virtual Machine. In VirtualBox main Window select the Virtual Machine (1) and press the Settings button (2). Go to Storage (3) IDE Controller (left window - empty); right click on IDE Controller and press the Add Hard Disk button (in the left window (4). Here select your initial .vdi file (5) and your Virtual Machine will be ok. I've noticed there is a Clone menu. Do I use it and just tar.gz entire folder to a new machine? I use this method without cloning. This means that only one VM can run at a time: Shutdown the VM on PC-1. Copy the directory '~/VirtualBox VM's' from PC-1 to PC-2. Import the VM into VirtualBox on PC-2. Start the VM on PC-2.
[gentoo-user] Re: Ruby is borked on my system
On Thu, 26 Jun 2014 23:36:00 -0400, Ajai Khattri wrote: !!! All ebuilds that could satisfy virtual/rubygems[ruby_targets_ruby18] have been masked. You still have packages on your system that have been installed with the ruby18 RUBY_TARGET. It's not immediately clear which package that is from the output, but I suspect dev-ruby/rubygems? Re-emerging the packages still installed for ruby18 should fix this. Hans
[gentoo-user] Re: dev-ruby/json-1.8.0
On Sat, 07 Jun 2014 17:20:22 -0700, walt wrote: On 06/07/2014 12:56 AM, Hans de Graaff wrote: For example, I (want to) use only ruby19: #grep RUBY /etc/portage/make.conf RUBY_TARGETS=ruby19 Yes, in hindsight I think that should have been the current default since ruby19 has the best overall coverage for packages. Once ruby20 has caught up I think we'll move to a default of RUBY_TARGETS=ruby20 In spite of that, portage often insists on installing other versions of ruby, rdoc, rubygems, and you already know the others. Partially this was because we tried to solve another issue when ruby20 went stable. I removed those forced use flags for ruby20 last week, so this should no longer happen. We still need to come up with a good plan when the same issue will pop up for ruby21. AFAICT, the other versions of ruby are dragged in by old ruby packages that were installed before I started using RUBY_TARGETS (because I didn't yet know about RUBY_TARGETS), Yes, these will still have other ruby targets recorded and thus also request them for their dependencies. emerge --newuse should be able to help here. I discovered all of this by grepping for ruby in /var/db/pkg but it took me a long time to get it sorted out, and I don't expect that a gentoo beginner could do it. (OTOH maybe a gentoo beginner wouldn't care about installing multiple ruby versions :) We try to keep the default settings so that someone who doesn't care or know about ruby should get a good experience. Moving from ruby18 to ruby19 we did some things that could have been handled better (such as not mentioning that the new ruby must be eselected before making the switch), so hopefully we've learned from those when we do the next update. Hans
[gentoo-user] Re: dev-ruby/json-1.8.0
On Fri, 06 Jun 2014 15:47:38 -0700, walt wrote: Is all of the above familiar to you? If not, you may need more help with managing multiple ruby versions. I find it a large PITA and I could use more help myself :) Could you explain what bothers you or where you would need help? Hans
[gentoo-user] Re: rubygems-1.9.1 error
On Mon, 24 Mar 2014 20:23:55 +, Mick wrote: I have been chasing my tail with ruby tonight. The masking of ruby18 meant that I had to unmerge a lot of ruby packages and then portage chose what to merge afresh. unmerge or depclean? unmerge is less safe and may leave your system in a bad state. emerge -N is a better way to handle this situation. /usr/lib64/ruby/1.9.1/rubygems.rb:30:in `require': cannot load such file -- rubygems/defaults (LoadError) This file is part of rubygems, which in turn is a dependency of ruby itself. emerge rubygems manually first. Kind regards, Hans
[gentoo-user] Re: RUBY_TARGETS and eselect ruby
On Fri, 21 Feb 2014 09:32:03 +, Svoop wrote: Hans de Graaff graaff at gentoo.org writes: Because we haven't gotten around to that yet. Also note that only a few packages currently have ruby21 support, so eselecting it right now is not very useful yet. We should be updating the ruby eselect module in the next week or so. Any news on this? Like Pavel the only related packages are rubygems, rake and friends since it's a pretty minimalistic box serving a Rails app which we are lifting to Ruby 2.1 next week. Support for ruby21 in eselect would be great, thanks a bunch! eselect-ruby-20131227 has support for eselecting ruby21. It has been around since Jan 4th. Progress on ruby21 marking of packages has been slow but steady. Hans
[gentoo-user] Re: Minimal (fast and cool)
On 29/01/14 02:06, James wrote: I'm interested in aggregating tips, tricks, ebuild suggestions and config file snippets and examples, related to going minimal on your system, regardless if your system in resource constrained or not. The benefit is not limited to resource constrained systems. The idea is when a person ditches KDE (or other bloated environments?) they can look at a single gentoo-specific document to get a list of addtional ebuilds and config files to install resulting in but one possible fast, cool, feature-rich minimal environment. with a mininmal of setup time and effort. If you are uncomfortable posting here, just drop me some private email. TIA, James # These instructions are for installing Gentoo on Oracle VirtualBox with # Oracle VirtualBox Extentions installed on the host PC. # I allocate 1GB during intallation and change to 512KB after competing the installation. # I can still work with 255 KB but slow. # My local setup is a LAN with several Linux and Win$ boxes with fixed IP addresses. # My local domain name: itw.lan # My Gentoo VM FQDN: gentoo.itw.lan # IP address: 192.168.0.32 # Nameserver-1: 192.168.0.2 # Nameserver-2: 192.168.0.1 (my Router has a very basic build in Name Server.) # Route:192.168.0.1 # Locale Australia/Brisbane # Change these at the approbriate places in below text to yours. # The text without # in front are commands to be entered or copied into # the terminal followed by hitting the Enter Key. # Preparation: # Download Gentoo Install CD from: # distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/install-amd64-minimal-20140130.iso # Configure a Gentoo x86_64 virtual maschine to boot with Gentoo CD.iso as CD Drive, # a virtual 30GB dard drive and Network Adapter as Bridged Adapter . # Boot your new virtual maschine with kernel option net.ifnames=0. ## type on Gentoo Installer Screen ifconfig # write down the IP address and name of your ethernet card like eth0 net-setup eth0 #For manual setup if your Router does not have a DHCP server. # Create a password for ssh access. passwd abc123 abc123 time /etc/init.d/sshd start ping -c 3 google.com # This completes configiration of the installation system for ssh access from a second PC. # # Open a terminal on your second or Host PC and log by ssh into Gentoo ssh r...@gentoo.itw.lan abc123 # Manally, step by step partition your Hard drive with these keybord commands: # If you make a mistake, exit fdisk by 'q' and start again. fdisk /dev/sda n p 1 (Enter) +500M n e 2 (Enter) (Enter) n l (Enter) +2G (Enter) t 5 82 n l (Enter) +20G n l (Enter) (Enter) a 1 p w # DONE! # -- # Now proceed by copying below texts to your terminal followed by Enter. # You can copy line by line, section by section or several saections at a time #--- # Create the File System: mkfs.ext4 /dev/sda1 mkfs.ext4 /dev/sda6 mkfs.ext4 /dev/sda7 mkswap /dev/sda5 swapon /dev/sda5 # Mount the Filesystem: mount /dev/sda6 /mnt/gentoo mkdir /mnt/gentoo/boot mkdir /mnt/gentoo/home mount /dev/sda1 /mnt/gentoo/boot mount /dev/sda7 /mnt/gentoo/home # Check the date date # Get Gentoo files from the internet cd /mnt/gentoo links http://www.gentoo.org/main/en/mirrors.xml # Select and download stage3tar.bz2 ls -l tar xvjpf stage3-*.tar.bz2 # Change Root mount -t proc none /mnt/gentoo/proc mount --rbind /sys /mnt/gentoo/sys mount --rbind /dev /mnt/gentoo/dev chroot /mnt/gentoo /bin/bash source /etc/profile export PS1=gentoo.itw.lan $PS1 #Set root Password passwd root abc123 abc123 # Configure make.conf: echo CFLAGS=\-O2 -march=native -pipe\ /etc/portage/make.conf echo CXXFLAGS=\${CFLAGS}\ /etc/portage/make.conf # Change -j5 to the numbe rof your processors plus 1. echo MAKEOPTS=\-j2\ /etc/portage/make.conf echo FEATURES=\-preserve-libs\ /etc/portage/make.conf echo CHOST=\x86_64-pc-linux-gnu\ /etc/portage/make.cof echo ACCEPT_KEYWORDS=\amd64\ /etc/portage/make.conf echo ACCEPT_LICENSE=\*\ /etc/portage/make.conf echo LINGUAS=\en\ /etc/portage/make.conf echo INPUT_DEVISES=\evdev virtualbox\ /etc/portage/make.conf echo VIDEO_CARDS=\vesa\ /etc/portage/make.conf echo USE_PYTHON=\2.7\ /etc/portage/make.conf echo PYTHON_TARGETS=\python2_7\ /etc/portage/make.conf # change http://ftp.swin.edu.au/gentoo\; to you mirror echo GENTOO_MIRRORS=\http://ftp.swin.edu.au/gentoo\; /etc/portage/make.conf # change rsync://rsync1.au.gentoo.org/gentoo-portage\ echo SYNC=\rsync://rsync1.au.gentoo.org/gentoo-portage\ /etc/portage/make.conf # Create package.* files echo ### package.keywords ### /etc/portage/package.keywords echo ### package.unmask ### /etc/portage/package.unmask echo ### package.mask ### /etc/portage/package.mask # Select Timezone emerge --config sys-libs/timezone-data # Replace Australia/Brisbane with your Timezone and Location cp
[gentoo-user] Re: RUBY_TARGETS and eselect ruby
On Mon, 30 Dec 2013 18:25:38 +0400, Pavel Volkov wrote: I currently set my RUBY_TARGETS in make.conf to: RUBY_TARGETS=ruby20 ruby21 World is updated. But ruby21 profile can't be selected with eselect: $ eselect ruby list Available Ruby profiles: [1] ruby20 (with Rubygems) * If I remove ruby20 from RUBY_TARGETS, there would be no profiles left. Because we haven't gotten around to that yet. Also note that only a few packages currently have ruby21 support, so eselecting it right now is not very useful yet. We should be updating the ruby eselect module in the next week or so. Hans
[gentoo-user] Re: Routine update wants to install 3 version of Ruby + 50 others
On Tue, 10 Dec 2013 11:06:19 -0500, Michael Orlitzky wrote: On 12/10/2013 10:19 AM, Grant Edwards wrote: I understand that portage defaults to installing multiple versions (of Ruby, Python, and probably other stuff). What I don't understand it _why_. If none of the ebuilds specify q version, then they presumably will work with any availble version -- so why not just install one version? So why is the RUBY_TARGETS default the way it is? I can't speak for the Ruby team, but it was most likely chosen as the upgrade path that causes the least pain. It's not perfect, as you've seen, but different parts of the Ruby ecosystem move at a different pace, and you have to make them all place nice. I can speak for the ruby team :-) We have RUBY_TARGETS=ruby18 ruby19 as the default because ruby18 used to be the default and recommended ruby and now ruby19 is. By adding both we can make the transformation mostly seamless. So why is ruby18 *still* there? Because, if we remove it, you must do an 'emerge --changed-use' run to forcefully uninstall all the ruby18 code. This is similar to the recent python3_2 to python3_3 transition. I'm not a big fan of that approach, so instead we hoped to be able to just mask ruby18 given that it is no longer supported and just make it go away quietly, like we did with ree18 (Ruby Enterprise Edition). If people here indicate that running 'emerge --changed-use' is no big deal and I'm making a mountain out of a molehill then we can reconsider that approach. We'll face the same situation soon with ruby19 and ruby20, so knowing what people prefer is helpful. During a transition period like this, various upstreams release a bunch of crap with circular or conflicting dependencies that happen to work on their machines because nobody is using a real package manager. The fact that it works as well as it does is a miracle. If you don't want all three versions of Ruby on your machine, try setting e.g. RUBY_TARGETS=ruby19. It probably won't work, but that's because some package has troublesome dependencies, not because we're handling it wrong. It should work (I have some machines with that setting). Two things to keep in mind: you are now off the default settings, so you will need to manage new ruby targets yourself. You will also still get the ruby20 core installed for the moment due to weird dependency issues with some packages. This will get rectified when we add ruby20 to the default RUBY_TARGETS. If you want just a single RUBY_TARGET then right now ruby19 is the one to use, judging by this graph: http://moving-innovations.com/~graaff/ targets.svg Hans
[gentoo-user] Re: Routine update wants to install 3 version of Ruby + 50 others
On Tue, 10 Dec 2013 15:19:56 +, Grant Edwards wrote: AFAICT, if you have a global tk USE flag, you can not have 1.8 installed at the same time as 1.9 or 2.0. It looks like ruby 1.8 wants tk built with the same threads setting, and ruby 1.9 and 2.0 (because their threads setting is now mandatory) require tk to have the threads USE flag. Your options are to either set the threads USE flag globally, or to set it only for ruby 1.8. Hans
[gentoo-user] Re: Routine update wants to install 3 version of Ruby + 50 others
On Mon, 09 Dec 2013 18:29:46 +, Grant Edwards wrote: My routine more-or-less weekly update suddenly decided that it needed to install 3 versions of Ruby along with ~50 other ruby-related packages. This caused a bit of a problem, since those versions of Ruby can't coexist: (something to do with tk and threads). There should not be a problem installing these versions at the same time, although perhaps with a specific combination of USE flags there might be issues. This should be fixable by specifying different USE flags for some of the packages. I've never had Ruby installed before, and after some digging around, I finally tracked it down to two things: gnome-terminal-nautilus-webkit-ruby multipath-tools-thin-provisioning-tools-ruby At least for thin-provisioning-tools you could use the unstable revision that makes ruby an test-only dependency. I understand that sometimes a maintainer decides to add a feature that requires some new dependancies, but why three different versions of Ruby all of a sudden? Because ruby18 and ruby19 are specified in the default RUBY_TARGETS as defined in the profile. And due to the way the dependencies are specified in both webkit and thin-provisioning-tools it will additionally try to pull in ruby20 first. Hence: three versions. We intend to mask ruby18 shortly and at that time we will also add ruby20 to the default RUBY_TARGETS. That still leaves two ruby versions, but we want to prepare for the new version as the old version is slowly being deprecated. Hans
[gentoo-user] Re: USE ruby_targets_ruby20
On Thu, 14 Nov 2013 15:57:40 -0800, Chris Stankevitz wrote: True or false: The correct way to appease portage's error message below is to add a bunch of ruby_targets_ruby20 use flags in /etc/portage/package.use False. These packages should already have this use flag set by default in a vanilla Gentoo setup. Perhaps you masked something related to ruby already? Hans
[gentoo-user] Re: Gentoo is so AWESOME
On Tue, 30 Jul 2013 19:48:19 -0400, Michael Orlitzky wrote: I want to become a dev, what's my next step? There is none. Help out, and maybe someone will notice you? Ok, I'm on it. Been doing it for years, and I know several other people in the same situation. It doesn't work, and recruitment numbers are plummeting. There needs to be an explicit, documented process. And someone devoted full-time to mentoring new recruits. I can think of no better long-term investment of the foundation's money. http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=1chap=2 documents this from the new developer perspective. Note how it says to contact the recruiters if you don't already have found a mentor yourself. There is also http://www.gentoo.org/proj/en/devrel/recruiters/ which documents this from the inside, but when I wanted to become a developer I found that more useful documentation :-) So it is explicitly documented. Perhaps not well enough? In that case, let us know what you miss. Hans
[gentoo-user] Re: Gentoo is so AWESOME
On Wed, 31 Jul 2013 14:34:41 -0400, Michael Orlitzky wrote: It seems a little rude to pop in, address them personally, and ask them each if they'd devote months of their time towards mentoring me. (Doing so can pressure someone into agreeing to something he doesn't want to do, or makes him reject you personally which many people find awkward.) That doesn't sound rude to me at all. If you explain your interest and ask them if they know anyone that could be your mentor you can also avoid that pressure for the most part. And we're not talking months here either. I've just finished mentoring someone, and it probably took ~15 hours spread over a couple of months. Compared to some of the other Gentoo work not a huge commitment, and one that pays itself back by seeing an otherwise derelict part of Gentoo being maintained again. Hans
[gentoo-user] Re: rubinius fails to emerge with error about llvm-config
On Sun, 19 Aug 2012 16:02:15 -0400, covici wrote: Hi. In my update world of today, the system wanted to emerge rubinius -- for reasons known only to itself -- however it fails to emerge during its config phase with the following output: Any suggestions would be appreciated. Check our bug database: https://bugs.gentoo.org/show_bug.cgi?id=417533 Hans
[gentoo-user] Re: Understanding new ruby dependencies
On Tue, 22 May 2012 18:10:18 -0700, Chris Stankevitz wrote: On Tue, May 22, 2012 at 11:32 AM, kwk...@hkbn.net wrote: No! Don't do that! Instead, you should add a line RUBY_TARGETS=ruby19 For now this should be RUBY_TARGETS=ruby18 ruby19 We currently don't support running with ruby19 only. It might work, we just don't support it. :-) f) [your idea here] f) It should just have worked. I tried to be conservative and not add ruby19 in RUBY_TARGETS right away, but as you have noticed this causes problems for rdoc and friends. I'll add ruby19 to the default setting in the profile within a few days so that this problem goes away. Kind regards, Hans
[gentoo-user] Re: Understanding new ruby dependencies
On Tue, 22 May 2012 23:35:21 -0700, Chris Stankevitz wrote: 1. What on my system is insisting on make.conf RUBY 1.9 USE_EXPAND changes? An emerge --tree is not giving me a clear answer (as it usually does). The original post in this thread provides a pastebin link to back up this claim. It is implicit. dev-lang/ruby:1.9 requires a new enough version of rdoc with this particular USE flag enabled. 2. If the answer to (1) is the gentoo system itself, then why doesn't the gentoo system itself update the USE_EXPAND by adding a reference to ruby19? It appears the gentoo system itself presently only enables the ruby18 USE_EXPAND. base $ find /usr/portage/profiles/ | xargs grep RUBY_TARGETS= /usr/portage/profiles/base/make.defaults:RUBY_TARGETS=ruby18 Right. We'll add ruby19 to that shortly. The reason we did not do that before was that we wanted to ease into ruby19, but there seem to be plenty of people that have a package depending on dev-lang/ruby on their system, so that plan didn't work very well. 4. I run a stable system that is somehow insisting on ruby19. This webpage http://www.gentoo.org/proj/en/prog_lang/ruby/index.xml says ruby19 is not for use on production systems. Why the disconnect? Perhaps the ruby page is just out of date. Correct conclusion, and I've just updated it for the various ruby implementations. Thank you for listening to me list the issues I am ignorant on. Now I'm going to add RUBY_TARGETS=ruby19 to my make.conf and hope things just work. At this point I would recommend RUBY_TARGETS=ruby18 ruby19. Kind regards, Hans
[gentoo-user] Re: Understanding new ruby dependencies
On Mon, 21 May 2012 20:52:01 -0700, Chris Stankevitz wrote: Question: Is is true that the RUBY dependencies listed in the above paste link are entirely due to adding documentation support (specifically rdoc)? If so, can I tell portage to not install the rdoc stuff? I have USE=-doc already. Yes, this is true. We do this because normally ruby contains a copy of rdoc. We unbundle that and thus the external rdoc implementation is installed. You can control this with the rdoc USE flag on dev-lang/ruby, but note that not installing rdoc is probably considered broken by upstream. Kind regards, Hans
[gentoo-user] Missing perl File-FcntlLock / debhelper (dh_gencontrol) fails
Hello, after some time I have to rebuild some debian packages using the debhelper scripts and recognized the following error: 'dh_gencontrol' fails with missing File/FcntlLock.pm: $ dpkg-buildpackage -b -d ... dh_gencontrol Can't locate File/FcntlLock.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/site_perl/5.12.4/x86_64-linux /usr/lib64/perl5/site_perl/5.12.4 /usr/lib64/perl5/vendor_perl/5.12.4/x86_64- linux /usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.4/x86_64-linux /usr/lib64/perl5/5.12.4 /usr/local/lib/site_perl .) at /usr/bin/dpkg- gencontrol line 24. BEGIN failed--compilation aborted at /usr/bin/dpkg-gencontrol line 24. dh_gencontrol: dpkg-gencontrol -ldebian/changelog -Tdebian/modules-xen- domu.substvars -Pdebian/modules-xen-domu returned exit code 2 make: *** [binary-arch] Error 25 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 There were no changes done within the debian rules or similar, just the packages sources have been updated - these rules worked fine in the past. I can also confirm that everything workes fine again after manually installing the CPAN 'File-FcntlLock' package from http://search.cpan.org/~jtt/File-FcntlLock-0.12/ I don't understand why the File-FcntlLock package is not provided by portage (at least I didn't find any corresponding package) - it looks like it has been removed from portage tree (as the problem did not occur in the past - even though I could not find any entry regarding an uninstall in emerge.log either). I tried to solve the problem by running - emerge -vu --deep --newuse @world - revdep-rebuild - emerge --oneshot dev-lang/perl - perl-cleaner --all - perl-cleaner --allmodules --libperl --phupdate There's still no File/FcntlLock.pm. Which portage package or missing USE flag should provide this CPAN package? Is it obsolete and should be replaced by something else? Then it would be a bug in debhelpers dependencies ... dev-lang/perl dev-util/debhelper are both current stable versions, installing latest unstable dev-util/debhelper makes no difference. Thanks a lot best regards Hans
[gentoo-user] Re: RUBYOPT=-rauto_gem
On Sun, 15 Jan 2012 14:24:30 -0800, Hilco Wijbenga wrote: If there is a requirement for this to be in the global environment, what is the consequence of unsetting RUBYOPT in my own .bashrc (or similar)? Is that safe? Or does that break something that I simply haven't noticed yet? We don't support that setup, but you can always try. The only consequence should be that scripts won't find code installed by rubygems, unless you explicitly require 'rubygems' yourself. The reason for this is partly history, and we can't really change it now without breaking a lot of stuff. It it also there to provide more choice, since you don't need to be explicit about this in your scripts. Finally, this is the default in ruby 1.9, even without RUBYOPT set, so we now have a matching situation between the different ruby versions. Kind regards, Hans
[gentoo-user] Re: RUBYOPT=-rauto_gem
On Sun, 15 Jan 2012 22:21:30 -0800, Hilco Wijbenga wrote: On 15 January 2012 18:21, Michael Orlitzky mich...@orlitzky.com wrote: On 01/15/2012 05:24 PM, Hilco Wijbenga wrote: Hi all, The dev-ruby/rubygems ebuild adds -rauto_gem to the global RUBYOPT. This breaks my own scripts so I have removed it from /etc/env.d. So far, so good. Try asking on the -dev list, or filing a bug. They'll just close it if it's considered invalid. Agree, if things are broken then please file a bug. We have too many open bugs already so I'll wait until (hopefully) I see a few more responses before I file a bug. That way there's less chance of an invalid bug and I may save some valuable dev time. If you want to help us then open a bug so there can be a focused discussion, especially if things are broken. If you really want to help us then participate in the bugs and help us close them :-) Kind regards, Hans
Re: [gentoo-user] Re: Out of memory error
On Saturday, 19. November 2011 20:08:36 Pandu Poluan wrote: On Nov 19, 2011 7:28 PM, Michael Mol mike...@gmail.com wrote: And, finally, yeah..that isn't just not much, that's a terribly small amount of memory. Assuming you've kept the software current, some of your applications have certainly not been maintained with 600MB of system memory in mind. Indeed. With less than 800MB, gcc fails to upgrade. Always. For some RAM-constrained systems (e.g. the VMs in my company's cloud), I even have to do an out-of-the-box upgrade, i.e., upgrade an identical copy on the physical data center, grab the binpkg tarball, and upload the tarball to the cloud. If you provide enough swap this shouldn't be an issue. I have a box running Xen dom0 with 680MB RAM and 1.5GB swap and it compiles everything fine so far. Of course I didn't emerge firefox, libreoffice or similar packages on this system, but at least for gcc this is fine. Best regards
[gentoo-user] Re: Unable to install the ffi gem.
On Sat, 29 Oct 2011 16:36:31 +0530, Vishnupradeep wrote: Gem files will remain installed in /usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9 for inspection. Results logged to /usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9/ext/ffi_c/gem_make.out The gem is broken. Install dev-ruby/ffi instead. Hans
[gentoo-user] Re: XEmacs build hangs loading update-elc.el
On Fri, 21 Oct 2011 09:23:38 -0400, Mike Edenfield wrote: I'm trying to build XEmacs on my laptop (Hardened ~amd64), and it appears to be stuck near the end trying to load and/or execute update-elc.el (it's been on this step for approaching 6 hours now). This happens every time I attempt to build xemacs (I've re-synched and restarted the build multiple times.) I thought it might be related to having PaX in my kernel, but when I switched softmode on, the build actually segfaults almost immedately! https://bugs.gentoo.org/show_bug.cgi?id=75028 Hans
Re: [gentoo-user] trouble with locale and ca-certificates
Am Freitag, 2. September 2011, 08:19:59 schrieb Allan Gottlieb: On one machine an emerge of ca-certificates complains that my locale is bad (details below). In particular it asserts that filesystem encoding is ANSI_X3.4-1968. I followed the localization guide; now my locale seems right (although filesystem encoding is not mentioned). allan env.d # locale; locale -a LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_ALL= C en_US en_US.iso88591 en_US.utf8 POSIX allan env.d # Nonetheless I still get the complaints with ca-certificates. Any help would be appreciated. thanks, allan Hi, did you try to set LC_CTYPE (and perhaps the others also) to 'en_US.utf8'? Regards
[gentoo-user] Re: IPv6 not ready here; Hmmm
On Tue, 07 Jun 2011 20:27:45 -0500, Dale wrote: From there, there is a link to test whether the new IPv6 works on my system and between me and the reat of the world. It appears I am not ready. It complained about the DNS server for the most part. Funny thing is, I use googles DNS servers. 8.8.8.8 and 8.8.4.4 are the settings. So you are explicitly using IPv4 addresses for your DNS. This is what the test complains about: to get full marks you need to connect to a DNS server via IPv6 as well. I'm not sure if Google provides public DNS via IPv6 yet. Should I have the USE flag ipv6 enabled or should I leave it off for now? If so, anyone had any trouble with it or is this a trivial change? You should leave this enabled unless you have a specific reason to turn it off. Kind regards, Hans
[gentoo-user] Re: installing ffi gem
On Thu, 21 Apr 2011 23:12:51 -0700, kashani wrote: On 4/21/2011 9:54 PM, Hans de Graaff wrote: Please note that Gentoo also supports multiple ruby implementations out of the box (ruby 1.8, ruby enterprise edition, jruby currently stable, ruby 1.9 unfortunately still masked, rubinius forthcoming). It's not about which ruby you're installing on the system, really anything other than 1.8.7 as system Ruby is a pain in the ass at this point. This is not about the system ruby, I agree that ruby 1.8.7 is currently the only sane choice for that. Using RVM I can have all version and implementations of Ruby and multiple gem sets per Ruby as well. That way I can work on ruby-1.8.7@rail2 app or switch to ruby-1.92@rails3 which keep the gems separate. Also I avoid breaking the system when doing wacky things in my dev environment. The Gentoo setup can do this too. It install gems for all supported, desired, ruby implementations, and keeps separate gem hierarchies for each ruby implementation, so you can use different ruby implementations for different applications if you want. This is all part of the ruby-ng.eclass, which all packages in testing use, and which is currently being pushed into stable. Kind regards, Hans
[gentoo-user] Re: installing ffi gem
On Thu, 21 Apr 2011 17:33:05 -0700, kashani wrote: Install RVM, make it part of your shell, then install the ruby and gems of your choice. That way you leave the system Ruby alone and can develop with the versions you want. You can even do multiple versions of ruby and various gems for working on many different projects at once. Please note that Gentoo also supports multiple ruby implementations out of the box (ruby 1.8, ruby enterprise edition, jruby currently stable, ruby 1.9 unfortunately still masked, rubinius forthcoming). Kind regards, Hans
[gentoo-user] Re: installing ffi gem
On Fri, 22 Apr 2011 00:57:13 +0100, Matt Harrison wrote: I've just tried setting up a new development machine and I'm stuck installing the ffi gem for ruby. According to a bug I found (can't find it now I'm afraid) the gentoo devs do not support installing gems via the gem command and directed the user to use the dev-ruby/ffi package. Unfortnately, that package is absolutely ancient and unusable. That is correct, we recommend to use our native Gentoo packages when present. If you have a problem with a package, then please file a bug report at https://bugs.gentoo.org/ ffi-0.6.3-r1 should be usable. Anyway, I've got the ffi library install from portage, but when I try to `gem install ffi`, I get the output seen in the attachement. Yes, you are trying to install a version of the ffi gem that is not compatible with your ruby version. ffi-0.6.3 is the latest version that reliably works with ruby 1.8. The ffi-1.x series never worked reliably with ruby 1.8, and the latest version have officially removed support for it and only work with ruby 1.9. This is also the reason that ffi-0.6.3 is the latest version in the tree. Kind regards, Hans
[gentoo-user] Re: Postgres gem not found by cron job
On Wed, 11 Aug 2010 15:32:53 -0400, Michael Orlitzky wrote: Thanks for the tip. The cron environment was missing RUBYOPT=-rauto_gem -- adding it fixed the problem. Dark magic, whatever it does. It ensures that installed gems are found automatically without specifying this explicitly in your script. The other solution is to require 'rubygems' first in your script. Kind regards, Hans
[gentoo-user] Re: [OT sphinx] Any users of sphinx here
On Fri, 04 Jun 2010 17:52:05 -0500, Harry Putnam wrote: Googling lead to a tool called Sphinx that apparently is coupled with a data base tool like mysql. It is advertised as the kind of search tool I'm after and has a perl front-end also available in portage (dev-perl/Sphinx-Search). The call it a `full text search engine', but never really say what that means. It means that you can dump a lot of text documents into it (based on html pages, database records, actual documents, etc). sphinx efficiently indexes all the text in it, and then allows you to retrieve it again, supporting things that are useful for searching in text such as stemming. It can use MySQL but this isn't needed to use it. It should be able to help you with the task you want to solve, although I'm not familiar with the capabilities of the Sphinx-Search front-end/ binding. Kind regards, Hans
[gentoo-user] Re: killing gnome light - pathetic cry for help.
On Mon, 25 Feb 2008 13:15:22 -0800, Michael Higgins wrote: I use Gnome ['gnome-light'] as my WM. For the past few months (many months) I've had the 'gnome-panel' lock up on me. Nothing is clearly causing this. Rebuilding has not seemed to help. Of course, what to rebuild? Everything? I've seen this issue a few times and found that the esound daemon was to blame. Killing just that got things back in a workeable state again. Kind regards, Hans -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: Horribly off-topic linux distro question...
Hi, On Thu, 07 Feb 2008 13:05:00 -0500 7v5w7go9ub0o [EMAIL PROTECTED] wrote: - The SSL connection is established within the Linux VM, so all the host sees is an encrypted connection to your bank. Wrong: It will also see all the virtual memory the virtualized machine is using, including those parts containing your precious unencrypted data. All you win by using a VM is that you don't need to boot into the OS (which might be impossible on some public terminals while running qemu might work). -hwh -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Create mutli-file .zip archives from the command line?
Hi, On Sun, 13 Jan 2008 16:34:01 + Stroller [EMAIL PROTECTED] wrote: The file is the same size in bytes (8056211212) on the destination XP machine as it is on the Samba host, but the md5sums (using Sumemr Properties under XP) don't match. There is also the slight possibility that your md5sum util in Windows isn't dealing well with file offsets 4GB. Re-check using a different one, I'd say. -hwh -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] RANT: WTF does a *SPREADSHEET* need SVG and unicode?
Hi, On Mon, 14 Jan 2008 08:13:33 +0100 Renat Golubchyk [EMAIL PROTECTED] wrote: There is nothing basic about a spreadsheet program. It is a very advanced piece of software. From a developer's perspective unicode is an obvious requirement, if he tries to write a program for many different locales without too much hassle. And I can well see myself e.g. inserting greek chars that have some mathematical meaning in my spreadsheets... After all, this isn't Lotus-123 and I don't use a 9-pin-printer anymore... And FWIW, SVG (or parts of it and lots of referring definitions) is integrated in the Open Document Format for Office Applications. -hwh -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Routing problem ?
Hi, On Sun, 13 Jan 2008 16:42:56 +0530 Holla [EMAIL PROTECTED] wrote: One thing, I cannot understand is the difference in traceroute results. What does this say in plain english ? :-) At PC2 # traceroute 218.248.240.46 (ISP's DNS server) traceroute to 218.248.240.46 (218.248.240.46), 30 hops max, 40 byte packets 1 192.168.2.43 (192.168.2.43) 1.730 ms 0.840 ms 0.920 ms 2 192.168.1.1 (192.168.1.1) 1.440 ms 1.469 ms 1.287 ms 3 * * * 4 * * * At PC1 # traceroute 218.248.240.46 traceroute to 218.248.240.46 (218.248.240.46), 30 hops max, 40 byte packets 1 192.168.1.1 (192.168.1.1) 0.848 ms 0.706 ms 0.681 ms 2 117.192.128.1 (117.192.128.1) 19.712 ms 18.878 ms 19.920 ms 3 218.248.160.134 (218.248.160.134) 19.292 ms 19.796 ms 19.190 ms I'd say your router (Router1) isn't doing NAT for packets from other subnets than it's LAN interface is configured for -- regardless of the (correctly) configured internal additional route. So your option would be to set up PC1 for doing NAT, not necessarily for packets 192.168.2/24-192.168.1/24, but for all packets from 192.168.2/24 going to the internet. Your provider most likely does not have anything to do with all this. -hwh -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] I can't send attachments
Hi, On Sun, 6 Jan 2008 08:12:10 -0600 (CST) Michael Sullivan [EMAIL PROTECTED] wrote: I own espersunited.com, so it is on my end. ...and so should be exim's logs, right? I usually find it easier to read actual error reports than (stripped) configurations for complex software that is claimed to be responsible for the error... Also, I have a hard time trying to understand the problem. A mailbox unavailable shouldn't occur after SMTP's DATA command, it should happen after the RCPT TO (answer code 450). At that point, no data has been transmitted, so the error does not make sense except if it is wrongly phrased by the MUA or (sorry) you. SMTP doesn't allow it at that point. There's only the possibility for much more general error codes. BTW, what's the MUA? You just introduced the MTA. Did you try another one? -hwh -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] I can't send attachments
Hi, On Sun, 06 Jan 2008 11:09:15 -0600 Michael Sullivan [EMAIL PROTECTED] wrote: We use evolution. I tried using Squirrelmail and got this: Message not sent. Server replied: Requested action not taken: mailbox unavailable 550 Rejected: spam score 6.5 Ah, I see. Exim does output a 550 anyway (and it makes some sense, I guess the SMTP protocol definition is impractical w/ regard to the allowed errors). But reading the full error report, it seems it's your spam detection software that leads exim to deny the mail. Your exim config seems to indicate that everything with a spam score 6.0 is to be denied (those numbers in the config are given with a factor of ten, I guess?). Depending on whether the full spam check report is available on the logs, you might want to temporarly disable that mail denial and check the mail headers for the protocol of which certain spam checks leads your spam filter to the conclusion it is spam, then adjust that. -hwh -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] How to find USE flags of a tbz2?
Hi, On Sun, 6 Jan 2008 19:05:18 + (UTC) Konstantinos Agouros [EMAIL PROTECTED] wrote: if an ebuild was executed with --buildpkg, is there an easy way to extract the USE-flags that were in place from the resulting .tbz2? qtbz2 -xO your.tbz2 | qxpak -xO - USE -hwh -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] realtek 8197 wireless card setup
Hi, On Sat, 22 Dec 2007 00:08:26 -0500 Jeff Cranmer [EMAIL PROTECTED] wrote: I think I'm getting closer now. I removed the driver from the kernel, and installed ndiswrapper. I got the inf driver from a guy from realtek, and used ndiswrapper -i drivername.inf to install it. Now, when I run iwlist wlan0 scanning, I can actually see my access point listed, plus lots of other local wireless networks. That's good. It actually receives. connecting to it is a different matter, however, as the connection always appears to time out. I'm using iwconfig to manually set the ESSID, wep key etc. at the moment, and have tried the trick of setting the speed manually to 5.5M to avoid timeouts. When I try to run dhcpcd wlan0 the first time, I get Error, wlan0: timed out The second time I try to run it, I get an error because dhcpcd is already running. Try the minimal approach first and configure it manually using ifconfig/route and ping some host on your network (or the AP if it does IP). If that does not work, there's something wrong with the driver, if it does, the culprit is dhcpcd (vram USE flag?). Start with WEP, if that works switch to WPA. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] realtek 8197 wireless card setup
Hi, On Thu, 20 Dec 2007 18:45:26 -0500 Jeff Cranmer [EMAIL PROTECTED] wrote: The card I have is an 8197, not an 8187. I wonder if this is part of the problem. Could it be that the kernel driver does not support the 8197? [...] At the moment, I think the key line in dmesg is . phy0: RF calibration failed! 0 If I could figure out what this line meant, and what I could do to fix it, I might be on my way to a potential solution. Well, although you managed to bring it to a point where at least the driver recognized the device, there is still the possibility it won't work anyway. My guess here is that the driver does not fully support your device. Probably, some back end mechanics is different. WLAN cards often consist of separate modules, some of them even being small computers running a firmware. I guess at that point your hardware differs from what the driver supports. Did you find indications on the Web that the 8187 driver should work for the 8197? Or did you chose to try based on the similarity of the two numbers? you might also want to try asking on the driver's mailing list. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] realtek 8197 wireless card setup
Hi, I cannot really go into details, but maybe I'm competent enough to make some notes on this: On Wed, 19 Dec 2007 21:47:55 -0500 Jeff Cranmer [EMAIL PROTECTED] wrote: I manually edited the file /usr/src/linux/drivers/net/wireless/rtl8187_dev.c [...] I added the line {USB_DEVICE(0x0bda, 0x8197)}, in the /* Realtek */ area of the structure, then ran make clean, then make make modules_install etc. After rebooting into the modified kernel, I now have iwmaster0 and iwlan0 lines showing up when I type iwconfig. Although that's a good sign, it does not guarantee that the driver fully supports your device. However, the kernel log should now have changed significantly and the driver might now tell you there if it's fully operable. ifconfig showing the correct MAC is also a good sign. As a side note: My suggestion would be to play with the different drivers of wpa_supplicant. DHCP won't work if there's no correct WPA setup anyway. -hwh -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: [Fwd: Re: Gentoo Rules]
On Fri, 14 Dec 2007 21:07:53 -0500, Randy Barlow wrote: 7v5w7go9ub0o wrote: My concerns with this, other than my abilities, are: 1. Showing proper respect to the guy who pioneered the effort to date, and who may simply be out of town. (This disrespect would be alleviated if there was an official policy encouraging volunteer ebuilds.) It's not disrespectful, IMO, to do something that you don't see getting done. Especially since it's less work for another guy. I wouldn't worry about that point. As a developer I agree with that point. It's always better to get bug reports for version bumps or problems that have patches attached to them, or even a simple note saying that you copied the ebuild to the new version and things work fine. This can happen. I've submitted ebuilds for backuppc-3.0.0, and so have many other people. In fact, the bug for it has several ebuilds that have been submitted but haven't made it into the official tree. I think that particular bug report might not be getting attention from the right people or something. That doesn't mean it isn't worth doing though, because people can still use the ebuild from the bug report. Ideally, a dev would see that, check it out for correctness, and add it to ~arch. I guess you are talking about https://bugs.gentoo.org/show_bug.cgi? id=141018 ? It's assigned to maintainer-needed (ie, it is in the tree, but currently no developer is maintaining it). The original maintainer recently retired, so it is now in some sort of limbo. In this case the fallback would be the backup herd (who are listed on the bug), but I know that these folks are understaffed. As you can tell from this we are always looking for more developers. Does anybody know how to call attention to a bug report that doesn't seem to have any devs paying attention to it? I think BackupPC is a fine product, and would like to see it in the tree for others to use. I'm using my own ebuild successfully, as are many of the fine folks who have contributed on that bug report. I'd just like my and others' efforts to be something that benefits more of the Gentoo community :) A possible solution would be for you (or someone) to become a proxy maintainer, meaning that you'd get the bug reports and provide new ebuilds, and a developer (most likely someone from the backup herd) would review it and put it in the tree. Kind regards, Hans -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Gentoo Rules
On Fri, 14 Dec 2007 11:56:41 -0800, Grant wrote: Lately I've been shopping around for other distros as well as looking at *BSD. Gentoo development seems to have slowed way down and I like things being improved as quickly as possible. FreeBSD is supposed to be the closest relation, but even that won't do. I don't think there is anything as satisfying as Gentoo out there. The concept is second to none, the execution of that concept is fantastic, but it needs to keep moving forward. What is the next step? Or should we keep treading water? - Grant I love gentoo and can't settle for anything else. What can I do to make sure development doesn't stop? Let me in on that. What can I do too? There are plenty of things that can be done, depending on what kind of skills you bring with you. And please note that those skills need not be technical in order to help out. Just some things off the top of my head: * participate in the community (e.g. here or in the forums) to help others with Gentoo things * participate on bugs.gentoo.org by adding relevant comments to bugs, trying to fix bugs, providing new ebuilds or patches (and bugday is a good way to get started with that: http://bugday.gentoo.org/) * help out the documentation teams to maintain the current information or create new stuff and possible translate it * help out with Gentoo artwork * help out with the organization of Gentoo stuff such as events and PR * becoming a developer: http://www.gentoo.org/proj/en/devrel/staffing- needs/ * that one thing that you can do really well but that I forgot to list here Feel free to drop me an email off-list if you'd like to discuss what you can do for Gentoo. Kind regards, Hans -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Gentoo Rules
On Sat, 15 Dec 2007 01:05:08 +0100, b.n. wrote: Florian Philipp ha scritto: Other things to improve? A better documentation on USE-flags. In my opinion every maintainer should provide as much information as possible on what exactly a USE-flag changes. At the moment it's the administrator's responsibility to find this out. Not really a good idea on production systems if you ask me ... +1 m. Good news then as a scheme for this has been proposed and partially implemented: http://blog.cardoe.com/archives/2007/11/19/use-flag-metadata/ It was decided in the last council meeting to keep this scheme: http:// www.gentoo.org/proj/en/council/meeting-logs/20071213-summary.txt This only provides the information, it may take some time before user- facing tools (such as euse) expose this information, and obviously developers need to add the information. Kind regards, Hans -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: esound refuses to compile with docbook error even though -doc is specified
On Sat, 01 Dec 2007 15:24:00 -0800, Justin Patrin wrote: # emerge -auv esound These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] media-sound/esound-0.2.38-r1 USE=alsa ipv6 tcpd -debug -doc 0 kB ... Making all in docs make[2]: Entering directory `/var/tmp/portage/media-sound/esound-0.2.38-r1/work/esound-0.2.38/docs' jw -f docbook -b html -o html ./esound.sgml Using catalogs: /etc/sgml/sgml-docbook-3.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html Working on: /var/tmp/portage/media-sound/esound-0.2.38-r1/work/esound-0.2.38/docs/./ esound.sgml jade:/usr/share/sgml/docbook/sgml-dtd-3.1/dbcent.mod:53:65:W: cannot generate system identifier for public text ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN jade:/usr/share/sgml/docbook/sgml-dtd-3.1/dbcent.mod:54:8:E: reference to entity ISOamsa for which no system identifier could be generated jade:/usr/share/sgml/docbook/sgml-dtd-3.1/dbcent.mod:52:0: entity was defined here This has been happening to me for quite some time, I haven't been able to finish updating gnome because of this. As far as I can tell this particular problem can be fixed by re-emerging sgml-common. Kind regards, Hans -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Binhost integrity questions
Hi, On Tue, 27 Nov 2007 10:46:02 +0100 Aniruddha [EMAIL PROTECTED] wrote: Thank you for your answer. I am afraid you go a little to fast for me. What does $ dd if=/dev/urandom of=/tmp/md5src count=512 exactly do? Put 512 blocks of pseudo-random stuff in /tmp/md5src. I think Dan just did just misinterpret your question for something much more basic. In fact, you're specifically asking for portage's binhost configuration, i.e. binary package generation and distribution. I don't think that portage is currently very good at that, especially regarding the configurability of the binary package fetching. If I were you, I'd rather use sshfs or similar in order to give access to the main binary repository and then use emerge -K instead of emerge -g. That way you're somewhat on the safe side. Another option would be to setup the binhost for HTTPS and make the clients aware of the correct cert's public representation. -hwh -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: emerge v gem for rails
On Sat, 24 Nov 2007 05:30:14 +, Thufir wrote: I'm running into some error messages from rails when running script/ generate controller foo and am wondering if it's related to package management, a mismatch between gems and emerge. Do not use gems, use emerge? The wiki is incorrect? I'd consider the wiki in general to be a good first source of information but certainly not accurate. Usually this is because the page is created at some point but not properly maintained or reviewed. In this case the mention of Rails 1.1 and not Rails 1.2 is a dead giveaway that this page is outdated. The gentoo wiki, http://gentoo-wiki.com/HOWTO_RoR, says to: emerge -av sqlite3-ruby gem install sqlite3-ruby You really don't want to do both of these. In fact, emerging the sqlite3- ruby already installs the gem version, so running 'gem install sqlite3- ruby' will at best have no effect and at worst confuse emerge at a later stage. So, it looks like the version of sqlite3-ruby installed matches the instructions at the wiki, but the version number doesn't seem to match what's available through gem; and the wiki specifically states to install the gem. The wiki instructions are non-sense. I guess that this originates from the fact that we install some packages in site-ruby which means that gem dependencies don't always work, aka bug https://bugs.gentoo.org/ show_bug.cgi?id=196036 In this particular case the instruction is nonsense since portage already installs the gem. The error I'm running into may be totally unrelated to this. It seems a bit odd to me that sqlite3-ruby must be emerged through portage and that gem must install it as well -- one or the other would seem to be sufficient. Good thinking. :-) Without showing us the error we can't help you with that, though. Kind regards, Hans -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: ruby gems
Hi, On Thu, 22 Nov 2007 03:20:42 + (UTC) Thufir [EMAIL PROTECTED] wrote: arrakis ~ # eix rails [I] dev-ruby/rails Available versions: (1.1) 1.1.6 ~1.1.6-r1 (1.2) ~1.2.0 ~1.2.1 ~1.2.2 ~1.2.3 Installed versions: 1.1.6(1.1)(18:31:16 11/21/07)(doc fastcgi mysql -postgres sqlite -sqlite3) Besides what you were told already (sync portage to see 1.2.5), you can see above that rails is slotted. So as long as you don't explicitly emerge it, it will keep the 1.1 and 1.2 slots separate and will only update within each of the slots. So if you want 1.2.x, emerge it (and then remove the 1.1 version, if you need/want to). -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Ghostscript - font path
Hi, On Wed, 21 Nov 2007 19:25:48 -0700 Joseph [EMAIL PROTECTED] wrote: gs -h gives me the following font path for Ghostscript Search path: [...] Where these paths are coming from? Compiled into the binary? According to documentation: /usr/share/doc/ghostscript-esp-8.15.3/html/Use.htm The documentation only mention Xfree86 display servers but I would imagine is it is applicable to Xorg as well. So, the fonts path from xorg.conf should be searchable by Ghostscript as well but they are not. Hm? What makes you think so? BTW, X11 output is just one driver in Ghostscript. It doesn't have to be present at all. So the connection between GS and X is only a thin line... Ghostscript doesn't know anything about them; as one of the pdf document was giving me an error, I couldn't convert from pdf2ps it was looking for: gbsn00lp.ttf font I have this font in /usr/share/fonts/arphicfonts/ Only when I created a link in: /usr/share/fonts/default/ghostscript/ ln -s /usr/share/fonts/arphicfonts/gbsn00lp.ttf gbsn00lp.ttf to this font it converted from pdf2ps Yes, might happen. But it is common sense that you should embed all needed fonts into the PDF anyway. For older versions of PDFs there was an exception for the Base14 fonts, and those are (by means of replacement versions) accessible from GS' own font store (the path you said is present and works). You never know at a later point in time whether you have the right font, with the right encoding: even if the name matches you can't be sure. Shouldn't gs -h show list of path fonts from xorg.conf file? No. If you run it that way, there's no X needed anyway. And gs -h should just show what is configured. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Ghostscript - font path
Hi, On Thu, 22 Nov 2007 10:13:50 -0700 Joseph [EMAIL PROTECTED] wrote: gs -h gives me the following font path for Ghostscript Search path: [...] Where these paths are coming from? Compiled into the binary? Not a good solution but, it would be better if we input the path via a config file. Of course, this is only the basic configuration. You can override this by configuration file or even environment variable (so you can set it up in your .bashrc). The environment variable is GS_FONTPATH. See the use.html document you've already found, it should be explained there. Also have a look at /usr/share/ghostcript/ver/lib/Fontmap.GS, but I don't suggest editing it as it will get overwritten by updates. I'm not sure ATM if there's a standard path for overrides in GS, maybe someone else can comment about this. By the way: the X server probably doesn't know of all fonts either. Take into account that a lot of programs nowadays use fontconfig, which is configured in /etc/fonts. Yes, this is a bit convoluted. Yes, might happen. But it is common sense that you should embed all needed fonts into the PDF anyway. For older versions of PDFs there was an exception for the Base14 fonts, and those are (by means of replacement versions) accessible from GS' own font store (the path you said is present and works). You never know at a later point in time whether you have the right font, with the right encoding: even if the name matches you can't be sure. I think this is the clue. Well, if I generate the PDF file on Linux the fonts are embedded in every PDF document when I received the file from somebody else the fonts most of the time are not embedded. Yeah, that's the culprit if you have to use other peoples' documents... I have one document I received (pdf file) it printed fine two weeks ago; when I try to re-printed it I can not, and I know it is a font problem: egsample when I run pdf2ps file.pdf I get: Warning: Fonts with Subtype = /TrueType should be embedded. But TimesNewRomanPSMT is not embedded. Warning: Fonts with Subtype = /TrueType should be embedded. But TimesNewRomanPS-BoldMT is not embedded. Warning: Fonts with Subtype = /TrueType should be embedded. But ArialMT is not embedded. Ghostscript should mostly be able to recover from those warnings and use replacement fonts here. You might also want to give acroread a try (it has command line options to generate Postscript, IIRC) or pdftops (from poppler/Xpdf). How can they configure their system on Windows so the fonts are embedded? That's hard to tell, and certainly depends on the production chain. For most ways of generating PDF on Windows, there is a configuration option where it is to be expected. I.e. in the printer settings for a PDF-printer style generator, in the save as options for programs saving to PDF natively and so on. What puzzle me is that this document printed fine two weeks ago and all of a sudden I'm getting an error so I'm looking for a fault on my end. Did you do an emerge -u by chance? (Of course, this isn't a fault, but might be the cause, and then, I'd consider it a bug) OTOH, I think most ESP specific code is now in the main development line (ghostscript-gpl). You might want to try this out... The newest release is 8.61 -- released yesterday -- and is not yet in portage. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Ghostscript - font path
Hi, oops, wrote too long. So here's the follow-up: On Thu, 22 Nov 2007 10:42:54 -0700 Joseph [EMAIL PROTECTED] wrote: Where do you put GS_FONTPATH= I was trying to put it in .bashrc (re-log) didn't work; in /etc/profile env-update source /etc/profile export GS_FONTPATH=/usr/share/fonts/misc:/usr/share/fonts/75dpi:/usr/share/fonts/100dpi:/usr/share/fonts/Speedo No difference, gs -h doesn't show these paths. I don't think it will ever do. It is supposed to just show compiled-in paths, so that you can see what the defaults are. I would set that variable just like you did -- and then give pdf2ps a try. BTW, all paths you have specified are related to bitmap fonts, which Ghostscript will most probably not be able to make any sense of. You should probably rather focus on the corefonts (Microsoft fonts) and TrueType/TTF/Type1 folders. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] grub hell
Hi, On Wed, 14 Nov 2007 08:25:50 + Mick [EMAIL PROTECTED] wrote: I know the drive is OK cause it boots when the boot order in the BIOS starts with the first drive. Grub *should* be able to see what BIOS sees, but clearly this is not the case here. Have you tried reinstalling Grub in the MBR? That most likely won't help since what's installed there only stages the real grub binaries which will be most likely the same ones. From what maxim wrote so far it really looks like the BIOS moves the entry for the HD on the first controller out of sight somehow. So probably the BIOS feature of booting off the second controller is the problem here. We can't solve this on the level of grub or the OS, so the only option seems to be to properly install grub to the first HD. I would start with a grub floppy disk or boot CD(-RW) and look what devices that sees when booting. In order to have grub list disks, you enter root ( and press TAB. The same goes for partitions after the setting device and a comma (e.g. (hd0, + TAB). If all devices are seen, then set root (as indicated above) to the partition holding the grub stages (i.e. partition of /boot in Gentoo or /lib/grub/i386-pc/). Then have grub write the MBR using setup (hd0). Note that this will overwrite the Windows MBR, which will make it unbootable at that point. So better before doing that -- from Linux -- backup the MBR: dd if=/dev/hda of=/backup-mbr-hda bs=512 count=1 so you can write it back later. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] grub hell
Hi, On Wed, 14 Nov 2007 13:27:49 -0800 (PST) maxim wexler [EMAIL PROTECTED] wrote: the only option seems to be to properly install grub to the first HD. grub-install /dev/hda renders the PC completely unusable Hm, yeah, that's why I generally distrust running grub from within an booted OS: You can't be sure that the setting is anywhere near what happens before the OS got loaded (e.g. no ACPI kicking in yet, BIOS disk drivers...). I would start with a grub floppy disk or boot CD(-RW) and look what Both drives are bootable provided I make a detour to the BIOS and change the boot order. Somehow I suspect that the BIOS gets something wrong when you change the boot order. But that's just a suspicion. So my suggestion was to change it to default (first HD first). Then check from a grub running from floppy or CDRW what that can see. So you can try if my suspicion is wrong, what might well be the case: That grub (from floppy or CD) will only see one drive, too, if I'm wrong. Otherwise you know that I was probably right and your only option then is to leave the BIOS boot order untouched. devices that sees when booting. In order to have grub list disks, you dmesg reports ALL drives and appropriate partitions. But that is what _Linux_ sees. Linux has its own drivers, working completely independent from what the BIOS was doing before -- and that's what a grub (at boot stage) has to rely on. So Linux' output only tells us that generally: - your drives are OK, the cabling too. - your controllers are working. But we need to make sure the BIOS initializes everything right. It might not do so if boot order is changed (and from a certain point of view, that might actually be a feature). enter root ( and press TAB. The same goes for partitions after the setting device and a comma (e.g. (hd0, + TAB). Now this is really wierd. When I'm at the prompt using the grub that appears when the PC boots, ie when the second drive is given preference in BIOS, tab completion reports only a string of fdn's followed by hd0. But, when having booted and logged in, I issue the grub command, tab completion reports possible disks as hd0 and hd1 as it should. And it correctly sees the unknown partition on /dev/hda and the four linux partitions on /dev/hdc. But that's with device.map like so: (fd0) /dev/fd0 (hd0) /dev/hda (hd2) /dev/hdc ^!?!? It might be that the second HD is just (hd1). Grub doesn't necessarily follow the kernel way of enumeration. But then again, don't rely on what grub tells when run with an loaded OS. If all devices are seen, then set root (as indicated above) to the partition holding the grub stages (i.e. partition of /boot in Gentoo or /lib/grub/i386-pc/). Then have grub write the MBR using setup (hd0). Note that this will overwrite the Windows MBR, which will make it unbootable at that point. So better OK, this throws me. Isn't it supposed to be bootable? Oh, the Windows MBR is just giving control to the boot block of the partition holding Windows, which itself then stages ntldr. So when I said it'll make it unbootable, I was talking about the Windows MBR. Grub should run anyway nevertheless, and then it should be able to give control to the Windows partition boot block -- but I was just giving a warning that what definately happens is that the Windows MBR is gone. There's more... I followed the instructions here: http://gentoo-wiki.com/HOWTO_Dual_Boot_from_Windows_Bootloader_(NTLDR)_and_why And, provided I'm booting from /dev/hda, I'm presented with two choices, Gentoo and XP. XP boots OK but gentoo halts at: GRUB Loading stage1.5 GRUB loading, please wait... Error 21 even though the boot routine is identical to the one that WORKS when the second drive is given boot preference. Personally, I don't see much difference, this approach shares similar problems. Apropos problem, error 21 is Selected disk does not exist. I think it might have happened because you probably switched drive order again when doing the Linux based steps descibed in the link you've give. When the MBR is written, it stores references to the stage files. They might point to an invalid location if you change the boot order back again. That's what I think why you're seeing this error. Grub can perfectly from a floppy disk. See info grub (the full grub documentation, the man page is crap) in order to learn how to create a grub floppy disk (or CD/R(W)). You will then be able to set the BIOS boot order to default and see what a freshly booted grub sees then. From within the grub booted this way, you can order grub to setup itself to an MBR or boot block. Basically, you have to set root, then issue setup. The first takes the device of the stage files as argument, the latter the target disk (or partition). After being through this grub hell, at least will have learnt a lot about broken BIOSes and different boot stages of today's PC
Re: [gentoo-user] {OT} method for graphing server stuff?
Hi, On Thu, 8 Nov 2007 08:02:58 -0800 Grant [EMAIL PROTECTED] wrote: I was thinking it would be pretty handy to generate a series of transposed (or not) graphs for data like cpu usage, mysql usage, memory usage, external monitoring response times, http traffic, etc. My external monitoring service has an API I can hook into and http traffic is logged to mysql so I'm thinking I have good access to the data, but I need a way to tie it all together into a useful presentation. Is there a good package for this? I think net-analyzer/rrdtool will probably come close to this. It's used by many other solutions, so you'll find a lot of examples on the Web. +1 to rrdtool. At my company, we set up rrdtool to graph 100's of graphs per day on all sorts of data from different sources. It's very customisable, if you want to spend the time on it. I also found the creator and forum very supportive. Is it difficult to plug in data from sources different sources? That depends on the difficulty to aquire this data. rrdtool is basically a database which allows round-robin storage (old data times out) combined with some statistical abilities -- and also has a graphing component. It's your job to e.g. set up cron jobs or daemons which feed the data into it. You would create databases for each monitored entity (or group of entities for the same concept) and then write data into it. Then, on the other side, you could e.g. call it to create graphs that are being served via CGI, written to the desktop, whatever. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] {OT} method for graphing server stuff?
Hi, On Wed, 7 Nov 2007 09:24:35 -0800 Grant [EMAIL PROTECTED] wrote: I was thinking it would be pretty handy to generate a series of transposed (or not) graphs for data like cpu usage, mysql usage, memory usage, external monitoring response times, http traffic, etc. My external monitoring service has an API I can hook into and http traffic is logged to mysql so I'm thinking I have good access to the data, but I need a way to tie it all together into a useful presentation. Is there a good package for this? I think net-analyzer/rrdtool will probably come close to this. It's used by many other solutions, so you'll find a lot of examples on the Web. -hwh -- [EMAIL PROTECTED] mailing list