Skip to content

Building on Plan 9 stopped working, which breaks github.com/u-root/cpu #224

Description

@rminnich

Bug Description

This worked a few years ago.

go-billy % GOOS=plan9 GOARCH=amd64 go build ./...

which is why we used go-billy, since our code ports to anything go runs on.

As of today:

# github.com/go-git/go-billy/v6/helper/chroot
helper/chroot/chroot.go:126:56: undefined: syscall.ELOOP

unix dependencies have unconditionally crept in.

Plan 9 has a chroot equivalent, it's just a matter of namespace manipulation.

If you would be willing to accept a fix for this, I know how to implement it.

go-git Version

does not matter.

Steps to Reproduce

See above.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions