Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emerge (updating the world@ set) sys-devel/gcc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Drakop
n00b
n00b


Joined: 01 Nov 2017
Posts: 10

PostPosted: Wed Nov 01, 2017 4:14 pm    Post subject: Problem emerge (updating the world@ set) sys-devel/gcc Reply with quote

Hello,

i tryed to install Gentoo but i got a problem when i emerge (update the world@ set) (this page : https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base). I have this problem with the package sys-devel/gcc-5.4.0-r3.

i have this error :

https://www.hostingpics.net/viewer.php?id=510766Capture1.jpg

emerge --info :

https://www.hostingpics.net/viewer.php?id=477899Capture2.jpg

Build.log :

https://www.hostingpics.net/viewer.php?id=303215Capture3.jpg

Thank you !


Last edited by Drakop on Wed Nov 01, 2017 5:20 pm; edited 2 times in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5962
Location: Saint Amant, Acadiana

PostPosted: Wed Nov 01, 2017 4:22 pm    Post subject: Reply with quote

Please copy and paste the outputs here, for logs which exceed the allowed length use app-text/wgetpaste.
_________________
Please learn how to denote units correctly!

Political Correctness is all about replacing imaginary injustice with real injustice.
Back to top
View user's profile Send private message
Drakop
n00b
n00b


Joined: 01 Nov 2017
Posts: 10

PostPosted: Wed Nov 01, 2017 4:27 pm    Post subject: Reply with quote

Hello,

thanks for your reply, i can't copy / paste, i use vmware, but i already gave some screenshots in my previous post.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16918
Location: here

PostPosted: Wed Nov 01, 2017 6:08 pm    Post subject: Reply with quote

Code:
Killed (program cc1plus)

Usually is a out of memory problem. Increase ram of your vm or use a minor value of MAKEOPTS

EDIT: Welcome!
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Drakop
n00b
n00b


Joined: 01 Nov 2017
Posts: 10

PostPosted: Wed Nov 01, 2017 8:46 pm    Post subject: Problem Reply with quote

Thanks ! it was actually memory yes. but i got an error again with the package dev-libs/libgcrypt-1.8.1

The build.log file :
http://www.hostingpics.net/viewer.php?id=690441Capture1.jpg

The emerge --info :

http://www.hostingpics.net/viewer.php?id=907727Capture2.jpg

Thanks in advance ! :)
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16918
Location: here

PostPosted: Wed Nov 01, 2017 9:47 pm    Post subject: Reply with quote

For this, as Jaglover say, you should post full build.log (/var/tmp/portage/dev-libs/libgcrypt-1.8.1/temp/build.log) with wgetpaste.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 11434

PostPosted: Thu Nov 02, 2017 1:24 am    Post subject: Reply with quote

Drakop wrote:
thanks for your reply, i can't copy / paste, i use vmware, but i already gave some screenshots in my previous post.
Unfortunately, your screen is not tall enough to show the whole log. Please configure your monitor to be at least 1000k pixels tall, then try again. Alternately, and preferably, upload the logs as text so that we can search them.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5962
Location: Saint Amant, Acadiana

PostPosted: Thu Nov 02, 2017 1:44 am    Post subject: Reply with quote

You can redirect the command output into a file, then get it out from VM via shared directory or USB stick or whatnot. Be creative!
_________________
Please learn how to denote units correctly!

Political Correctness is all about replacing imaginary injustice with real injustice.
Back to top
View user's profile Send private message
Drakop
n00b
n00b


Joined: 01 Nov 2017
Posts: 10

PostPosted: Thu Nov 02, 2017 7:53 pm    Post subject: Pb Reply with quote

Hello,

so i tryed to do what you said but the problem is that when i mount my external HDD it worked but when i want to send my file to the directory it said that my filesystem is read only so i did an 'emerge sys-fs/ntfs3g' but i got an error with a python file and after that i can't use my commands anymore like 'ls, chmod' etc. but i can still use 'cd'.

here is the error :
https://www.hostingpics.net/viewer.php?id=638857Capture1.jpg
Back to top
View user's profile Send private message
Drakop
n00b
n00b


Joined: 01 Nov 2017
Posts: 10

