Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AMD Zen/Ryzen thread
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 13, 14, 15 ... 20, 21, 22  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48148
Location: 56N 3W

PostPosted: Thu May 18, 2017 2:25 pm    Post subject: Reply with quote

wrc1944,

I can't help with the ordering, since I have no way to predict what packages use the illegal instructions.

There is another way, that will save time overall if your Ryzen installs will be the same for the packages that they have in common.
Rather than do two complete Rzzen installs, do one and make a BINHOST as you go, then install the second from the binaries.
Portage can do that.

You can even make you own Ryzen binaries to fix your broken install. That's covered in Fix My Gentoo
What it doesn't say under Edit /etc/portage/make.conf is fix your CFLAGS to suit Ryzen. The unstated assumption is that the CPU has not changed.

Until emerge in the chroot works, you must install the binaries with tar.
Once emerge works, you can use emerge to install any other binaries you may have.
That includes for second and subsequent Ryzen installs.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Thu May 18, 2017 3:42 pm    Post subject: Reply with quote

Thanks much Neddy. You are indeed an endless fountain of great linux knowledge which you kindly share in very illuminating detail.

From all you've said during this episode, I conclude that it's certainly worth investing a bit more time on fixing emerge.

Accordingly, I'll chroot in and try emerge --info to see if python's a problem. With my luck so far, it probably is. :roll:
Do I need just one good python version, or more?

Then fix the others. If all that still fails to fix emerge, guess I'll just reinstall, replacing the two Gentoo on the ryzen box.

At least it should go relatively quickly on the new hardware compared to years past. I recall (not so fondly) installing many times on amd k2 and athlon64 systems.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Thu May 18, 2017 4:20 pm    Post subject: Reply with quote

OK- I'm in and posting from sysrescueCD, made sure I'm using 64bit, and redid the first thee packages from scratch, chrooted in, checked emerge --info, and indeed python isn't working. :( Guess I'll get the binary. should I also get gcc and binutils also, while I'm at it?

Code:
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/glibc-2.24-r1.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/ncurses-6.0-r1.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/bash-4.4_p12.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % mount -t proc none /mnt/gentoo/proc
root@sysresccd /mnt/gentoo % mount --rbind /sys /mnt/gentoo/sys
root@sysresccd /mnt/gentoo % mount --rbind /dev /mnt/gentoo/dev
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % cp -L /etc/resolv.conf /mnt/gentoo/etc/
cp: overwrite '/mnt/gentoo/etc/resolv.conf'? y
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % chroot /mnt/gentoo /bin/bash
sysresccd / # source /etc/profile
sysresccd / # export PS1="(chroot) $PS1"
(chroot) sysresccd / #
(chroot) sysresccd / #
(chroot) sysresccd / # emerge --info
Illegal instruction
(chroot) sysresccd / # ls -a /usr/src
Illegal instruction
(chroot) sysresccd / #

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48148
Location: 56N 3W

PostPosted: Thu May 18, 2017 4:21 pm    Post subject: Reply with quote

wrc1944

You need the first version found in
Code:
eselect python list
as emerge will try them in order.
Code:
$ eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.5
  [3]   python2.7
your list may be different.

If the first version in the list gives you illegal instruction, emerge will not try any others.
Unfortunately, eselect is written in python ...
Running emerge normally uses a wrapper to find the correct python.
However
Code:
python3.4 /usr/bin/emerge --info
python2.7 /usr/bin/emerge --info
lets you run a particular python version and tell it to run emerge.

You will learn a lot more fixinf your Gentoo that you will reinstalling. Stick with it.
You already know how to get packages from a BINHOST and install them into your Gentoo with tar. That's the hard bit of this process.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Thu May 18, 2017 4:29 pm    Post subject: Reply with quote

Thanks Neddy, I'll keep working on it.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 4761
Location: Illinois, USA

PostPosted: Thu May 18, 2017 4:43 pm    Post subject: Reply with quote

