[Bug 281554] devel/build2: portmaster build failure: : invalid option -- D

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 17 Sep 2024 16:41:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281554

            Bug ID: 281554
           Summary: devel/build2: portmaster build failure: : invalid
                    option -- D
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: fuz@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(fuz@FreeBSD.org)
          Assignee: fuz@FreeBSD.org

Again, I tripped over a ${SETENV} vs. ${SETENVI} issue using portmaster!
Building port

devel/build2

fails with:

===>>> All >> build2-0.16.0 (1/5)

===>  Cleaning for build2-0.17.0
===>  License BSD2CLAUSE BSD3CLAUSE MIT accepted by the user
===>   build2-0.17.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by build2-0.17.0 for building
===>  Extracting for build2-0.17.0
=> SHA256 Checksum OK for build2-toolchain-0.17.0.tar.xz.
===>  Patching for build2-0.17.0
===>   build2-0.17.0 depends on package: gmake>=4.4.1 - found
===>   build2-0.17.0 depends on package: pkgconf>=1.3.0_1 - found
===>   build2-0.17.0 depends on shared library: libsqlite3.so - found
(/usr/local/lib/libsqlite3.so)
===>  Configuring for build2-0.17.0
===>  Building for build2-0.17.0
: invalid option -- D
Usage: gmake [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -E STRING, --eval=STRING    Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY

[...]

make -C devel/build2 all followed by portmaster -C devel/build2 

works as workaround.

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