[oe-issues] [Bug 2719] New: lsof_4.78.bb compile fails with missing selinux/selinux.h

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sun Aug 5 11:56:35 CEST 2007


http://bugs.openembedded.org/show_bug.cgi?id=2719

           Summary: lsof_4.78.bb compile fails with missing
                    selinux/selinux.h
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: stefan at datenfreihafen.org


After the upgrade to 4.78 lsof fails to compile for me on x86 and x86_64 with
the following:

| ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t 
-DLINUXV=26021 -DGLIBCV=206 -DHASIPv6 -DHASSELINUX -D_FILE_OFFSET_BITS=64
-DLSOF_VSTR=\"2.6.21.1-dodger\"
-isystem/home/stefan/Projekte/OpenEmbedded/build/tmp/staging/arm-angstrom-linux-gnueabi/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os   
-isystem/home/stefan/Projekte/OpenEmbedded/build/tmp/staging/arm-angstrom-linux-gnueabi/include
 -c -o dproc.o dproc.c
| dproc.c:41:29: error: selinux/selinux.h: No such file or directory
| make: *** [dproc.o] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/stefan/Projekte/OpenEmbedded/build/tmp/work/armv4t-angstrom-linux-gnueabi/lsof-4.78-r0/temp/log.do_compile.31553
NOTE: package lsof-4.78-r0: task do_compile: failed

I'm a bit confused about this one, as libselinux-dev is installed on the hosts
and  /usr/include/selinux/selinux.h exists. IMHO it should use this as there is
no selinux in OE, right?

Full log attached.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Openembedded-issues mailing list