[Bug 265665] net/rclone: 1.59.0_2 fails to build on 13.1-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 05 Aug 2022 19:41:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265665

            Bug ID: 265665
           Summary: net/rclone: 1.59.0_2 fails to build on 13.1-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dougs@dawnsign.com
                CC: tremere@cainites.net
                CC: tremere@cainites.net
             Flags: maintainer-feedback?(tremere@cainites.net)

github.com/rclone/rclone/cmd/ncdu imports
        github.com/gdamore/tcell/v2/termbox imports
        github.com/gdamore/tcell/v2 imports
        github.com/lucasb-eyer/go-colorful: no required module provides package
github.com/lucasb-eyer/go-colorful; to add it:
        go get github.com/lucasb-eyer/go-colorful
===>  Patching for rclone-1.59.0_2
===>   rclone-1.59.0_2 depends on file: /usr/local/bin/go119 - found
===>  Configuring for rclone-1.59.0_2
===>  Building for rclone-1.59.0_2
(cd /usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0;  for t
in rclone; do  out=$(/usr/bin/basename $(echo ${t} |  /usr/bin/sed -Ee
's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/rclone/'));  pkg=$(echo ${t} | 
/usr/bin/sed -Ee 's/^([^:]*).*$/\1/' -e 's/^rclone$/./');  echo "===>  Building
${out} from ${pkg}";  /usr/bin/env
XDG_DATA_HOME=/usr/obj/usr/ports/net/rclone/work 
XDG_CONFIG_HOME=/usr/obj/usr/ports/net/rclone/work 
XDG_CACHE_HOME=/usr/obj/usr/ports/net/rclone/work/.cache 
HOME=/usr/obj/usr/ports/net/rclone/work TMPDIR="/tmp"
PATH=/usr/obj/usr/ports/net/rclone/work/.bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
PKG_CONFIG_LIBDIR=/usr/obj/usr/ports/net/rclone/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="" 
LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local"
BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"
 BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644" 
BSD_INSTALL_MAN="install  -m 444" CGO_ENABLED=1 
CGO_CFLAGS="-I/usr/local/include"  CGO_LDFLAGS="-L/usr/local/lib"  GOAMD64= 
GOARM= GOPATH="/usr/ports/distfiles//go/net_rclone" 
GOBIN="/usr/obj/usr/ports/net/rclone/work/bin"  GO111MODULE=on 
GOFLAGS=-modcacherw  GOSUMDB=sum.golang.org GOPROXY=off /usr/local/bin/go119
build -v -buildmode=exe -trimpath -ldflags=-s -buildvcs=false -mod=vendor  -o
/usr/obj/usr/ports/net/rclone/work/bin/${out}  ${pkg};  done)
===>  Building rclone from .
cmd/serve/dlna/cds.go:17:2: cannot find package "." in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/anacrolix/dms/dlna
cmd/serve/dlna/dlna.go:16:2: cannot find package "." in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/anacrolix/dms/soap
cmd/serve/dlna/dlna.go:17:2: cannot find package "." in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/anacrolix/dms/ssdp
cmd/serve/dlna/cds.go:18:2: cannot find package "." in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/anacrolix/dms/upnp
vendor/github.com/gdamore/tcell/v2/colorfit.go:18:2: cannot find package "."
in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/lucasb-eyer/go-colorful
vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go:4:2: cannot find
package "." in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/russross/blackfriday/v2
*** Error code 1

Stop.
make: stopped in /usr/ports/net/rclone

===>>> make build failed for net/rclone
===>>> Aborting update

===>>> Update for net/rclone failed
===>>> Aborting update

===>>> There are messages from installed ports to display,
       but first take a moment to review the error messages
       above.  Then press Enter when ready to proceed. 


I've done 'make clean', Retried rebuilding and still fails with the same error
message as above. Cannot find package ".".....


Okay, so I deinstalled net/rclone, did a 'make clean' and tried reinstalling.
Here's a paste:

# get https://proxy.golang.org/storj.io/uplink/@v/v1.9.0.zip
# get https://proxy.golang.org/storj.io/uplink/@v/v1.9.0.zip: 200 OK (0.018s)
===>  Extracting for rclone-1.59.0_2
=> SHA256 Checksum OK for go/net_rclone/rclone-v1.59.0/v1.59.0.mod.
=> SHA256 Checksum OK for go/net_rclone/rclone-v1.59.0/v1.59.0.zip.
===> Tidying github.com/rclone/rclone dependencies
go: finding module for package github.com/anacrolix/dms/soap
go: finding module for package github.com/anacrolix/dms/ssdp
go: finding module for package github.com/anacrolix/dms/dlna
go: finding module for package github.com/anacrolix/dms/upnp
go: finding module for package github.com/lucasb-eyer/go-colorful
go: finding module for package github.com/russross/blackfriday/v2
github.com/rclone/rclone/cmd/serve/dlna imports
        github.com/anacrolix/dms/dlna: module github.com/anacrolix/dms@latest
found (v1.4.0), but does not contain package github.com/anacrolix/dms/dlna
github.com/rclone/rclone/cmd/serve/dlna imports
        github.com/anacrolix/dms/soap: module github.com/anacrolix/dms@latest
found (v1.4.0), but does not contain package github.com/anacrolix/dms/soap
github.com/rclone/rclone/cmd/serve/dlna imports
        github.com/anacrolix/dms/ssdp: module github.com/anacrolix/dms@latest
found (v1.4.0), but does not contain package github.com/anacrolix/dms/ssdp
github.com/rclone/rclone/cmd/serve/dlna imports
        github.com/anacrolix/dms/upnp: module github.com/anacrolix/dms@latest