wrc1944 wrote:
Tony0945's suggestion seems like an almost sure-fire way, but on the other hand I have two Gentoo installs i need to do on this disk. On the piledriver box that's an ordeal (not to mention the two more complete Ryzen rebuilds which come next), and other people in the house need to use it occasionally.
My situation is different. I have multiple boxes and only I use them any more (grandkids are gone and wife has me do everything computer-related). Using another box just means going from one floor to another.

NeddySeagoon wrote:
You will learn a lot more fixinf your Gentoo that you will reinstalling. Stick with it.


Absolutely! My way is quick (human interface time) but you won't learn anything about Gentoo and Portage. My way would have been good in preparation for your Ryzen Hardware's delivery and assumes you can afford the machine to be down for a full day.

The only other thing I would add, based on my own experience with UEFI, is that if your BIOS allows bios boot, stick with that, get the Ryzen Gentoo working, THEN, when all is working, consider moving to UEFI. That way you are dealing with problems one by one instead of wondering if your problem is UEFI or what. An old maxim - one change at a time.

Good Luck! And thanks for being our alpha site!
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Thu May 18, 2017 6:04 pm    Post subject: Reply with quote

OK- got python fixed, but still have emerge problem- guess I need portage fixed too?
Code:
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/python-3.4.6.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % /mnt/gentoo % mount -t proc none /mnt/gentoo/proc
zsh: permission denied: /mnt/gentoo
root@sysresccd /mnt/gentoo % mount -t proc none /mnt/gentoo/proc
root@sysresccd /mnt/gentoo % mount --rbind /sys /mnt/gentoo/sys
root@sysresccd /mnt/gentoo % mount --rbind /dev /mnt/gentoo/dev
root@sysresccd /mnt/gentoo % cp -L /etc/resolv.conf /mnt/gentoo/etc/
cp: overwrite '/mnt/gentoo/etc/resolv.conf'? y
root@sysresccd /mnt/gentoo % chroot /mnt/gentoo /bin/bash
sysresccd / # source /etc/profile
sysresccd / # PS1="(chroot) $PS1"
(chroot) sysresccd / #
(chroot) sysresccd / #
(chroot) sysresccd / #
(chroot) sysresccd / # emerge --info
bash: emerge: command not found



edit: still get:
Code:
 (chroot) sysresccd / # ls -a /usr/src
Illegal instruction
(chroot) sysresccd
/
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental


Last edited by wrc1944 on Thu May 18, 2017 6:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5900
Location: Removed by Neddy

PostPosted: Thu May 18, 2017 6:05 pm    Post subject: Reply with quote

may I just point out if you started from scratch you would have been finished by now :)
_________________
https://www.otw20.com/ Where you can talk
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48148
Location: 56N 3W

PostPosted: Thu May 18, 2017 6:59 pm    Post subject: Reply with quote

wrc1944,

Code:
$ equery b ls
 * Searching for ls ...
sys-apps/coreutils-8.27 (/bin/ls)

$ lddtree /bin/ls
/bin/ls (interpreter => /lib64/ld-linux-x86-64.so.2)
    libcap.so.2 => /lib64/libcap.so.2
    libc.so.6 => /lib64/libc.so.6


That's just binutils then

Code:
# emerge --info
bash: emerge: command not found
Thats odd.
What about
Code:
python3.4 /usr/bin/emerge --info

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Thu May 18, 2017 7:44 pm    Post subject: Reply with quote

I also did these packages just now, but still have the emerge problem. I'm going to redo glibc and python- maybe I messed up. Should I do coreutils also? I'll post back shortly.

Code:
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/portage-2.3.5.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/zlib-1.2.11.tbz2 -C /mnt/gentoo

tar: /mnt/gentoo/usr/portage/packages/zlib-1.2.11.tbz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/zlib-1.2.11.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/texinfo-6.3.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/binutils-2.27.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/gentoolkit-0.4.0.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/gcc-6.3.0.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo %

root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % mount -t proc none /mnt/gentoo/proc
root@sysresccd /mnt/gentoo % mount --rbind /sys /mnt/gentoo/sys
root@sysresccd /mnt/gentoo % mount --rbind /dev /mnt/gentoo/dev
root@sysresccd /mnt/gentoo % cp -L /etc/resolv.conf /mnt/gentoo/etc/
cp: overwrite '/mnt/gentoo/etc/resolv.conf'? y
root@sysresccd /mnt/gentoo % chroot /mnt/gentoo /bin/bash
sysresccd / # source /etc/profile
sysresccd / # PS1="(chroot) $PS1"
(chroot) sysresccd / #
(chroot) sysresccd / #(chroot) sysresccd / #
(chroot) sysresccd / # emerge --info
bash: emerge: command not found
(chroot) sysresccd / #

_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Thu May 18, 2017 8:00 pm    Post subject: Reply with quote

I re-did glbc and python, and then added coreutills in hopes it would help. no luck, but maybe this will give a clue: seems to be no emerge. 8O

Code:
root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/coreutils-8.27.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % mount -t proc none /mnt/gentoo/proc
root@sysresccd /mnt/gentoo % mount --rbind /sys /mnt/gentoo/sys
root@sysresccd /mnt/gentoo % mount --rbind /dev /mnt/gentoo/dev
root@sysresccd /mnt/gentoo % cp -L /etc/resolv.conf /mnt/gentoo/etc/
cp: overwrite '/mnt/gentoo/etc/resolv.conf'? y
root@sysresccd /mnt/gentoo % chroot /mnt/gentoo /bin/bash
sysresccd / #
sysresccd / # source /etc/profile
sysresccd / # PS1="(chroot) $PS1"
(chroot) sysresccd / #
(chroot) sysresccd / # emerge --info
bash: emerge: command not found
(chroot) sysresccd / # python3.4 /usr/bin/emerge --info
python3.4: can't open file '/usr/bin/emerge': [Errno 2] No such file or directory
(chroot) sysresccd / #


EDIT just looked in /usr/bin and found the emerge there is a broken link to ,,lib/python-exec/python-exec2. maybe get the python-exec package in BINHOST?
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental


Last edited by wrc1944 on Thu May 18, 2017 8:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48148
Location: 56N 3W

PostPosted: Thu May 18, 2017 8:19 pm    Post subject: Reply with quote

wrc1944,

Thats worrying that emerge is missing.

Code:
$ equery b emerge
 * Searching for emerge ...
dev-vcs/git-2.13.0 (/usr/libexec/git-core/mergetools/emerge)
sys-apps/portage-2.3.5 (/usr/lib64/python3.4/site-packages/portage/tests/emerge)
sys-apps/portage-2.3.5 (/usr/lib/python-exec/python3.4/emerge)
sys-apps/portage-2.3.5 (/usr/bin/emerge -> ../lib/python-exec/python-exec2)
sys-apps/portage-2.3.5 (/usr/lib/python-exec/python2.7/emerge)
sys-apps/portage-2.3.5 (/usr/lib64/python2.7/site-packages/portage/tests/emerge)

Here, its a symlink.

Its provided by the sys-apps/portage package anyway.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Thu May 18, 2017 8:28 pm    Post subject: Reply with quote

EDIT just looked in /usr/bin and found the emerge there is a broken link to ,,lib/python-exec/python-exec2. maybe get the python-exec package in BINHOST?

Just tried ls -a /usr/src, and it now works! wow. before, it didn't.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48148
Location: 56N 3W

PostPosted: Thu May 18, 2017 8:38 pm    Post subject: Reply with quote

wrc1944,

Here you go

Code:
$ equery b python-exec2
 * Searching for python-exec2 ...
dev-lang/python-exec-2.4.5 (/usr/lib/python-exec/python-exec2)

You are getting the hang of it.

ls came from coreutils, so you must have got that right too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Thu May 18, 2017 8:43 pm    Post subject: Reply with quote

I just found emerge in mnt/gentoo/usr/lib/python-exec/python3.4/ maybe I can fix the broken link if ln works as ls finally does?

