[GH-ISSUE #38] Failure to build for 16.2.4 #25

Closed
opened 2026-03-02 03:57:48 +03:00 by kerem · 9 comments
Owner

Originally created by @superbonaci on GitHub (Jul 28, 2022).
Original GitHub issue: https://github.com/DrDonk/unlocker/issues/38

Log

$ sh build.sh 16.2.4
Building release executables
build.sh: 10: pushd: not found
Building check
build.sh: 12: go-winres: not found
no Go files in /home/user/git/unlocker
no Go files in /home/user/git/unlocker
rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory
build.sh: 16: popd: not found
build.sh: 18: pushd: not found
Building relock
build.sh: 20: go-winres: not found
no Go files in /home/user/git/unlocker
no Go files in /home/user/git/unlocker
rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory
build.sh: 24: popd: not found
build.sh: 26: pushd: not found
Building unlock
build.sh: 28: go-winres: not found
no Go files in /home/user/git/unlocker
no Go files in /home/user/git/unlocker
rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory
build.sh: 32: popd: not found
'LICENSE' -> './dist'
cp: target './dist' is not a directory
cp: cannot overwrite non-directory './dist' with directory './iso'
Originally created by @superbonaci on GitHub (Jul 28, 2022). Original GitHub issue: https://github.com/DrDonk/unlocker/issues/38 Log ```` $ sh build.sh 16.2.4 Building release executables build.sh: 10: pushd: not found Building check build.sh: 12: go-winres: not found no Go files in /home/user/git/unlocker no Go files in /home/user/git/unlocker rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory build.sh: 16: popd: not found build.sh: 18: pushd: not found Building relock build.sh: 20: go-winres: not found no Go files in /home/user/git/unlocker no Go files in /home/user/git/unlocker rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory build.sh: 24: popd: not found build.sh: 26: pushd: not found Building unlock build.sh: 28: go-winres: not found no Go files in /home/user/git/unlocker no Go files in /home/user/git/unlocker rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory build.sh: 32: popd: not found 'LICENSE' -> './dist' cp: target './dist' is not a directory cp: cannot overwrite non-directory './dist' with directory './iso' ````
kerem closed this issue 2026-03-02 03:57:48 +03:00
Author
Owner

@superbonaci commented on GitHub (Jul 28, 2022):

with bash

$ bash build.sh 16.2.4
Building release executables
~/unlocker/commands/check ~/unlocker
Building check
build.sh: line 12: go-winres: command not found
go build github.com/drdonk/golocker/commands/check: mkdir ../../dist: not a directory
go build github.com/drdonk/golocker/commands/check: mkdir ../../dist: not a directory
rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory
~/unlocker
~/unlocker/commands/relock ~/unlocker
Building relock
build.sh: line 20: go-winres: command not found
go build github.com/drdonk/golocker/commands/relock: mkdir ../../dist: not a directory
go build github.com/drdonk/golocker/commands/relock: mkdir ../../dist: not a directory
rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory
~/unlocker
~/unlocker/commands/unlock ~/unlocker
Building unlock
build.sh: line 28: go-winres: command not found
go build github.com/drdonk/golocker/commands/unlock: mkdir ../../dist: not a directory
go build github.com/drdonk/golocker/commands/unlock: mkdir ../../dist: not a directory
rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory
~/unlocker
'LICENSE' -> './dist'
cp: target './dist' is not a directory
cp: cannot overwrite non-directory './dist' with directory './iso'
<!-- gh-comment-id:1198419756 --> @superbonaci commented on GitHub (Jul 28, 2022): with bash ```` $ bash build.sh 16.2.4 Building release executables ~/unlocker/commands/check ~/unlocker Building check build.sh: line 12: go-winres: command not found go build github.com/drdonk/golocker/commands/check: mkdir ../../dist: not a directory go build github.com/drdonk/golocker/commands/check: mkdir ../../dist: not a directory rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory ~/unlocker ~/unlocker/commands/relock ~/unlocker Building relock build.sh: line 20: go-winres: command not found go build github.com/drdonk/golocker/commands/relock: mkdir ../../dist: not a directory go build github.com/drdonk/golocker/commands/relock: mkdir ../../dist: not a directory rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory ~/unlocker ~/unlocker/commands/unlock ~/unlocker Building unlock build.sh: line 28: go-winres: command not found go build github.com/drdonk/golocker/commands/unlock: mkdir ../../dist: not a directory go build github.com/drdonk/golocker/commands/unlock: mkdir ../../dist: not a directory rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory ~/unlocker 'LICENSE' -> './dist' cp: target './dist' is not a directory cp: cannot overwrite non-directory './dist' with directory './iso' ````
Author
Owner

@DrDonk commented on GitHub (Jul 28, 2022):

Are you building on Windows and do you need to rebuild the executables or can you use the binary release?

<!-- gh-comment-id:1198523822 --> @DrDonk commented on GitHub (Jul 28, 2022): Are you building on Windows and do you need to rebuild the executables or can you use the binary release?
Author
Owner

@superbonaci commented on GitHub (Jul 28, 2022):

I'm building on Linux, do I need to build in the first place? In case it's not, which is the binary or script for Ubuntu?

<!-- gh-comment-id:1198525385 --> @superbonaci commented on GitHub (Jul 28, 2022): I'm building on Linux, do I need to build in the first place? In case it's not, which is the binary or script for Ubuntu?
Author
Owner

@DrDonk commented on GitHub (Jul 28, 2022):

Not unless you need to change the code. Download the release and use the Linux folder and run compiled exes.

https://github.com/DrDonk/unlocker/releases/download/v4.2.1/unlocker421.zip

<!-- gh-comment-id:1198526756 --> @DrDonk commented on GitHub (Jul 28, 2022): Not unless you need to change the code. Download the release and use the Linux folder and run compiled exes. https://github.com/DrDonk/unlocker/releases/download/v4.2.1/unlocker421.zip
Author
Owner

@superbonaci commented on GitHub (Jul 28, 2022):

I ran git clone https://github.com/DrDonk/unlocker.git guess binaries are not included that way?

<!-- gh-comment-id:1198531791 --> @superbonaci commented on GitHub (Jul 28, 2022): I ran `git clone https://github.com/DrDonk/unlocker.git` guess binaries are not included that way?
Author
Owner

@DrDonk commented on GitHub (Jul 28, 2022):

No there are not they are in the GitHub releases section.

<!-- gh-comment-id:1198532336 --> @DrDonk commented on GitHub (Jul 28, 2022): No there are not they are in the GitHub releases section.
Author
Owner

@DrDonk commented on GitHub (Jul 28, 2022):

I build on macOS with zsh but I will get everything building in bash on Linux and WSL.

<!-- gh-comment-id:1198533545 --> @DrDonk commented on GitHub (Jul 28, 2022): I build on macOS with zsh but I will get everything building in bash on Linux and WSL.
Author
Owner

@superbonaci commented on GitHub (Jul 28, 2022):

No there are not they are in the GitHub releases section.

Could you add that to README.md?

<!-- gh-comment-id:1198642218 --> @superbonaci commented on GitHub (Jul 28, 2022): > No there are not they are in the GitHub releases section. Could you add that to `README.md`?
Author
Owner

@DrDonk commented on GitHub (Jul 28, 2022):

Yep. I will make it more obvious.

<!-- gh-comment-id:1198675792 --> @DrDonk commented on GitHub (Jul 28, 2022): Yep. I will make it more obvious.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/unlocker#25
No description provided.