https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65570

            Bug ID: 65570
           Summary: cannot find package "runtime/cgo"
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: doko at gcc dot gnu.org
                CC: cmang at google dot com

the powerpc build now goes further, either the fix for PR go/65417 or PR
go/65462 broke something on aarch64 and ppc64le, at least all lxd builds of
ppc, ppc64le and aarch64 fail with:


$ cat test.go
package main

/*
#include <stdio.h>

void hello() {
        printf("Hello world!\n");
}
*/
import "C"

func main() {
    C.hello()
}

$ go build -v -x test.go
WORK=/tmp/go-build985134900
package runtime/cgo: cannot find package "runtime/cgo" in any of:
        /usr/src/runtime/cgo (from $GOROOT)
        ($GOPATH not set)

go install -v -x github.com/lxc/lxd/lxc
package github.com/lxc/lxd/lxc
    imports github.com/gosexy/gettext
    imports runtime/cgo: cannot find package "runtime/cgo" in any of:
    /usr/src/runtime/cgo (from $GOROOT)
    /build/buildd/lxd-0.5/dist/src/runtime/cgo (from $GOPATH)
debian/rules:19: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1

Stephane posted a pointer to the complete build logs in
https://launchpad.net/bugs/1436530

Reply via email to