Skip to content
This repository was archived by the owner on Feb 7, 2022. It is now read-only.
This repository was archived by the owner on Feb 7, 2022. It is now read-only.

Regression in local paths #115

@AlbinoGeek

Description

@AlbinoGeek

Contrary to #1 being closed:

localpkg does not work

xgo --targets=darwin/386,darwin/ amd64,linux/386,linux/amd64,windows/386,windows/amd64 ./

Checking for required docker image billziss/xgo-cgofuse... found.
Cross compiling private/source/path...
Building locally private/source/path...
go: GOPATH entry is relative; must be absolute path: "\\ext-go\\1".
For more details see: 'go help gopath'
Compiling for darwin-10.6/386...
go: GOPATH entry is relative; must be absolute path: "\\ext-go\\1".
For more details see: 'go help gopath'
2018/04/01 14:53:03 Failed to cross compile package: exit status 2.

And of course since it's not a published package, I can't do the normal way:

Fetching main repository private/source/path...
Fetching https://private/source/path?go-get=1
https fetch failed: Get https://private/source/path?go-get=1: remote error: tls: handshake failure
package private/source/path: unrecognized import path "private/source/path" (https fetch: Get https://private/source/path?go-get=1: remote error: tls: handshake failure)
/build.sh: line 73: cd: /go/src/private/source/path: No such file or directory
2018/04/01 14:55:11 Failed to cross compile package: exit status 1.

Why can't you just mount the directory I call it from?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions