Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to build for aarch64_cortex-a53 (RPi 3), but always fails. #9

Closed
linanw opened this issue Jun 9, 2019 · 6 comments
Closed

Try to build for aarch64_cortex-a53 (RPi 3), but always fails. #9

linanw opened this issue Jun 9, 2019 · 6 comments

Comments

@linanw
Copy link

linanw commented Jun 9, 2019

Having this error, not sure if any one had even successfully built for aarch64_cortex-a53 (RPi 3)?

.....
go.starlark.net/resolve
v2ray.com/core/external/github.com/lucas-clemente/quic-go/internal/congestion
v2ray.com/core/external/github.com/lucas-clemente/quic-go/internal/wire
go.starlark.net/internal/compile
v2ray.com/core/external/github.com/lucas-clemente/quic-go/internal/flowcontrol
v2ray.com/core/external/github.com/lucas-clemente/quic-go/internal/ackhandler
go.starlark.net/starlark

Cleaning module download cache (golang/go#27455)
go: finding v2ray.com/core/.go_work/build latest
go: finding v2ray.com/core/.go_work latest
can't load package: package v2ray.com/core/.go_work/build: unknown import path "v2ray.com/core/.go_work/build": cannot find module providing package v2ray.com/core/.go_work/build

make[2]: *** [/root/openwrt/build_dir/target-aarch64_cortex-a53_musl/v2ray-core-4.19.1/.built] Error 2
make[2]: Leaving directory /root/openwrt/package/v2ray' time: package/v2ray/compile#38.00#33.45#106.38 make[1]: *** [package/v2ray/compile] Error 2 make[1]: Leaving directory /root/openwrt'
make: *** [package/v2ray/compile] Error 2
root@0ce88aac5df2:~/openwrt#

@kuoruan
Copy link
Owner

kuoruan commented Jun 10, 2019

Did you try set proxy when build?

@linanw
Copy link
Author

linanw commented Jun 10, 2019

Did you try set proxy when build?

Hi Kuoruan, thanks for the super fast response. Nope, I don't have any proxy setting, actually I didn't get what proxy do you mean? I'm with direct network to ISP in Singapore. I built the code with a docker container I built myself with Ubuntu.

@kuoruan
Copy link
Owner

kuoruan commented Jun 10, 2019

From openwrt hwdata, Raspberry Pi 3 use target brcm2708, arm_cortex-a53_neon-vfpv4
https://openwrt.org/toh/hwdata/raspberry_pi_foundation/raspberry_pi_3_bplus
Why you build for aarch64_cortex-a53?

@linanw
Copy link
Author

linanw commented Jun 10, 2019 via email

@kuoruan
Copy link
Owner

kuoruan commented Jun 10, 2019

Build test passed with snapshot sdk in
https://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2710/

@kuoruan
Copy link
Owner

kuoruan commented Jun 10, 2019

Golang modules support added on openwrt/packages@7dc1f3e
So you need a sdk after this date. Or update the golang package to latest
https://github.com/openwrt/packages/tree/master/lang/golang

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

No branches or pull requests

2 participants