Re: [gentoo-user] Machine completely broken; Ncursed!

2015-04-15 Thread Fernando Rodriguez
On Saturday, April 11, 2015 10:22:09 AM Alan Grimes wrote:
 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.

This is probably what happened:

1. You have ncurses and emul-linux libraries installed. Everything's good.
2. You come up with this genius idea: LDFLAGS=-lncurses 
3. You uninstalled emul-linux (including 32-bit ncurses). Now you need to 
rebuild ncurses BUT YOU'RE LINKING IT AGAINST ITSELF. This fails because you 
don't have 32-bit ncurses (may fail even if you did, not sure).
4. Since you're linking everything against ncurses everything 32-bit fails.

Duh! You could've probably fixed it by just removing that LDFLAGS line and 
rebuilding ncurses.

-- 
Fernando Rodriguez



Re: [gentoo-user] Machine completely broken; Ncursed!

2015-04-12 Thread Neil Bothwick
On Sat, 11 Apr 2015 20:42:20 -0400, Alan Grimes wrote:

 Linux is crap, it takes all the talent I have to keep this piece of junk
 running. =(

So you either need less hacks in make.conf or more talent, you decide
which...


-- 
Neil Bothwick

BBS: (n.) a system for connecting computers and exchanging gossip,
 facts, and uninformed speculation under false names.


pgp7CYVwqA82M.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Machine completely broken; Ncursed!

2015-04-12 Thread J. Roeleveld
On Saturday, April 11, 2015 08:42:20 PM Alan Grimes wrote:
 Andreas K. Huettel wrote:

snipped

   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.

If that is your opinion of Linux, why use it?

   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.

Cause for these is in your make.conf, see below.

   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. =|

Cause is in your make.conf. See below.

  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.

Cause is in your make.conf. See below.

 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 

Most people tend to put -O2. Not much point to use -O3.

 CXXFLAGS=${CFLAGS}
 
 LDFLAGS=-lncurses 

You're forcing ncurses into every single package. Please remove this.

 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

You are running unstable. This requires more effort on your part.
I would suggest switching back to stable, eg. loose the  ~amd64 .
NOTE: You either need to spend a lot of effort to bring everything back to 
stable over time (see the archives) or start with a fresh installation.

 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 mozilla mp3rtp
  mpeg2 multicore multilib multislot mysql nas natspec netpbm nowin
  nsplugin ode ogre ois okteta openal opencl openexr openssl opus orc pae
 parport pch pcre16 perl pgo plasma posix postproc povray
 private-headers
  pulseaudio python python3 qml qthelp quicktime r600-llvm-compiler
  reiserfs script sdk seamonkey secure-delete semantic-desktop server
 sftp
  sip smp soprano sql sqlite sse2 sse3 sse4 static-ppds subversion
  system-boost system-cairo system-icu system-jpeg system-libvpx
  system-sqlite t1lib theora threads threadsafe threadsonly tk
  unlock-notify upnp upnp-av userlocales utempter uuid uvm uxa v4l vcd
  video videos vnc webkit xine xmp xvfb xvmc yuv4mpeg zeroconf -bluetooth
 -bundled-libs -dso 

Re: [gentoo-user] Machine completely broken; Ncursed!

2015-04-12 Thread Andreas K. Huettel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Am Sonntag, 12. April 2015, 02:42:20 schrieb Alan Grimes:

 /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 #

OK. That means your system is seriously broken now, but I gather you already 
know that. I doubt there is a way to get back to a working system without 
tricks/extra downloads.

Most of the comments below are now mostly trying to find out what happened. 
I'm leaving out stuff where I dont see anything problematic. 

   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.

OK, now what was wrong there? Do you still have any old build logs maybe?

   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. =|

Well... Yes it is possible to compile things. But they also need to get 
linked, and for that the libraries need to be present. No you cannot build 
something against a library without the library being present.

 CFLAGS=-O3 -march=native -pipe 
 CXXFLAGS=${CFLAGS}

- -O3 is not a good idea.  -O2 is safe.

 LDFLAGS=-lncurses 

I hope you forced that in only at the end when things were already broken and 
you tried to fix them. Wrong. Bad. Wrong. Bad.

 ACCEPT_KEYWORDS=amd64 ~amd64

Should not be a big problem (since ~amd64 is pretty well maintained these 
days), but in general you'll likely hit more bugs if you run unstable. In this 
case it's definitely an advantage if you are familiar with bug reporting 
procedures and frequent our bugzilla.

 USE=...
  c++0x

No. Just no, since you may run into all sorts of trouble with C++ programs. 
(There was a news item about this recently.) I doubt that it is related to 
your problems though.

  custom-cflags 

No. Again. Just no. Do this and you get to keep the pieces. I dont dare to do 
that myself. Especially in combination with -O3 it's, well,...

  discouraged 

Read it and despair.

 sse2 sse3 sse4 

Unproblematic but outdated. Also a recent news item.

So, now about getting back to a working system. There are many ways, none of 
them really 100% clean given the amount of breakage, and I'm not really a 
specialist. Some ideas, unverified and untested; I've never done this myself. 

* Boot from a rescue system
* Mount your gentoo installation somewhere
* Copy your setup (/etc, /var/lib/portage/world)  to a safe place (usb stick)
* For an amd64 multilib system doublecheck that both in /usr and / the lib 
entry is a symlink to lib64 in the same directory.
* Download the newest amd64 multilib stage3 and untar it over your system.
* restore your make.conf, *sanitized*
  CFLAGS=-march=native -O2 -pipe
* chroot into the system, and run emerge -eav system
* then reboot normally and run emerge -eav world (you may have to repeat this 
a few times, since some packages may still be broken and portage won't 
necessarily rebuild them in the correct order)
* then restore your old world file and repeat the last step

IF YOU HAVE A SPARE PARTITION, there is a much better way- do a new install 
there, instead of all the above steps.

Good luck.

- -- 
Andreas K. Huettel
Gentoo Linux developer (council, perl, libreoffice)
dilfri...@gentoo.org
http://www.akhuettel.de/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCgAGBQJVKn2dAAoJEB9VdM6hupKV2ZsP/Asgl66mmh8/Lzd0mVwNQkts
GSszMvt7RNUb2k4lQetXR0psyr9Up7NDrp0plmAAguNJMtZOdgIVZsJ5sTvtWDxT
0fxM7EXD2QLzpKIUF0uQFLQ1O+68GYTK0UOai+7OzN99HwALM7U5H9k9hYIrEVY6
ZtueUazbfOgWmAM//ZPQltj4GYBeSiW9TLJUbZNHzQFqJkP+uPimYWN9QIkcGyVP
UJUlU1IJP9IOF7Ing10zisK1CT3+tEXnyeU930bnaCW1rLAUcm797BmwKWZX9RfW
MYqTe6jjWAmnK+n6ScAeCtcwmwZ5MeQQBD7SK8FySSpegev2dEZzrHaI9hvMajtZ
4L3i/CCwSwxUs3hjh+cn9kCb1Cs6BUqtXfR9Jt/rSZFOWVE7TbRrIssW0ZEw92x4
jKAO//H41EjK830QB6WzWLJxfYSdQ1SEaEW2WHNSdYd4vaxHv9YQp3sdm3zKxWel
hY0pEJ5NtQMWGkte0XU0DgowAuDnBMn7Xac//rcOwWsSZiWIn8SmdpxvR43/xAZt
Ln4k7xxJhb3a4w9Uocm3vPMOxIgRo2xFrdYNN18VGGz9zVNNyOZhECJDy9EZEtF1

Re: [gentoo-user] Machine completely broken; Ncursed!

2015-04-12 Thread Peter Humphrey
On Saturday 11 April 2015 21:27:39 Alan Grimes wrote:
 Peter Humphrey wrote:
  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.

The only snag will be finding and removing all those ancient files lying around 
and maybe confusing you in, e.g., /etc. That's why I suggested a clean start.

Actually, I think there's another reason to prefer a clean start: if it's over 
two years since you played with the system, going through the installation 
process again would be a good refresher. You could even be a tester of the new 
documents.;)

-- 
Rgds
Peter



Re: [gentoo-user] Machine completely broken; Ncursed!

2015-04-11 Thread Neil Bothwick
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!

2015-04-11 Thread Alan Grimes
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!

2015-04-11 Thread Andreas K. Huettel
-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] Machine completely broken; Ncursed!

2015-04-11 Thread Neil Bothwick
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!

2015-04-11 Thread Mick
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!

2015-04-11 Thread Alan Grimes
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!

2015-04-11 Thread Fernando Rodriguez
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!

2015-04-11 Thread Peter Humphrey
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!

2015-04-11 Thread Alan Grimes
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 

Re: [gentoo-user] Machine completely broken; Ncursed!

2015-04-11 Thread Peter Humphrey
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!

2015-04-11 Thread Alan Grimes
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!

2015-04-11 Thread Alan Grimes
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!

2015-04-11 Thread Dale
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

:-)  :-)