Comments (2)
Can confirm, when compiling a project using gox that is using this package it shows the same errors:
7 errors occurred:
--> netbsd/arm error: exit status 2
Stderr: # github.com/jesseduffield/lazygit/vendor/github.com/mitchellh/go-ps
vendor/github.com/mitchellh/go-ps/process.go:31:9: undefined: processes
vendor/github.com/mitchellh/go-ps/process.go:39:9: undefined: findProcess
--> netbsd/amd64 error: exit status 2
Stderr: # github.com/jesseduffield/lazygit/vendor/github.com/mitchellh/go-ps
vendor/github.com/mitchellh/go-ps/process.go:31:9: undefined: processes
vendor/github.com/mitchellh/go-ps/process.go:39:9: undefined: findProcess
--> freebsd/arm error: exit status 2
Stderr: # github.com/jesseduffield/lazygit/vendor/github.com/mitchellh/go-ps
vendor/github.com/mitchellh/go-ps/process.go:31:9: undefined: processes
vendor/github.com/mitchellh/go-ps/process.go:39:9: undefined: findProcess
--> netbsd/386 error: exit status 2
Stderr: # github.com/jesseduffield/lazygit/vendor/github.com/mitchellh/go-ps
vendor/github.com/mitchellh/go-ps/process.go:31:9: undefined: processes
vendor/github.com/mitchellh/go-ps/process.go:39:9: undefined: findProcess
--> freebsd/386 error: exit status 2
Stderr: # github.com/jesseduffield/lazygit/vendor/github.com/mitchellh/go-ps
vendor/github.com/mitchellh/go-ps/process.go:31:9: undefined: processes
vendor/github.com/mitchellh/go-ps/process.go:39:9: undefined: findProcess
--> openbsd/386 error: exit status 2
Stderr: # github.com/jesseduffield/lazygit/vendor/github.com/mitchellh/go-ps
vendor/github.com/mitchellh/go-ps/process.go:31:9: undefined: processes
vendor/github.com/mitchellh/go-ps/process.go:39:9: undefined: findProcess
# github.com/jesseduffield/lazygit/vendor/gopkg.in/src-d/go-git.v4
vendor/gopkg.in/src-d/go-git.v4/worktree_bsd.go:15:36: os.Atimespec undefined (type *syscall.Stat_t has no field or method Atimespec)
--> openbsd/amd64 error: exit status 2
Stderr: # github.com/jesseduffield/lazygit/vendor/github.com/mitchellh/go-ps
vendor/github.com/mitchellh/go-ps/process.go:31:9: undefined: processes
vendor/github.com/mitchellh/go-ps/process.go:39:9: undefined: findProcess
# github.com/jesseduffield/lazygit/vendor/gopkg.in/src-d/go-git.v4
vendor/gopkg.in/src-d/go-git.v4/worktree_bsd.go:15:36: os.Atimespec undefined (type *syscall.Stat_t has no field or method Atimespec)
from go-ps.
For those who wan't to cross compile this i've made a fork that can be cross compiled: https://github.com/mjarkk/go-ps
It also includes a extra function: ps.Supported()
that returns false
if the OS/platform is not supported..
from go-ps.
Related Issues (20)
- Cross-compiling for process_darwin.h HOT 1
- Add Children(recursive) method HOT 1
- Does it have Plan9 support ?
- Releases + Tags
- Path() failed with os.PathError if the executable is already deleted
- Not an issue, just some thanks.
- package not ps HOT 1
- Path
- If the process cannot be found, it is better to return an error HOT 1
- Support cmdline under linux? HOT 1
- Retrieving the full path of a process HOT 1
- WSL: Show native Windows processes
- Exclude package managers HOT 1
- Executable names corrupted on Linux HOT 1
- Out-of-memory during Process32NextW returns no error and truncated process list
- Incomplete process names from wine
- Offer process termination HOT 1
- possible to use go-ps on android
- Not showing 32 bit processes on 64 bit Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-ps.