[GH-ISSUE #165] undefined: syscall.Umask when compiling under Windows with GoLang #65

Closed
opened 2026-03-13 15:37:36 +03:00 by kerem · 3 comments
Owner

Originally created by @SuperlativeIT on GitHub (May 14, 2019).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/165

When I follow the instructions (https://github.com/joohoi/acme-dns#installation) for Windows deployment I get the following error:

go get github.com/joohoi/acme-dns/...

github.com/joohoi/acme-dns

..\go\src\github.com\joohoi\acme-dns\main.go:22:2: undefined: syscall.Umask

Some research suggests that syscall.Umask does not exist in the Windows distro but I'm not sure how accurate that might be.

Please advise

Thank You

Originally created by @SuperlativeIT on GitHub (May 14, 2019). Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/165 When I follow the instructions (https://github.com/joohoi/acme-dns#installation) for Windows deployment I get the following error: go get github.com/joohoi/acme-dns/... # github.com/joohoi/acme-dns ..\go\src\github.com\joohoi\acme-dns\main.go:22:2: undefined: syscall.Umask Some research suggests that syscall.Umask does not exist in the Windows distro but I'm not sure how accurate that might be. Please advise Thank You
kerem closed this issue 2026-03-13 15:37:42 +03:00
Author
Owner

@SuperlativeIT commented on GitHub (May 14, 2019):

Update:

I remarked out lines 12 and 22 in the main.go file and I am at least able to compile.

<!-- gh-comment-id:492403784 --> @SuperlativeIT commented on GitHub (May 14, 2019): Update: I remarked out lines 12 and 22 in the main.go file and I am at least able to compile.
Author
Owner

@SuperlativeIT commented on GitHub (May 14, 2019):

I do seem to be a tad confused about one thing. in the config.cfg it notes:
domain = "auth.example.org"

Does this mean that I can only issue for subdomains for example.org or am I able to generate subdomains for any other domain such as abc123.com?

Thank You

<!-- gh-comment-id:492433957 --> @SuperlativeIT commented on GitHub (May 14, 2019): I do seem to be a tad confused about one thing. in the config.cfg it notes: domain = "auth.example.org" Does this mean that I can only issue for subdomains for example.org or am I able to generate subdomains for any other domain such as abc123.com? Thank You
Author
Owner

@webprofusion-chrisc commented on GitHub (May 14, 2019):

The domain in the config is the domain for the service, you can provide auth for any domain though.

<!-- gh-comment-id:492452263 --> @webprofusion-chrisc commented on GitHub (May 14, 2019): The domain in the config is the domain for the service, you can provide auth for any domain though.
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/acme-dns#65
No description provided.