Skip to content

Conversation

@Toasterson
Copy link

During the compilation of gitea on illumos I ran into the issue that both user_posix.go and user_other.go where considered for inclusion by the golang compiler with golang 1.18.

This PR forces the golang compiler to exclude user_other on all platforms mentioned in user_posix.

Testing on Windows should be done for this PR as I do not own any Windows machine and it is likely that user_other.go also conflicts withuser_windows.go.

@cbandy
Copy link
Contributor

cbandy commented Jul 28, 2022

What is your GOOS ?

@Toasterson
Copy link
Author

GOOS="illumos"

@arp242
Copy link
Collaborator

arp242 commented Dec 31, 2025

GOOS=illumos go test -c seems to work.

I don't know why you're having problems; with the current //go:build js || android || hurd || zos || wasip1 it should not build on illumos. Maybe something strange in your setup? Or something else?

Since this is a few years old I'll just go ahead and close it, but feel free to come back if you're still having problems.

@arp242 arp242 closed this Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants