• Bug#1099415: samhain: FTBFS in Testing

    From Helge Kreutzmann@21:1/5 to All on Mon Mar 3 12:20:01 2025
    This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages.

    Source: samhain
    Version: 4.1.4-5
    Severity: serious
    Tags: ftbfs
    X-Debbugs-Cc: debian-amd64@lists.debian.org
    User: debian-amd64@lists.debian.org
    Usertags: amd64

    On my up to date testing system:

    # apt-get source samhain

    (As root)
    # apt install libgmp3-dev libext2fs-dev libauparse-dev

    cd samhain-4.1.4/

    debuild

    dpkg-buildpackage -us -uc -ui
    dpkg-buildpackage: Information: Quellpaket samhain
    dpkg-buildpackage: Information: Quellversion 4.1.4-5
    dpkg-buildpackage: Information: Quelldistribution unstable
    dpkg-buildpackage: Information: Quelle geändert durch Sven Geuer <sge@debian.org>
    dpkg-source --before-build .
    dpkg-buildpackage: Information: Host-Architektur amd64
    dpkg-source: Information: Optionen aus samhain-4.1.4/debian/source/options werden verwendet: --extend-diff-ignore=(^|/)(config\.sub|config\.guess|configure|Makefile)$
    debian/rules clean
    dh clean
    debian/rules override_dh_clean
    make[1]: Verzeichnis „/tmp/ddcheck/samhain-4.1.4“ wird betreten
    [ ! -f Makefile ] || /usr/bin/make distclean
    rm -f samhainrc.install
    rm -f build-stamp build-server-stamp build-client-stamp
    dh_clean
    make[1]: Verzeichnis „/tmp/ddcheck/samhain-4.1.4“ wird verlassen
    dpkg-source -b .
    dpkg-source: Information: Optionen aus samhain-4.1.4/debian/source/options werden verwendet: --extend-diff-ignore=(^|/)(config\.sub|config\.guess|configure|Makefile)$
    dpkg-source: Information: Quellformat »3.0 (quilt)« wird verwendet dpkg-source: Information: samhain wird unter Benutzung des existierenden ./samhain_4.1.4.orig.tar.gz gebaut
    dpkg-source: Information: Patchliste aus debian/patches/series wird verwendet dpkg-source: Warnung: Löschen der Datei docs/#Changelog# wird ignoriert, verwenden Sie --include-removal zum außer Kraft setzen
    dpkg-source: Warnung: Löschen der Datei src/#sh_unix.c# wird ignoriert, verwenden Sie --include-removal zum außer Kraft setzen
    dpkg-source: Warnung: neu angelegte leere Datei »typescript« wird im Diff nicht dargestellt werden
    dpkg-source: Information: samhain wird in samhain_4.1.4-5.debian.tar.xz gebaut dpkg-source: Information: samhain wird in samhain_4.1.4-5.dsc gebaut
    debian/rules binary
    dh binary
    dh_update_autotools_config
    dh_autoreconf
    configure.ac:236: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:236: You should run autoupdate.
    ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:236: the top level
    configure.ac:1077: warning: The macro 'ACX_PTHREAD' is obsolete. configure.ac:1077: You should run autoupdate.
    aclocal.m4:248: ACX_PTHREAD is expanded from...
    configure.ac:1077: the top level
    configure.ac:1083: warning: The macro 'CHECK_ZLIB' is obsolete. configure.ac:1083: You should run autoupdate.
    aclocal.m4:81: CHECK_ZLIB is expanded from...
    configure.ac:1083: the top level
    configure.ac:1119: warning: The macro 'CHECK_ZLIB' is obsolete. configure.ac:1119: You should run autoupdate.
    aclocal.m4:81: CHECK_ZLIB is expanded from...
    lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:1119: the top level
    autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot'
    autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged.
    autoheader:
    autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and autoheader: WARNING: 'AC_DEFINE' allows one to define a template without autoheader: WARNING: 'acconfig.h':
    autoheader:
    autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
    autoheader: [Define if a function 'main' is needed.])
    autoheader:
    autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation.
    debian/rules override_dh_auto_configure
    make[1]: Verzeichnis „/tmp/ddcheck/samhain-4.1.4“ wird betreten
    ./configure --prefix=/usr --mandir=\${prefix}/share/man \
    --with-config-file=/etc/samhain/samhainrc \
    --with-state-dir=/var/lib/samhain \
    --enable-dnmalloc \
    --disable-asm \
    --enable-network=no \
    --enable-login-watch \
    --enable-mounts-check \
    --enable-process-check \
    --enable-port-check \
    --enable-suidcheck \
    --with-pid-file=/run/samhain/samhain.pid \
    --with-log-file=/var/log/samhain/samhain.log \
    --build=x86_64-linux-gnu \
    --host=x86_64-linux-gnu \

    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking for x86_64-linux-gnu-gcc... x86_64-linux-gnu-gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether the compiler supports GNU C... yes
    checking whether x86_64-linux-gnu-gcc accepts -g... yes
    checking for x86_64-linux-gnu-gcc option to enable C11 features... none needed checking how to run the C preprocessor... x86_64-linux-gnu-gcc -E
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking for gawk... gawk
    ./configure: line 4515: SH_PROG_LD: command not found
    checking for hostname... /usr/bin/hostname
    ./configure: line 4566: SH_GCC_VERSION: command not found
    checking for stdio.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for strings.h... yes
    checking for sys/stat.h... yes
    checking for sys/types.h... yes
    checking for unistd.h... yes
    checking for sys/time.h... yes
    checking for sys/ipc.h... yes
    checking for sys/sem.h... yes
    checking for sys/msg.h... yes
    checking for sys/uio.h... yes
    checking for fcntl.h... yes
    checking for OS specific issues... use ioctl to get e2fs flags
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking for sys/mkdev.h... no
    checking for sys/sysmacros.h... yes
    checking for sys/time.h... (cached) yes
    checking whether stat file-mode macros are broken... no
    checking for x86_64-linux-gnu-gcc options needed to detect all undeclared functions... none needed
    checking whether sys_siglist is declared... no
    checking for stddef.h... yes
    checking for libgen.h... yes
    checking for sched.h... yes
    checking for malloc.h... yes
    checking for sys/uio.h... (cached) yes
    checking for sys/mman.h... yes
    checking for sys/param.h... yes
    checking for sys/inotify.h... yes
    checking for sys/vfs.h... yes
    checking for mntent.h... yes
    checking for sys/select.h... yes
    checking for sys/socket.h... yes
    checking for netinet/in.h... yes
    checking for regex.h... yes
    checking for glob.h... yes
    checking for fnmatch.h... yes
    checking for linux/ext2_fs.h... no
    checking for linux/fs.h... yes
    checking for ext2fs/ext2_fs.h... yes
    checking for asm/segment.h... no
    checking for elf.h... yes
    checking for linux/elf.h... yes
    checking for auparse.h... yes
    checking for paths.h... yes
    checking for arpa/nameser.h... yes
    checking for arpa/nameser_compat.h... yes
    checking for rpc/rpcent.h... no
    checking for rpc/rpc.h... no
    checking for sys/statvfs.h... yes
    checking for utmpx.h... yes
    checking for egrep -e... /usr/bin/grep -E
    checking for sys/acct.h... yes
    checking for struct statfs.f_flags... yes
    checking for x86_64-linux-gnu-gcc option to enable large file support... none needed
    ./configure: line 6178: SAMHAIN_POSIX: command not found
    checking for strftime... yes
    checking for memcmp... yes
    checking for memcpy... yes
    checking for memmove... yes
    checking for memset... yes
    checking for getpwent... yes
    checking for endpwent... yes
    checking for fpurge... no
    checking for gettimeofday... yes
    checking for strlcat... yes
    checking for strlcpy... yes
    checking for strstr... yes
    checking for strchr... yes
    checking for strerror... yes
    checking for strsignal... yes
    checking for seteuid... yes
    checking for setreuid... yes
    checking for setresuid... yes
    checking for lstat... yes
    checking for getwd... yes
    checking for getcwd... yes
    checking for ptrace... yes
    checking for usleep... yes
    checking for setpriority... yes
    checking for getpeereid... no
    checking for nanosleep... yes
    checking for strptime... yes
    checking for basename... yes
    checking for sched_yield... yes
    checking for hasmntopt... yes
    checking for inet_aton... yes
    checking for gethostbyname... yes
    checking for setutent... yes
    checking for setrlimit... yes
    checking for gethostname... yes
    checking for uname... yes
    checking for initgroups... yes
    checking for getpagesize... yes
    checking for ttyname... yes
    checking for fchmod... yes
    checking for writev... yes
    checking for mmap... yes
    checking for tzset... yes
    checking for getsid... yes
    checking for getpriority... yes
    checking for getpgid... yes
    checking for statvfs... yes
    checking for strerror_r... yes
    checking for getgrgid_r... yes
    checking for getpwnam_r... yes
    checking for getpwuid_r... yes
    checking for gmtime_r... yes
    checking for localtime_r... yes
    checking for rand_r... yes
    checking for readdir_r... yes
    checking for strtok_r... yes
    checking for mincore... yes
    checking for posix_fadvise... yes
    checking for inotify_init1... yes
    checking for statfs... yes
    ./configure: line 6604: SL_CHECK_VA_COPY: command not found
    checking for vsnprintf... yes
    ./configure: line 6612: SL_CHECK_VSNPRINTF: command not found
    ./configure: line 6616: SH_STRFTIME_Z: command not found
    checking how to get filesystem type... 4.3BSD
    checking for gethostbyname in -lnsl... yes
    checking for socket in -lsocket... no
    checking for gethostbyname in -lnsl... (cached) yes
    checking for res_search in -lsocket... no
    checking for res_search in -lresolv... yes
    checking for getnameinfo... yes
    checking for getaddrinfo... yes
    checking for auparse_find_field in -lauparse... yes
    checking for socklen_t... yes
    ./configure: line 7337: sh_CHECK_XATTR: command not found
    ./configure: line 7350: sh_CHECK_POSIX_ACL: command not found
    checking for long double... yes
    ./configure: line 7400: syntax error near unexpected token `long'
    ./configure: line 7400: `SH_CHECK_TYPEDEF(long long, HAVE_LONG_LONG)'
    make[1]: *** [debian/rules:44: override_dh_auto_configure] Fehler 2
    make[1]: Verzeichnis „/tmp/ddcheck/samhain-4.1.4“ wird verlassen
    make: *** [debian/rules:41: binary] Fehler 2
    dpkg-buildpackage: Fehler: Unterprozess debian/rules binary lieferte Exitstatus 2
    debuild: fatal error at line 1184:
    dpkg-buildpackage -us -uc -ui failed



    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (500, 'testing')
    Architecture: amd64 (x86_64)

    Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)

    --
    Dr. Helge Kreutzmann debian@helgefjell.de
    Dipl.-Phys. http://www.helgefjell.de/debian.php
    64bit GNU powered gpg signed mail preferred
    Help keep free software "libre": http://www.ffii.de/

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

    iQIzBAABCAAdFiEEbZZfteMW0gNUynuwQbqlJmgq5nAFAmfFjqwACgkQQbqlJmgq 5nAHnQ/+NABWrLCGOt1+vS3GsMoRwhw7BavsQct46jne62HX2YEkb/nmwiVT0U7I DzekL+K4CgRphPPESS/ssrX7Ggo3SVqlzKWgoBgBddFMtFjBWqibmHRpT5Me5wWu 9K5a78FIT4ggwcSPDoYlq35a8VBOAEkeQFJCqICQdicRsv+nba9PKRmWxXmSbjGV 0JsamSg+RuOwfbj7IwkQ6VINYwsdR2gCPkHUW5YufKwEQoxemgs10d8g/4IcFmvz nDhRIr72TTLUKDwb7hoRXStvq3xlq5tm4pgCD3MZiD90y6T98H0Rdaa8Zr2yvLYp DpAJCboFkI4zcKBugVm+/9YRskuALrRv3z/W1OHMO+AofyZ93CRD65BOLd74aEiW yh6LKNl5oSGghsanEi7rjEB3fB4ust2MKuVIfNnoohZvAFlJTi7ZqgfKythCjd+r 8lilk/4bT0LrEcZiqCdJO2QSyQm0How5AbTby7hq0+ogtgL61riC87zZNDYScw4O /PUTYVA8oo4iRRrkiMykpx/iHe+zVWw1Vjl2H5M+W0H45xVVSGPnZTBsIFE0lID8 LOEExiaOhzacBa7to/T5iiihxKFeVTL9sWesTIy