• Bug#1091942: lbdb: FTBFS: Tests m_mu fail

    From Santiago Vila@21:1/5 to All on Thu Jan 2 19:20:05 2025
    Package: src:lbdb
    Version: 0.55-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean --with elpa
    debian/rules override_dh_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_clean
    [ ! -f debian/autoreconf.tar ] || tar xf debian/autoreconf.tar
    rm -f debian/autoreconf.tar
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    debian/rules binary
    dh binary --with elpa
    dh_update_autotools_config
    debian/rules override_dh_autoreconf
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    tar cf debian/autoreconf.tar aclocal.m4 configure install-sh
    dh_autoreconf
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    debian/rules override_dh_auto_configure
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    env SH=/bin/sh MAWK=/usr/bin/awk \
    ./configure --prefix=/usr --libdir='${prefix}/lib/lbdb' \
    --mandir='${prefix}/share/man' --sysconfdir=/etc \
    --enable-lbdb-dotlock \
    --with-finger=/usr/bin/finger \
    --with-abook=/usr/bin/abook \
    --with-goobook=/usr/bin/goobook \
    --with-addr-email=/usr/bin/addr-email \
    --with-ypcat=/usr/bin/ypcat \
    --with-getent=/usr/bin/getent \
    --with-gpg=/usr/bin/gpg \
    --with-pgpk=/usr/bin/pgpk \
    --with-pgp=/usr/bin/pgp \
    --with-evolution-addressbook-export=auto \
    --with-khard=/usr/bin/khard \
    --with-mu=/usr/bin/mu
    checking for prefix... /usr
    checking for gcc... 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 gcc accepts -g... yes
    checking for gcc option to enable C11 features... none needed
    checking for a BSD-compatible install... /usr/bin/install -c
    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 getopt.h... yes
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking 32-bit host C ABI... no
    checking how to run the C preprocessor... gcc -E
    checking for egrep -e... /usr/bin/grep -E
    checking for ELF binary format... yes
    checking for the common suffixes of directories in the library search path... lib,lib,lib64
    checking for iconv... yes
    checking for working iconv... yes
    checking whether iconv is compatible with its POSIX signature... yes
    checking for awk... /usr/bin/awk
    checking for mawk... /usr/bin/awk
    checking for gawk... NONE
    checking for nawk... /usr/bin/nawk
    checking for tac... /usr/bin/tac
    checking for mutt.dotlock... no
    checking for mutt_dotlock... no
    checking for niscat... no
    checking for perl... /usr/bin/perl
    checking for xcodebuild... no
    checking for pbxbuild... no
    checking for autom4te... /usr/bin/autom4te
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
    config.status: creating lbdbq.sh
    config.status: creating munge.awk
    config.status: creating lbdb-fetchaddr.sh
    config.status: creating vcquery.pl
    config.status: creating lbdb-munge.sh
    config.status: creating lbdb_lib.sh
    config.status: creating nodelist2lbdb.pl
    config.status: creating palm_lsaddr.pl
    config.status: creating mutt_ldap_query.pl
    config.status: creating m_inmail.sh
    config.status: creating m_passwd.sh
    config.status: creating m_muttalias.sh
    config.status: creating m_pine.sh
    config.status: creating m_gnomecard.sh
    config.status: creating m_bbdb.sh
    config.status: creating m_wanderlust.sh
    config.status: creating m_finger.sh
    config.status: creating m_abook.sh
    config.status: creating m_goobook.sh
    config.status: creating m_addr_email.sh
    config.status: creating m_yppasswd.sh
    config.status: creating m_getent.sh
    config.status: creating m_gpg.sh
    config.status: creating m_pgp5.sh
    config.status: creating m_pgp2.sh
    config.status: creating m_evolution.sh
    config.status: creating m_khard.sh
    config.status: creating m_mu.sh
    config.status: creating m_fido.sh
    config.status: creating m_palm.sh
    config.status: creating m_ldap.sh
    config.status: creating m_vcf.sh
    config.status: creating lbdb.spec
    config.status: creating lbdb.rc
    config.status: creating lbdb-pkg.el
    config.status: creating tests/Makefile
    config.status: creating tests/atlocal
    config.status: executing tests/atconfig commands
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_build
    make -j2
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    cat lbdbq.sh >lbdbq
    cat lbdb_lib.sh >lbdb_lib
    chmod a+x lbdbq
    chmod a+x lbdb_lib
    cat lbdb-fetchaddr.sh >lbdb-fetchaddr
    cat lbdb-munge.sh >lbdb-munge
    chmod a+x lbdb-munge
    chmod a+x lbdb-fetchaddr
    gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DPACKAGE_NAME=\"lbdb\" -DPACKAGE_
    TARNAME=\"lbdb\" -DPACKAGE_VERSION=\"0.55\" -DPACKAGE_STRING=\"lbdb\ 0.55\" -DPACKAGE_BUGREPORT=\"roland@spinnaker.de\" -DPACKAGE_URL=\"https://www.spinnaker.de/lbdb/\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_
    STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c fetchaddr.c
    gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DPACKAGE_NAME=\"lbdb\" -DPACKAGE_
    TARNAME=\"lbdb\" -DPACKAGE_VERSION=\"0.55\" -DPACKAGE_STRING=\"lbdb\ 0.55\" -DPACKAGE_BUGREPORT=\"roland@spinnaker.de\" -DPACKAGE_URL=\"https://www.spinnaker.de/lbdb/\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_
    STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c rfc822.c
    gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DPACKAGE_NAME=\"lbdb\" -DPACKAGE_
    TARNAME=\"lbdb\" -DPACKAGE_VERSION=\"0.55\" -DPACKAGE_STRING=\"lbdb\ 0.55\" -DPACKAGE_BUGREPORT=\"roland@spinnaker.de\" -DPACKAGE_URL=\"https://www.spinnaker.de/lbdb/\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_
    STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c helpers.c
    gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DPACKAGE_NAME=\"lbdb\" -DPACKAGE_
    TARNAME=\"lbdb\" -DPACKAGE_VERSION=\"0.55\" -DPACKAGE_STRING=\"lbdb\ 0.55\" -DPACKAGE_BUGREPORT=\"roland@spinnaker.de\" -DPACKAGE_URL=\"https://www.spinnaker.de/lbdb/\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_
    STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c rfc2047.c
    gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DPACKAGE_NAME=\"lbdb\" -DPACKAGE_
    TARNAME=\"lbdb\" -DPACKAGE_VERSION=\"0.55\" -DPACKAGE_STRING=\"lbdb\ 0.55\" -DPACKAGE_BUGREPORT=\"roland@spinnaker.de\" -DPACKAGE_URL=\"https://www.spinnaker.de/lbdb/\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_
    STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c qpto8bit.c
    cat munge.awk > munge
    chmod a+x munge
    cat nodelist2lbdb.pl > nodelist2lbdb
    cat palm_lsaddr.pl > palm_lsaddr
    cat mutt_ldap_query.pl > mutt_ldap_query
    /usr/bin/install -c vcquery.pl vcquery
    sed -e 's!@''libdir@!/usr/lib/lbdb!' \
    -e 's!@''sysconfdir@!/etc!' \
    -e 's!@''dotlock@!lbdb_dotlock!' lbdbq.man.in > lbdbq.man
    sed -e 's!@''libdir@!/usr/lib/lbdb!' \
    -e 's!@''sysconfdir@!/etc!' \
    -e 's!@''dotlock@!lbdb_dotlock!' lbdb-fetchaddr.man.in > lbdb-fetchaddr.man sed -e 's!@''libdir@!/usr/lib/lbdb!' \
    -e 's!@''sysconfdir@!/etc!' \
    -e 's!@''dotlock@!lbdb_dotlock!' nodelist2lbdb.man.in > nodelist2lbdb.man if [ "/usr/bin/perl" != "no" ]; then \
    pod2man mutt_ldap_query.pl > mutt_ldap_query.man; \
    else \
    touch mutt_ldap_query.man; \
    fi
    cat m_inmail.sh >m_inmail
    chmod a+x m_inmail
    cat m_passwd.sh >m_passwd
    chmod a+x m_passwd
    cat m_muttalias.sh >m_muttalias
    chmod a+x m_muttalias
    cat m_pine.sh >m_pine
    chmod a+x m_pine
    cat m_gnomecard.sh >m_gnomecard
    chmod a+x m_gnomecard
    cat m_bbdb.sh >m_bbdb
    chmod a+x m_bbdb
    cat m_wanderlust.sh >m_wanderlust
    chmod a+x m_wanderlust
    cat m_finger.sh >m_finger
    chmod a+x m_finger
    cat m_abook.sh >m_abook
    chmod a+x m_abook
    cat m_goobook.sh >m_goobook
    chmod a+x m_goobook
    cat m_addr_email.sh >m_addr_email
    chmod a+x m_addr_email
    cat m_yppasswd.sh >m_yppasswd
    chmod a+x m_yppasswd
    cat m_getent.sh >m_getent
    chmod a+x m_getent
    cat m_gpg.sh >m_gpg
    chmod a+x m_gpg
    cat m_pgp5.sh >m_pgp5
    chmod a+x m_pgp5
    cat m_pgp2.sh >m_pgp2
    chmod a+x m_pgp2
    cat m_evolution.sh >m_evolution
    chmod a+x m_evolution
    cat m_khard.sh >m_khard
    chmod a+x m_khard
    cat m_mu.sh >m_mu
    chmod a+x m_mu
    cat m_fido.sh >m_fido
    cat m_palm.sh >m_palm
    chmod a+x m_fido
    cat m_ldap.sh >m_ldap
    chmod a+x m_palm
    cat m_vcf.sh >m_vcf
    chmod a+x m_ldap
    gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DPACKAGE_NAME=\"lbdb\" -DPACKAGE_
    TARNAME=\"lbdb\" -DPACKAGE_VERSION=\"0.55\" -DPACKAGE_STRING=\"lbdb\ 0.55\" -DPACKAGE_BUGREPORT=\"roland@spinnaker.de\" -DPACKAGE_URL=\"https://www.spinnaker.de/lbdb/\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_
    STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c dotlock.c
    chmod a+x m_vcf
    gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now fetchaddr.o
    rfc822.o helpers.o rfc2047.o -o fetchaddr
    gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now qpto8bit.o
    rfc822.o helpers.o rfc2047.o -o qpto8bit
    dotlock.c: In function ‘dotlock_lock’:
    dotlock.c:435:5: warning: ignoring return value of ‘link’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    435 | link (nfslockfile, lockfile);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now dotlock.o
    helpers.o -o lbdb_dotlock
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    debian/rules override_dh_elpa_test
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_elpa_test
    dh_auto_test
    make -j2 test "TESTSUITEFLAGS=-j2 --verbose" VERBOSE=1
    make[2]: Entering directory '/<<PKGBUILDDIR>>'
    [ "/usr/bin/perl" = "no" ] || perl -wc nodelist2lbdb
    nodelist2lbdb syntax OK
    [ "/usr/bin/perl" = "no" ] || perl -wc palm_lsaddr
    palm_lsaddr syntax OK
    [ "/usr/bin/perl" = "no" ] || perl -wc mutt_ldap_query
    mutt_ldap_query syntax OK
    [ "/usr/bin/perl" = "no" ] || perl -wc vcquery
    vcquery syntax OK
    make -C tests check-local
    make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
    /bin/sh ./testsuite AUTOTEST_PATH=/<<PKGBUILDDIR>> \
    USE_LOCAL_LIB=/<<PKGBUILDDIR>>
    ## --------------------- ##
    ## lbdb 0.55 test suite. ##
    ## --------------------- ##

    Test m_muttalias

    1: m_muttalias ok

    Test m_abook

    2: m_abook skipped (m_abook.at:21)

    Test m_inmail/fetchmail

    3: lbdb-fetchmail ok
    4: m_inmail ok
    5: m_inmail SORT=address ok
    6: m_inmail SORT=name ok
    7: m_inmail SORT=comment ok
    8: m_inmail SORT=reverse_comment ok

    Test m_vcf

    9: m_vcf ok
    10: m_vcf nickname ok
    11: m_vcf name components ok
    12: m_vcf no realname ok
    13: m_vcf crlf lineending ok

    Test m_mu

    14: m_mu FAILED (m_mu.at:22)
    15: m_mu personal FAILED (m_mu.at:48)
    16: m_mu after FAILED (m_mu.at:74)
    17: m_mu ignore missingname FAILED (m_mu.at:90)

    ## ------------- ##
    ## Test results. ##
    ## ------------- ##

    ERROR: 16 tests were run,
    4 failed unexpectedly.
    1 test was skipped.
    ## -------------------------- ##
    ## testsuite.log was created. ##
    ## -------------------------- ##

    Please send `tests/testsuite.log' and all information you think might help:

    To: <roland@spinnaker.de>
    Subject: [lbdb 0.55] testsuite: 14 15 16 17 failed

    You may investigate any problem if you feel able to do so, in which
    case the test suite provides a good starting point. Its output may
    be found below `tests/testsuite.dir'.

    make[3]: *** [Makefile:39: check-local] Error 1
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
    make[2]: *** [Makefile:51: test] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_test: error: make -j2 test "TESTSUITEFLAGS=-j2 --verbose" VERBOSE=1 returned exit code 2
    make[1]: *** [debian/rules:53: override_dh_elpa_test] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:13: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202501/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:lbdb, so that this is still
    visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Roland Rosenfeld@21:1/5 to Santiago Vila on Thu Jan 2 20:40:02 2025
    Hi Santiago!

    On Thu, 02 Jan 2025, Santiago Vila wrote:

    Package: src:lbdb
    Version: 0.55-1
    Severity: serious
    Tags: ftbfs trixie sid

    During a rebuild of all packages in unstable, your package failed to build:
    14: m_mu FAILED (m_mu.at:22)
    15: m_mu personal FAILED (m_mu.at:48)
    16: m_mu after FAILED (m_mu.at:74)
    17: m_mu ignore missingname FAILED (m_mu.at:90)

    Thanks for noticing this problem. It is triggered by a behavior
    change of mailutils 1.12.7-1 to 1.12.8-1 (it's also a regression
    there, which I didn't notice).

    The problem is, that the m_mu tests run mu init --maildir=maildir,
    which the new version of mailutils does no longer accept since it's
    a relative directory name.

    I'll provide a changed version of lbdb (upstream and in Debian) soon.

    Greetings
    Roland

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)