Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Samba4 build issue
Date: Tue, 4 Nov 2014 19:20:43 +0100	[thread overview]
Message-ID: <20141104192043.03f7159b@free-electrons.com> (raw)
In-Reply-To: <5458DC52.6020706@zacarias.com.ar>

Dear Gustavo Zacarias,

On Tue, 04 Nov 2014 11:01:54 -0300, Gustavo Zacarias wrote:

> D'oh!
> http://autobuild.buildroot.net/results/992/9928a251e5cfcf6e574a447221e938135eeb69f9/build-end.log
> Seems the new libcap version requires 3.1+ kernel headers.
> I'm not a big fan of those ppc toolchains since they're old, but what's
> the linux headers baseline we're looking for?

There was a patch from Bernd, a759931c9b0cb4337dc30fd35d03ce123271c5a4,
which made libcap depend on headers >= 3.7. But I reverted it in
d5146f4b53d926c13a47215ac514e43b2c66b9ac, because Bernd's analysis was
not correct, and libcap did not depend on kernel headers >= 3.7.

Are you sure 3.1 is really the correct starting point? Here is what I
wrote at the time:

""""
 * First, the XATTR_NAME_CAPS was *not* introduced in kernel 3.7 has
   claimed by the commit log. The kernel commit
   https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/linux/xattr.h?id=607ca46e97a1b6594b29647d98a32d545c24bdff
   pointed by the commit log as the one introducing XATTR_NAME_CAPS
   was badly interpreted. This commit is the one where the userspace
   side of the kernel headers was separated from the kernel side of
   the kernel headers (before we had only <linux/foo.h>, now we have
   <linux/foo.h> and <uapi/linux/foo.h>). In reality, XATTR_CAP_NAMES
   has been defined in <linux/xattr.h> since commit
   af4f136056c984b0aa67feed7d3170b958370b2f which was merged in
   2.6.36. And before that, the definition was anyway present in
   <linux/capability.h>. XATTR_NAME_CAPS was originally introduced in
   b53767719b6cd8789392ea3e7e2eb7b8906898f0, which was merged in
   kernel 2.6.24.
""""

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-11-04 18:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-01 22:39 [Buildroot] Samba4 build issue Thomas Petazzoni
2014-11-02  0:16 ` Gustavo Zacarias
2014-11-02  9:38   ` Thomas Petazzoni
2014-11-02 12:51     ` Gustavo Zacarias
2014-11-04  7:26       ` Thomas Petazzoni
2014-11-04 14:01         ` Gustavo Zacarias
2014-11-04 18:20           ` Thomas Petazzoni [this message]
2014-11-04 18:54             ` Gustavo Zacarias
2014-11-05  7:13               ` Thomas Petazzoni

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=20141104192043.03f7159b@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox