[Bug 273035] sysutils/cpupdate fails to build with CPM and INTEL both enabled in options

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 10 Aug 2023 01:01:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273035

            Bug ID: 273035
           Summary: sysutils/cpupdate fails to build with CPM and INTEL
                    both enabled in options
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: eugen@freebsd.org
          Reporter: void@f-m.fm
          Assignee: eugen@freebsd.org
             Flags: maintainer-feedback?(eugen@freebsd.org)

Attempting to build sysutils/cpupdate from the port (very recently refreshed)
on 13-stable with both CPM and intel options enabled results in the following
error:

#####
# make
===>  License BSD2CLAUSE accepted by the user
===>   cpupdate-g20180513_4 depends on file: /usr/local/sbin/pkg - found
=> microcode-20230613 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch
https://codeload.github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/tar.gz/microcode-20230613
fetch:
https://codeload.github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/tar.gz/microcode-20230613:
size unknown
fetch:
https://codeload.github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/tar.gz/microcode-20230613:
size of remote file is not known
microcode-20230613                                      11 MB 4370 kBps    03s
=> kernschmelze-cpupdate-g20180513-48e42d5_GH0.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
=> Attempting to fetch
https://codeload.github.com/platomav/CPUMicrocodes/tar.gz/246a49d?dummy=/platomav-CPUMicrocodes-246a49d_GH0.tar.gzkernschmelze-cpupdate-g20180513-48e42d5_GH0.tar.gz
fetch:
https://codeload.github.com/platomav/CPUMicrocodes/tar.gz/246a49d?dummy=/platomav-CPUMicrocodes-246a49d_GH0.tar.gzkernschmelze-cpupdate-g20180513-48e42d5_GH0.tar.gz:
size unknown
fetch:
https://codeload.github.com/platomav/CPUMicrocodes/tar.gz/246a49d?dummy=/platomav-CPUMicrocodes-246a49d_GH0.tar.gzkernschmelze-cpupdate-g20180513-48e42d5_GH0.tar.gz:
size of remote file is not known
platomav-CPUMicrocodes-246a49d_GH0.tar.gzkerns          20 MB   10 MBps    02s
stat: kernschmelze-cpupdate-g20180513-48e42d5_GH0.tar.gz: No such file or
directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/sysutils/cpupdate
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/cpupdate
#####

workaround: disable CPM, install then run 
make install-microcodes
sysrc cpupdate_enable=YES
service cpupdate download
service cpupdate start

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