• Occasional compiler.mk warning using poudriere

    From Sean C. Farley@scf@FreeBSD.org to muc.lists.freebsd.ports on Thu Jan 15 23:23:05 2026
    From Newsgroup: muc.lists.freebsd.ports

    Lately, a few ports have been outputting a warning when running
    "poudriere options" on them. For example:

    $ poudriere options -j fbsd14 -p default -z desktop graphics/darktable [00:00:00] Ports supports: FLAVORS SUBPACKAGES SELECTED_OPTIONS
    [00:00:00] Working on options directory: /usr/local/etc/poudriere.d/fbsd14-default-desktop-options
    [00:00:00] Using ports from: /usr/ports
    [00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
    sh: /nonexistent/llvm19/bin/clang: not found
    make: "/usr/ports/Mk/Uses/compiler.mk" line 86: warning: "/nonexistent/llvm19/bin/clang --version" returned non-zero status
    make: "/usr/ports/Mk/Uses/compiler.mk" line 134: warning: "/nonexistent/llvm19/bin/clang++ -### /dev/null 2>&1" returned non-zero status
    Setting user-specified options for darktable-5.2.1_2 and dependencies

    Basically, poudriere is running:

    env make \
    'PORT_DBDIR=/usr/local/etc/poudriere.d/fbsd14-default-desktop-options' \
    'PKG_BIN=/usr/local/sbin/pkg-static' \
    'DIALOG4PORTS=/usr/local/bin/portconfig' 'LOCALBASE=/nonexistent' -C \
    /usr/ports/graphics/darktable config-recursive

    As far as I can tell, this has not changed in the poudriere source, but
    that LOCALBASE=/nonexistent setting is making the ports tree unhappy
    now. Creating an empty make.conf does not help. Running that config-recursive target on something like graphics/feh works fine.

    Sean
    --
    scf@FreeBSD.org


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2