Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917116 - media-libs/mesa-23.3.0_rc3: fatal error: git_sha1.h: No such file or directory
Summary: media-libs/mesa-23.3.0_rc3: fatal error: git_sha1.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: https://gitlab.freedesktop.org/mesa/m...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-10 11:44 UTC by Michał Górny
Modified: 2023-11-16 04:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,7.94 KB, text/plain)
2023-11-10 11:45 UTC, Michał Górny
Details
media-libs:mesa-23.3.0_rc3:20231110-113425.log.xz (media-libs:mesa-23.3.0_rc3:20231110-113425.log.xz,22.49 KB, application/x-xz)
2023-11-10 11:46 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-10 11:44:55 UTC
Looks like a race condition, i.e. a missing cross-target dependency:

../mesa-23.3.0-rc3/src/gallium/drivers/r600/r600_pipe_common.c:40:10: fatal error: git_sha1.h: No such file or directory
   40 | #include "git_sha1.h"
      |          ^~~~~~~~~~~~
compilation terminated.

If I explicitly 'ninja src/git_sha1.h' first, it compiles.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-10 11:45:52 UTC
Created attachment 874446 [details]
emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-10 11:46:03 UTC
Created attachment 874447 [details]
media-libs:mesa-23.3.0_rc3:20231110-113425.log.xz
Comment 3 Matt Turner gentoo-dev 2023-11-14 18:32:50 UTC
Thanks. You're exactly right.

I've made an upstream MR to fix this: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26195
Comment 4 Larry the Git Cow gentoo-dev 2023-11-16 04:11:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9abba39dbb26b3d4dca93c43b1fdbb50302a407

commit a9abba39dbb26b3d4dca93c43b1fdbb50302a407
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-11-16 04:10:22 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-11-16 04:11:01 +0000

    media-libs/mesa: Version bump to 23.3.0_rc4
    
    Closes: https://bugs.gentoo.org/917116
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 media-libs/mesa/Manifest               |   1 +
 media-libs/mesa/mesa-23.3.0_rc4.ebuild | 445 +++++++++++++++++++++++++++++++++
 2 files changed, 446 insertions(+)