[Buildroot] [2/5] libselinux: bump version to 2.6

Adam Duskett aduskett at gmail.com
Tue Jan 24 19:33:53 UTC 2017


Hello;

On Tue, Jan 24, 2017 at 8:08 AM, Adam Duskett <aduskett at codeblue.com> wrote:
> Sure can!
>
> What C library are you using?  I am using glibc and it compiles without
> any issue.
>
> Adam
>
> On Tue, 2017-01-24 at 23:30 +1300, Thomas Petazzoni wrote:
>> Hello,
>>
>> On Mon,  9 Jan 2017 11:15:20 -0500, Adam Duskett wrote:
>> > Signed-off-by: Adam Duskett <aduskett at codeblue.com>
>> > ---
>> >  package/libselinux/libselinux.hash | 2 +-
>> >  package/libselinux/libselinux.mk   | 4 ++--
>> >  2 files changed, 3 insertions(+), 3 deletions(-)
>>
>> I've tried a build with this entire series of patches applied, and
>> I'm
>> getting:
>>
>> /usr/bin/gcc -O2 -I/home/test/buildroot/output/host/usr/include
>> -I../include -I/home/test/buildroot/output/host/usr/include
>> -D_GNU_SOURCE  -DNO_ANDROID_BACKEND   -c -o regex.o regex.c
>> regex.c:16:2: error: #error __BYTE_ORDER__ not defined. Unable to
>> determine endianness.
>> make[2]: *** [regex.o] Error 1
>> make[2]: Leaving directory `/home/test/buildroot/output/build/host-
>> libselinux-2.6/src'
>> make[1]: *** [all] Error 1
>> make[1]: Leaving directory `/home/test/buildroot/output/build/host-
>> libselinux-2.6'
>> make: *** [/home/test/buildroot/output/build/host-libselinux-
>> 2.6/.stamp_built] Error 2
>>
>> The configuration to reproduce is:
>>
>> BR2_arm=y
>> BR2_TOOLCHAIN_EXTERNAL=y
>> BR2_INIT_NONE=y
>> BR2_SYSTEM_BIN_SH_NONE=y
>> # BR2_PACKAGE_BUSYBOX is not set
>> BR2_PACKAGE_POLICYCOREUTILS=y
>> # BR2_TARGET_ROOTFS_TAR is not set
>> BR2_PACKAGE_HOST_CHECKPOLICY=y

I have built the packages without error with your configuration.

>>
>> Could you have a look?
>>
>> Thanks,
>>
>> Thomas
Thanks!

Adam



More information about the buildroot mailing list