Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
git broke out of nowhere and solved itself mysteriously, too
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
V10lator
Apprentice
Apprentice


Joined: 11 Jul 2004
Posts: 207

PostPosted: Thu Jan 13, 2022 11:16 am    Post subject: git broke out of nowhere and solved itself mysteriously, too Reply with quote

So lately I wanted to do a simple git clone. It hangs after "Resolving deltas: 100% (525/525), done." eating 100% CPU on one core (let it run for days to confirm it hangs). Other git actions either do the same or eat all my RAM (16 GB) untill they get OOM killed. So I thought maybe a world update will fix this but portage hangs while using git now, too, so I'm no longer able to emerge --sync.

Any idea how to debug and hopefull fix git?


Last edited by V10lator on Fri Jan 14, 2022 5:48 am; edited 1 time in total
Back to top
View user's profile Send private message
jpp_
Tux's lil' helper
Tux's lil' helper


Joined: 23 Oct 2009
Posts: 110
Location: Argentina

PostPosted: Thu Jan 13, 2022 12:32 pm    Post subject: Reply with quote

did you check your hard disk?

Regards
Back to top
View user's profile Send private message
V10lator
Apprentice
Apprentice


Joined: 11 Jul 2004
Posts: 207

PostPosted: Thu Jan 13, 2022 1:15 pm    Post subject: Reply with quote

Which one? So far I fsckd:
- The partition the first git clone failed.
- The partition portage strores the repos.
- The root partition.

Still no fix through.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Fri Jan 14, 2022 5:32 am    Post subject: Reply with quote

Give full command and full output.

If you can't emerge --sync, try emerge-webrsync.

Added: Also, look at the output of df. Disks full?
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
V10lator
Apprentice
Apprentice


Joined: 11 Jul 2004
Posts: 207

PostPosted: Fri Jan 14, 2022 5:47 am    Post subject: Reply with quote

figueroa wrote:
Give full command and full output.

I just wanted to repeat the command for that but now it works out of nowhere again. 8O
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1847
Location: Germany

PostPosted: Fri Jan 14, 2022 9:06 am    Post subject: Reply with quote

uh, keep watching for anything like this in the future and also watch your disks. I could be a sign that something is wrong
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
user
Apprentice
Apprentice


Joined: 08 Feb 2004
Posts: 214

PostPosted: Fri Jan 14, 2022 3:08 pm    Post subject: Reply with quote

Hi V10lator
happen for me since >=dev-vcs/git-2.32.0

Solution was compiling git without -fipa-pta cflag
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Fri Jan 14, 2022 6:38 pm    Post subject: Reply with quote

There is no such USE flag:
Code:
[ebuild   R    ] dev-vcs/git-2.34.1::gentoo  USE="blksha1 curl gpg iconv nls pcre perl threads webdav -cgi -cvs -doc -emacs -gnome-keyring -highlight -mediawiki -mediawiki-experimental -perforce (-ppcsha1) -subversion -test -tk -xinetd" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"

_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1991

PostPosted: Fri Jan 14, 2022 6:45 pm    Post subject: Reply with quote

user wrote:
Solution was compiling git without -fipa-pta cflag


I doubt anyone will have this set unless explicitly added to make.conf CFLAGS begin with. It is not a good thing to add yourself.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2098

PostPosted: Mon Jan 17, 2022 5:18 am    Post subject: Reply with quote

Likely related to bug 809419 which is fixed with newer GCC.

Avoid using unsafe CFLAGS globally.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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