[Bug 282934] net/geoipupdate: Building for 7.1.0 fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 23 Nov 2024 16:11:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282934

            Bug ID: 282934
           Summary: net/geoipupdate: Building for 7.1.0 fails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: adamw@FreeBSD.org
          Reporter: fabian@wenks.ch
          Assignee: adamw@FreeBSD.org
             Flags: maintainer-feedback?(adamw@FreeBSD.org)

# nice -n 5 portupgrade -pR net/geoipupdate
[Reading data from pkg(8) ... - 839 packages found - done]
[Gathering depends for net/geoipupdate ............ done]
[Exclude up-to-date packages .......... done]
--->  Upgrading 'geoipupdate-7.0.1_5' to 'geoipupdate-7.1.0' (net/geoipupdate)
--->  Building '/usr/ports/net/geoipupdate'
===>  Cleaning for geoipupdate-7.1.0
===>  License APACHE20 MIT accepted by the user
===>   geoipupdate-7.1.0 depends on file: /usr/local/sbin/pkg - found
===>   geoipupdate-7.1.0 depends on file: /usr/local/bin/go121 - found
===>   geoipupdate-7.1.0 depends on package: ca_root_nss>0 - found
=> v7.1.0.mod doesn't seem to exist in
/usr/ports/distfiles/go/net_geoipupdate/geoipupdate-v7.1.0.
=> Attempting to fetch
https://proxy.golang.org/github.com/maxmind/geoipupdate/v7/@v/v7.1.0.mod
v7.1.0.mod                                             681  B 9487 kBps    00s
=> v7.1.0.zip doesn't seem to exist in
/usr/ports/distfiles/go/net_geoipupdate/geoipupdate-v7.1.0.
=> Attempting to fetch
https://proxy.golang.org/github.com/maxmind/geoipupdate/v7/@v/v7.1.0.zip
v7.1.0.zip                                              72 kB 2531 kBps    00s
===> Fetching all distfiles required by geoipupdate-7.1.0 for building
===> Fetching github.com/maxmind/geoipupdate/v7 dependencies
go: exec go1.22.3: permission denied
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/geoipupdate
*** Error code 1

Stop.
make: stopped in /usr/ports/net/geoipupdate
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20241123-41456-wxpkbp env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=geoipupdate-7.0.1_5 UPGRADE_PORT_VER=7.0.1_5 make
"DEPENDS_TARGET=install package"
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! net/geoipupdate (geoipupdate-7.0.1_5) (unknown build error)
# 

As far as I was able to track down, I think the line
toolchain go1.22.3
in distfiles/go/net_geoipupdate/geoipupdate-v7.1.0/v7.1.0.mod is causing this
error. But removing it does not help, as the file gets downloaded again. Also
installing lang/go122 did not help.

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