All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 10861] New: Package batman_adv Makefile is missing include header directory
Date: Thu, 15 Mar 2018 08:23:06 +0000	[thread overview]
Message-ID: <bug-10861-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=10861

            Bug ID: 10861
              Host: ARM
             Build: X86_64
           Summary: Package batman_adv Makefile is missing include header
                    directory
           Product: buildroot
           Version: 2018.02
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: miltos.koutsokeras at iccs.gr
                CC: buildroot at uclibc.org
  Target Milestone: ---

Created attachment 7511
  --> https://bugs.busybox.net/attachment.cgi?id=7511&action=edit
batman_adv package Makefile fix

Bug found in package/batman-adv/batman-adv.mk leading to compilation error due
to missing headers:

fatal error: uapi/linux/batman_adv.h: No such file or directory
 #include <uapi/linux/batman_adv.h>

There is an extra include directory (-I$(PWD)/include/) added in batman_adv
source Makefile in commit:

https://git.open-mesh.org/batman-adv.git/blobdiff/14adbd701dec0717606bff4f0c8c084827bf4735..2b20eb572f271edca0d0fd1abd5350876c315d28:/Makefile

but the extra directory is missing from the Buildroot
package/batman-adv/batman-adv.mk:

BATMAN_ADV_CFLAGS = \
        -I$(@D)/compat-include/ \
        -include $(@D)/compat.h \
        -DBATADV_SOURCE_VERSION=\"\\\"$(BATMAN_ADV_VERSION)\\\"\"

Patch attached fixes the issue and the build finishes properly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2018-03-15  8:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-15  8:23 bugzilla at busybox.net [this message]
2018-06-06 13:24 ` [Buildroot] [Bug 10861] Package batman_adv Makefile is missing include header directory bugzilla at busybox.net
2018-06-12  7:20 ` bugzilla at busybox.net
2018-07-25  8:58 ` bugzilla at busybox.net
2018-07-25  9:00 ` bugzilla at busybox.net
2018-07-25  9:04 ` bugzilla at busybox.net
2019-08-15 21:33 ` bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-10861-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.