Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836310 - dev-lang/zig-0.9.1 fails to compile: expected LLVM 13.x but found 14.0.0 using llvm-config
Summary: dev-lang/zig-0.9.1 fails to compile: expected LLVM 13.x but found 14.0.0 usin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-28 08:11 UTC by Agostino Sarubbo
Modified: 2022-03-29 10:50 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,44.73 KB, text/plain)
2022-03-28 08:11 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,46.51 KB, text/plain)
2022-03-28 08:11 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-03-28 08:11:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/zig-0.9.1 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-28 08:11:55 UTC
CC'ing also the author of the commit (d3e007705a1dbe686551fba460f2294285043db0)
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-28 08:11:56 UTC
Created attachment 768044 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2022-03-28 08:11:57 UTC
Created attachment 768045 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 4 Ionen Wolkens gentoo-dev 2022-03-28 08:48:18 UTC
In case unclear, check-reqs' pkg_setup is now overriding llvm's rather than run both (appreciate if someone else fixed, can't atm).
Comment 5 Joonas Niilola gentoo-dev 2022-03-29 06:47:30 UTC
I've got series of commits queued up, will test and commit your fix ionen.
Comment 6 Larry the Git Cow gentoo-dev 2022-03-29 07:20:41 UTC
The bug has been closed via the following commit(s):

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

commit 716f9df176f41d165541932174bb10968a180f65
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-03-29 07:18:59 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-03-29 07:20:39 +0000

    dev-lang/zig: fix pkg_setup on 0.9.1
    
     - two eclasses export pkg_setup causing a conflict.
    
    Closes: https://bugs.gentoo.org/836310
    Thanks-to: Ionen Wolkens <ionen@gentoo.org>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-lang/zig/zig-0.9.1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2022-03-29 10:50:57 UTC
The bug has been referenced in the following commit(s):

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

commit 1c1aedd190ddd20cb3ac99aaba07b281b5f4f388
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-03-29 10:34:16 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-03-29 10:50:20 +0000

    dev-lang/zig: propagate #836310 fix to other versions + live
    
    Thanks for 0.9.1 fix.
    
    Bug: https://bugs.gentoo.org/836310
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-lang/zig/zig-0.7.1.ebuild    | 5 +++++
 dev-lang/zig/zig-0.8.1-r1.ebuild | 5 +++++
 dev-lang/zig/zig-9999.ebuild     | 5 +++++
 3 files changed, 15 insertions(+)