[Bug 257459] sysutils/devcpu-data: respect CC

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Jul 2021 19:43:02 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257459

            Bug ID: 257459
           Summary: sysutils/devcpu-data: respect CC
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sbruno_at_FreeBSD.org
          Reporter: evgeniy_at_khramtsov.org
          Assignee: sbruno_at_FreeBSD.org
             Flags: maintainer-feedback?(sbruno_at_FreeBSD.org)
             Flags: maintainer-feedback?

Created attachment 226743
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226743&action=edit
v1 (use "git am")

/usr/bin/cc can be absent due to base built WITHOUT_CLANG,
external toolchain from ports can be installed instead.

Respect $CC from environment, e.g. when
/usr/local/share/toolchains/*.mk gets included:

cc ucode-split.c -o ucode-split
sh: cc: not found
*** [ucode-split] Error code 127

Tier-1 architectures poudriere testport (use zstdless):
(ports 3036f585e6b6af48cb255acf2cdc156c243afe95 Tue Jul 27 21:49:07 2021 +0300)

11.4/amd64: OK
https://codeberg.org/ei/misc/raw/branch/main/poudriere/devcpu-data-1.39_114-amd64.log.zst
11.4/i386: OK
https://codeberg.org/ei/misc/raw/branch/main/poudriere/devcpu-data-1.39_114-i386.log.zst
12.2/amd64: OK
https://codeberg.org/ei/misc/raw/branch/main/poudriere/devcpu-data-1.39_122-amd64.log.zst
12.2/i386: OK
https://codeberg.org/ei/misc/raw/branch/main/poudriere/devcpu-data-1.39_122-i386.log.zst
13.0/amd64: OK
https://codeberg.org/ei/misc/raw/branch/main/poudriere/devcpu-data-1.39_130-amd64.log.zst

Runtime on 14-CURRENT base fork + ports fork: OK (dmesg CPU entry appears).

PORTREVISION is not bumped because ucode files of package did not change, only
manifest with ports tree hash:

(root of extracted package, git repo initialized before patch) $ git diff

modified:   +COMPACT_MANIFEST
modified:   +MANIFEST

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Jul 27 2021 - 19:43:02 UTC

Original text of this message