Bug ID 1169684
Summary libnml pkg, from security:netfilter, installs headers in incorrect path, wrong info added to pkg-config
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.2
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Security
Assignee security-team@suse.de
Reporter pgnet.dev@gmail.com
QA Contact qa-bugs@suse.de
CC jengelh@inai.de
Found By ---
Blocker ---

installing

    libmnl-1.0.4-lp151.43.1
    libmnl-devel-1.0.4-lp151.43.1.x86_64

from

    security:netfilter

installs in incorrect paths

    rpm -ql libmnl-devel
        /usr/include/libmnl
!!        /usr/include/libmnl/libmnl
!!        /usr/include/libmnl/libmnl/libmnl.h
        /usr/lib64/libmnl.so
        /usr/lib64/pkgconfig/libmnl.pc

and incorrectly reports the installed path in pkgconfig

    cat /usr/lib64/pkgconfig/libmnl.pc
        # libmnl pkg-config file

        prefix=/usr
        exec_prefix=/usr
        libdir=/usr/lib64
!!        includedir=/usr/include/libmnl

        Name: libmnl
        Description: Minimalistic Netlink communication library
        URL: http://netfilter.org/projects/libmnl/
        Version: 1.0.4
        Requires:
        Conflicts:
        Libs: -L${libdir} -lmnl
        Cflags: -I${includedir}

    pkg-config --libs --cflags libmnl
        -I/usr/include/libmnl -lmnl


You are receiving this mail because: