Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-vcs/git-2.48.1 fails build
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
JustCauseWhyNot
Apprentice
Apprentice


Joined: 07 Dec 2021
Posts: 167

PostPosted: Sun Jan 26, 2025 12:31 am    Post subject: dev-vcs/git-2.48.1 fails build Reply with quote

emerge --info, emerge -pqv, and build.log. I think it's a bug with git, but I'm not completely sure. I've tried building with multiple different portage env, but nothing I tried would result in successful build. I hade to change the order of my make.conf so that COMMON_FLAGS was set first.

Last edited by JustCauseWhyNot on Sun Jan 26, 2025 5:09 am; edited 2 times in total
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1507
Location: Earth

PostPosted: Sun Jan 26, 2025 2:33 am    Post subject: Reply with quote

hmm, no problems on my System https://0x0.st/8Xyx.log

but, i don't use -O3 - lto - poly - hollywood options like you - no offence :lol:

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
JustCauseWhyNot
Apprentice
Apprentice


Joined: 07 Dec 2021
Posts: 167

PostPosted: Sun Jan 26, 2025 2:37 am    Post subject: Reply with quote

Quote:
i don't use -O3 - lto - poly - hollywood options like you - no offence
I linked the environmental files I used to disable those options. Unless it wasn't actually disabling lto, O3, or polly then it should've built when I passed those files.
Back to top
View user's profile Send private message
JustCauseWhyNot
Apprentice
Apprentice


Joined: 07 Dec 2021
Posts: 167

PostPosted: Sun Jan 26, 2025 2:42 am    Post subject: Reply with quote

Actually they probably weren't working since I had the files named without a .conf at the end. I'll rename the environment files. I'm guessing that'll fix the issue.
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 461

PostPosted: Sun Jan 26, 2025 3:11 am    Post subject: Reply with quote

Having a .conf extension does not matter.
I normally compile with -O3 and -flto, but I did test your env file as well and I could compile git.
I'm suspecting a combination of env and USE flags, but your emerge -pvq does not show that info.
On my computer, it prints
emerge -pvq dev-vcs/git:
[ebuild   R   ] dev-vcs/git-2.48.1  USE="curl gpg iconv pcre safe-directory webdav -cgi -cvs -doc -highlight -keyring -mediawiki -nls -perforce -perl (-selinux) -subversion -test -tk -xinetd" PYTHON_SINGLE_TARGET="python3_13 -python3_10 -python3_11 -python3_12"
Back to top
View user's profile Send private message
JustCauseWhyNot
Apprentice
Apprentice


Joined: 07 Dec 2021
Posts: 167

PostPosted: Sun Jan 26, 2025 3:19 am    Post subject: Reply with quote

Quote:
Having a .conf extension does not matter.
You're right. This is my emerge -pqv
Code:
[ebuild     U  ] dev-vcs/git                                           [2.48.1::gentoo]             [2.47.1::gentoo] USE="curl gpg iconv nls pcre perl safe-directory webdav -cgi -cvs -doc -highlight -keyring -mediawiki -perforce (-selinux) -subversion -test -tk -xinetd (-blksha1%*)"
PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 0 KiB
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2108

PostPosted: Sun Jan 26, 2025 4:22 am    Post subject: Reply with quote

In your emerge --info, CFLAGS is blank.
Back to top
View user's profile Send private message
JustCauseWhyNot
Apprentice
Apprentice


Joined: 07 Dec 2021
Posts: 167

PostPosted: Sun Jan 26, 2025 4:27 am    Post subject: Reply with quote

Here's my make.conf. I've got no idea why cflags is empty. Is it cause I'm specifying common flags in it?
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2108

PostPosted: Sun Jan 26, 2025 4:51 am    Post subject: Reply with quote

You're setting CFLAGS before COMMON_FLAGS.
Back to top
View user's profile Send private message
JustCauseWhyNot
Apprentice
Apprentice


Joined: 07 Dec 2021
Posts: 167

PostPosted: Sun Jan 26, 2025 4:54 am    Post subject: Reply with quote

Quote:
You're setting CFLAGS before COMMON_FLAGS.
I didn't realize that made a difference. Thanks. Still getting errors, but cflags is set now.
Back to top
View user's profile Send private message
JustCauseWhyNot
Apprentice
Apprentice


Joined: 07 Dec 2021
Posts: 167

PostPosted: Sun Jan 26, 2025 5:03 am    Post subject: Reply with quote

It built now, and idk why
Back to top
View user's profile Send private message
JustCauseWhyNot
Apprentice
Apprentice


Joined: 07 Dec 2021
Posts: 167

PostPosted: Sun Jan 26, 2025 5:09 am    Post subject: Reply with quote

Here's buil.log gcc, and build.log clang. It's still failing. This is the build.log that succeeded somehow.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2108

PostPosted: Sun Jan 26, 2025 10:46 am    Post subject: Reply with quote

I think it's a parallel build issue. Please file a bug with each build.log that failed and emerge --info (one bug with several build.logs attached for each failure you got). It's possibly fixed by https://lore.kernel.org/git/20250122-b4-pks-meson-additions-v3-4-5a51eb5d3dcd@pks.im/.
Back to top
View user's profile Send private message
JustCauseWhyNot
Apprentice
Apprentice


Joined: 07 Dec 2021
Posts: 167

PostPosted: Sun Jan 26, 2025 5:21 pm    Post subject: Reply with quote

Can I upload a tar file on bugs.gentoo.org? I've got 22 build.logs that are relevant to the bug I created. It's only 3.6M of files, but I don't wanna upload 24 files individually.
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