Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931896 - [guru] dev-util/webgpu-headers-20240512 fails to compile: make: go: No such file or directory
Summary: [guru] dev-util/webgpu-headers-20240512 fails to compile: make: go: No such f...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gonçalo Negrier Duarte
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-14 07:11 UTC by Agostino Sarubbo
Modified: 2024-05-14 15:51 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,44.01 KB, text/plain)
2024-05-14 07: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 2024-05-14 07:11:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/webgpu-headers-20240512 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-14 07:11:29 UTC
Created attachment 892912 [details]
build.log

build log and emerge --info
Comment 2 Gonçalo Negrier Duarte 2024-05-14 07:18:59 UTC
I did take dev-lang/go out, because we only need the header. 
Didn't except the guru tinderbox to run emake.

Thanks for the bug :)
Comment 3 Kyle Elbert 2024-05-14 09:18:31 UTC
(In reply to Gonçalo Negrier Duarte from comment #2)
> I did take dev-lang/go out, because we only need the header. 
> Didn't except the guru tinderbox to run emake.
> 
> Thanks for the bug :)

It runs what the ebuild says to run: since you didn't set a src_compile portage used the default one which runs emake if there's a makefile.
Comment 4 Gonçalo Negrier Duarte 2024-05-14 09:26:55 UTC
(In reply to Kyle Elbert from comment #3)
> (In reply to Gonçalo Negrier Duarte from comment #2)
> > I did take dev-lang/go out, because we only need the header. 
> > Didn't except the guru tinderbox to run emake.
> > 
> > Thanks for the bug :)
> 
> It runs what the ebuild says to run: since you didn't set a src_compile
> portage used the default one which runs emake if there's a makefile.

Yes I complety forgot about it, but it fix now:
https://github.com/gentoo/guru/commit/d2b3f219b793bda910451fa111f8407bd9e800e6
Comment 5 Lucio Sauer 2024-05-14 10:32:24 UTC
(In reply to Gonçalo Negrier Duarte from comment #4)
> https://github.com/gentoo/guru/commit/
> d2b3f219b793bda910451fa111f8407bd9e800e6

Please move 'dev-lang/go' to BDEPDEND, since we need to run the binary on CBUILD.

Also,  rename 'BSD-3' to 'BSD' in the LICENSE variable and don't install the license into the package image in src_install. The LICENSE variable holds all necessary information.

Thank you!
Comment 6 Larry the Git Cow gentoo-dev 2024-05-14 15:51:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d2b3f219b793bda910451fa111f8407bd9e800e6

commit d2b3f219b793bda910451fa111f8407bd9e800e6
Author:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
AuthorDate: 2024-05-14 09:24:16 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
CommitDate: 2024-05-14 09:25:36 +0000

    dev-util/webgpu-headers: add missing dev-lang/go
    
    * by default the makefile will run (besides not being need)
    
    Closes: https://bugs.gentoo.org/931896
    Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>

 dev-util/webgpu-headers/webgpu-headers-20240512.ebuild | 4 +++-
 dev-util/webgpu-headers/webgpu-headers-9999.ebuild     | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)