PS C:\Users\user> zbuild setup
Chocolatey v2.2.2
3 validations performed. 2 success(es), 1 warning(s), and 0 error(s).
Validation Warnings:
- A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable --name="exitOnRebootDetected"
or pass the option --exit-when-reboot-detected.
Installing the following packages:
mingw;golang;upx
By installing, you accept licenses for the packages.
Progress: Downloading mingw 12.2.0.03042023... 100%
mingw v12.2.0.3042023 [Approved]
mingw package files install completed. Performing other installation steps.
The package mingw wants to run 'chocolateyinstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y
Downloading mingw 64 bit
from 'https://github.com/niXman/mingw-builds-binaries/releases/download/12.2.0-rt_v10-rev2/x86_64-12.2.0-release-posix-seh-ucrt-rt_v10-rev2.7z'
Progress: 100% - Completed download of C:\Users\user\AppData\Local\Temp\chocolatey\mingw\12.2.0.3042023\x86_64-12.2.0-release-posix-seh-ucrt-rt_v10-rev2.7z (68 MB).
Download of x86_64-12.2.0-release-posix-seh-ucrt-rt_v10-rev2.7z (68 MB) completed.
Hashes match.
Extracting C:\Users\user\AppData\Local\Temp\chocolatey\mingw\12.2.0.3042023\x86_64-12.2.0-release-posix-seh-ucrt-rt_v10-rev2.7z to C:\ProgramData\chocolatey\lib\mingw\tools\install...
C:\ProgramData\chocolatey\lib\mingw\tools\install
Testing path: C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw32\bin
Testing path: C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin
PATH environment variable does not have C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin in it. Adding...
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
ShimGen has successfully created a shim for addr2line.exe
ShimGen has successfully created a shim for ar.exe
ShimGen has successfully created a shim for as.exe
ShimGen has successfully created a shim for c++.exe
ShimGen has successfully created a shim for c++filt.exe
ShimGen has successfully created a shim for cpp.exe
ShimGen has successfully created a shim for dlltool.exe
ShimGen has successfully created a shim for dllwrap.exe
ShimGen has successfully created a shim for dwp.exe
ShimGen has successfully created a shim for elfedit.exe
ShimGen has successfully created a shim for g++.exe
ShimGen has successfully created a shim for gcc-ar.exe
ShimGen has successfully created a shim for gcc-nm.exe
ShimGen has successfully created a shim for gcc-ranlib.exe
ShimGen has successfully created a shim for gcc.exe
ShimGen has successfully created a shim for gcov-dump.exe
ShimGen has successfully created a shim for gcov-tool.exe
ShimGen has successfully created a shim for gcov.exe
ShimGen has successfully created a shim for gdb.exe
ShimGen has successfully created a shim for gdborig.exe
ShimGen has successfully created a shim for gdbserver.exe
ShimGen has successfully created a shim for gendef.exe
ShimGen has successfully created a shim for genidl.exe
ShimGen has successfully created a shim for genpeimg.exe
ShimGen has successfully created a shim for gfortran.exe
ShimGen has successfully created a shim for gprof.exe
ShimGen has successfully created a shim for ld.bfd.exe
ShimGen has successfully created a shim for ld.exe
ShimGen has successfully created a shim for ld.gold.exe
ShimGen has successfully created a shim for lto-dump.exe
ShimGen has successfully created a shim for mingw32-make.exe
ShimGen has successfully created a shim for nm.exe
ShimGen has successfully created a shim for objcopy.exe
ShimGen has successfully created a shim for objdump.exe
ShimGen has successfully created a shim for ranlib.exe
ShimGen has successfully created a shim for readelf.exe
ShimGen has successfully created a shim for size.exe
ShimGen has successfully created a shim for strings.exe
ShimGen has successfully created a shim for strip.exe
ShimGen has successfully created a shim for widl.exe
ShimGen has successfully created a shim for windmc.exe
ShimGen has successfully created a shim for windres.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-c++.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-g++.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-12.2.0.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-ar.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-nm.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-ranlib.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gfortran.exe
ShimGen has successfully created a shim for cc1.exe
ShimGen has successfully created a shim for cc1plus.exe
ShimGen has successfully created a shim for collect2.exe
ShimGen has successfully created a shim for f951.exe
ShimGen has successfully created a shim for g++-mapper-server.exe
ShimGen has successfully created a shim for lto-wrapper.exe
ShimGen has successfully created a shim for lto1.exe
ShimGen has successfully created a shim for fixincl.exe
ShimGen has successfully created a shim for gdbmtool.exe
ShimGen has successfully created a shim for gdbm_dump.exe
ShimGen has successfully created a shim for gdbm_load.exe
ShimGen has successfully created a shim for python3.9.exe
ShimGen has successfully created a shim for python3.exe
ShimGen has successfully created a shim for python3w.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-captoinfo.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-clear.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-infocmp.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-infotocap.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-reset.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-tabs.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-tic.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-toe.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-tput.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-tset.exe
ShimGen has successfully created a shim for python.exe
ShimGen has successfully created a shim for pythonw.exe
ShimGen has successfully created a shim for ar.exe
ShimGen has successfully created a shim for as.exe
ShimGen has successfully created a shim for dlltool.exe
ShimGen has successfully created a shim for ld.bfd.exe
ShimGen has successfully created a shim for ld.exe
ShimGen has successfully created a shim for ld.gold.exe
ShimGen has successfully created a shim for nm.exe
ShimGen has successfully created a shim for objcopy.exe
ShimGen has successfully created a shim for objdump.exe
ShimGen has successfully created a shim for ranlib.exe
ShimGen has successfully created a shim for readelf.exe
ShimGen has successfully created a shim for strip.exe
The install of mingw was successful.
Software installed to 'C:\ProgramData\chocolatey\lib\mingw\tools\install'
golang v1.21.0 already installed.
Use --force to reinstall, specify a version to install, or try upgrade.
Progress: Downloading upx 4.1.0... 100%
upx v4.1.0 [Approved]
upx package files install completed. Performing other installation steps.
The package upx wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y
Extracting 64-bit C:\ProgramData\chocolatey\lib\upx\tools\upx-4.1.0-win64_x64.zip to C:\ProgramData\chocolatey\lib\upx\tools...
C:\ProgramData\chocolatey\lib\upx\tools
ShimGen has successfully created a shim for upx.exe
The install of upx was successful.
Software installed to 'C:\ProgramData\chocolatey\lib\upx\tools'
Chocolatey installed 2/3 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Warnings:
- golang - golang v1.21.0 already installed.
Use --force to reinstall, specify a version to install, or try upgrade.
PS C:\Users\user>
タグ: zbuild
-
zbuild setup
-
go install github.com/nextzlog/zylo/zbuild@HEAD
PS C:\Users\user>go install github.com/nextzlog/zylo/zbuild@HEAD
go: downloading github.com/nextzlog/zylo v0.0.0-20230731144900-3ee901885e98
go: finding module for package gopkg.in/yaml.v2
go: finding module for package github.com/urfave/cli
go: downloading github.com/urfave/cli v1.22.14
go: found github.com/urfave/cli in github.com/urfave/cli v1.22.14
go: found gopkg.in/yaml.v2 in gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.2
go: downloading github.com/russross/blackfriday/v2 v2.1.0
PS C:\Users\user> -
zlog Tips
zbuild-Windows.exe compile
>zbuild-windows.exe compile
go: creating new go.mod: module cwtrainer-main
go: to add module requirements and sums:
go mod tidy
go: downloading gopkg.in/ini.v1 v1.66.6
go: downloading github.com/hajimehoshi/oto v0.7.1
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/hajimehoshi/oto v1.0.1
go: downloading golang.org/x/sys v0.0.0-20190626150813-e07cf5db2756
go: downloading golang.org/x/mobile v0.0.0-20190415191353-3e0bab5405d6
go: downloading golang.org/x/mobile v0.0.0-20220722155234-aaac322e2105
go: downloading golang.org/x/sys v0.0.0-20220730100132-1609e554cd39
go: downloading golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8
go: downloading golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e
go: downloading golang.org/x/exp/shiny v0.0.0-20220722155223-a9213eeb770e
go: downloading golang.org/x/image v0.0.0-20190227222117-0694c2d4d067
go: downloading golang.org/x/image v0.0.0-20220722155232-062f8c9fd539
go: downloading golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56
go: added github.com/faiface/beep v1.1.0
go: added github.com/hajimehoshi/oto v1.0.1
go: added github.com/pkg/errors v0.9.1
go: added golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56
go: added golang.org/x/exp/shiny v0.0.0-20220722155223-a9213eeb770e
go: added golang.org/x/image v0.0.0-20220722155232-062f8c9fd539
go: added golang.org/x/mobile v0.0.0-20220722155234-aaac322e2105
go: added golang.org/x/sys v0.0.0-20220730100132-1609e554cd39
go: added gopkg.in/ini.v1 v1.66.6
go: finding module for package github.com/stretchr/testify/require
go: finding module for package github.com/stretchr/testify/assert
go: downloading github.com/stretchr/testify v1.8.0
go: found github.com/stretchr/testify/assert in github.com/stretchr/testify v1.8.0
go: found github.com/stretchr/testify/require in github.com/stretchr/testify v1.8.0
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/davecgh/go-spew v1.1.1
cwtrainer-main imports
github.com/faiface/beep/speaker imports
github.com/hajimehoshi/oto imports
golang.org/x/mobile/app imports
golang.org/x/exp/shiny/driver/gldriver: ambiguous import: found package golang.org/x/exp/shiny/driver/gldriver in multiple modules:
golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56 (C:\Users\user\go\pkg\mod\golang.org\x\exp@v0.0.0-20190731235908-ec7cb31e5a56\shiny\driver\gldriver)
golang.org/x/exp/shiny v0.0.0-20220722155223-a9213eeb770e (C:\Users\user\go\pkg\mod\golang.org\x\exp\shiny@v0.0.0-20220722155223-a9213eeb770e\driver\gldriver)
cwtrainer-main imports
github.com/faiface/beep/speaker imports
github.com/hajimehoshi/oto imports
golang.org/x/mobile/app imports
golang.org/x/exp/shiny/screen: ambiguous import: found package golang.org/x/exp/shiny/screen in multiple modules:
golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56 (C:\Users\user\go\pkg\mod\golang.org\x\exp@v0.0.0-20190731235908-ec7cb31e5a56\shiny\screen)
golang.org/x/exp/shiny v0.0.0-20220722155223-a9213eeb770e (C:\Users\user\go\pkg\mod\golang.org\x\exp\shiny@v0.0.0-20220722155223-a9213eeb770e\screen)
Ultimate Packer for eXecutables
Copyright (C) 1996 – 2020
UPX 3.96w Markus Oberhumer, Laszlo Molnar & John Reiser Jan 23rd 2020File size Ratio Format Name
——————– —— ———– ———–
5516234 -> 1776074 32.20% win64/pe cwtrainer-main.dll Packed 1 file.
go: downloading github.com/faiface/beep v1.1.0
package github.com/faiface/beep is not a main package
zbuild-Windows.exe setup
>zbuild-Windows.exe setup
Chocolatey v1.1.0
Installing the following packages:
mingw;golang;upx
By installing, you accept licenses for the packages.Progress: Downloading mingw 11.2.0.07112021… 100%
mingw v11.2.0.07112021 [Approved]
mingw package files install completed. Performing other installation steps.
The package mingw wants to run ‘chocolateyinstall.ps1’.
Note: If you don’t run this script, the installation will fail.
Note: To confirm automatically next time, use ‘-y’ or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll – yes to all/[N]o/[P]rint): yDownloading mingw 64 bit
from ‘https://github.com/brechtsanders/winlibs_mingw/releases/download/11.2.0-12.0.1-9.0.0-r1/winlibs-x86_64-posix-seh-gcc-11.2.0-mingw-w64-9.0.0-r1.7z’
Progress: 100% – Completed download of C:\Users\user\AppData\Local\Temp\chocolatey\mingw\11.2.0.07112021\winlibs-x86_64-posix-seh-gcc-11.2.0-mingw-w64-9.0.0-r1.7z (63.33 MB).
Download of winlibs-x86_64-posix-seh-gcc-11.2.0-mingw-w64-9.0.0-r1.7z (63.33 MB) completed.
Hashes match.
Extracting C:\Users\user\AppData\Local\Temp\chocolatey\mingw\11.2.0.07112021\winlibs-x86_64-posix-seh-gcc-11.2.0-mingw-w64-9.0.0-r1.7z to C:\ProgramData\chocolatey\lib\mingw\tools\install…
C:\ProgramData\chocolatey\lib\mingw\tools\install
Testing path: C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw32\bin
Testing path: C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin
PATH environment variable does not have C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin in it. Adding…
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just typerefreshenv).
ShimGen has successfully created a shim for addr2line.exe
ShimGen has successfully created a shim for ar.exe
ShimGen has successfully created a shim for as.exe
ShimGen has successfully created a shim for c++.exe
ShimGen has successfully created a shim for c++filt.exe
ShimGen has successfully created a shim for ccache.exe
ShimGen has successfully created a shim for cpp.exe
ShimGen has successfully created a shim for dlltool.exe
ShimGen has successfully created a shim for dllwrap.exe
ShimGen has successfully created a shim for dos2unix.exe
ShimGen has successfully created a shim for doxygen.exe
ShimGen has successfully created a shim for elfedit.exe
ShimGen has successfully created a shim for g++.exe
ShimGen has successfully created a shim for gcc-ar.exe
ShimGen has successfully created a shim for gcc-nm.exe
ShimGen has successfully created a shim for gcc-ranlib.exe
ShimGen has successfully created a shim for gcc.exe
ShimGen has successfully created a shim for gcov-dump.exe
ShimGen has successfully created a shim for gcov-tool.exe
ShimGen has successfully created a shim for gcov.exe
ShimGen has successfully created a shim for gdb.exe
ShimGen has successfully created a shim for gdbserver.exe
ShimGen has successfully created a shim for gdc.exe
ShimGen has successfully created a shim for gendef.exe
ShimGen has successfully created a shim for genidl.exe
ShimGen has successfully created a shim for gfortran.exe
ShimGen has successfully created a shim for gprof.exe
ShimGen has successfully created a shim for iconv.exe
ShimGen has successfully created a shim for ld.bfd.exe
ShimGen has successfully created a shim for ld.exe
ShimGen has successfully created a shim for lto-dump.exe
ShimGen has successfully created a shim for mac2unix.exe
ShimGen has successfully created a shim for mingw32-make.exe
ShimGen has successfully created a shim for ninja.exe
ShimGen has successfully created a shim for nm.exe
ShimGen has successfully created a shim for objcopy.exe
ShimGen has successfully created a shim for objdump.exe
ShimGen has successfully created a shim for pexports.exe
ShimGen has successfully created a shim for ranlib.exe
ShimGen has successfully created a shim for readelf.exe
ShimGen has successfully created a shim for size.exe
ShimGen has successfully created a shim for strings.exe
ShimGen has successfully created a shim for strip.exe
ShimGen has successfully created a shim for unix2dos.exe
ShimGen has successfully created a shim for unix2mac.exe
ShimGen has successfully created a shim for windmc.exe
ShimGen has successfully created a shim for windres.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-c++.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-g++.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-11.2.0.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-ar.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-nm.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-ranlib.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gdc.exe
ShimGen has successfully created a shim for x86_64-w64-mingw32-gfortran.exe
ShimGen has successfully created a shim for cc1.exe
ShimGen has successfully created a shim for cc1obj.exe
ShimGen has successfully created a shim for cc1objplus.exe
ShimGen has successfully created a shim for cc1plus.exe
ShimGen has successfully created a shim for collect2.exe
ShimGen has successfully created a shim for d21.exe
ShimGen has successfully created a shim for f951.exe
ShimGen has successfully created a shim for g++-mapper-server.exe
ShimGen has successfully created a shim for lto-wrapper.exe
ShimGen has successfully created a shim for lto1.exe
ShimGen has successfully created a shim for fixincl.exe
ShimGen has successfully created a shim for gengtype.exe
ShimGen has successfully created a shim for ar.exe
ShimGen has successfully created a shim for as.exe
ShimGen has successfully created a shim for dlltool.exe
ShimGen has successfully created a shim for ld.bfd.exe
ShimGen has successfully created a shim for ld.exe
ShimGen has successfully created a shim for nm.exe
ShimGen has successfully created a shim for objcopy.exe
ShimGen has successfully created a shim for objdump.exe
ShimGen has successfully created a shim for ranlib.exe
ShimGen has successfully created a shim for readelf.exe
ShimGen has successfully created a shim for strip.exe
The install of mingw was successful.
Software installed to ‘C:\ProgramData\chocolatey\lib\mingw\tools\install’Progress: Downloading golang 1.18.4… 100%
golang v1.18.4 [Approved]
golang package files install completed. Performing other installation steps.
The package golang wants to run ‘chocolateyInstall.ps1’.
Note: If you don’t run this script, the installation will fail.
Note: To confirm automatically next time, use ‘-y’ or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll – yes to all/[N]o/[P]rint): yDownloading golang 64 bit
from ‘https://golang.org/dl/go1.18.4.windows-amd64.msi’
Progress: 100% – Completed download of C:\Users\user\AppData\Local\Temp\chocolatey\golang\1.18.4\go1.18.4.windows-amd64.msi (129.89 MB).
Download of go1.18.4.windows-amd64.msi (129.89 MB) completed.
Hashes match.
Installing golang…
golang has been installed.
golang may be able to be automatically uninstalled.
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just typerefreshenv).
The install of golang was successful.
Software installed as ‘msi’, install location is likely default.Progress: Downloading upx 3.96… 100%
upx v3.96 [Approved]
upx package files install completed. Performing other installation steps.
The package upx wants to run ‘chocolateyInstall.ps1’.
Note: If you don’t run this script, the installation will fail.
Note: To confirm automatically next time, use ‘-y’ or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll – yes to all/[N]o/[P]rint): yExtracting 64-bit C:\ProgramData\chocolatey\lib\upx\tools\upx-3.96-win64_x64.zip to C:\ProgramData\chocolatey\lib\upx\tools…
C:\ProgramData\chocolatey\lib\upx\tools
ShimGen has successfully created a shim for upx.exe
The install of upx was successful.
Software installed to ‘C:\ProgramData\chocolatey\lib\upx\tools’Chocolatey installed 3/3 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).>

346 View Count
