Hi All,

I am currently facing build break of libsepol & libselinux while building
core-image-selinux.
the build break due to "ln: unrecognized option '--relative'" logs
attached,
build_break_log_libselinux.txt & build_break_log_libsepol.txt

Does anyone faced similar issue? please advice..

Prepared patches to fix the build break.. patches attached.
0001-libselinux-fix-build-break-w.r.to-gcc-5.2.0.patch &
0001-libsepol-fix-build-break-w.r.to-gcc-5.2.0.patch

With these patches the build error got fixed, but I am further facing
another issues with preparing the image.. "linselinux-python missing ..."

Please advice pointers or suggestions.. Thanks!


build tag:
Build Configuration:
BB_VERSION        = "1.27.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky-selinux"
DISTRO_VERSION    = "1.8+snapshot-20150929"
TUNE_FEATURES     = "arm armv5 thumb dsp"
TARGET_FPU        = "soft"
meta
meta-yocto
meta-yocto-bsp    = "master:f78f90240a3041be426c6ba9085849352164ee8b"
meta-selinux      = "master:463f97bfd1180475540b7d91e3fec6a2b33966bd"

checking the build further.. Thanks!


Thanks
Shrikant
ummary: There was 1 WARNING message shown.
WARNING: Host distribution "Ubuntu-12.04" has not been validated with this 
version of the build system; you may possibly experience unexpected failures. 
It is recommended that you use a tested distribution.
Loading cache: 100% 
|##################################################################################################################################|
 ETA:  00:00:00
Loaded 1389 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.27.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky-selinux"
DISTRO_VERSION    = "1.8+snapshot-20150929"
TUNE_FEATURES     = "arm armv5 thumb dsp"
TARGET_FPU        = "soft"
meta              
meta-yocto        
meta-yocto-bsp    = "master:f78f90240a3041be426c6ba9085849352164ee8b"
meta-selinux      = "master:463f97bfd1180475540b7d91e3fec6a2b33966bd"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL 
http://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz, attempting 
MIRRORS if available
ERROR: oe_runmake failed
ERROR: Function failed: do_install (log file is located at 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/temp/log.do_install.17700)
ERROR: Logfile of failure stored in: 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/temp/log.do_install.17700
Log data follows:
| DEBUG: Executing shell function do_install
| NOTE: make -j 8 -e ARCH=x86_64 
LDFLAGS=-L/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib
 
-L/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib
 
-Wl,-rpath-link,/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib
 
-Wl,-rpath-link,/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib
 
-Wl,-rpath,/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib
 
-Wl,-rpath,/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib
 -Wl,-O1 -lpcre install 
DESTDIR=/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image
 
PREFIX=/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr
 
INCLUDEDIR=/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/include
 
LIBDIR=/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib
 