found (v1.4.0), but does not contain package github.com/anacrolix/dms/upnp
github.com/rclone/rclone/cmd/gendocs imports
        github.com/spf13/cobra/doc imports
        github.com/cpuguy83/go-md2man/v2/md2man imports
        github.com/russross/blackfriday/v2: module
github.com/russross/blackfriday/v2@latest found (v2.1.0), but does not contain
package github.com/russross/blackfriday/v2
github.com/rclone/rclone/cmd/ncdu imports
        github.com/gdamore/tcell/v2/termbox imports
        github.com/gdamore/tcell/v2 imports
        github.com/lucasb-eyer/go-colorful: module
github.com/lucasb-eyer/go-colorful@latest found (v1.2.0), but does not contain
package github.com/lucasb-eyer/go-colorful
===> Vendoring github.com/rclone/rclone dependencies
github.com/rclone/rclone/cmd/serve/dlna imports
        github.com/anacrolix/dms/dlna: no required module provides package
github.com/anacrolix/dms/dlna; to add it:
        go get github.com/anacrolix/dms/dlna
github.com/rclone/rclone/cmd/serve/dlna imports
        github.com/anacrolix/dms/soap: no required module provides package
github.com/anacrolix/dms/soap; to add it:
        go get github.com/anacrolix/dms/soap
github.com/rclone/rclone/cmd/serve/dlna imports
        github.com/anacrolix/dms/ssdp: no required module provides package
github.com/anacrolix/dms/ssdp; to add it:
        go get github.com/anacrolix/dms/ssdp
github.com/rclone/rclone/cmd/serve/dlna imports
        github.com/anacrolix/dms/upnp: no required module provides package
github.com/anacrolix/dms/upnp; to add it:
        go get github.com/anacrolix/dms/upnp
github.com/rclone/rclone/cmd/gendocs imports
        github.com/spf13/cobra/doc imports
        github.com/cpuguy83/go-md2man/v2/md2man imports
        github.com/russross/blackfriday/v2: no required module provides package
github.com/russross/blackfriday/v2; to add it:
        go get github.com/russross/blackfriday/v2
github.com/rclone/rclone/cmd/ncdu imports
        github.com/gdamore/tcell/v2/termbox imports
        github.com/gdamore/tcell/v2 imports
        github.com/lucasb-eyer/go-colorful: no required module provides package
github.com/lucasb-eyer/go-colorful; to add it:
        go get github.com/lucasb-eyer/go-colorful
===>  Patching for rclone-1.59.0_2
===>   rclone-1.59.0_2 depends on file: /usr/local/bin/go119 - found
===>  Configuring for rclone-1.59.0_2
===>  Building for rclone-1.59.0_2
(cd /usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0;  for t
in rclone; do  out=$(/usr/bin/basename $(echo ${t} |  /usr/bin/sed -Ee
's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/rclone/'));  pkg=$(echo ${t} | 
/usr/bin/sed -Ee 's/^([^:]*).*$/\1/' -e 's/^rclone$/./');  echo "===>  Building
${out} from ${pkg}";  /usr/bin/env
XDG_DATA_HOME=/usr/obj/usr/ports/net/rclone/work 
XDG_CONFIG_HOME=/usr/obj/usr/ports/net/rclone/work 
XDG_CACHE_HOME=/usr/obj/usr/ports/net/rclone/work/.cache 
HOME=/usr/obj/usr/ports/net/rclone/work
PATH=/usr/obj/usr/ports/net/rclone/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
PKG_CONFIG_LIBDIR=/usr/obj/usr/ports/net/rclone/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="" 
LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local"
BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"
 BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644" 
BSD_INSTALL_MAN="install  -m 444" CGO_ENABLED=1 
CGO_CFLAGS="-I/usr/local/include"  CGO_LDFLAGS="-L/usr/local/lib"  GOAMD64= 
GOARM= GOPATH="/usr/ports/distfiles/go/net_rclone" 
GOBIN="/usr/obj/usr/ports/net/rclone/work/bin"  GO111MODULE=on 
GOFLAGS=-modcacherw  GOSUMDB=sum.golang.org GOPROXY=off /usr/local/bin/go119
build -v -buildmode=exe -trimpath -ldflags=-s -buildvcs=false -mod=vendor  -o
/usr/obj/usr/ports/net/rclone/work/bin/${out}  ${pkg};  done)
===>  Building rclone from .
cmd/serve/dlna/cds.go:17:2: cannot find package "." in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/anacrolix/dms/dlna
cmd/serve/dlna/dlna.go:16:2: cannot find package "." in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/anacrolix/dms/soap
cmd/serve/dlna/dlna.go:17:2: cannot find package "." in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/anacrolix/dms/ssdp
cmd/serve/dlna/cds.go:18:2: cannot find package "." in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/anacrolix/dms/upnp
vendor/github.com/gdamore/tcell/v2/colorfit.go:18:2: cannot find package "."
in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/lucasb-eyer/go-colorful
vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go:4:2: cannot find
package "." in:
       
/usr/obj/usr/ports/net/rclone/work/github.com/rclone/rclone@v1.59.0/vendor/github.com/russross/blackfriday/v2
*** Error code 1

Stop.
make: stopped in /usr/ports/net/rclone
[root@backup 05.Aug 12:35pm /usr/ports/net/rclone]# 


It appears a needed module isn't being downloaded for rclone. What do I need to
do?

-- 
You are receiving this mail because:
You are the assignee for the bug.