Re: [gentoo-user] LINGUAS
It's the official (as far as there is such a thing) place to store the list of gettext translations you want on your system, and most autotools-based builds and binary package managers also recognize it. I didn't know that. Thanks for clarifying! andrea
Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
Peter Humphrey wrote: On Thursday 19 August 2010 21:21:20 Kevin O'Gorman wrote: So I looked up auto-hinter in the flagedit(1) program. It says: auto-hinter: Local Flag: Use the unpatented auto-hinter instead of the (recommended) TrueType bytecode interpreter (media- libs/freetype) The placement of the (recommended) is just a bit ambiguous. No, it isn't. You may be being confused by the unnecessary inclusion of brackets (parentheses if you're American); remove them and you see that the TrueType byte-code interpreter is recommended. Or, just consider the phrase the recommended TrueType bytecode interpreter, with or without brackets. I can't see how that could be thought ambiguous. Well Peter is not alone. I saw that a week or so ago and I couldn't figure out what the heck any of it meant. Sort of reminds me of what euse -i gives me, Greek or may as well be anyway. Most of them doesn't make much sense unless you already know what they are, then you have no need to look. I usually go to the forums and search around to see what things mean. I just forgot to do that in this case. So, all that said, what the heck are we supposed to change here? Dale :-) :-)
Re: [gentoo-user] removing an overlay
Apparently, though unproven, at 06:25 on Friday 20 August 2010, Alan Warren did opine thusly: Hello, I've just sync'd my machine, and realized I'm pulling in a few packages from the devnull overlay that I would rather not. freetype / fontconfig / cairo for example and it's causing some conflicts when I try to update (-auvND world). I mainly use devnull for uzbl, dmenu, and my window manger awesome, as they tend to have the latest versions. If I remove devnull, will these packages continue being maintained by portage? I don't mind getting these packages from portage if it means less hassle when I update, but the docs suggest that I remove every package that I've installed from devnull before moving forward. This seems like a tremendous hassle, but perhaps there's a one-shot command for doing this? I'm surprised packages in overlays take precedence over portage. Is there any way to get a single package from an overlay without taking everything ? Kind regards, -Alan There's no one-shot command because it's a series of actions. layman - devnull emerge -av1 list of stuff from devnull portage won't nuke your packages just because you remove the overlay, it still has the ebuild locally. portage will only update them once the version in portage is greater than the version you got from the overlay. emerge -pv @installed will then show packages you do not have ebuilds for (amongst other useful info) with portage-2.2*. You can then decide what you want to do about those missing packages. -- alan dot mckinnon at gmail dot com
[gentoo-user] CANNOT IMPORT HTTP.CLIENT
Hi, today, when emerging dev-libs/openssl-0.9.8o-r2, which is needed for nxssh, I've got the message !!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection Does anybody have an idea what that means? Thanks for a hint, Helmut.
Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
On Fri, 20 Aug 2010 02:20:09 -0500, Dale wrote: So, all that said, what the heck are we supposed to change here? Nothing, unless you're using the bindist USE flag, in which case you should replace it by auto-hinter. All that's happened is that control of that feature has passed from one USE flag to another, because of a licensing change. -- Neil Bothwick The world is a tragedy to those who feel, but a comedy to those who think.(Horace Walpole) signature.asc Description: PGP signature
Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
On Fri, 20 Aug 2010 00:38:10 +0100, Peter Humphrey wrote: No, it isn't. You may be being confused by the unnecessary inclusion of brackets (parentheses if you're American); If you're British too: Defined usage: () parentheses [] brackets {} braces General usage: () brackets [] square brackets {} curly brackets I'll let you decide which is the more intuitive usage. -- Neil Bothwick Half of being smart is knowing what you're dumb at. signature.asc Description: PGP signature
Re: [gentoo-user] removing an overlay
On Thu, 19 Aug 2010 23:25:12 -0500, Alan Warren wrote: I'm surprised packages in overlays take precedence over portage. Is there any way to get a single package from an overlay without taking everything ? An overlay has to take precedence, otherwise putting a fixed ebuild in your local overlay will have no effect. Is there any way to get a single package from an overlay without taking everything ? What I do it ad the overlay with layman, so it is kept up to date, but don't add it to make.conf. Then I symlink the packages I want from that overlay to my local overlay. -- Neil Bothwick You are about to give someone a piece of your mind, something you can ill afford... signature.asc Description: PGP signature
Re: [gentoo-user] Still Struggling With Wireless
On Tue, 17 Aug 2010 22:49:23 +, CJoeB wrote: More than anything, I am acknowledging this response. My understanding is that Wicd requires wpa-supplicant. I don't know that I'm ready to try to tackle the setup of wpa-supplicant - it's supposed to be harder (it looks harder from what I have read) to configure than wireless-tools Wicd require wpa_supplicant because that's what it uses, not you. Wicd does all the hard work, you just give it the password etc. and let it get on with things. -- Neil Bothwick We can't solve problems by using the same kind of thinking we used when we created them. (Albert Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] CANNOT IMPORT HTTP.CLIENT
On 08/20/10 09:35:06, Helmut Jarausch wrote: Hi, today, when emerging dev-libs/openssl-0.9.8o-r2, which is needed for nxssh, I've got the message !!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection Does anybody have an idea what that means? Thanks for a hint, Helmut. It seems something is broken in Python and or bzr, e.g. in an overlay build for cuneiform I get Unpacking source... [32;01m*[0m bzr update start -- [32;01m*[0mrepository: lp:cuneiform-linux bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'HTTPSConnection' Re-emering dev-vcs/bzr didn't help. Thanks for any hint, Helmut.
Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
Neil Bothwick wrote: On Fri, 20 Aug 2010 02:20:09 -0500, Dale wrote: So, all that said, what the heck are we supposed to change here? Nothing, unless you're using the bindist USE flag, in which case you should replace it by auto-hinter. All that's happened is that control of that feature has passed from one USE flag to another, because of a licensing change. Oh. Why didn't they just say that then? :-) if using bindist USE flag please change over to auto-hinter unless you have a good reason not to switch. See, I like it simple. I can understand that. Change over unless you know a really good reason not too. My note: changed USE flag in make.conf. Done. Thanks. Dale :-) :-)
Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
Apparently, though unproven, at 10:03 on Friday 20 August 2010, Neil Bothwick did opine thusly: On Fri, 20 Aug 2010 00:38:10 +0100, Peter Humphrey wrote: No, it isn't. You may be being confused by the unnecessary inclusion of brackets (parentheses if you're American); If you're British too: Defined usage: () parentheses [] brackets {} braces General usage: () brackets [] square brackets {} curly brackets I'll let you decide which is the more intuitive usage. The former, obviously. Stuff has names, people should learn the names. Arrogant jerk on second floor with a beard and no head hair is definitely more intuitive to my new staff, but for anyone here longer than a week it is far simpler to just use the name of the thing instead of some description, and refer to me as Alan -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Problem with revdep-rebuild
Hi all! Thanks to your beautiful support, I solved my issue! Again, as usual, I've to send my compliments to this mailing list: every time I've a problem here there is someone that tries to help me (and usually solves my problems)! Moreover, simply reading the ML I always learn new commands that reduces my needs to bother you here! Thank you all! You are just great! (can't say the same of other distribution's mailing lists ) Massimiliano On Tue, Aug 17, 2010 at 12:21 PM, Jake Moe jakesaddr...@gmail.com wrote: On 08/16/10 19:47, Massimiliano Ziccardi wrote: Some new people think it knows where things come from even if it is not installed. It can't do that so I posted that in case the person didn't know. Well, I'm not very expert about gentoo... I though it would query some kind of database to ask what package contains a certain file Now I know it works differently... It would be neat if it could do that tho. Just have no idea how it could. ;-) I think querying an online database could be a nice solution. Thanks! On Mon, Aug 16, 2010 at 11:38 AM, Dale rdalek1...@gmail.com wrote: Peter Humphrey wrote: On Monday 16 August 2010 09:13:29 Dale wrote: Massimiliano Ziccardi wrote: # equery belongs /usr/lib/libxfce4util.lahttp://libxfce4util.la [ Searching for file(s) /usr/lib/libxfce4util.la http://libxfce4util.la in *... ] # Equery doesn't give any results because it is not installed. If it weren't installed it wouldn't be able to announce what it was searching for and where :-) Some new people think it knows where things come from even if it is not installed. It can't do that so I posted that in case the person didn't know. Then I posted a way to find out even if a package is not installed. I didn't know about that website until someone pointed it out to me many ages ago. It would be neat if it could do that tho. Just have no idea how it could. ;-) Dale :-) :-) Yeah, sorry, I only included that equery belongs bit last time to show that it was installed on my system, and that the libxfce4util package installed it. I didn't mean to say you should look for it there; it's not going to find it, as has been pointed out before. My only point was that emerging libxfce4util *should* have installed that file; since it didn't, I would assume you need to look at that emerge process to find out why; either it's not building it for some reason, or not installing it after it's been built. Jake Moe
Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
Apparently, though unproven, at 01:38 on Friday 20 August 2010, Peter Humphrey did opine thusly: On Thursday 19 August 2010 21:21:20 Kevin O'Gorman wrote: So I looked up auto-hinter in the flagedit(1) program. It says: auto-hinter: Local Flag: Use the unpatented auto-hinter instead of the (recommended) TrueType bytecode interpreter (media- libs/freetype) The placement of the (recommended) is just a bit ambiguous. No, it isn't. You may be being confused by the unnecessary inclusion of brackets (parentheses if you're American); remove them and you see that the TrueType byte-code interpreter is recommended. Or, just consider the phrase the recommended TrueType bytecode interpreter, with or without brackets. I can't see how that could be thought ambiguous. The parenthesis is actually correct as the recommendation is just an aside comment in this context. The sentence expands to: instead of the TrueType bytecode interpreter (TrueType is the recommended interpreter to use btw) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
On Fri, 20 Aug 2010 11:01:50 +0200, Alan McKinnon wrote: Arrogant jerk on second floor with a beard and no head hair is definitely more intuitive to my new staff, but for anyone here longer than a week it is far simpler to just use the name of the thing instead of some description, and refer to me as Alan I thought you were talking about me until I realised I was reading it downstairs :) -- Neil Bothwick Hm..what's this red button fo|'».'NO CARRIER signature.asc Description: PGP signature
Re: [gentoo-user] glibc-2.12.1
Apparently, though unproven, at 19:28 on Thursday 19 August 2010, Neil Bothwick did opine thusly: On Thu, 19 Aug 2010 17:55:02 +0200, Alan McKinnon wrote: Besides, if I don't give them some form of responsibility they will never become responsible. Unfortunately, the converse is not necessarily true :( Yes, but the assertion that there is an HR department where I will send them after they demonstrate incompetence IS true :-) I'd rather fix occasional controllable cock-ups rather than frequent uncontrollable ones -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Still Struggling With Wireless
Wicd require wpa_supplicant because that's what it uses, not you. Wicd does all the hard work, you just give it the password etc. and let it get on with things. What is hard with wpa_supplicant? It is just three lines: wpa_passphrase ssid [passphrase] /etc/wpa_supplicant.conf wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant.conf -B dhcpcd But I already hinted to this. Al
[gentoo-user] why emerge --config don't work
Hi there, why this command don't work in zsh: / Installing (1 of 1) sys-apps/tomoyo-tools-2.2.0_p20090727 * Execute the following command to setup the initial policy configuration: * * emerge --config =sys-apps/tomoyo-tools-2.2.0_p20090727 * * For more information, please visit the following. * * http://tomoyo.sourceforge.jp/ Recording sys-apps/tomoyo-tools in world favorites file... Auto-cleaning packages... No outdated packages were found on your system. * GNU info directory index is up-to-date. [r...@sakurazukamori /usr/src/linux]$ emerge --config =sys-apps/tomoyo-tools-2.2.0_p20090727 9:44 zsh: sys-apps/tomoyo-tools-2.2.0_p20090727 not found [r...@sakurazukamori /usr/src/linux]$ bash / But work in bash... signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
On 08/19/2010 04:38 PM, Peter Humphrey wrote: On Thursday 19 August 2010 21:21:20 Kevin O'Gorman wrote: So I looked up auto-hinter in the flagedit(1) program. It says: auto-hinter: Local Flag: Use the unpatented auto-hinter instead of the (recommended) TrueType bytecode interpreter (media- libs/freetype) The placement of the (recommended) is just a bit ambiguous. No, it isn't. You may be being confused by the unnecessary inclusion of brackets (parentheses if you're American); remove them and you see that the TrueType byte-code interpreter is recommended. Or, just consider the phrase the recommended TrueType bytecode interpreter, with or without brackets. I can't see how that could be thought ambiguous. I have to agree it's ambiguous. You have to wonder why the parenthetical recommended is offset if it's just part of the sentence. If it were as you say, there would be no need to put them there. As it is written it sounds like it's making an aside claiming that one of them is recommended and, by its placement, it's hard to discern its antecedent. That's my first impression. And I'm sticking to it.
Re: [gentoo-user] removing an overlay
Excellent. thank you. Both responses are very helpful. Alan On Fri, Aug 20, 2010 at 3:06 AM, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 19 Aug 2010 23:25:12 -0500, Alan Warren wrote: I'm surprised packages in overlays take precedence over portage. Is there any way to get a single package from an overlay without taking everything ? An overlay has to take precedence, otherwise putting a fixed ebuild in your local overlay will have no effect. Is there any way to get a single package from an overlay without taking everything ? What I do it ad the overlay with layman, so it is kept up to date, but don't add it to make.conf. Then I symlink the packages I want from that overlay to my local overlay. -- Neil Bothwick You are about to give someone a piece of your mind, something you can ill afford...
[gentoo-user] Re: CANNOT IMPORT HTTP.CLIENT
On 08/20/2010 12:35 AM, Helmut Jarausch wrote: Hi, today, when emerging dev-libs/openssl-0.9.8o-r2, which is needed for nxssh, I've got the message !!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection The class HTTPSConnection is defined in httplib.py, which is part of python itself. I wonder if your python is installed with the ssl useflag set? Are you using python2 and python3 on the same machine, maybe?
[gentoo-user] libacl mess
I finally got back to updating my netbook, in which I installed Gentoo a few months ago. I came across the packages 'acl' 'attr', which are not installed in my regular desktop machine for which 'equery d' showed nothing actually dependent ('emerge -cpv' doesn't work with the earlier Portage in the netbook). So I uninstalled them quickly discovered that Coreutils was borked; not only that, but 'emerge anything' fails because it can't find /usr/lib/libacl.so.1 . I downloaded the latest Stage 3 for 'i686' into my desktop machine, unpacked it in a spare dir copied the resulting 'libacl' files to the netbook, recreating there the symlink 'libacl.so.1'. Now 'emerge' complains that the 'libacl.so.1' ELF header is invalid. The next step seems to be to unpack the whole Stage 3 tarball in the netbook's / dir see what happens. After that, a full reinstall. No, my desktop machine doesn't need 'acl' for its more recent 'coreutils'. Yes, i know about 'busybox', but 'emerge' can't use that. No, I can't 'emerge --sync', which fails as above. Yes, I tried 'USE=-acl emerge coreutils', which also fails as above. Any advice which might save me further time + anguish wb very welcome. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] Kernel questions
On 08/19/2010 08:44 AM, Florian Philipp wrote: Am 18.08.2010 21:30, schrieb Elmar Hinz: 1.) Is there a Map: modules to configration parameters? lspci -k lists me all modules of the running genkernel. Unfortunately the configuration parameters of the kernel have different names. 2.) Which approach would you recommend? With new enough kernel sources (gentoo-sources in stable are good enough), there is `make localmodconfig` which removes all mods from your current .config which are not loaded. There is also `make localyesconfig` which does the same but doesn't create modules. Al, if you look in the README file in the top of the kernel tree, there's a very good section with explanations about the various kernel configuration options available for make. I find it amazing, though, that even if I copy my old .config, it still takes me so much time to make sure all the settings are correct for a given machine. Hasn't anyone come up with a handy look-through-my-lspci-output-and-create-a-skeleton-kernel-config tool? Or does it already exist and we just call him Pappy?
Re: [gentoo-user] why emerge --config don't work
Zhu Sha Zang writes: Hi there, why this command don't work in zsh: [...] [r...@sakurazukamori /usr/src/linux]$ emerge --config =sys-apps/tomoyo-tools-2.2.0_p20090727 9:44 zsh: sys-apps/tomoyo-tools-2.2.0_p20090727 not found Interesting. Looks like zsh treats a '=' character specially. I don't use zsh, so I don't know why this is. Seems like it does something similar to the bash builtin 'type': weird% echo =find /usr/bin/find Your command works, when the = is escaped by a \, or when the stuff is quoted. Wonko
Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
On Friday 20 August 2010 09:03:46 Neil Bothwick wrote: Defined usage: () parentheses [] brackets {} braces Defined? Defined where? In English*, a parenthesis is a separate expression** marked off from the rest of the sentence with brackets. Round ones, that is. A parenthesis is not a punctuation mark, unless you want to be loose and informal about it. * This is what I learned at school, it accords with all my experience so far except in American fora, and I see no need to change my understanding. ** Thus becoming a parenthetical expression. I'll get off my soapbox now... :-) -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] libacl mess : further thoughts
100820 Philip Webb wrote: The next step seems to be to unpack the whole Stage 3 tarball in the netbook's / dir see what happens. After that, a full reinstall. Further examination of what's in Stage 3 + review of my detailed notes from installation last year suggest that the correct attempt wb to unpack the tarball somewhere temporary, then copy /bin /lib /sbin /usr /var into the existing set-up; also to unpack the latest Portage snapshot into /usr/portage ; after that, copy carefully selected parts of /etc . After all, I do have a working kernel + system configuration, which is partly what needs to be created during a basic install. Of course, if there's a simpler method anyone can suggest, I wb thankful. Can anyone explain why it's choking on the ELF header ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] why emerge --config don't work
On 20 août 2010, at 16:50, Alex Schuster wrote: weird% echo =find /usr/bin/find Your command works, when the = is escaped by a \, or when the stuff is quoted. I don't use zsh, but a little of google's magic[1] shows: A command name with a = prepended is replaced with its full pathname. This can be very convenient. If it's not convenient for you, you can turn it off: % ls =foo=bar % ls =foo =bar zsh: foo not found % setopt noequals % ls =foo =bar =foo=bar [1] http://zsh.sourceforge.net/Intro/intro_7.html - Florian. / For security reasons, all text in this mail is double-rot13 encrypted. /
Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
On Friday 20 August 2010 14:20:35 Bill Longman wrote: On 08/19/2010 04:38 PM, Peter Humphrey wrote: On Thursday 19 August 2010 21:21:20 Kevin O'Gorman wrote: So I looked up auto-hinter in the flagedit(1) program. It says: auto-hinter: Local Flag: Use the unpatented auto-hinter instead of the (recommended) TrueType bytecode interpreter (media- libs/freetype) The placement of the (recommended) is just a bit ambiguous. No, it isn't. You may be being confused by the unnecessary inclusion of brackets (parentheses if you're American); remove them and you see that the TrueType byte-code interpreter is recommended. Or, just consider the phrase the recommended TrueType bytecode interpreter, with or without brackets. I can't see how that could be thought ambiguous. I have to agree it's ambiguous. You have to wonder why the parenthetical recommended is offset if it's just part of the sentence. If it were as you say, there would be no need to put them there. As it is written it sounds like it's making an aside claiming that one of them is recommended and, by its placement, it's hard to discern its antecedent. Its placement puts it squarely with the noun phrase following it. To associate it with the preceding one instead would be perverse. (Just to continue flogging a dead horse...) :-) I agree though that the brackets are neither necessary nor helpful. -- Rgds Peter. Linux Counter 5290, 1994-04-23.
Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
On 08/20/2010 07:58 AM, Peter Humphrey wrote: On Friday 20 August 2010 14:20:35 Bill Longman wrote: On 08/19/2010 04:38 PM, Peter Humphrey wrote: On Thursday 19 August 2010 21:21:20 Kevin O'Gorman wrote: So I looked up auto-hinter in the flagedit(1) program. It says: auto-hinter: Local Flag: Use the unpatented auto-hinter instead of the (recommended) TrueType bytecode interpreter (media- libs/freetype) The placement of the (recommended) is just a bit ambiguous. No, it isn't. You may be being confused by the unnecessary inclusion of brackets (parentheses if you're American); remove them and you see that the TrueType byte-code interpreter is recommended. Or, just consider the phrase the recommended TrueType bytecode interpreter, with or without brackets. I can't see how that could be thought ambiguous. I have to agree it's ambiguous. You have to wonder why the parenthetical recommended is offset if it's just part of the sentence. If it were as you say, there would be no need to put them there. As it is written it sounds like it's making an aside claiming that one of them is recommended and, by its placement, it's hard to discern its antecedent. Its placement puts it squarely with the noun phrase following it. To associate it with the preceding one instead would be perverse. (Just to continue flogging a dead horse...):-) Yet you yourself just put a parenthetical aside after its antecedent, not before it. Double flog. Double :-). I agree though that the brackets are neither necessary nor helpful.
Re: [gentoo-user] Still Struggling With Wireless
On 18 August 2010 03:56, CJoeB colleen.bea...@gmail.com wrote: Haven't tried this yet - just got the e-mail and it's almost 11:00 p.m. and time for me to hit the sack. However, I wanted to point this out. This test was copied from dmesg. Unless, I am misreading this, it looks like the driver is working. The problem is connecting to an access point. If my interpretation is wrong, let me know. iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in -tree:s iwl3945: Copyright(c) 2003-2010 Intel Corporation iwl3945 :0c:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17 iwl3945 :0c:00.0: setting latency timer to 64 iwl3945 :0c:00.0: Tunable channels: 11 802.11bg, 13 802.11a channels iwl3945 :0c:00.0: Detected Intel Wireless WiFi Link 3945ABG iwl3945 :0c:00.0: irq 29 for MSI/MSI-X phy0: Selected rate control algorithm 'iwl-3945-rs' This shows that your driver is working. Can you please run 'iwlist wlan0 scan' and 'iwconfig wlan0' and show us the results? The former should include your access point and the latter should show that your wireless card has associated with it. Meanwhile, your /etc/conf.d/net does not show a passphrase and it seems to be confusing wireless tools and wpa. What encryption are you using?/Are you using encryption? -- Regards, Mick
Re: [gentoo-user] Re: CANNOT IMPORT HTTP.CLIENT
On 08/20/10 15:43:20, walt wrote: On 08/20/2010 12:35 AM, Helmut Jarausch wrote: Hi, today, when emerging dev-libs/openssl-0.9.8o-r2, which is needed for nxssh, I've got the message !!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection The class HTTPSConnection is defined in httplib.py, which is part of Thanks, it turned out to be an openssl problem introduced by the recent dev-libs/openss-1.0.0a-r2 which disables ssl support in Python itself. Helmut.
Re: [gentoo-user] Re: emerge 32bits on 64bits platform
* Nikos Chantziaras rea...@arcor.de wrote: Welcome to hell. No, that's possible, as others pointed out. There was an initiative to bring true multilib to Gentoo a year or so back (maybe more) but it seems it died and no one's working on it. For your browser this is probably not so problematic. But imagine someone running the latest graphics stack (libdrm, mesa, etc.) on his 64bit machine, but its totally useless because proprietary Linux games are 32bit and thus won't run. The problem here is that this essentially means having two systems in one, 32bit and a 64bit one. To make it really clean, we'd actually need two separate installations (eg. using jails). But that makes administration quite complex. Perhaps portage could be extended to support a concept of subsystems, which are fully self-conftained for the runtime stuff only (but no portage, toolchains, etc). Everything that's not required for booting and building (so, the essential base-packages) is now sitting within a subsystem (maybe that's even a jail). Each subsystem of course also has its own /var/db/pkg etc (maybe even own /etc/portage stuff). Portage would now compute an internal portage tree for all subsystems using namespaces. The actual build then runs in an sysroot environment for the actual subsystem. Let's take an example: mc On an fresh system, `emerge -peqt app-misc/mc` looks like this: [ebuild N] app-misc/mc-4.7.0.3 USE=edit gpm -X -nls -samba -slang [ebuild N] sys-libs/gpm-1.20.5 USE=(-selinux) [ebuild N] app-arch/xz-utils-4.999.9_beta USE=threads -nls -static-libs [ebuild N] dev-libs/glib-2.24.1-r1 USE=-debug -doc -fam -hardened (-selinux) -xattr [ebuild N] sys-devel/gettext-0.17-r1 USE=-acl -doc -emacs -nls -nocxx -openmp [ebuild N] dev-util/gtk-doc-am-1.15 [ebuild N]app-text/docbook-xml-dtd-4.3-r1 [ebuild N]dev-libs/libxslt-1.1.26 USE=-crypt -debug -python [ebuild N] dev-libs/libxml2-2.7.7 USE=-debug -doc -examples -ipv6 -python -readline -test [nomerge ] app-text/docbook-xml-dtd-4.3-r1 [ebuild N] app-text/sgml-common-0.6.3-r5 [ebuild N] app-arch/unzip-6.0-r1 USE=bzip2 -unicode [nomerge ] app-misc/mc-4.7.0.3 USE=edit gpm -X -nls -samba -slang [ebuild N] dev-util/pkgconfig-0.25-r2 USE=-hardened [nomerge ] app-text/docbook-xml-dtd-4.3-r1 [ebuild N] app-text/docbook-xsl-stylesheets-1.75.2 [ebuild N] app-text/build-docbook-catalog-1.4 Now on the new model it would be: `emerge -peqt x86_32::app-misc/mc` [ebuild N] x86_32::app-misc/mc-4.7.0.3 USE=edit gpm -X -nls -samba -slang [ebuild N] x86_32::sys-libs/gpm-1.20.5 USE=(-selinux) [ebuild N] main::app-arch/xz-utils-4.999.9_beta USE=threads -nls -static-libs [ebuild N] x86_32::dev-libs/glib-2.24.1-r1 USE=-debug -doc -fam -hardened (-selinux) -xattr [ebuild N] main::sys-devel/gettext-0.17-r1 USE=-acl -doc -emacs -nls -nocxx -openmp [ebuild N] x86_32::sys-devel/gettext-0.17-r1 USE=-acl -doc -emacs -nls -nocxx -openmp [ebuild N] x86_32::dev-util/gtk-doc-am-1.15 [ebuild N]main::app-text/docbook-xml-dtd-4.3-r1 [ebuild N]x86_32::dev-libs/libxslt-1.1.26 USE=-crypt -debug -python [ebuild N] x86_32::dev-libs/libxml2-2.7.7 USE=-debug -doc -examples -ipv6 -python -readline -test [nomerge ] main::app-text/docbook-xml-dtd-4.3-r1 [ebuild N] main::app-text/sgml-common-0.6.3-r5 [ebuild N] main::app-arch/unzip-6.0-r1 USE=bzip2 -unicode [nomerge ] x86_32::app-misc/mc-4.7.0.3 USE=edit gpm -X -nls -samba -slang [ebuild N] main::dev-util/pkgconfig-0.25-r2 USE=-hardened [nomerge ] main::app-text/docbook-xml-dtd-4.3-r1 [ebuild N] main::app-text/docbook-xsl-stylesheets-1.75.2 [ebuild N] main::app-text/build-docbook-catalog-1.4 Note that here portage into which subsystem a package has to go in. That's done by a new kind of depdendencies: buildtool. So a plain system (w/o subsystems at all), these simply would be silently added to $DEPEND (prefixed w/ main::). Of course, this requires all packages to be fully crosscompilable in sysroot, and here's yet some work to do (essentially, that's what oss-qm is doing all the day ;-p). Ah, and this approach can also supersede crossdev (at least most of it) and provide a fine tool for managing tiny containers which don't need their own toolchain and portage stuff. cu -- -- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 -- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme --
[WAY OT] Parenthese, was Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
On 8/20/2010 11:40 AM, Kevin O'Gorman wrote: As to the thingies, I enjoyed discovering that to many people a parenthesis is not a glyph or punctuation mark, but instead the contents of the language set aside in one way or another. I had always regarded parentheses as the round glyphs (), but this turns out to be normative primarily in mathematics, computer programming languages and similar fields. But I find several competing meanings and sources using http://dictionary.reference.com/cite.html?qh=parenthesisia=luna http://dictionary.reference.com/cite.html?qh=parenthesisia=luna In American English usage, the three forms of puncutation mark have distinct names. Contrary to previous assertions, these names are not informal; authoritative American English dictionaries like M-W define bracket, brace, and parenthesis separately as punctuation marks. In British English they're all called brackets, e.g. square, curly, or round. The Romance languages are somewhat varied, but they mostly use the Greek word parenthesis to derive their term for () marks; in some cases, that word is use for *all* brackets; in other cases [] and {} have separate terms: () = parenthèses (Fr.), paréntesis (Sp.), parentesi tonde (It.) [] = crochets (Fr.), corchetes (Sp.), parentesi quadre (It.) {} = accolades (Fr.), corchetes (Sp.), parentesi graffe (It.) For what it's worth, Unicode defines U+0028 AND U+0029 as LEFT PARENTHESIS and RIGHT PARENTHESIS (also OPENING PARENTHESIS and CLOSING PARENTHESIS). --Mike
Re: [gentoo-user] libacl mess : further thoughts
On 08/20/2010 11:02 AM, Philip Webb wrote: 100820 Philip Webb wrote: The next step seems to be to unpack the whole Stage 3 tarball in the netbook's / dir see what happens. After that, a full reinstall. Further examination of what's in Stage 3 + review of my detailed notes from installation last year suggest that the correct attempt wb to unpack the tarball somewhere temporary, then copy /bin /lib /sbin /usr /var into the existing set-up; also to unpack the latest Portage snapshot into /usr/portage ; after that, copy carefully selected parts of /etc . After all, I do have a working kernel + system configuration, which is partly what needs to be created during a basic install. Of course, if there's a simpler method anyone can suggest, I wb thankful. Can anyone explain why it's choking on the ELF header ? You might be able to grab the 'acl' and 'attr' packages from here: http://tinderbox.dev.gentoo.org/ Hopefully, replacing them will fix your coreutils. If not, try replacing coreutils too. Note that this probably has the potential to make things worse, and I obviously can't test it.
[gentoo-user] Re: DVD borked: SysFS removed
walt w41ter at gmail.com writes: ATA/ATAPI/MFM/RLL support (DEPRECATED) --- OK, this fixed the dvd so that now it works...(thanks) * Serial ATA and Parallel ATA drivers --- I had this already, just deleted the one above. Kernel rebuilt, now it works with Kaffeine to play videos. $ls -l /dev/dvd lrwxrwxrwx 1 root root 3 2010-08-17 04:46 /dev/dvd - sr0 I get: ls: cannot access /dev/dvd: No such file or directory I didn't do anything to cause that. udev took care of it without my help, and everything Just Worked. Well, not quite true. I did change my /etc/fstab, but I'm now using disk labels in fstab instead of device names. If you still use device names you'll need to change /dev/hd* to /dev/sd* in fstab when using the new disk drivers. my current fstab looks like this: /dev/cdrom /mnt/cdrom auto noauto,rw,user 0 0 Can you send me a snippet out of your fstab on setting up (2) dvds on one system? Disk labels sound cool. Maybe a good doc explaining these intricacies? TIA, James
Re: [gentoo-user] Kernel questions
Am Fri, 20 Aug 2010 07:43:40 -0700 schrieb Bill Longman bill.long...@gmail.com: [...] I find it amazing, though, that even if I copy my old .config, it still takes me so much time to make sure all the settings are correct for a given machine. Hasn't anyone come up with a handy look-through-my-lspci-output-and-create-a-skeleton-kernel-config tool? Or does it already exist and we just call him Pappy? Not really what you want, but somebody thought of something similar. Since Linux 2.6.32 you can do: make localmodconfig [1]. That will take the output of lsmod (so you need an already running kernel, e.g., from a live CD) and remove all unnecessary modules from the existing kernel .config. [1]: see http://kernelnewbies.org/Linux_2_6_32, section 1.8. HTH -- Marc Joliet signature.asc Description: PGP signature
Re: [WAY OT] Parenthese, was Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages
Apparently, though unproven, at 19:07 on Friday 20 August 2010, Mike Edenfield did opine thusly: On 8/20/2010 11:40 AM, Kevin O'Gorman wrote: As to the thingies, I enjoyed discovering that to many people a parenthesis is not a glyph or punctuation mark, but instead the contents of the language set aside in one way or another. I had always regarded parentheses as the round glyphs (), but this turns out to be normative primarily in mathematics, computer programming languages and similar fields. But I find several competing meanings and sources using http://dictionary.reference.com/cite.html?qh=parenthesisia=luna http://dictionary.reference.com/cite.html?qh=parenthesisia=luna In American English usage, the three forms of puncutation mark have distinct names. Contrary to previous assertions, these names are not informal; authoritative American English dictionaries like M-W define bracket, brace, and parenthesis separately as punctuation marks. In British English they're all called brackets, e.g. square, curly, or round. Yuck. Too many times I've had someone dictate text and this happens: Them: blah blah open bracket blah blah Me: Which bracket? Them: huh? Me: You said open bracket. What kind of bracket? Them: Curly? Me: You mean brace. Them: Yes, that's the one! Is that what it's called then? Way too many words. Just give the bloody thing a name. Like Eskimo's with 20+ words for different kinds of snow. Say snow to any Eskimo, see what happens :-) The Romance languages are somewhat varied, but they mostly use the Greek word parenthesis to derive their term for () marks; in some cases, that word is use for *all* brackets; in other cases [] and {} have separate terms: () = parenthèses (Fr.), paréntesis (Sp.), parentesi tonde (It.) [] = crochets (Fr.), corchetes (Sp.), parentesi quadre (It.) {} = accolades (Fr.), corchetes (Sp.), parentesi graffe (It.) For what it's worth, Unicode defines U+0028 AND U+0029 as LEFT PARENTHESIS and RIGHT PARENTHESIS (also OPENING PARENTHESIS and CLOSING PARENTHESIS). --Mike -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Kernel questions
On 08/20/2010 11:44 AM, Marc Joliet wrote: Am Fri, 20 Aug 2010 07:43:40 -0700 schrieb Bill Longman bill.long...@gmail.com: [...] I find it amazing, though, that even if I copy my old .config, it still takes me so much time to make sure all the settings are correct for a given machine. Hasn't anyone come up with a handy look-through-my-lspci-output-and-create-a-skeleton-kernel-config tool? Or does it already exist and we just call him Pappy? Not really what you want, but somebody thought of something similar. Since Linux 2.6.32 you can do: make localmodconfig [1]. That will take the output of lsmod (so you need an already running kernel, e.g., from a live CD) and remove all unnecessary modules from the existing kernel .config. [1]: see http://kernelnewbies.org/Linux_2_6_32, section 1.8. Thanks, Marc. So, if I boot off the livecd and I have eighty-five sata_ modules and forty-two RAID modules and 2.5 handsful of various scsi/iscsi modules, I should probably modprobe -r first, all those that aren't applicable to my given system then run the make? I'll take a look. Thanks again.
Re: [gentoo-user] [OT] Incomplete mysql backup
On Friday 20 August 2010 05:58:49 kashani wrote: On 8/19/2010 12:03 PM, Mick wrote: I use mysqldump to back up a database from a development environment and upload it to a production environment. A couple of days ago I was surprised to see that I was getting errors as soon as I uploaded the backed up database to the production machine! I repeated the backup (more in disbelief than anything else) but the error remained. I spent a few minutes looking around and scratching my head as to what was amiss with it, until eventually I noticed that the recent backup was smaller than the previous version (it should have been bigger due to extra data that has accumulated in the database). I had another final go in running the same good ol' mysqldump command and this time it worked. The backup was a reasonable size and the upload restored the application in the production environment in a good working order. Is there a right and a wrong way of backing up mysql? Did I do something wrong? How should one verify that a back up is sound? (Imagine trying to restore from that incomplete backup!) mysqldump -A --single-transaction That's usually the best way to backup if you have a single machine. Without --single-transaction you may or may not get a proper backup when using Innodb tables on a busy server. Yes, it is a single machine (the one with the dev't environment) but it has a dozen databases on it, so the -A option is not appropriate. The engine is the default MyISAM and this made me think if it is the reason that two backups in a row were incomplete. Should I be converting all tables to Innodb? The production server is separate. However in a busy production environment it's usually best to use a slave to do backups. Bringing LVM snapshots into the mix is also useful, but you must lock and flush Mysql in order to get a correct snapshot which makes it only an option on the slave. Thanks kashani, I'll try the --single-transaction and see what I get. I hadn't had such a hiccup for years now, so it came as a surprise to me. I was thinking that I should perhaps use --lock-tables, because the --single- transaction states: This option issues a BEGIN SQL statement before dumping data from the server and I don't really understand how this will affect the backup ... ? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: [WAY OT] Parenthese
Wow, what's going on here? Alan McKinnon writes: Like Eskimo's with 20+ words for different kinds of snow. Say snow to any Eskimo, see what happens :-) Actually, they have only two words for snow: qanik for falling snow and aput for lying snow. Wonko
Re: [gentoo-user] Kernel questions
On Fri, Aug 20, 2010 at 2:28 PM, Bill Longman bill.long...@gmail.com wrote: On 08/20/2010 11:44 AM, Marc Joliet wrote: Am Fri, 20 Aug 2010 07:43:40 -0700 schrieb Bill Longman bill.long...@gmail.com: [...] I find it amazing, though, that even if I copy my old .config, it still takes me so much time to make sure all the settings are correct for a given machine. Hasn't anyone come up with a handy look-through-my-lspci-output-and-create-a-skeleton-kernel-config tool? Or does it already exist and we just call him Pappy? Not really what you want, but somebody thought of something similar. Since Linux 2.6.32 you can do: make localmodconfig [1]. That will take the output of lsmod (so you need an already running kernel, e.g., from a live CD) and remove all unnecessary modules from the existing kernel .config. [1]: see http://kernelnewbies.org/Linux_2_6_32, section 1.8. Thanks, Marc. So, if I boot off the livecd and I have eighty-five sata_ modules and forty-two RAID modules and 2.5 handsful of various scsi/iscsi modules, I should probably modprobe -r first, all those that aren't applicable to my given system then run the make? I'll take a look. Thanks again. And I suppose you'd also have to beware of any removable devices that you may not have plugged in at the time which require kernel drivers.
Re: [gentoo-user] Re: [WAY OT] Parenthese
Apparently, though unproven, at 21:32 on Friday 20 August 2010, Alex Schuster did opine thusly: Wow, what's going on here? Alan McKinnon writes: Like Eskimo's with 20+ words for different kinds of snow. Say snow to any Eskimo, see what happens :-) Actually, they have only two words for snow: qanik for falling snow and aput for lying snow. Wonko Yeah, I've heard the argument and counter-arguments too. But I'm not Inuit and don't speak their lingo. The principle still stands though. Replace Eskimo and snow with English and the massive litany of words encompassing love and affection. There's way more than 20 of those. -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: DVD borked: SysFS removed
On 08/20/2010 11:33 AM, James wrote: waltw41terat gmail.com writes: $ls -l /dev/dvd lrwxrwxrwx 1 root root 3 2010-08-17 04:46 /dev/dvd - sr0 I get: ls: cannot access /dev/dvd: No such file or directory I forgot an important detail. Your device drivers have changed, so your disks will now show up as different devices. However, your old devices still appear in /etc/udev/rules.d/70-persistent-cd.rules, and that causes confusion. The right way to fix it is to delete that file and let udev recreate it during the next boot. I didn't do anything to cause that. udev took care of it without my help, and everything Just Worked. Well, not quite true. I did change my /etc/fstab, but I'm now using disk labels in fstab instead of device names. If you still use device names you'll need to change /dev/hd* to /dev/sd* in fstab when using the new disk drivers. my current fstab looks like this: /dev/cdrom /mnt/cdrom auto noauto,rw,user 0 0 Can you send me a snippet out of your fstab on setting up (2) dvds on one system? I don't have any machines with two dvds, but if you delete the file I mentioned above, you should start to see device names that make sense the next time you reboot. Start with that and see what happens. Disk labels sound cool. Maybe a good doc explaining these intricacies? Look at man mount and look for The device indication section. For example: LABEL=root /ext3noatime,nodiratime,defaults 0 1 LABEL=home /homeext3noatime,nodiratime,defaults 0 1 I labeled those two partitions with the names 'root' and 'home' using e2label, though it might be less confusing if I had used upper case letters instead. You can pick any label you want, of course.
[gentoo-user] Installer Skript
Hello, yesterday I was working on an installer skript for Gentoo. What does it do? * It does the basic installation until you can reboot and login. * That includes formatting of the given partitions. * That includes compiling a genkernel. * It is developed and tested on Ubuntu. What does it not do? * It does not do partitioning itself. * It does not install a boot manger. (I use that on my Ubuntu partition.) * It does not set up wifi. What is required? You need at least a free partition of 5GB and a swap partition. Optionally you can use a separate partition for portage. Is anybody interested in testing the script? That is alpha software. You should at least be able look into the script before you run it. You know, it asks before, but then it does format your partitions. So it can be quite dangerous, if you don't exactly know what you are doing. Al
Re: [gentoo-user] why emerge --config don't work
On Friday 20 August 2010, Zhu Sha Zang wrote: Hi there, why this command don't work in zsh: / Installing (1 of 1) sys-apps/tomoyo-tools-2.2.0_p20090727 * Execute the following command to setup the initial policy configuration: * * emerge --config =sys-apps/tomoyo-tools-2.2.0_p20090727 * * For more information, please visit the following. * * http://tomoyo.sourceforge.jp/ Recording sys-apps/tomoyo-tools in world favorites file... Auto-cleaning packages... No outdated packages were found on your system. * GNU info directory index is up-to-date. [r...@sakurazukamori /usr/src/linux]$ emerge --config =sys-apps/tomoyo-tools-2.2.0_p20090727 9:44 zsh: sys-apps/tomoyo-tools-2.2.0_p20090727 not found [r...@sakurazukamori /usr/src/linux]$ bash / But work in bash... emerge --config =sys-apps/tomoyo-tools-2.2.0_p20090727 should work the same when you try to emerge a certain version =sys/libs/foobar-1.2 doesn't work =sys/libs/foobar-1.2 does
Re: [gentoo-user] libacl mess : solved by sleep
100820 Michael Orlitzky wrote: You might be able to grab the 'acl' and 'attr' packages from here: http://tinderbox.dev.gentoo.org/ Thanks for that link: I had the idea someone kept tarballs somewhere, but couldn't find a reference in my usually extensive notes. Anyway after some sleep, I woke up Horace (my ASUS EEE netbook) with the idea of copying the Portage snapshot + Stage 3 into it while finishing waking up. I have a big partition in all my machines which I mount as /z which I treat as an empty hangar for heavy lifting (eg /z/tmp is what Portage uses while compiling: OO needs 5 GB here). In Horace, it's 60 GB . So that's where I'll copy the new stuff to partly re-install Gentoo. Let's see what's there: 'cd /z ; bb ls' - '... store3 store5 ...'; so what are those stores ? -- 'cd store3 ; bb ls' - '... bin lib sbin ...'; hmm, must be from when I installed last November, mb I should remove it; wait a min, ... lib ...: 'cd lib ; bb ls -l liba*' - '... libacl.so.1 ...'. so do miracles still happen, really ? -- let's copy the 'acl attr' stuff back into /usr/lib see what happens; 'emerge -pv coreutils' - '... -acl [green] ... ' -- yes, it's not in the list in my make.conf , but was used for some unknown reason in the Gentoo tarball -- ; 'emerge coreutils' - goes on on on testing configs, it's compiling ! it's installing ! it's Supergentoo ! -- 'ls' alone now works again, ok ! So it was a nasty little trap waiting to happen, a very rare occasion to fault the devs for using 'acl' in the tarball. What it shows, yet again, is the value of keeping copies of everything, finally, that with Linux esp Gentoo problems are 1 layer deep: identify what is wrong it's fairly simple to put it right you may even find luck is on your side some of the time, as here. HTH others. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca