From: alexei@taf.ru To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] Сломалась сборка zabbix с golang 1.17.1 Date: Tue, 14 Sep 2021 15:59:29 +0800 (IRKT) Message-ID: <857794616.588645.1631606369337.JavaMail.zimbra@taf.ru> (raw) Добрый день! Нужна помощь зала. После вчерашнего обновления golang до 1.17.1 перестал собираться zabbix (конкретно его компонент zabbix-agent2) с такой диагностикой: make[2]: Entering directory '/usr/src/RPM/BUILD/zabbix-5.4.4/src/go' CGO_CFLAGS="-I/usr/include" CGO_LDFLAGS="-L/usr/lib -L/usr/lib -Wl,--start-group /usr/src/RPM/BUILD/zabbix-5.4.4/src/zabbix_agent/logfiles/libzbxlogfiles.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxcomms/libzbxcomms.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxcommon/libzbxcommon.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxcrypto/libzbxcrypto.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxsys/libzbxsys.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxnix/libzbxnix.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxconf/libzbxconf.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxhttp/libzbxhttp.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxcompress/libzbxcompress.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxregexp/libzbxregexp.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxsysinfo/libzbxagent2sysinfo.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxsysinfo/common/libcommonsysinfo.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxsysinfo/simple/libsimplesysinfo.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxsysinfo/linux/libspechostnamesysinfo.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxsysinfo/linux/libspecsysinfo.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxexec/libzbxexec.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxalgo/libzbxalgo.a /usr/src/RPM/BUILD/zabbix-5.4.4/src/libs/zbxjson/libzbxjson.a -lm -ldl -lresolv -lxml2 -lpcre -lz -lpthread -lssl -lcrypto -lldap -llber -lcurl -Wl,--end-group" go build -ldflags="-X 'zabbix.com/pkg/version.compileDate=`date +"%b %_d %Y"`' -X zabbix.com/pkg/version.compileTime=`date +%H:%M:%S` -X zabbix.com/pkg/version.compileOs=`go env GOOS` -X zabbix.com/pkg/version.compileArch=`go env GOARCH` -X main.confDefault=/etc/zabbix/zabbix_agent2.conf -X main.applicationName=zabbix_agent2" -o bin zabbix.com/cmd/zabbix_agent2 # zabbix.com/cmd/zabbix_agent2 2021/09/14 07:44:36 main: reference to nonexistent package fmt make[2]: *** [Makefile:609: zabbix.com/cmd/zabbix_agent2] Error 2 make[2]: Leaving directory '/usr/src/RPM/BUILD/zabbix-5.4.4/src/go' make[1]: *** [Makefile:502: all-recursive] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/zabbix-5.4.4/src' make: *** [Makefile:539: all-recursive] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/zabbix-5.4.4' error: Bad exit status from /usr/src/tmp/rpm-tmp.23499 (%build) Подскажите куда смотреть и что править?
next reply other threads:[~2021-09-14 7:59 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-14 7:59 alexei [this message] 2021-09-14 8:14 ` Dmitry V. Levin 2021-09-20 17:31 ` Vladimir Didenko 2021-09-21 10:21 ` Dmitry V. Levin 2021-09-22 22:25 ` Михаил Гордеев 2021-09-22 22:38 ` Dmitry V. Levin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=857794616.588645.1631606369337.JavaMail.zimbra@taf.ru \ --to=alexei@taf.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git