Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 1/8] package/libselinux: bump version to 3.0
Date: Sun, 19 Apr 2020 16:26:54 +0200	[thread overview]
Message-ID: <20200419162654.57768ee9@windsurf.home> (raw)
In-Reply-To: <20200415125921.57648-2-matthew.weber@rockwellcollins.com>

On Wed, 15 Apr 2020 07:59:14 -0500
Matt Weber <matthew.weber@rockwellcollins.com> wrote:

> From: Adam Duskett <aduskett@gmail.com>
> 
> Other changes:
>   - Remove upstream packages.
>   - Modify existing patches to work with 3.0.
>   - Remove Python2 check, as 3.0 has removed Python2 support.
> 
> Signed-off-by: Adam Duskett <aduskett@gmail.com>
> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
> ---
> Changes
> v3 -> v4
>  - Switched back to using x.y for versioning

This breaks the build with some old glibc versions where <fts.h> is
incompatible with FILE_OFFSET_BITS=64. We already have a work-around
for this in libselinux.mk, but it seems it's no longer sufficient, as
-D_FILE_OFFSET_BITS=64 gets into the command line:

/home/buildroot/autobuild/instance-1/output-1/host/bin/arm-none-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Os -I../include -D_GNU_SOURCE   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -lpcre -lpthread -L../src  selabel_get_digests_all_partial_matches.c  -lselinux  -o selabel_get_digests_all_partial_matches
In file included from selabel_get_digests_all_partial_matches.c:7:0:
/home/buildroot/autobuild/instance-1/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
 # error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
   ^

Could you have a look ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  parent reply	other threads:[~2020-04-19 14:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-15 12:59 [Buildroot] [PATCH v4 0/8] Bump of SELinux related libs/tools to 3.0 Matt Weber
2020-04-15 12:59 ` [Buildroot] [PATCH v4 1/8] package/libselinux: bump version " Matt Weber
2020-04-17 20:15   ` Thomas Petazzoni
2020-04-19 14:26   ` Thomas Petazzoni [this message]
2020-04-15 12:59 ` [Buildroot] [PATCH v4 2/8] package/libsemanage: " Matt Weber
2020-04-17 20:17   ` Thomas Petazzoni
2020-04-15 12:59 ` [Buildroot] [PATCH v4 3/8] package/libsepol: " Matt Weber
2020-04-17 20:31   ` Thomas Petazzoni
2020-04-15 12:59 ` [Buildroot] [PATCH v4 4/8] package/policycoreutils: " Matt Weber
2020-04-17 20:47   ` Thomas Petazzoni
2020-04-15 12:59 ` [Buildroot] [PATCH v4 5/8] package/restorecond: " Matt Weber
2020-04-17 20:48   ` Thomas Petazzoni
2020-04-15 12:59 ` [Buildroot] [PATCH v4 6/8] package/semodule-utils: " Matt Weber
2020-04-17 20:48   ` Thomas Petazzoni
2020-04-15 12:59 ` [Buildroot] [PATCH v4 7/8] package/checkpolicy: " Matt Weber
2020-04-17 20:48   ` Thomas Petazzoni
2020-04-15 12:59 ` [Buildroot] [PATCH v4 8/8] package/selinux-python: bump to version 3.0 Matt Weber
2020-04-17 20:48   ` 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=20200419162654.57768ee9@windsurf.home \
    --to=thomas.petazzoni@bootlin.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