maintainer-feedback requested: [Bug 289472] print/tex-luatex: : invalid option -- D : make: stopped making "build"

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Sep 2025 17:08:53 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked Tex Mailing List (Nobody)
<tex@FreeBSD.org> for maintainer-feedback:
Bug 289472: print/tex-luatex: : invalid option -- D : make: stopped making
"build"
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289472



--- Description ---
Port fails to build, see error below. The issue is well known when port is
build via classical "make".

[...]
ln -s ../pplib-src/src/util/utilsha.h utilsha.h
cd
/usr/ports/print/tex-luatex/work/texlive-20250308-source/libs/luajit/LuaJIT-src
/src
&&  /usr/local/bin/gmake luajit.h
: 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
			      Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]	      Allow N jobs at once; infinite jobs with no arg.
  --jobserver-style=STYLE     Select the style of jobserver to use.
  -k, --keep-going	      Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
			      Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
			      Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
			      Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
			      Synchronize output of parallel jobs by TYPE.

[...]

This program built for amd64-portbld-freebsd15.0
Report bugs to <bug-make@gnu.org>
*** Error code 2

Stop.
make: stopped making "build" in /usr/ports/print/tex-luatex
[...]