Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921502 - www-apps/hugo-0.121.0 failed to build with go 1.19
Summary: www-apps/hugo-0.121.0 failed to build with go 1.19
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: tea
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-06 14:31 UTC by Thomas Kohler
Modified: 2024-01-13 13:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kohler 2024-01-06 14:31:03 UTC
..the same happen for "www-apps/hugo-0.119.0"

* a local overlay for 0.118.2 is working
* after upgrade go to 1.20 it is working

So most likely it is caused by the go version, because hugo needs at least go 1.20.

If there is a possibility to prevent the build from starting (e.g. by automatically checking the dependency), this would be nice.

Reproducible: Always

Steps to Reproduce:
1. install go 1.19 [manually](https://go.dev/doc/install)
2. add required keyword
3. emerge hugo
Actual Results:  
build fails

Expected Results:  
emerge is working
Comment 1 tea 2024-01-13 13:47:00 UTC
thank you! this will be fixed in newer ebuilds. i'm inclined to leave current ebuilds as is because go versions lower than 1.20 were removed from the tree in the meantime. feel free to reopen if you disagree.