• Bug#1095855: libzfslinux-dev: pkg-config --cflags libzfs (or libzfs_cor

    From =?utf-8?B?0L3QsNCx?=@21:1/5 to All on Thu Feb 13 01:10:01 2025
    Package: libzfslinux-dev
    Version: 2.2.7-2
    Severity: serious
    Tags: patch
    Justification: Policy 3.5

    Dear Maintainer,

    When rebuilding fzifdso on current sid, I noticed the following error:
    + make
    Package libtirpc was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libtirpc.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'libtirpc', required by 'libzfs_core', not found
    Package 'zlib', required by 'libzfs_core', not found
    Package 'libtirpc', required by 'libzfs_core', not found
    Package 'zlib', required by 'libzfs_core', not found
    g++ -g -O3 -std=c++17 -fno-exceptions -fno-rtti -Wall -Wextra -pipe -fPIC -flto -MD -DFZIFDSO_VERSION='"0.4.0-5-g6a94604"' -c -o out/build/obj/bin/zfs-fido2-add-backup.o src/bin/zfs-fido2-add-backup.cpp
    In file included from src/bin/zfs-fido2-add-backup.cpp:8:
    src/bin/../main.hpp:9:10: fatal error: libzfs.h: No such file or directory
    9 | #include <libzfs.h>
    | ^~~~~~~~~~
    compilation terminated. (https://builds.sr.ht/~nabijaczleweli/job/1428746#task-build-gcc-1).

    I've narrowed this down to a
    pkg-config --cflags libzfs libzfs_core
    invocation.

    Installing libtirpc-dev and zlib1g-dev fixed this and let fzifdso build.

    Attaching patch that fixes this by adding them to Depends:,
    also in the form of an MR at
    https://salsa.debian.org/zfsonlinux-team/zfs/-/merge_requests/47

    Best,
    наб

    -- System Information:
    Debian Release: 12.9
    APT prefers stable-updates
    APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.1.0-27-amd64 (SMP w/24 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
    Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages libzfslinux-dev depends on:
    pn libblkid-dev <none>
    ii libnvpair3linux 2.1.11-1+deb12u1
    ii libssl-dev 3.0.15-1~deb12u1
    ii libuutil3linux 2.1.11-1+deb12u1
    ii libzfs4linux 2.1.11-1+deb12u1
    pn libzfsbootenv1linux <none>
    ii libzpool5linux 2.1.11-1+deb12u1

    libzfslinux-dev recommends no packages.

    libzfslinux-dev suggests no packages.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEfWlHToQCjFzAxEFjvP0LAY0mWPEFAmetNmUACgkQvP0LAY0m WPFZ2w//aguSotLD70/b39gQSJg1HnCzTzvUWCLr8JNPapbBAOizxygIcBrAutyQ Q7vDbWGMwfpYyV05LXlKpf4YOKIlmX79HscKV6tQ1Tb8BQH/AXRf7keDXiZkEVvd B87g/R9b/57uTly7Tt8kMXcFyMYvFMzA0OKYLZ368ikg2QJqnhaaNMLbOz1He8F/ +3qY5gYvmwFhXUyOs/7u4ZFpfeJg85Kxh0vl0fbIffP/1ZLqCDgVejGrOUPtg9G5 YKeZLLHTz8ZCtRbqK+ZFOXeP82HuCVnJtqVJikEgfPF86swUf/VWIJw7mzV7ndEo aZrb8UrSoAsvasWuHhEe65asD+Gc0L1Jgwxrg8IjaVgCfZtxTScML90LZYge/l9b IHv+qtycwHekCnhOg5H0l1pAVSyzsBaKrG/s5ltYMatFaFL3sk/Z13hQEutHTBC1 QQF2CHC/KdgFguDImrcFIdgEHi8JWA6HLBPiIeHknu4xXHNbJP0JezPXcFW5VhJq zX0Sa71wz/iE2UOmaWPOAllbO1w+WBc2hkoM/s3wWuvBRu1F0E0F/o592kKmy+p9 ekqiwa1zNJQGyJ1SodDkq+/aQHnh2/fJJlKYe90QfIPMXJgPgYBxRyz4zVQ8nfOK dbZkIdtAjkkKJ1g5OvzY0w9th3LUaHmu/e01nOQ7GjfmuQcFxTE=
    =14eK
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Feb 16 16:30:01 2025
    This is a multi-part message in MIME format...

    Your message dated Sun, 16 Feb 2025 15:20:34 +0000
    with message-id <E1tjgRe-00CWD0-SI@fasolo.debian.org>
    and subject line Bug#1095855: fixed in zfs-linux 2.3.0-1
    has caused the Debian Bug report #1095855,
    regarding libzfslinux-dev: pkg-config --cflags libzfs (or libzfs_core) always fails now with "Package libtirpc was not found in the pkg-config search path." (same for zlib)
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1095855: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095855
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 13 Feb 2025 00:01:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-15.5 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
    DKIM_VALID_EF,FOURLA,FROM_SUSPICIOUS_NTLD,FROM_SUSPICIOUS_NTLD_FP,
    FVGT_m_MULTI_ODD,HAS_PACKAGE,PDS_OTHER_BAD_TLD,PGPSIGNATURE,
    SPF_HELO_PASS,SPF_PASS,URIBL_SBL_A autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 27; hammy, 150; neutral, 153; spammy,
    0. spammytokens: hammytokens:0.000-+--sk:taint_o, 0.000-+--sk:TAINT_O,
    0.000-+--sk:taint_u, 0.000-+--sk:TAINT_U, 0.000-+--H*ct:application Return-path: <nabijaczleweli@nabijaczleweli.xyz>
    Received: from tarta.nabijaczleweli.xyz (