[Bug 281730] sysutils/u-boot-pine64: portmaster failure: : invalid option -- D
Date: Thu, 26 Sep 2024 19:57:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281730 --- Comment #7 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to O. Hartmann from comment #0) Looking at an official build's log, what comes just after: . . . DESTDIR=/usr/ports/sysutils/u-boot-pine64/work/stage pine64_plus_defconfig) Looks like: gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2024.04' gmake -f ./scripts/Makefile.build obj=scripts/basic cc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -O2 -pipe -fno-strict-aliasing -I/usr/include -std=gnu11 -L/usr/lib -o scripts/basic/fixdep scripts/basic/fixdep.c rm -f .tmp_quiet_recordmcount gmake -f ./scripts/Makefile.build obj=scripts/kconfig pine64_plus_defconfig cc -Wp,-MD,scripts/kconfig/.conf.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -O2 -pipe -fno-strict-aliasing -I/usr/include -std=gnu11 -c -o scripts/kconfig/conf.o scripts/kconfig/conf.c bison -oscripts/kconfig/zconf.tab.c -t -l scripts/kconfig/zconf.y flex -oscripts/kconfig/zconf.lex.c -L scripts/kconfig/zconf.l cc -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -O2 -pipe -fno-strict-aliasing -I/usr/include -std=gnu11 -Iscripts/kconfig -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -L/usr/lib -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o aarch64-none-elf-gcc -E -nostdinc -I . -undef -x assembler-with-cpp ./arch/../configs/pine64_plus_defconfig -o generated_defconfig scripts/kconfig/conf --defconfig=generated_defconfig Kconfig # # configuration written to .config # gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/u-boot-pine64/work/u-boot-2024.04' So it looks like the failure is associated with the line that starts with: gmake -f ./scripts/Makefile.build obj=scripts/basic Somehow what portmaster does injects a -D into something that gmake gets options to parse from. (Manually doing the same injection with a direct use of make would lead to the same, not that I know what the injection is.) -- You are receiving this mail because: You are the assignee for the bug.