• Bug#265325: lvm2: FTBFS when libselinux1 installed and libselinux1-dev

    From Kurt Roeckx@1:229/2 to All on Thu Aug 12 19:50:03 2004
    From: [email protected]

    Package: lvm2
    Version: 2.00.19-3
    Severity: serious

    If you have libselinux1 installed, configure will build the
    package with selinux support even when libselinux1-dev is
    missing.

    With libselinux1 installed and libselinux1-dev not I get:
    cc -c -I. -I../include -g -Wall -O2 -DLVM1_INTERNAL -DPOOL_INTERNAL -DCLUSTER_LOCKING_INTERNAL -DSNAPSHOT_INTERNAL -DMIRRORED_INTERNAL -DDEVMAPPER_SUPPORT -DO_DIRECT_SUPPORT -DHAVE_LIBDL -DHAVE_SELINUX -DHAVE_GETOPTLONG -fPIC -Wall -Wundef
    -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_FILE_OFFSET_BITS=64 -O2 misc/selinux.c -o misc/selinux.o
    misc/selinux.c:19:29: selinux/selinux.h: No such file or directory misc/selinux.c: In function `set_selinux_context':
    misc/selinux.c:23: error: `security_context_t' undeclared (first use in this function)
    misc/selinux.c:23: error: (Each undeclared identifier is reported only once misc/selinux.c:23: error: for each function it appears in.)
    misc/selinux.c:23: error: parse error before "scontext"
    misc/selinux.c:26: warning: implicit declaration of function `is_selinux_enabled'
    misc/selinux.c:29: warning: implicit declaration of function `matchpathcon' misc/selinux.c:29: error: `scontext' undeclared (first use in this function) misc/selinux.c:34: warning: implicit declaration of function `lsetfilecon' make[2]: *** [misc/selinux.o] Error 1

    I think you should add a build-dependency on libselinux1-dev
    so that it will get build selinux support on all arches. It
    seems to depend on the arch now if it has selinux support or
    not.

    From looking at the buildd logs those are build with selinux:
    s390
    hppa
    arm
    alpha
    m68k
    powerpc

    Those not:
    ia64
    sparc
    mips
    mipsel


    Kurt



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Patrick Caulfield@1:229/2 to All on Thu Aug 12 20:30:13 2004
    From: [email protected]

    yep.

    It's a bug in the selinux package. See #252125 & 251936
    --

    patrick


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Kurt Roeckx@1:229/2 to Patrick Caulfield on Thu Aug 12 22:30:12 2004
    From: [email protected]

    On Thu, Aug 12, 2004 at 07:09:44PM +0100, Patrick Caulfield wrote:
    It's a bug in the selinux package. See #252125 & 251936

    That's #252124 and #251936


    Kurt



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)