Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2015 19:59:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 201978] 286035: make delete-old: OptionalObsoleteFiles.inc" line 1654: Malformed conditional
Message-ID:  <bug-201978-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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: freebsd-bugs@FreeBSD.org
          Reporter: ohartman@zedat.fu-berlin.de

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201978-8>