Edge-home-orchestration-go: ΠžΡ‡ΠΈΡΡ‚ΠΈΡ‚ΡŒ Π²ΠΎ врСмя сборки

Π‘ΠΎΠ·Π΄Π°Π½Π½Ρ‹ΠΉ Π½Π° 13 июл. 2021  Β·  9ΠšΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΈ  Β·  Π˜ΡΡ‚ΠΎΡ‡Π½ΠΈΠΊ: lf-edge/edge-home-orchestration-go

Если go.sum Ρ„Π°ΠΉΠ» ΠΈ vendor ΠΏΠ°ΠΏΠΊΠ° Π½Π΅ ΡΡƒΡ‰Π΅ΡΡ‚Π²ΡƒΡŽΡ‚ Π²ΠΎ врСмя make, Π²ΠΎΠ·Π½ΠΈΠΊΠ°Π΅Ρ‚ ΡΠ»Π΅Π΄ΡƒΡŽΡ‰Π°Ρ ошибка:

Π–ΡƒΡ€Π½Π°Π» make distclean

t25kim<strong i="11">@t25kim</strong>:~/work/edge-home-orchestration-go$ make distclean

--------------------------------------
  Build clean
--------------------------------------
go: github.com/Microsoft/[email protected]: missing go.sum entry; to add it:
        go mod download github.com/Microsoft/go-winio
make: *** [Makefile:185: clean] Error 1
t25kim<strong i="12">@t25kim</strong>:~/work/edge-home-orchestration-go$ vi Makefile
t25kim<strong i="13">@t25kim</strong>:~/work/edge-home-orchestration-go$ GO111MODULE=on go clean
go: github.com/Microsoft/[email protected]: missing go.sum entry; to add it:
        go mod download github.com/Microsoft/go-winio

Π–ΡƒΡ€Π½Π°Π» make

t25kim<strong i="19">@t25kim</strong>:~/work/edge-home-orchestration-go$ make
make clean
make[1]: Entering directory '/home/t25kim/work/edge-home-orchestration-go'

--------------------------------------
  Build clean
--------------------------------------
go: github.com/Microsoft/[email protected]: missing go.sum entry; to add it:
        go mod download github.com/Microsoft/go-winio
make[1]: *** [Makefile:185: clean] Error 1
make[1]: Leaving directory '/home/t25kim/work/edge-home-orchestration-go'
make: *** [Makefile:236: all] Error 2

Π‘Π°ΠΌΡ‹ΠΉ ΠΏΠΎΠ»Π΅Π·Π½Ρ‹ΠΉ ΠΊΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΉ

@ t25kim Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΡƒΡ Π²Π΅Ρ€ΡΠΈΡŽ go 1.16.4, я смог воспроизвСсти эту ΠΎΡˆΠΈΠ±ΠΊΡƒ ΠΈ ΡƒΠΆΠ΅ знаю, ΠΊΠ°ΠΊ Π΅Π΅ ΠΈΡΠΏΡ€Π°Π²ΠΈΡ‚ΡŒ. ΠŸΡ€ΠΎΡ‚Π΅ΡΡ‚ΠΈΡ€ΡƒΡŽ ΠΈ сдСлаю Π°ΠΏΠ΄Π΅ΠΉΡ‚ сСгодня

ВсС 9 ΠšΠΎΠΌΠΌΠ΅Π½Ρ‚Π°Ρ€ΠΈΠΉ

@ t25kim Π― Π½Π΅ ΠΌΠΎΠ³Ρƒ воспроизвСсти эту ΠΎΡˆΠΈΠ±ΠΊΡƒ, ΠΎΠΏΠΈΡˆΠΈΡ‚Π΅, поТалуйста, ваши дСйствия ΠΏΠΎΠΏΠΎΠ΄Ρ€ΠΎΠ±Π½Π΅Π΅.

@ t25kim Π― Π½Π΅ ΠΌΠΎΠ³Ρƒ воспроизвСсти эту ΠΎΡˆΠΈΠ±ΠΊΡƒ, ΠΎΠΏΠΈΡˆΠΈΡ‚Π΅, поТалуйста, ваши дСйствия ΠΏΠΎΠΏΠΎΠ΄Ρ€ΠΎΠ±Π½Π΅Π΅.

@tdrozdovsky ΠΌΠΎΠ³Π»ΠΈ Π±Ρ‹ Π·Π°ΠΏΡƒΡΡ‚ΠΈΡ‚ΡŒ make distclean ΠΈΠ»ΠΈ make послС удалСния go.sum Ρ„Π°ΠΉΠ» ΠΈ vendor ΠΏΠ°ΠΏΠΊΡƒ?

virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ ls
api  bin  build  cmd  configs  deployments  Dockerfile  docs  examples  go.mod  internal  Kconfig  LICENSE  Makefile  README.md  test  third_party  tools
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ make distclean 

--------------------------------------
  Build clean
--------------------------------------
make[1]: Entering directory '/home/virtual-pc/projects/test/edge-home-orchestration-go/examples/native'
make[1]: Leaving directory '/home/virtual-pc/projects/test/edge-home-orchestration-go/examples/native'
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ 

Π”Π°Π²Π°ΠΉΡ‚Π΅ ΠΏΠΎΠΏΡ€ΠΎΠ±ΡƒΠ΅ΠΌ это ΠΈΠ· git clone.

t25kim<strong i="6">@t25kim</strong>:~$ git clone https://github.com/lf-edge/edge-home-orchestration-go.git
Cloning into 'edge-home-orchestration-go'...
remote: Enumerating objects: 5013, done.
remote: Counting objects: 100% (527/527), done.
remote: Compressing objects: 100% (301/301), done.
remote: Total 5013 (delta 214), reused 458 (delta 186), pack-reused 4486
Receiving objects: 100% (5013/5013), 2.10 MiB | 6.54 MiB/s, done.
Resolving deltas: 100% (2859/2859), done.
t25kim<strong i="7">@t25kim</strong>:~$ cd edge-home-orchestration-go/
t25kim<strong i="8">@t25kim</strong>:~/edge-home-orchestration-go$ make distclean

--------------------------------------
  Build clean
--------------------------------------
go: github.com/Microsoft/[email protected]: missing go.sum entry; to add it:
    go mod download github.com/Microsoft/go-winio
make: *** [Makefile:185: clean] Error 1
t25kim<strong i="9">@t25kim</strong>:~/edge-home-orchestration-go$ make
make clean
make[1]: Entering directory '/home/t25kim/edge-home-orchestration-go'

--------------------------------------
  Build clean
--------------------------------------
go: github.com/Microsoft/[email protected]: missing go.sum entry; to add it:
    go mod download github.com/Microsoft/go-winio
make[1]: *** [Makefile:185: clean] Error 1
make[1]: Leaving directory '/home/t25kim/edge-home-orchestration-go'
make: *** [Makefile:236: all] Error 2
t25kim<strong i="10">@t25kim</strong>:~/edge-home-orchestration-go$ 

@ t25kim Π­Ρ‚ΠΎ Π²ΠΎΠ»ΡˆΠ΅Π±ΡΡ‚Π²ΠΎ! )))

virtual-pc@virtualpc-VirtualBox:~/projects/test$ git clone https://github.com/lf-edge/edge-home-orchestration-go.git
Cloning into 'edge-home-orchestration-go'...
remote: Enumerating objects: 5013, done.
remote: Counting objects: 100% (527/527), done.
remote: Compressing objects: 100% (301/301), done.
remote: Total 5013 (delta 214), reused 458 (delta 186), pack-reused 4486
Receiving objects: 100% (5013/5013), 2.10 MiB | 1.24 MiB/s, done.
Resolving deltas: 100% (2859/2859), done.
virtual-pc@virtualpc-VirtualBox:~/projects/test$ cd edge-home-orchestration-go/
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ make distclean 

--------------------------------------
  Build clean
--------------------------------------
make[1]: Entering directory '/home/virtual-pc/projects/test/edge-home-orchestration-go/examples/native'
make[1]: Leaving directory '/home/virtual-pc/projects/test/edge-home-orchestration-go/examples/native'
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ ls
api  build  cmd  configs  deployments  Dockerfile  docs  examples  go.mod  go.sum  internal  Kconfig  LICENSE  Makefile  README.md  test  third_party  tools
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ rm go.sum 
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ ls
api  build  cmd  configs  deployments  Dockerfile  docs  examples  go.mod  internal  Kconfig  LICENSE  Makefile  README.md  test  third_party  tools
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ make clean

--------------------------------------
  Build clean
--------------------------------------
make[1]: Entering directory '/home/virtual-pc/projects/test/edge-home-orchestration-go/examples/native'
make[1]: Leaving directory '/home/virtual-pc/projects/test/edge-home-orchestration-go/examples/native'
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ 

@ t25kim Π­Ρ‚ΠΎ Π²ΠΎΠ»ΡˆΠ΅Π±ΡΡ‚Π²ΠΎ! )))

