[Bug 289861] sysutils/u-boot-master: portmaster failure: : invalid option -- D

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 27 Sep 2025 08:04:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289861

            Bug ID: 289861
           Summary: sysutils/u-boot-master: portmaster failure: : invalid
                    option -- D
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: uboot@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: uboot@FreeBSD.org
             Flags: maintainer-feedback?(uboot@FreeBSD.org)

Created attachment 264113
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264113&action=edit
portmaster issue patch

FreeBSD 16.0-CURRENT #22 master-n280656-523fece9d11e: Sat Sep 27 07:45:04 CEST
2025 amd64

Using portmaster, portbuild bails out with error shown below. With the applied
patch (reference: /usr/ports/CHANGES, tag: 20240229: AUTHOR: tijl@FreeBSD.org
the issue can be mitigated. Patch attached.

[...]
===>  Configuring for u-boot-pine64-2025.04
(cd /usr/ports/sysutils/u-boot-pine64/work/u-boot-2025.04; /usr/bin/env
MAKE=/usr/local/bin/gmake PYTHON="/usr/local/bin/python3.11" PKG_CONFIG=pkgconf
XDG_DATA_HOME=/usr/ports/sysutils/u-boot-pine64/work 
XDG_CONFIG_HOME=/usr/ports/sysutils/u-boot-pine64/work 
XDG_CACHE_HOME=/usr/ports/sysutils/u-boot-pine64/work/.cache 
HOME=/usr/ports/sysutils/u-boot-pine64/work TMPDIR="/tmp"
PATH=/usr/ports/sysutils/u-boot-pine64/work/.bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
PKG_CONFIG_LIBDIR=/usr/ports/sysutils/u-boot-pine64/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
SHELL=/bin/sh CONFIG_SHELL=/bin/sh CROSS_COMPILE=aarch64-none-elf-
PYTHON=/usr/local/bin/python3.11 SCP=/dev/null
BL31=/usr/local/share/atf-sun50i_a64/bl31.bin OPENSSLBASE=/usr
OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib
XDG_DATA_HOME=/usr/ports/sysutils/u-boot-pine64/work 
XDG_CONFIG_HOME=/usr/ports/sysutils/u-boot-pine64/work 
XDG_CACHE_HOME=/usr/ports/sysutils/u-boot-pine64/work/.cache 
HOME=/usr/ports/sysutils/u-boot-pine64/work TMPDIR="/tmp"
PATH=/usr/ports/sysutils/u-boot-pine64/work/.bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
PKG_CONFIG_LIBDIR=/usr/ports/sysutils/u-boot-pine64/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe 
-fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="  " LIBS=""  CXX="c++"
CXXFLAGS="-O2 -pipe -fno-strict-aliasing   " BSD_INSTALL_PROGRAM="install  -s
-m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m
555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
/usr/local/bin/gmake ARCH=arm V=1 HOSTCFLAGS="-O2 -pipe  -fno-strict-aliasing 
-I/usr/include"  HOSTLDFLAGS="   -L/usr/lib"
DESTDIR=/usr/ports/sysutils/u-boot-pine64/work/stage pine64_plus_defconfig)
: invalid option -- D

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