PostPosted: Fri Nov 03, 2017 5:21 pm    Post subject: Pb Reply with quote

Up
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Nov 03, 2017 8:22 pm    Post subject: Reply with quote

Drakop,

You need to help us to help you as fedeliallalinea posted above.
_________________
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
Drakop
n00b
n00b


Joined: 01 Nov 2017
Posts: 10

PostPosted: Fri Nov 03, 2017 9:01 pm    Post subject: re Reply with quote

Hello,

i tryed to emerge wgetpaste i got an error too :cry:

https://www.hostingpics.net/viewer.php?id=868181Capture.jpg

and when i try to re emerge something it said

"bash: /usr/bin/emerge: /usr/bin/python-exec2c: bad interpreter: No such file or directory"

the main problem :

https://www.hostingpics.net/viewer.php?id=168824Capture2.jpg (/var/tmp/portage/dev-libs/libgcrypt-1.8.1/temp/build.log)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Nov 04, 2017 8:35 am    Post subject: Reply with quote

Drakop,

It looks like you have managed to remove a piece of emerge. That's your main problem now.

Run
Code:
eselect python list

It should show at least two python versions.
Code:
$ eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7
  [3]   python3.5

Use eselect python to set a different one as your main python.
Emerge will work with them all.

Run
Code:
eselect python list
again to make sure python changed.

Now try emerge again.

This is little more than a guess. Without complete logs you are unlikely to post the actual error in a photo.
_________________
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
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16918
Location: here

PostPosted: Sat Nov 04, 2017 10:13 am    Post subject: Reply with quote

I don't undestand you boot from livecd? You did chroot?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Drakop
n00b
n00b


Joined: 01 Nov 2017
Posts: 10

PostPosted: Sat Nov 04, 2017 11:00 am    Post subject: Reply with quote

NeddySeagoon :

All of this is for the first screenshot ? because i had this problem when i did an emerge --ask wgetpaste but i don't get this problem with all the packages.

I don't really understand, all i did was in the Handbook from the Gentoo website :/

fedeliallalinea :

Yeah i boot from livecd but i use Vmware, and yeah i did chroot.
Back to top
View user's profile Send private message
Drakop
n00b
n00b


Joined: 01 Nov 2017
Posts: 10

PostPosted: Sat Nov 04, 2017 12:51 pm    Post subject: Reply with quote

NeddySeagoon :

I tryed what you said but it didn't worked, it gaves me the same error !
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Nov 04, 2017 2:51 pm    Post subject: Reply with quote

Drakop,

Your first problem is due to lack of RAM, lack of swap or too high a MAKEOPTS= setting or all three.
fedeliallalinea pointed out the
Code:
Killed (program cc1plus)

That means that there was no RAM for the kernel and it could either panic and halt your system or kill a running task.
It chose to kill one of your C++ compile tasks and keep your system alive.
Its a least worst choice if you like.

Your screen shots are incomplete. As you are using vmware, you can make files available to the host and pastebin from the host.
There are several ways to accomplish that.

What does
Code:
df -ih
df -h
show. Pictures should work for that.

What does
Code:
free
show?
Again, the output is small and should fit into a screenshot.
_________________
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
Drakop
n00b
n00b


Joined: 01 Nov 2017
Posts: 10

PostPosted: Sun Nov 05, 2017 9:50 am    Post subject: Reply with quote

Hello,

Here is the output of the commands :

https://www.hostingpics.net/viewer.php?id=638591Capture.jpg
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Nov 05, 2017 5:33 pm    Post subject: Reply with quote

Drakop,

That looks OK. 4G RAM and 512MB swap in fine. 19G of HDD may end up being a bit tight.
Gentoo needs build space and space to store downloaded source code that binary distros don't.
You can keep a desktop install in 19G but you may need to prune things to do it.
As this is a VM, its easy to add more space too.

It looks like you have broken python-exec, which is a wrapper around python programs, including emerge.

Get back into your chroot and try
Code:
/usr/lib64/python-exec/python2.7/emerge  -av1  dev-lang/python-exec

The
Code:
/usr/lib64/python-exec/python2.7/emerge
runs emerge directly, without the use of the wrapper.
_________________
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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