Bug 273035 - sysutils/cpupdate fails to build with CPM and INTEL both enabled in options
Summary: sysutils/cpupdate fails to build with CPM and INTEL both enabled in options
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Eugene Grosbein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-10 01:01 UTC by void
Modified: 2024-03-08 11:25 UTC (History)
1 user (show)

See Also:
eugen: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description void 2023-08-10 01:01:38 UTC
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
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-08-14 22:11:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a5d39f235dacf9abf694e3359417400fdc0e3cbd

commit a5d39f235dacf9abf694e3359417400fdc0e3cbd
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2023-08-14 22:09:25 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2023-08-14 22:11:12 +0000

    sysutils/cpupdate: minor update

    Update for platomav/CPUMicrocodes r274.
    Update for Intel pack microcode-20230808.
    Fix microcode download, again. (*)

    Bump PORTREVISION.

    PR:     273035 (*)

 sysutils/cpupdate/Makefile             | 17 ++++++++---------
 sysutils/cpupdate/distinfo             | 10 +++++-----
 sysutils/cpupdate/files/cpupdate.in    |  4 ++--
 sysutils/cpupdate/files/pkg-message.in |  2 +-
 4 files changed, 16 insertions(+), 17 deletions(-)
Comment 2 Eugene Grosbein freebsd_committer freebsd_triage 2023-08-14 22:13:26 UTC
Thank you for the report. The port was updated with a fix, please test and report back.
Comment 3 void 2024-03-08 11:24:52 UTC
Sorry for the delay.
It's working, thanks. Closing...