Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #937

Closed
Open
Opened Dec 12, 2023 by yufei wang@feifei1 of 3 tasks completed1/3 tasks

编译及安装包制作中出现go mod和git管理代码导致的go.sum校验和不匹配

【问题分类】

  • bug
  • 环境依赖 go 1.18版本(sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.18.10.linux-amd64.tar.gz)
  • 其他补充:

【问题描述】(请对问题进行描述,方便定位问题)

image [root@localhost scripts]# ./build_release.shbuild chainmaker /root/workspace/chainmaker-go...build for linux or macverifying github.com/oleiade/reflections@v1.0.0/go.mod: checksum mismatchdownloaded: hl:rdFxbxg40XVZwjoF+e9jqjDkc7dbp97vkRixKo2JR60=go.sum:h1:RbATFBbKYkVdqmsFtx13Bb/tVhRolgOBXunWTZKeL4w= SECURITY ERRORThis download does NOT match an earlier download recorded in go.sum.The bits may have been replaced on the origin server, or an attacker mayhave intercepted the download attempt. For more information, see 'go help module-auth!make: *** [chainmaker] Error 1

具体的现象,操作步骤,前置条件等,尽可能描述清楚,有截图说明更佳 然后我进行修改使用了 go clean -modcache go mod tidy 这两种命令会出现go mode tidy出现报错go: warning: “all“ matched no packages

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#937

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。