SHLIBDIR=/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib
| make[1]: Entering directory 
`/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/libselinux-2.4/src'
| test -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib
 || install -m 755 -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib
| install -m 644 libselinux.a  
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib
| test -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib
 || install -m 755 -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib
| install -m 755 libselinux.so.1 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib
| test -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib/pkgconfig
 || install -m 755 -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib/pkgconfig
| install -m 644 libselinux.pc 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib/pkgconfig
| ln -sf --relative 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib/libselinux.so.1
 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib/libselinux.so
| ln: unrecognized option '--relative'
| Try `ln --help' for more information.
| make[1]: *** [install] Error 1
| make[1]: Leaving directory 
`/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/libselinux-2.4/src'
| make: *** [install] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_install (log file is located at 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libselinux-native/2.4-r0/temp/log.do_install.17700)
ERROR: Task 3304 
(virtual:native:/home/sbobade/Mentor/POKY_meta-selinux_poky_master/meta-selinux/recipes-security/selinux/libselinux_2.4.bb,
 do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1131 tasks of which 958 didn't need to be rerun 
and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  
virtual:native:/home/sbobade/Mentor/POKY_meta-selinux_poky_master/meta-selinux/recipes-security/selinux/libselinux_2.4.bb,
 do_install
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
sbobade@sbobade-VirtualBox:~/Mentor/POKY_meta-selinux_poky_master/BUILD$ 
From f1fa2fe8c12b1d82c72ac0bbdf773a541709b941 Mon Sep 17 00:00:00 2001
From: Shrikant Bobade <shrikant_bob...@mentor.com>
Date: Tue, 29 Sep 2015 19:36:09 +0530
Subject: [PATCH] libselinux: fix build break w.r.to gcc 5.2.0

this patch provide build break fix w.r.to gcc 5.2.0

Signed-off-by: Shrikant Bobade <shrikant_bob...@mentor.com>
---
 ...x_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch |   20 ++++++++++++++++++++
 recipes-security/selinux/libselinux_2.4.bb         |    3 ++-
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 recipes-security/selinux/libselinux/libselinux_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch

diff --git a/recipes-security/selinux/libselinux/libselinux_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch b/recipes-security/selinux/libselinux/libselinux_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch
new file mode 100644
index 0000000..80596c2
--- /dev/null
+++ b/recipes-security/selinux/libselinux/libselinux_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch
@@ -0,0 +1,20 @@
+libselinux: fix build break w.r.to gcc 5.2.0 for ln
+
+this patch provide build break fix against gcc 5.2.0
+for ln with unrecognized option '--relative'
+
+upstream-status: pending
+
+Signed-off-by: Shrikant Bobade <shrikant_bob...@mentor.com>
+
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -148,7 +148,7 @@
+ 	install -m 755 $(LIBSO) $(SHLIBDIR)
+ 	test -d $(LIBDIR)/pkgconfig || install -m 755 -d $(LIBDIR)/pkgconfig
+ 	install -m 644 $(LIBPC) $(LIBDIR)/pkgconfig
+-	ln -sf --relative $(SHLIBDIR)/$(LIBSO) $(LIBDIR)/$(TARGET)
++	ln -sf $(SHLIBDIR)/$(LIBSO) $(LIBDIR)/$(TARGET)
+ 
+ install-pywrap: pywrap
+ 	test -d $(PYLIBDIR)/site-packages/selinux || install -m 755 -d $(PYLIBDIR)/site-packages/selinux
diff --git a/recipes-security/selinux/libselinux_2.4.bb b/recipes-security/selinux/libselinux_2.4.bb
index e084df2..7c0665c 100644
--- a/recipes-security/selinux/libselinux_2.4.bb
+++ b/recipes-security/selinux/libselinux_2.4.bb
@@ -12,4 +12,5 @@ SRC_URI += "\
         file://libselinux-make-SOCK_CLOEXEC-optional.patch \
         file://libselinux-define-FD_CLOEXEC-as-necessary.patch \
         file://libselinux-get-pywrap-depends-on-selinux.py.patch \
-        "
+		file://libselinux_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch \
+		"
-- 
1.7.9.5

From c77beb94da80b7cc4e8df08afc8d10e582dfb356 Mon Sep 17 00:00:00 2001
From: Shrikant Bobade <shrikant_bob...@mentor.com>
Date: Tue, 29 Sep 2015 19:37:29 +0530
Subject: [PATCH] libsepol: fix build break w.r.to gcc 5.2.0

this patch provide build break fix w.r.to gcc 5.2.0

Signed-off-by: Shrikant Bobade <shrikant_bob...@mentor.com>
---
 ...l_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch |   19 +++++++++++++++++++
 recipes-security/selinux/libsepol_2.4.bb           |    2 ++
 2 files changed, 21 insertions(+)
 create mode 100644 recipes-security/selinux/libsepol/libsepol_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch

diff --git a/recipes-security/selinux/libsepol/libsepol_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch b/recipes-security/selinux/libsepol/libsepol_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch
new file mode 100644
index 0000000..f29f40c
--- /dev/null
+++ b/recipes-security/selinux/libsepol/libsepol_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch
@@ -0,0 +1,19 @@
+libsepol: fix build break w.r.to gcc 5.2.0 for ln
+
+this patch provide build break fix against gcc 5.2.0
+for ln with unrecognized option '--relative'
+
+upstream-status: pending
+
+Signed-off-by: Shrikant Bobade <shrikant_bob...@mentor.com>
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -70,7 +70,7 @@
+ 	install -m 755 $(LIBSO) $(SHLIBDIR)
+ 	test -d $(LIBDIR)/pkgconfig || install -m 755 -d $(LIBDIR)/pkgconfig
+ 	install -m 644 $(LIBPC) $(LIBDIR)/pkgconfig
+-	ln -sf --relative $(SHLIBDIR)/$(LIBSO) $(LIBDIR)/$(TARGET)
++	ln -sf $(SHLIBDIR)/$(LIBSO) $(LIBDIR)/$(TARGET)
+ 
+ relabel:
+ 	/sbin/restorecon $(SHLIBDIR)/$(LIBSO)
diff --git a/recipes-security/selinux/libsepol_2.4.bb b/recipes-security/selinux/libsepol_2.4.bb
index fa83e5f..5055807 100644
--- a/recipes-security/selinux/libsepol_2.4.bb
+++ b/recipes-security/selinux/libsepol_2.4.bb
@@ -5,3 +5,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
 
 SRC_URI[md5sum] = "8a75d27acf17af1911797e6b12986b50"
 SRC_URI[sha256sum] = "299015d59932404c6b69d365fdecffe5c0e2f9c44e08b47286a4bfc02ee49659"
+
+SRC_URI += "file://libsepol_fix_build_break_w.r.to_gcc_5.2.0_for_ln.patch"
-- 
1.7.9.5

Build Configuration:
BB_VERSION        = "1.27.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky-selinux"
DISTRO_VERSION    = "1.8+snapshot-20150929"
TUNE_FEATURES     = "arm armv5 thumb dsp"
TARGET_FPU        = "soft"
meta              
meta-yocto        
meta-yocto-bsp    = "master:f78f90240a3041be426c6ba9085849352164ee8b"
meta-selinux      = "master:463f97bfd1180475540b7d91e3fec6a2b33966bd"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_install (log file is located at 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/temp/log.do_install.22396)
ERROR: Logfile of failure stored in: 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/temp/log.do_install.22396
Log data follows:
| DEBUG: Executing shell function do_install
| NOTE: make -j 8 -e RANLIB=$(AR) s install 
DESTDIR=/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image
 
PREFIX=/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr
 
INCLUDEDIR=/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/include
 
LIBDIR=/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib
 
SHLIBDIR=/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib
| make -C include install
| make[1]: Entering directory 
`/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/libsepol-2.4/include'
| test -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/include/sepol
 || install -m 755 -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/include/sepol
