mikelo2 reported a new issue against the project: `golist` that you are following: `` Module `github.com/willscott/go-nfs` has requirement in another module named `github.com/willscott/go-nfs-client`, but it's ignored by golist.
Checking package's go.mod:
~~~ $ grep github.com/willscott/go-nfs go.mod module github.com/willscott/go-nfs github.com/willscott/go-nfs-client v0.0.0-20240104095149-b44639837b00 ~~~
Creating the spec and building it:
~~~ $ go2rpm -q github.com/willscott/go-nfs $ spectool -g -R golang-github-willscott-nfs.spec $ rpmbuild -bs golang-github-willscott-nfs.spec $ mock -r fedora-rawhide fedora-rawhide-x86_64 golang-github-willscott-nfs-0.0.2-1.fc40.src.rpm (...) Package "go-rpm-macros-3.6.0-3.fc41.x86_64" is already installed. Package "golang-github-git-billy-5-devel-5.5.0-2.fc41.noarch" is already installed. Package "golang-github-git-billy-5-devel-5.5.0-2.fc41.noarch" is already installed. Package "golang-github-git-billy-5-devel-5.5.0-2.fc41.noarch" is already installed. Package "golang-github-google-uuid-devel-1.6.0-2.fc41.noarch" is already installed. Package "golang-github-hashicorp-lru-2-devel-2.0.7-4.fc41.noarch" is already installed. Package "golang-github-rasky-xdr-devel-0-0.1.20240113git1a41d1a.fc41.noarch" is already installed. Package "golang-x-sys-devel-0.22.0-2.fc41.noarch" is already installed. (...) + go-rpm-integration check -i github.com/willscott/go-nfs -b /builddir/build/BUILD/golang-github-willscott-nfs-0.0.2-build/go-nfs-0.0.2/_build/bin -s /builddir/build/BUILD/golang-github-willscott-nfs-0.0.2-build/go-nfs-0.0.2/_build -V 0.0.2-1.fc41 -p /builddir/build/BUILD/golang-github-willscott-nfs-0.0.2-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/golang-github-willscott-nfs-0.0.2-build/go-nfs-0.0.2/_build/src PATH: /builddir/build/BUILD/golang-github-willscott-nfs-0.0.2-build/go-nfs-0.0.2/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/golang-github-willscott-nfs-0.0.2-build/go-nfs-0.0.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/willscott/go-nfs/version=0.0.2 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: github.com/willscott/go-nfs github.com/willscott/go-nfs conn.go:14:2: cannot find package "github.com/willscott/go-nfs-client/nfs/rpc" in any of: /usr/lib/golang/src/github.com/willscott/go-nfs-client/nfs/rpc (from $GOROOT) /builddir/build/BUILD/golang-github-willscott-nfs-0.0.2-build/go-nfs-0.0.2/_build/src/github.com/willscott/go-nfs-client/nfs/rpc (from $GOPATH) /usr/share/gocode/src/github.com/willscott/go-nfs-client/nfs/rpc conn.go:15:2: cannot find package "github.com/willscott/go-nfs-client/nfs/xdr" in any of: /usr/lib/golang/src/github.com/willscott/go-nfs-client/nfs/xdr (from $GOROOT) /builddir/build/BUILD/golang-github-willscott-nfs-0.0.2-build/go-nfs-0.0.2/_build/src/github.com/willscott/go-nfs-client/nfs/xdr (from $GOPATH) /usr/share/gocode/src/github.com/willscott/go-nfs-client/nfs/xdr
~~~
Checking manually from a mock shell:
~~~ $ cd /builddir/build/BUILD/golang-github-willscott-nfs-0.0.2-build/go-nfs-0.0.2 $ export GOPATH=/builddir/build/BUILD/golang-github-willscott-nfs-0.0.2-build/go-nfs-0.0.2/_build:/usr/share/gocode $ export GO111MODULE=off $ golist --imported --package-path github.com/willscott/go-nfs --template 'golang({{.}})\n' --with-tests --skip-self golang(github.com/go-git/go-billy/v5) golang(github.com/go-git/go-billy/v5/helper/chroot) golang(github.com/go-git/go-billy/v5/util) golang(github.com/google/uuid) golang(github.com/hashicorp/golang-lru/v2) golang(github.com/rasky/go-xdr/xdr2) golang(golang.org/x/sys/unix) ~~~
``
To reply, visit the link below or just reply to this email https://pagure.io/golist/issue/34
golang@lists.fedoraproject.org