so should I get the python-exe package and/or fix the broken link?
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48148
Location: 56N 3W

PostPosted: Thu May 18, 2017 8:46 pm    Post subject: Reply with quote

wrc1944,

You tell us :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Thu May 18, 2017 9:25 pm    Post subject: Reply with quote

OK- did the python-exec fix, and the /usr/bin/emerge link is now not broken even though I did not re-do it myself. Is that simply due to the python-exec package getting fixed?

Anyway, norhing else is different. I still get:
Code:
 root@sysresccd /mnt/gentoo % tar --xattrs -xpf /mnt/gentoo/usr/portage/packages/python-exec-2.4.5.tbz2 -C /mnt/gentoo

bzip2: (stdin): trailing garbage after EOF ignored
root@sysresccd /mnt/gentoo % mount -t proc none /mnt/gentoo/proc
root@sysresccd /mnt/gentoo % mount --rbind /sys /mnt/gentoo/sys
root@sysresccd /mnt/gentoo % mount --rbind /dev /mnt/gentoo/dev
root@sysresccd /mnt/gentoo % cp -L /etc/resolv.conf /mnt/gentoo/etc/
cp: overwrite '/mnt/gentoo/etc/resolv.conf'? y
root@sysresccd /mnt/gentoo %
root@sysresccd /mnt/gentoo % chroot /mnt/gentoo /bin/bash
sysresccd / # source /etc/profile
sysresccd / # PS1="(chroot) $PS1"
(chroot) sysresccd / #
(chroot) sysresccd / #
(chroot) sysresccd / # emerge --info
Illegal instruction
(chroot) sysresccd / #
(chroot) sysresccd / # python3.4 /usr/bin/emerge --info
Illegal instruction
(chroot) sysresccd / #

and the illegal instruction is back. What else could it be- I've fixed everything and still no emerge. Maybe this time I forgot to boot with the 64bit kernel- I was being talked to at the time, and distracted wnen I rebooted the cd. I'll do it one more time, but the link was fixed and the package untarred OK. It's still a mystery. :roll:
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48148
Location: 56N 3W

PostPosted: Thu May 18, 2017 9:55 pm    Post subject: Reply with quote

wrc1944,

/usr/bin/emerge starts
Code:
#!/usr/bin/python-exec2c

so it uses /usr/bin/python-exec2c to execute.

Code:
$ equery b /usr/bin/python-exec2c
 * Searching for /usr/bin/python-exec2c ...
dev-lang/python-exec-2.4.5 (/usr/bin/python-exec2c)
so it needs dev-lang/python-exec.

In turn, /usr/bin/python-exec2c needs
Code:
$ lddtree /usr/bin/python-exec2c
/usr/bin/python-exec2c (interpreter => /lib64/ld-linux-x86-64.so.2)
    libc.so.6 => /lib64/libc.so.6
which is provided by glibc which you have fixed.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Thu May 18, 2017 10:22 pm    Post subject: Reply with quote

Interesting- I just looked at the bootstrap script and saw gettext so I did that one, and also portage-utils, cause it seemed relevant. So that's about all packages I can think of. Will now chroot and see if stuff is better.

EDIT: Well- no luck :
Code:
 (chroot) sysresccd / # emerge --info
Illegal instruction
(chroot) sysresccd / # python3.4 /usr/bin/emerge --info
Illegal instruction
(chroot) sysresccd / #

I might be at the end of the road.... :?

One new thing is that the ln -s command now works. But no emerge, no Gentoo. :roll: Would the illegal emerge --info mean python is still or again broken by something I did?

would readline or util-linux be relevant?
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 48148
Location: 56N 3W

PostPosted: Fri May 19, 2017 9:07 am    Post subject: Reply with quote

wrc1944,

Doing it the hard way, with strace emerge --info and looking at the calls to open emerge --info uses a lot more binaries.