| test -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/include/sepol/policydb
 || install -m 755 -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/include/sepol/policydb
| test -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/include/sepol/cil
 || install -m 755 -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/include/sepol/cil
| install -m 644 sepol/boolean_record.h sepol/booleans.h sepol/context.h 
sepol/context_record.h sepol/debug.h sepol/errcodes.h sepol/handle.h 
sepol/iface_record.h sepol/interfaces.h sepol/module.h sepol/node_record.h 
sepol/nodes.h sepol/policydb.h sepol/port_record.h sepol/ports.h sepol/roles.h 
sepol/sepol.h sepol/user_record.h sepol/users.h 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/include/sepol
| install -m 644 sepol/policydb/avrule_block.h sepol/policydb/avtab.h 
sepol/policydb/conditional.h sepol/policydb/constraint.h 
sepol/policydb/context.h sepol/policydb/ebitmap.h sepol/policydb/expand.h 
sepol/policydb/flask.h sepol/policydb/flask_types.h sepol/policydb/hashtab.h 
sepol/policydb/hierarchy.h sepol/policydb/link.h sepol/policydb/mls_types.h 
sepol/policydb/module.h sepol/policydb/polcaps.h sepol/policydb/policydb.h 
sepol/policydb/services.h sepol/policydb/sidtab.h sepol/policydb/symtab.h 
sepol/policydb/util.h 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/include/sepol/policydb
| install -m 644 ../cil/include/cil/cil.h 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/include/sepol/cil
| make[1]: Leaving directory 
`/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/libsepol-2.4/include'
| make -C src install
| make[1]: Entering directory 
`/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/libsepol-2.4/src'
| test -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib
 || install -m 755 -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib
| install -m 644 libsepol.a  
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib
| test -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib
 || install -m 755 -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib
| install -m 755 libsepol.so.1 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib
| test -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib/pkgconfig
 || install -m 755 -d 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib/pkgconfig
| install -m 644 libsepol.pc 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib/pkgconfig
| ln -sf --relative 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/lib/libsepol.so.1
 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/image//home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/sysroots/x86_64-linux/usr/lib/libsepol.so
| ln: unrecognized option '--relative'
| Try `ln --help' for more information.
| make[1]: *** [install] Error 1
| make[1]: Leaving directory 
`/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/libsepol-2.4/src'
| make: *** [install] Error 2
| WARNING: 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/temp/run.do_install.22396:1
 exit 1 from
|   exit 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_install (log file is located at 
/home/sbobade/Mentor/POKY_meta-selinux_poky_master/BUILD/tmp/work/x86_64-linux/libsepol-native/2.4-r0/temp/log.do_install.22396)
ERROR: Task 3295 
(virtual:native:/home/sbobade/Mentor/POKY_meta-selinux_poky_master/meta-selinux/recipes-security/selinux/libsepol_2.4.bb,
 do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 949 tasks of which 735 didn't need to be rerun 
and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  
virtual:native:/home/sbobade/Mentor/POKY_meta-selinux_poky_master/meta-selinux/recipes-security/selinux/libsepol_2.4.bb,
 do_install
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
sbobade@sbobade-VirtualBox:~/Mentor/POKY_meta-selinux_poky_master/BUILD$ 
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to