virtual-pc@virtualpc-VirtualBox:~/projects/test$ git clone https://github.com/lf-edge/edge-home-orchestration-go.git
Cloning into 'edge-home-orchestration-go'...
remote: Enumerating objects: 5013, done.
remote: Counting objects: 100% (527/527), done.
remote: Compressing objects: 100% (301/301), done.
remote: Total 5013 (delta 214), reused 458 (delta 186), pack-reused 4486
Receiving objects: 100% (5013/5013), 2.10 MiB | 1.24 MiB/s, done.
Resolving deltas: 100% (2859/2859), done.
virtual-pc@virtualpc-VirtualBox:~/projects/test$ cd edge-home-orchestration-go/
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ make distclean 

--------------------------------------
  Build clean
--------------------------------------
make[1]: Entering directory '/home/virtual-pc/projects/test/edge-home-orchestration-go/examples/native'
make[1]: Leaving directory '/home/virtual-pc/projects/test/edge-home-orchestration-go/examples/native'
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ ls
api  build  cmd  configs  deployments  Dockerfile  docs  examples  go.mod  go.sum  internal  Kconfig  LICENSE  Makefile  README.md  test  third_party  tools

Как Π²Ρ‹ ΠΏΠΎΠ»ΡƒΡ‡ΠΈΠ»ΠΈ go.sum ΠΊΠΎΠ³Π΄Π° make distclean ?

virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ ls
api  build  cmd  configs  deployments  Dockerfile  docs  examples  go.mod  internal  Kconfig  LICENSE  Makefile  README.md  test  third_party  tools
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ GO111MODULE=on go clean
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$ ls
api  build  cmd  configs  deployments  Dockerfile  docs  examples  go.mod  go.sum  internal  Kconfig  LICENSE  Makefile  README.md  test  third_party  tools
virtual-pc@virtualpc-VirtualBox:~/projects/test/edge-home-orchestration-go$

@tdrozdovsky Π― нашСл ΠΏΡ€ΠΈΡ‡ΠΈΠ½Ρƒ. ΠœΠΎΠΆΠ΅Ρ‚Π΅ Π»ΠΈ Π²Ρ‹ ΡΠ΄Π΅Π»Π°Ρ‚ΡŒ это с ΠΏΠΎΠΌΠΎΡ‰ΡŒΡŽ go v1.16?

t25kim<strong i="7">@t25kim</strong>:~/edge-home-orchestration-go$ go version
go version go1.16.5 linux/amd64
t25kim<strong i="8">@t25kim</strong>:~/edge-home-orchestration-go$ make distclean

--------------------------------------
  Build clean
--------------------------------------
go: github.com/Microsoft/[email protected]: missing go.sum entry; to add it:
    go mod download github.com/Microsoft/go-winio
make: *** [Makefile:185: clean] Error 1
t25kim<strong i="11">@t25kim</strong>:~/edge-home-orchestration-go$ go version
go version go1.15.14 linux/amd64
t25kim<strong i="12">@t25kim</strong>:~/edge-home-orchestration-go$ ls
api  build  cmd  configs  deployments  Dockerfile  docs  examples  go.mod  internal  Kconfig  LICENSE  Makefile  README.md  test  third_party  tools
t25kim<strong i="13">@t25kim</strong>:~/edge-home-orchestration-go$ make distclean

--------------------------------------
  Build clean
--------------------------------------
make[1]: Entering directory '/home/t25kim/edge-home-orchestration-go/examples/native'
make[1]: Leaving directory '/home/t25kim/edge-home-orchestration-go/examples/native'

@ t25kim Π˜ΡΠΏΠΎΠ»ΡŒΠ·ΡƒΡ Π²Π΅Ρ€ΡΠΈΡŽ go 1.16.4, я смог воспроизвСсти эту ΠΎΡˆΠΈΠ±ΠΊΡƒ ΠΈ ΡƒΠΆΠ΅ знаю, ΠΊΠ°ΠΊ Π΅Π΅ ΠΈΡΠΏΡ€Π°Π²ΠΈΡ‚ΡŒ. ΠŸΡ€ΠΎΡ‚Π΅ΡΡ‚ΠΈΡ€ΡƒΡŽ ΠΈ сдСлаю Π°ΠΏΠ΄Π΅ΠΉΡ‚ сСгодня

Π‘Ρ‹Π»Π° Π»ΠΈ эта страница ΠΏΠΎΠ»Π΅Π·Π½ΠΎΠΉ?
0 / 5 - 0 Ρ€Π΅ΠΉΡ‚ΠΈΠ½Π³ΠΈ