e.g.
Code:
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
...
open("/lib64/libbz2.so.1", O_RDONLY|O_CLOEXEC) = 3
...
open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
...
open("/usr/lib64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3
...
open("/lib64/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 4
open("/lib64/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 4
...
open("/lib64/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 4
open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 4
...
open("/usr/lib64/libexpat.so.1", O_RDONLY|O_CLOEXEC) = 4
...
and thats probably not the end of the list.

If your strace works you can do this for yourself and see where the illegal instrucion(s) happen.

When the illegal instruction happens, there may be an entry at the end of dmesg that says where it was.
That might avoid fixing everything. Fix the package that fails, rinse and repeat.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Fri May 19, 2017 12:20 pm    Post subject: Reply with quote

Tried strace emerge info, but get this:
Code:
(chroot) sysresccd / # strace emerge --info
bash: strace: command not found
(chroot) sysresccd / #

Is whatever has strace on the BINHOST site?
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 4761
Location: Illinois, USA

PostPosted: Fri May 19, 2017 12:29 pm    Post subject: Reply with quote

I have multiple strace:
Code:
gentoo ~ # equery b strace
 * Searching for strace ...
dev-util/strace-4.13 (/usr/bin/strace)
sys-kernel/gentoo-sources-4.4.38 (/usr/src/linux-4.4.38-gentoo/tools/perf/trace/strace)
sys-kernel/gentoo-sources-4.8.11 (/usr/src/linux-4.8.11-gentoo/tools/perf/trace/strace)
sys-kernel/gentoo-sources-4.8.15 (/usr/src/linux-4.8.15-gentoo/tools/perf/trace/strace)
sys-kernel/gentoo-sources-4.10.11 (/usr/src/linux-4.10.11-gentoo/tools/perf/trace/strace)
sys-kernel/gentoo-sources-4.10.12 (/usr/src/linux-4.10.12-gentoo/tools/perf/trace/strace)
sys-kernel/gentoo-sources-4.10.13 (/usr/src/linux-4.10.13-gentoo/tools/perf/trace/strace)
sys-kernel/gentoo-sources-4.10.15 (/usr/src/linux-4.10.15-gentoo/tools/perf/trace/strace)
sys-kernel/gentoo-sources-4.11.1 (/usr/src/linux-4.11.1-gentoo/tools/perf/trace/strace)
You probably need dev-util/strace
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3378
Location: Gainesville, Florida

PostPosted: Fri May 19, 2017 12:30 pm    Post subject: Reply with quote

found it at BINHOST. Thanks.

Here's the strace emerge --info oupur. Looks like a bunch of python and portage stuff not existing.
https://pastebin.com/eqV7HcEx
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.36.1, gcc-10.3.0, kernel-5.11.15 USE=experimental


Last edited by wrc1944 on Fri May 19, 2017 12:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 4761
Location: Illinois, USA

PostPosted: Fri May 19, 2017 12:38 pm    Post subject: Reply with quote

Quote:
Main box- Gigabyte GIGABYTE GA-990FXA-UD3 AM3+ rev.-4.0
FX-8320, 3.5 GHz, 16GB GSkill DDR3 1866mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.23-r3, gcc-6.3.0 kernel-4.11.0-gentoo (USE=experimental "native")


I masked 4.11.0 on my Kaveri because it wouldn't build external module R8168. Someone else also had trouble with an external module, maybe nvidia, I'm not sure. Anyway my problem disappeared with 4.11.1
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5900
Location: Removed by Neddy

PostPosted: Fri May 19, 2017 12:50 pm    Post subject: Reply with quote

wrc1944 wrote:
found it at BINHOST. Thanks.

Here's the strace emerge --info oupur. Looks like a bunch of python and portage stuff not existing.
https://pastebin.com/eqV7HcEx



Quote:
open("/usr/lib/gcc/i486-pc-linux-gnu/4.4.2/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

ummm ... what exactly did you download?
_________________
https://www.otw20.com/ Where you can talk
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3 ... 13, 14, 15 ... 20, 21, 22  Next
Page 14 of 22

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum