Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937874 - media-libs/mesa-24.2.0_rc4 emerge fails Package 'syn' not found ?
Summary: media-libs/mesa-24.2.0_rc4 emerge fails Package 'syn' not found ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-13 15:18 UTC by Andy Pettinger
Modified: 2024-08-14 21:57 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge --info.txt,5.90 KB, text/plain)
2024-08-13 15:18 UTC, Andy Pettinger
Details
build.log (build.log.txt,16.67 KB, text/plain)
2024-08-13 15:18 UTC, Andy Pettinger
Details
meson-log (meson-log.txt,232.08 KB, text/plain)
2024-08-13 15:19 UTC, Andy Pettinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Pettinger 2024-08-13 15:18:15 UTC
Created attachment 900067 [details]
emerge --info

[ebuild     U  ] media-libs/mesa-24.2.0_rc4::gentoo [24.1.5::gentoo] USE="X (opengl) proprietary-codecs vulkan wayland zstd -d3d9 -debug -llvm -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan-overlay -xa" CPU_FLAGS_X86="sse2" LLVM_SLOT="18 -15 -16 -17" VIDEO_CARDS="nouveau nvk zink -d3d12 (-freedreno) -intel -lavapipe (-lima) (-panfrost) -r300 -r600 -radeon -radeonsi (-v3d) (-vc4) -virgl (-vivante) -vmware" 0 KiB

emerge fails with 

Run-time dependency syn found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency syn

../mesa-24.2.0-rc4/src/nouveau/compiler/meson.build:46:10: ERROR: Automatic wrap-based subproject downloading is disabled
Comment 1 Andy Pettinger 2024-08-13 15:18:59 UTC
Created attachment 900068 [details]
build.log
Comment 2 Andy Pettinger 2024-08-13 15:19:26 UTC
Created attachment 900069 [details]
meson-log
Comment 3 Mark Wood 2024-08-13 17:27:27 UTC
Having the same issue, suspecting it’s nvk related as syn is a rust library.
Comment 4 andy 2024-08-13 17:38:01 UTC
same issue here . i have had this issue since commit : https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92860b9146e02479dd67de74585f3d170f8c03e1 on media-libs/mesa-9999 . revert it will fix it .
Comment 5 Eli Schwartz gentoo-dev 2024-08-14 21:12:19 UTC
$ cat /var/tmp/portage/media-libs/mesa-24.2.0_rc4/work/mesa-24.2.0-rc4/subprojects/syn.wrap
[wrap-file]
directory = syn-2.0.68
source_url = https://crates.io/api/v1/crates/syn/2.0.68/download
source_filename = syn-2.0.68.tar.gz
source_hash = 901fa70d88b9d6c98022e23b4136f9f3e54e4662c3bc1bd1d84a42a9a0f0c1e9
patch_directory = syn


The crate we download in SRC_URI is syn-2.0.39.crate which is the wrong version. I suppose that this means the commit in question is now saving us from "too old version", which could have been a runtime or compilation failure but is now a configuration error.
Comment 6 Larry the Git Cow gentoo-dev 2024-08-14 21:57:57 UTC
The bug has been closed via the following commit(s):

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

commit 269891ea6187da68915f63f34019ae36ecb96035
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-08-14 21:04:19 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-08-14 21:57:53 +0000

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

 media-libs/mesa/Manifest           |   1 +
 media-libs/mesa/mesa-24.2.0.ebuild | 490 +++++++++++++++++++++++++++++++++++++
 2 files changed, 491 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit 928e61d4d6c1049da2e33c37b40bfd997ba47a74
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-08-14 21:29:46 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-08-14 21:57:52 +0000

    media-libs/mesa: Update syn and proc-macro2 crates
    
    The required versions of these were raised in upstream commits 3f91f2cf31a
    ("meson: Update syn subproject") and 9945f9e8d3c ("meson: Update proc-macro2
    subproject")
    
    Bug: https://bugs.gentoo.org/937874
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 media-libs/mesa/Manifest         | 2 ++
 media-libs/mesa/mesa-9999.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)