Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834695 - net-analyzer/zabbix[agent2] build failed
Summary: net-analyzer/zabbix[agent2] build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 834758
Blocks:
  Show dependency tree
 
Reported: 2022-03-06 21:00 UTC by Alexey Shvetsov
Modified: 2022-03-09 11:49 UTC (History)
3 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 Alexey Shvetsov archtester gentoo-dev 2022-03-06 21:00:34 UTC
>>> Unpacking zabbix-5.4.9.tar.gz to /var/tmp/portage/net-analyzer/zabbix-5.4.9-r1/work
 * Tidying go.mod/go.sum
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
 * ERROR: net-analyzer/zabbix-5.4.9-r1::gentoo failed (unpack phase):
 *   go mod tidy failed
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_unpack
 *   environment, line 3889:  Called go-module_src_unpack
 *   environment, line 2031:  Called _go-module_src_unpack_gosum
 *   environment, line 1030:  Called _go-module_src_unpack_verify_gosum
 *   environment, line 1040:  Called ego 'mod' 'tidy'
 *   environment, line 1466:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=net-analyzer/zabbix-5.4.9-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/zabbix-5.4.9-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =zabbix-5.4.9
 * The complete build log is located at '/var/tmp/portage/net-analyzer/zabbix-5.4.9-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/zabbix-5.4.9-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/zabbix-5.4.9-r1/work/zabbix-5.4.9'
 * S: '/var/tmp/portage/net-analyzer/zabbix-5.4.9-r1/work/zabbix-5.4.9'
Comment 1 Florian Schmaus gentoo-dev 2022-03-07 09:30:07 UTC
CC'ing williamh as this appears to be a regression in go-module.eclass (see linked github PR).
Comment 2 Alexey Shvetsov archtester gentoo-dev 2022-03-07 14:17:53 UTC
I tested change in proposed pull. Seems like it fixes this bug
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-09 11:49:01 UTC
Fix was merged (see blocker bug).