https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201978

            Bug ID: 201978
           Summary: 286035: make delete-old: OptionalObsoleteFiles.inc"
                    line 1654: Malformed conditional
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 159371
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159371&action=edit
Patch for tools/build/mk/OptionalObsoleteFiles.inc

There is an obvious typo in tools/build/mk/OptionalObsoleteFiles.inc, which has
been introduced recently with, I believe it is ~ r286035, which makes a 

delete make-old

in /usr/src failing with:

make[1]: "/usr/src/tools/build/mk/OptionalObsoleteFiles.inc" line 1654:
Malformed conditional (${MK_ELFTOOLCHAIN_TOOLS} == no || 
(${MK_ELFTOOLCHAIN_TOOLS} != no && MK_ELFCOPY_AS_OBJCOPY != no))
make[1]: Fatal errors encountered -- cannot continue
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src


Attached, you'll find for your convenience a patch - it is obvious that the
author forgot to enclose the variable MK_ELFCOPY_AS_OBJCOPY by ${...} marking
it as a variable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to