View previous topic :: View next topic |
Author |
Message |
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 167
|
Posted: Sun Jan 26, 2025 12:31 am Post subject: dev-vcs/git-2.48.1 fails build |
|
|
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 |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1507 Location: Earth
|
Posted: Sun Jan 26, 2025 2:33 am Post subject: |
|
|
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
_________________ " 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 |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 167
|
Posted: Sun Jan 26, 2025 2:37 am Post subject: |
|
|
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 |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 167
|
Posted: Sun Jan 26, 2025 2:42 am Post subject: |
|
|
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 |
|
|
bstaletic Guru
Joined: 05 Apr 2014 Posts: 461
|
Posted: Sun Jan 26, 2025 3:11 am Post subject: |
|
|
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 |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 167
|
Posted: Sun Jan 26, 2025 3:19 am Post subject: |
|
|
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 |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2108
|
Posted: Sun Jan 26, 2025 4:22 am Post subject: |
|
|
In your emerge --info, CFLAGS is blank. |
|
Back to top |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 167
|
Posted: Sun Jan 26, 2025 4:27 am Post subject: |
|
|
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 |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2108
|
Posted: Sun Jan 26, 2025 4:51 am Post subject: |
|
|
You're setting CFLAGS before COMMON_FLAGS. |
|
Back to top |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 167
|
Posted: Sun Jan 26, 2025 4:54 am Post subject: |
|
|
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 |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 167
|
Posted: Sun Jan 26, 2025 5:03 am Post subject: |
|
|
It built now, and idk why |
|
Back to top |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 167
|
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2108
|
|
Back to top |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 167
|
Posted: Sun Jan 26, 2025 5:21 pm Post subject: |
|
|
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 |
|
|
|