View previous topic :: View next topic |
Author |
Message |
V10lator Apprentice
Joined: 11 Jul 2004 Posts: 207
|
Posted: Thu Jan 13, 2022 11:16 am Post subject: git broke out of nowhere and solved itself mysteriously, too |
|
|
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 |
|
|
jpp_ Tux's lil' helper
Joined: 23 Oct 2009 Posts: 110 Location: Argentina
|
Posted: Thu Jan 13, 2022 12:32 pm Post subject: |
|
|
did you check your hard disk?
Regards |
|
Back to top |
|
|
V10lator Apprentice
Joined: 11 Jul 2004 Posts: 207
|
Posted: Thu Jan 13, 2022 1:15 pm Post subject: |
|
|
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 |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Fri Jan 14, 2022 5:32 am Post subject: |
|
|
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 |
|
|
V10lator Apprentice
Joined: 11 Jul 2004 Posts: 207
|
Posted: Fri Jan 14, 2022 5:47 am Post subject: |
|
|
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. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1847 Location: Germany
|
|
Back to top |
|
|
user Apprentice
Joined: 08 Feb 2004 Posts: 214
|
Posted: Fri Jan 14, 2022 3:08 pm Post subject: |
|
|
Hi V10lator
happen for me since >=dev-vcs/git-2.32.0
Solution was compiling git without -fipa-pta cflag |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Fri Jan 14, 2022 6:38 pm Post subject: |
|
|
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 |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1991
|
Posted: Fri Jan 14, 2022 6:45 pm Post subject: |
|
|
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 |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2098
|
|
Back to top |
|
|
|