Re: [gentoo-user] Machine completely broken; Ncursed!
On Sat, 11 Apr 2015 15:41:28 -0400, Alan Grimes wrote: 2. It sent out a profile that sets variable ABI_x86 with 32 bit enabled. ALARM: ABI_x86 should be set in exactly one place: /etc/portage/make.conf and nowhere else. But, nevertheless, ABI_x86 WAS set which broke the profile because my system cannot compile 32 bit executables. That seems odd, I use several 64 bit profiles here and all of them have ABI_X86=64 Apparently it is treated like a set-object and 32 bit is added, by the latest portage without any sanity checking whatsoever. Maybe I should have been clearer, emerge --info shows ABI_X86=64 and it is NOT set in make.conf. So that setting is the default for each of the profiles I use. Considering you were already experiencing breakage, I think you are rather too quick to blame portage for your problems. -- Neil Bothwick Top Oxymorons Number 33: American history pgpFdu5NeLUsO.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Machine completely broken; Ncursed!
Neil Bothwick wrote: On Sat, 11 Apr 2015 10:22:09 -0400, Alan Grimes wrote: And then portage did two things. 1. It masked emul-linux -- A move that I support, it's time to see that go. 2. It sent out a profile that sets variable ABI_x86 with 32 bit enabled. ALARM: ABI_x86 should be set in exactly one place: /etc/portage/make.conf and nowhere else. But, nevertheless, ABI_x86 WAS set which broke the profile because my system cannot compile 32 bit executables. That seems odd, I use several 64 bit profiles here and all of them have ABI_X86=64 Apparently it is treated like a set-object and 32 bit is added, by the latest portage without any sanity checking whatsoever. There is a no-multilib profile that does not do this. As I said, this variable should be configured in one and only one place, make.conf. That is the only sane solution. The user lays down the law in make.conf and the system tries to obey. If you study what the output of what it is building, there is a very good chance that it enabled abi-32 behind your back. =( -- something it should never do. I thought that lesson had been leaned from the libav fiasco... =\ Right now my system is completely unusable and will need fresh stage3 packages followed by an emerge emptytree to recover. But before I can do that, I need a sane profile Can't you just set ABI_X86=64 -32 in make.conf? Tried; failed; only works for normal useflags. -- IQ is a measure of how stupid you feel. Powers are not rights.
Re: [gentoo-user] Machine completely broken; Ncursed!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi Alan, 1. My machine is not correctly configured to build 32 bit executables, mainly because I cannot find a 32 bit version of ncurses that ld is willing to acknowledge the existence of. This seems to be working for just about everyone else. So maybe providing some technical info for your system would be helpful? I mean, standard stuff like emerge --info output or the versions of ncurses, binutils and gcc that are installed (including useflags)? 2. LD cannot find ncurses, -- It simply can't, in 64 bit mode either. That is the only error message it ever gives and vast amount of effort spent in sessions over the last year and a half have failed to find any solution. I only installed Gentoo on this machine four and a half years ago so it's hard to imagine what could have gotten this royally foobar in such a short period. If you kept your system updated all the time, you shouldnt have any problems. The ncurses problem has been a low-level issue for a long time but, with tinfo set, 99% of packages worked. Define low-level issue. What was broken all the time that you ignored? 2. It sent out a profile that sets variable ABI_x86 with 32 bit enabled. ALARM: ABI_x86 should be set in exactly one place: /etc/portage/make.conf and nowhere else. But, nevertheless, ABI_x86 WAS set which broke the profile because my system cannot compile 32 bit executables. =( I tried the no-multilib profile but it didn't have a number of essential useflags and was foobar. You're still not providing the slightest bit of useful information. What happens if you try to generate a 32bit executable? What gcc are you using, with what settings? Cheers, Andreas - -- Andreas K. Huettel Gentoo Linux developer dilfri...@gentoo.org http://www.akhuettel.de/ -BEGIN PGP SIGNATURE- Version: GnuPG v2.0 iQJ8BAEBCgBmBQJVKX5KXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0RkJDMzI0NjNBOTIwMDY5MTQ2NkMzNDBF MTM4NkZEN0VGNEI1Nzc5AAoJEOE4b9fvS1d5y5QP/izvgeo0ixQ9Ui6vCyYzajq2 F0u6EG65imPAyJsphC9EeCMRDDlvnBqhSn2vFhKf42MbG1IRaghvqEH0beBYGEd4 txKbZe3iURRUDXXpSrA0P1Zg2bqbq30N9Izz4jX8S7zQ6dUcwMiIJy11To0Kk9uI dwmIOhOtrmb+BoDg9XSlI7kycrVkt6oBhxU5TySEb9+bB5TdvzMBGXKuxIYph+tK 8uLIdjPeufJpB+Js4L/KKpfRJx2kzphl04ZESHjWQsQVPMDvWvHYKGI65xQTmoQY 5LEb95clZEwrB7NCI8LskUHZGz0vIEGl6Exz2eL8QISFTEbvEcd4aieOePU8c5lE EH73YDsN04NvIc4pWP4KGH9+7eBoemvrqUy325kiVwxWJdjF7/2EZ/64hcVhXIif 6O5gLBKpTdI/lX+JU3wHM8Y881NZ6X/nmu0p5LPU5dXCgogUjUybfTlz4hT1rcfS gl0z0BSm+5TZ3EmQeZyBK04/MMxaoHf8RSnrkVuO6mimaxJoQaS57oWNNnZkNjXC d50XpzLkj6ybghL8HvCHIuRnMBpGLdxGIr7YBdD3M43xcVcdziX6Xr5dJSLcOYlv 3MKkIK4mcNbMovInjO+2ydObOj/ZIXimdioFyUqPsF+vh6WW3XXm+5eZggzmmABK 0J1CYHbhUOM/QXUc6M6P =c4D8 -END PGP SIGNATURE-
Re: [gentoo-user] Is perl broken? [SOLVED]
On Sunday 05 April 2015 10:50:53 I wrote: Today's routine update included dev-lang/perl-5.20.2 and two perl virtuals. Since emerging those portage has stopped working: perl-cleaner gives it a list of 71 packages to emerge but portage does nothing with them - it just exits silently. Then perl-cleaner lists some hundreds of files that it can't do anything with. What's going on here? I've restored from last week's backup and added the offending perl packages to package.mask, but is that the right thing to do? For the record, my problem has now been fixed, together with some others I hadn't reported here. It was a combination of bad CFLAGS (and CXXFLAGS) and too ambitious MAKEOPTS. Specifically, I recommend that any advice to set -march=corei7 on an i5 system should be firmly resisted. Thanks to those who took an interest and offered help. -- Rgds Peter
Re: [gentoo-user] Re: Is perl broken?
On Saturday 11 Apr 2015 00:08:23 Peter Humphrey wrote: Back to the original theme, I'd been experimenting with -j and -l make options, and I suspect that was my real problem. I finished up with -j -l20 on this i5 box, with startling results - 56 emerges in parallel for instance. I suspect that my problem stemmed from this. All now seems stable so far with -j12 and no -l specified. Satisfactory CPU utilisation and the all-important stability. So no, perl isn't broken :) On an early generation mobile i7 I have MAKEOPTS=-j5 -l12.8 with no noticeable adverse effects, although on recent mammoth emerges the responsiveness goes down when swap is used. I can't even recall how I arrived at these settings. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Machine completely broken; Ncursed!
On Sat, 11 Apr 2015 10:22:09 -0400, Alan Grimes wrote: And then portage did two things. 1. It masked emul-linux -- A move that I support, it's time to see that go. 2. It sent out a profile that sets variable ABI_x86 with 32 bit enabled. ALARM: ABI_x86 should be set in exactly one place: /etc/portage/make.conf and nowhere else. But, nevertheless, ABI_x86 WAS set which broke the profile because my system cannot compile 32 bit executables. That seems odd, I use several 64 bit profiles here and all of them have ABI_X86=64 Right now my system is completely unusable and will need fresh stage3 packages followed by an emerge emptytree to recover. But before I can do that, I need a sane profile Can't you just set ABI_X86=64 -32 in make.conf? and to know that the person who pushed out the changes to portage, obviously without any testing whatsoever, that broke my system so comprehensively is tortured, executed, butchered, and then cremated. That's quite lenient, you could have left the execution until last :) -- Neil Bothwick Top Oxymorons Number 7: Definite maybe pgpbailvqOGM2.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Machine completely broken; Ncursed!
On Saturday 11 Apr 2015 15:34:10 Neil Bothwick wrote: On Sat, 11 Apr 2015 10:22:09 -0400, Alan Grimes wrote: And then portage did two things. 1. It masked emul-linux -- A move that I support, it's time to see that go. 2. It sent out a profile that sets variable ABI_x86 with 32 bit enabled. ALARM: ABI_x86 should be set in exactly one place: /etc/portage/make.conf and nowhere else. But, nevertheless, ABI_x86 WAS set which broke the profile because my system cannot compile 32 bit executables. That seems odd, I use several 64 bit profiles here and all of them have ABI_X86=64 Same here, but I do not have it explicitly specified it in make.conf. Right now my system is completely unusable and will need fresh stage3 packages followed by an emerge emptytree to recover. But before I can do that, I need a sane profile Can't you just set ABI_X86=64 -32 in make.conf? Is it even needed at all? If there are packages that require 32bit libs portage will ask for it, yes? and to know that the person who pushed out the changes to portage, obviously without any testing whatsoever, that broke my system so comprehensively is tortured, executed, butchered, and then cremated. That's quite lenient, you could have left the execution until last :) Cremation will not leave a long lasting impression in dev circles, but first I suggest that you check the problem is not caused by something entirely different to the change in emul-linux. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Machine completely broken; Ncursed!
My machine is so completely broken right now I can't open any new terminal sessions. This is because I stupidly tried to toggle tinfo useflag in a desperate attempt to get everything in my portage tree working again. Why now did nothing in my portage tree build? It wasn't building for two reasons: 1. My machine is not correctly configured to build 32 bit executables, mainly because I cannot find a 32 bit version of ncurses that ld is willing to acknowledge the existence of. 2. LD cannot find ncurses, -- It simply can't, in 64 bit mode either. That is the only error message it ever gives and vast amount of effort spent in sessions over the last year and a half have failed to find any solution. I only installed Gentoo on this machine four and a half years ago so it's hard to imagine what could have gotten this royally foobar in such a short period. I am an enthuseastic supporter of multilib, I even tried to set it up myself but failed due, once again, to ncurses. I was running my system as usual, running updates every week or two, no major issues since the libav clusterfuck a few months ago. (Libav is a cult not a software project). The ncurses problem has been a low-level issue for a long time but, with tinfo set, 99% of packages worked. And then portage did two things. 1. It masked emul-linux -- A move that I support, it's time to see that go. 2. It sent out a profile that sets variable ABI_x86 with 32 bit enabled. ALARM: ABI_x86 should be set in exactly one place: /etc/portage/make.conf and nowhere else. But, nevertheless, ABI_x86 WAS set which broke the profile because my system cannot compile 32 bit executables. =( I tried the no-multilib profile but it didn't have a number of essential useflags and was foobar. Right now my system is completely unusable and will need fresh stage3 packages followed by an emerge emptytree to recover. But before I can do that, I need a sane profile and to know that the person who pushed out the changes to portage, obviously without any testing whatsoever, that broke my system so comprehensively is tortured, executed, butchered, and then cremated. -- IQ is a measure of how stupid you feel. Powers are not rights.
Re: [gentoo-user] Machine completely broken; Ncursed!
On Saturday, April 11, 2015 10:22:09 AM Alan Grimes wrote: Right now my system is completely unusable and will need fresh stage3 packages followed by an emerge emptytree to recover. But before I can do that, I need a sane profile and to know that the person who pushed out the changes to portage, obviously without any testing whatsoever, that broke my system so comprehensively is tortured, executed, butchered, and then cremated. I think it's funny how you're so quick to blame your problem on others' incompetence while at the same time begging for their help. Have you stopped to think why it's just you having this problem? There no way to test for all the crazy things users will do with any system, let alone one like Gentoo. -- Fernando Rodriguez
Re: [gentoo-user] Machine completely broken; Ncursed!
On Saturday 11 April 2015 10:22:09 Alan Grimes wrote: Right now my system is completely unusable and will need fresh stage3 packages followed by an emerge emptytree to recover. But before I can do that, I need a sane profile and to know that the person who pushed out the changes to portage, obviously without any testing whatsoever, that broke my system so comprehensively is tortured, executed, butchered, and then cremated. Why don't you just start again from scratch, following the official docs? You don't need to override every little setting; portage knows best, just like your Ma. Use the force... -- Rgds Peter
Re: [gentoo-user] Machine completely broken; Ncursed!
Andreas K. Huettel wrote: Hi Alan, 1. My machine is not correctly configured to build 32 bit executables, mainly because I cannot find a 32 bit version of ncurses that ld is willing to acknowledge the existence of. This seems to be working for just about everyone else. So maybe providing some technical info for your system would be helpful? I mean, standard stuff like emerge --info output or the versions of ncurses, binutils and gcc that are installed (including useflags)? /etc/portage # emerge --info [[: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory Failed to validate a sane '/dev'. bash process substitution doesn't work; this may be an indication of a broken '/dev/fd'. /etc/portage # (I have not yet attempted to write new stage3 into my install yet, waiting for someone to come along who can draw me a map back to a fully usable system.) /etc/portage # gcc --version gcc (Gentoo 4.9.2 p1.3, pie-0.6.2) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. /etc/portage # /etc/portage # ld --version GNU ld (Gentoo 2.25 p1.0) 2.25 Copyright (C) 2014 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. /etc/portage # 2. LD cannot find ncurses, -- It simply can't, in 64 bit mode either. That is the only error message it ever gives and vast amount of effort spent in sessions over the last year and a half have failed to find any solution. I only installed Gentoo on this machine four and a half years ago so it's hard to imagine what could have gotten this royally foobar in such a short period. If you kept your system updated all the time, you shouldnt have any problems. Byte me. Linux is crap, it takes all the talent I have to keep this piece of junk running. =( I'm the user here, I am not going to take any lip from you about how I run my system. =| I put a great deal more work into maintaining my system than most of the rest of you. The ncurses problem has been a low-level issue for a long time but, with tinfo set, 99% of packages worked. Define low-level issue. What was broken all the time that you ignored? Busybox, valgrind, a number of other minor packages. 2. It sent out a profile that sets variable ABI_x86 with 32 bit enabled. ALARM: ABI_x86 should be set in exactly one place: /etc/portage/make.conf and nowhere else. But, nevertheless, ABI_x86 WAS set which broke the profile because my system cannot compile 32 bit executables. =( I tried the no-multilib profile but it didn't have a number of essential useflags and was foobar. You're still not providing the slightest bit of useful information. What happens if you try to generate a 32bit executable? Fails completely due to linking errors even though it should always be possible to compile something without its binary dependencies (with only the headers) because symbol resolution should take place at load time. =| What gcc are you using, with what settings? By all appearances, Emerge identifies the most broken version of everything it can find and uses that without providing any user feedback. Here's my make.conf, some lines might be changed because I have been struggling to find a working configuration. /etc/portage # cat /etc/portage/make.conf # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /usr/share/portage/config/make.conf.example for a more # detailed example. CFLAGS=-O3 -march=native -pipe CXXFLAGS=${CFLAGS} LDFLAGS=-lncurses MAKEOPTS=-j 6 # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST=x86_64-pc-linux-gnu INPUT_DEVICES=keyboard mouse LINGUAS=en en_US ACCEPT_KEYWORDS=amd64 ~amd64 ACCEPT_LICENSE=* # These are the USE flags that were used in addition to what is provided by the # profile used for building. USE=3dnow 3dnowext amr apache2 ares audiofile autoipd avahi bittorrent blender-game bmp boost c++0x caps cdio cg cgi clang cpudetection css curl custom-cflags custom-tune debugger declarative device-mapper dga discouraged dolbyinrec double-precision drm evdev expat extras fbcon ffcall ffmpeg fftw firmware fluidsynth fontconfig foomaticdb freeimage ftp g3dvl gbm gflags gfortran ggz gl glade glut gmp gnome gphoto2 graphviz gsl gstreamer gtk3 heterogeneous high-ints hpijs hwdb icu ide imlib ithreads jadetex java jit joystick jpeg2k kde kdrive lame lapack libffi libkms libwww llvm-shared-libs lm_sensors lua lzo matroska mdnsresponder-compat metis midi minizip mmap mms mmxext
[gentoo-user] Re: Machine completely broken; Ncursed!
On 04/11/2015 05:42 PM, Alan Grimes wrote: Byte me. Linux is crap, it takes all the talent I have to keep this piece of junk running. I'll see your grumpy, and raise you two grumpies :p
Re: [gentoo-user] Machine completely broken; Ncursed!
On Saturday 11 April 2015 20:42:20 Alan Grimes wrote: Linux is crap, it takes all the talent I have to keep this piece of junk running. Just don't bother, and save the rest of us some earache. [Apologies to those who recognised the troll.) -- Rgds Peter
Re: [gentoo-user] Machine completely broken; Ncursed!
Fernando Rodriguez wrote: On Saturday, April 11, 2015 10:22:09 AM Alan Grimes wrote: Right now my system is completely unusable and will need fresh stage3 packages followed by an emerge emptytree to recover. But before I can do that, I need a sane profile and to know that the person who pushed out the changes to portage, obviously without any testing whatsoever, that broke my system so comprehensively is tortured, executed, butchered, and then cremated. I think it's funny how you're so quick to blame your problem on others' incompetence while at the same time begging for their help. Have you stopped to think why it's just you having this problem? There no way to test for all the crazy things users will do with any system, let alone one like Gentoo. Correct. Linux, all distributions, all versions is a complete nightmare. Unfortunately all other operating systems and distributions are far far worse. =( If people could just put Unix in the trash can where it belongs and focus on making systems simpler and more elegant then things could improve. =| Take the picture: A perfectly diabolical machine that is utterly foolproof. ;) -- IQ is a measure of how stupid you feel. Powers are not rights.
Re: [gentoo-user] Machine completely broken; Ncursed!
Peter Humphrey wrote: On Saturday 11 April 2015 10:22:09 Alan Grimes wrote: Right now my system is completely unusable and will need fresh stage3 packages followed by an emerge emptytree to recover. But before I can do that, I need a sane profile and to know that the person who pushed out the changes to portage, obviously without any testing whatsoever, that broke my system so comprehensively is tortured, executed, butchered, and then cremated. Why don't you just start again from scratch, following the official docs? You don't need to override every little setting; portage knows best, just like your Ma. Use the force... Well, emptytree world seems to be working so far, the official diagnosis is a long-forgotten hack of a work-around to a problem that I must have been dealing with more than two years ago. -- IQ is a measure of how stupid you feel. Powers are not rights.
Re: [gentoo-user] Machine completely broken; Ncursed!
Alan Grimes wrote: Andreas K. Huettel wrote: If you kept your system updated all the time, you shouldnt have any problems. Byte me. Linux is crap, it takes all the talent I have to keep this piece of junk running. =( I'm the user here, I am not going to take any lip from you about how I run my system. =| I put a great deal more work into maintaining my system than most of the rest of you. Gentoo is not like binary systems. Most binary systems, you can upgrade even after years of not doing any upgrading. Gentoo doesn't like that. Officially Gentoo is supposed to have a upgrade max of one year. Thing is, that depends on what changes has taken place in that year. There are times when some major changes happen and even if it hasn't been 6 months since a upgrade/update, a person is just as well off to reinstall and keep their sanity. That could vary depending on how complex some things may be to set up again. So, if you plan to use Gentoo, keeping a system fairly up to date is the best way to avoid having to deal with some problems that leave you kicking and screaming for mercy. I've found that once a week does fairly well. Some on this list have posted they go a month. Hope that helps. Dale :-) :-)