I am using yocto to build a package with this recipe
DESCRIPTION = "github.com/jackc/pgproto3"
GO_IMPORT = "github.com/jackc/pgproto3"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=ea2961e52eec5b1203f8147a49ef985f"
SRC_URI = "git://github.com/jackc/pgproto3;protocol=https;destsuffix=${PN}-${PV}/src/${GO_IMPORT}"
SRCREV = "595780be0f9f581451a23a5151b77f782202ad72"
DEPENDS += "go-dep-native"
inherit go
do_compile_prepend() {
cd ${WORKDIR}/build/src/${GO_IMPORT}
dep init -v
dep ensure -v
}The build fails on one import statement while working on all others. This statement has a "/v" at the end.
module github.com/jackc/pgproto3/v2 go 1.12 require ( github.com/jackc/chunkreader/v2 v2.0.0 <---fails only on this github.com/jackc/pgio v1.0.0 github.com/stretchr/testify v1.4.0 )Error below.
| (4) ✓ select github.com/davecgh/go-spew@v1.1.1 w/1 pkgs | (5) ? attempt gopkg.in/yaml.v2 with 1 pkgs; 13 versions to try | (5) try gopkg.in/yaml.v2@v2.2.8 | (5) ✓ select gopkg.in/yaml.v2@v2.2.8 w/1 pkgs | (6) ? attempt github.com/jackc/chunkreader with 1 pkgs; 4 versions to try | (6) try github.com/jackc/chunkreader@v2.0.1 | (7) ✗ github.com/jackc/chunkreader at v2.0.1 has problem subpkg(s): | (7) github.com/jackc/chunkreader/v2 is missing; required by (root). | (6) try github.com/jackc/chunkreader@v2.0.0 | (7) ✗ github.com/jackc/chunkreader at v2.0.0 has problem subpkg(s): | (7) github.com/jackc/chunkreader/v2 is missing; required by (root). | (6) try github.com/jackc/chunkreader@v1.0.0 | (7) ✗ github.com/jackc/chunkreader at v1.0.0 has problem subpkg(s): | (7) github.com/jackc/chunkreader/v2 is missing; required by (root). | (6) try github.com/jackc/chunkreader@master | (7) ✗ github.com/jackc/chunkreader at master has problem subpkg(s): | (7) github.com/jackc/chunkreader/v2 is missing; required by (root). | (6) ← no more versions of github.com/jackc/chunkreader to try; begin backtrack | (5) ← backtrack: no more versions of gopkg.in/yaml.v2 to try | (4) ← backtrack: no more versions of github.com/davecgh/go-spew to try | (3) ← backtrack: no more versions of github.com/pmezard/go-difflib to try | (2) ← backtrack: no more versions of github.com/stretchr/testify to try | (1) ← backtrack: no more versions of github.com/jackc/pgio to try | ✗ solving failedSince the linkgithub.com/jackc/chunkreader/v2 doesn't exist could this be an issue?