• Bug#1100223: hplip: FTBFS: ModuleNotFoundError: No module named 'distut

    From Santiago Vila@21:1/5 to All on Wed Mar 12 17:40:02 2025
    Package: src:hplip
    Version: 3.22.10+dfsg0-8
    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 --buildsystem=autoconf --with python3 --with pyppd
    dh_auto_clean -O--buildsystem=autoconf
    dh_autoreconf_clean -O--buildsystem=autoconf
    debian/rules override_dh_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_clean
    find . -regextype posix-extended -iregex '.*\.(ldl|ppd|pdf|ps|pcl)\.gz' | xargs gunzip -f ;\
    rm -f *.1
    rm -f prnt/hpijs/platform.h prnt/hpijs/auto-include.h
    find -type d -name build -print0 | xargs -0 -r rm -rf \;
    # We prefer to regenerate these using pyuic
    (cd ui5 && for i in *.ui ; do rm -f ${i%.ui}.py ; done)
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'

    [... snipped ...]

    ac_cv_env_CFLAGS_value='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection'
    ac_cv_env_CPPFLAGS_set=set
    ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2' ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=set
    ac_cv_env_CXXFLAGS_value='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection'
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_DBUS_CFLAGS_set=
    ac_cv_env_DBUS_CFLAGS_value=
    ac_cv_env_DBUS_LIBS_set=
    ac_cv_env_DBUS_LIBS_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value='-Wl,-z,relro -Wl,-z,now'
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_LT_SYS_LIBRARY_PATH_set=
    ac_cv_env_LT_SYS_LIBRARY_PATH_value=
    ac_cv_env_PKG_CONFIG_LIBDIR_set=
    ac_cv_env_PKG_CONFIG_LIBDIR_value=
    ac_cv_env_PKG_CONFIG_PATH_set=
    ac_cv_env_PKG_CONFIG_PATH_value=
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_PYTHONINCLUDEDIR_set=
    ac_cv_env_PYTHONINCLUDEDIR_value=
    ac_cv_env_PYTHONVERSION_set=
    ac_cv_env_PYTHONVERSION_value=
    ac_cv_env_PYTHON_set=set
    ac_cv_env_PYTHON_value=python3
    ac_cv_env_build_alias_set=set
    ac_cv_env_build_alias_value=x86_64-linux-gnu
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_header_Python_h=no
    ac_cv_header_avahi_client_client_h=yes
    ac_cv_header_avahi_common_malloc_h=yes
    ac_cv_header_cups_cups_h=yes
    ac_cv_header_cups_ppd_h=yes
    ac_cv_header_dlfcn_h=yes
    ac_cv_header_inttypes_h=yes
    ac_cv_header_jpeglib_h=yes
    ac_cv_header_libusb_1_0_libusb_h=yes ac_cv_header_net_snmp_net_snmp_config_h=yes
    ac_cv_header_pthread_h=yes
    ac_cv_header_python3_13_Python_h=no
    ac_cv_header_python3_13m_Python_h=no
    ac_cv_header_python3_13mu_Python_h=no
    ac_cv_header_stdint_h=yes
    ac_cv_header_stdio_h=yes
    ac_cv_header_stdlib_h=yes
    ac_cv_header_string_h=yes
    ac_cv_header_strings_h=yes
    ac_cv_header_sys_stat_h=yes
    ac_cv_header_sys_types_h=yes
    ac_cv_header_unistd_h=yes
    ac_cv_host=x86_64-pc-linux-gnu
    ac_cv_lib_avahi_client_avahi_client_new=yes ac_cv_lib_avahi_common_avahi_strerror=yes
    ac_cv_lib_crypto_CRYPTO_free=yes
    ac_cv_lib_cups_cupsDoFileRequest=yes
    ac_cv_lib_dl_dlopen=yes
    ac_cv_lib_jpeg_jpeg_set_defaults=yes
    ac_cv_lib_m_pow=yes
    ac_cv_lib_netsnmp_snmp_timeout=yes
    ac_cv_lib_pthread_pthread_create=yes
    ac_cv_lib_usb_1_0_libusb_init=yes
    ac_cv_objext=o
    ac_cv_path_EGREP='/usr/bin/grep -E'
    ac_cv_path_EGREP_TRADITIONAL='/usr/bin/grep -E'
    ac_cv_path_FGREP='/usr/bin/grep -F'
    ac_cv_path_GREP=/usr/bin/grep
    ac_cv_path_SED=/usr/bin/sed
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_path_lt_DD=/usr/bin/dd
    ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_path_python3_config_path=/usr/bin/python3-config
    ac_cv_prog_AWK=mawk
    ac_cv_prog_CXXCPP='g++ -E'
    ac_cv_prog_FILECMD=file
    ac_cv_prog_PYTHON=python3
    ac_cv_prog_ac_ct_AR=ar
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_ac_ct_CXX=g++
    ac_cv_prog_ac_ct_OBJDUMP=objdump
    ac_cv_prog_ac_ct_RANLIB=ranlib
    ac_cv_prog_ac_ct_STRIP=strip
    ac_cv_prog_cc_c11=
    ac_cv_prog_cc_g=yes
    ac_cv_prog_cc_stdc=
    ac_cv_prog_cxx_cxx11=
    ac_cv_prog_cxx_g=yes
    ac_cv_prog_cxx_stdcxx=
    ac_cv_prog_make_make_set=yes
    ac_cv_type_uint32_t=yes
    am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_filesystem_timestamp_resolution=0.01 am_cv_make_support_nested_variables=yes
    am_cv_prog_cc_c_o=yes
    am_cv_python_platform=linux am_cv_python_pyexecdir='${PYTHON_EXEC_PREFIX}/lib/python3.13/site-packages' am_cv_python_pythondir='${PYTHON_PREFIX}/lib/python3.13/site-packages' am_cv_python_version=3.13
    am_cv_sleep_fractional_seconds=yes
    am_cv_xargs_n_works=yes
    lt_cv_ar_at_file=@
    lt_cv_archive_cmds_need_lc=no
    lt_cv_deplibs_check_method=pass_all
    lt_cv_file_magic_cmd='$MAGIC_CMD'
    lt_cv_file_magic_test_file=
    lt_cv_ld_reload_flag=-r
    lt_cv_nm_interface='BSD nm'
    lt_cv_objdir=.libs
    lt_cv_path_LD=/usr/bin/ld
    lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
    lt_cv_path_NM='/usr/bin/nm -B'
    lt_cv_path_manifest_tool=no
    lt_cv_prog_compiler_c_o=yes
    lt_cv_prog_compiler_c_o_CXX=yes
    lt_cv_prog_compiler_pic='-fPIC -DPIC'
    lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
    lt_cv_prog_compiler_pic_works=yes
    lt_cv_prog_compiler_pic_works_CXX=yes
    lt_cv_prog_compiler_rtti_exceptions=no
    lt_cv_prog_compiler_static_works=yes
    lt_cv_prog_compiler_static_works_CXX=yes
    lt_cv_prog_gnu_ld=yes
    lt_cv_prog_gnu_ldcxx=yes
    lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='/usr/bin/sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | /usr/bin/sed '\''/ __gnu_lto/d'\'''
    lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
    lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"
    lib\1", (void *) \&\1},/p'\'''
    lt_cv_sys_global_symbol_to_cdecl='/usr/bin/sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
    lt_cv_sys_global_symbol_to_import=
    lt_cv_sys_max_cmd_len=1572864
    lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop
    lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'

    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##

    ACLOCAL='${SHELL} '\''/<<PKGBUILDDIR>>/missing'\'' aclocal-1.17' AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE='#'
    AMTAR='$${TAR-tar}'
    AM_BACKSLASH='\'
    AM_DEFAULT_V=''
    AM_DEFAULT_VERBOSITY='1'
    AM_V=''
    APDK_AUTO_INCLUDE_FLAG='-DAPDK_AUTO_INCLUDE' APDK_ENDIAN_FLAG='-DAPDK_LITTLE_ENDIAN'
    APPARMOR_BUILD_FALSE=''
    APPARMOR_BUILD_TRUE='#'
    AR='ar'
    AUTOCONF='${SHELL} '\''/<<PKGBUILDDIR>>/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/<<PKGBUILDDIR>>/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/<<PKGBUILDDIR>>/missing'\'' automake-1.17'
    AWK='mawk'
    CC='gcc'
    CCDEPMODE='depmode=none'
    CFLAGS='-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/python3.13 -I/usr/include/python3.13'
    CPPFLAGS='-I'
    CSCOPE='cscope'
    CTAGS='ctags'
    CUPS_DRV_INSTALL_FALSE='#'
    CUPS_DRV_INSTALL_TRUE=''
    CUPS_PPD_INSTALL_FALSE=''
    CUPS_PPD_INSTALL_TRUE='#'
    CXX='g++'
    CXXCPP='g++ -E'
    CXXDEPMODE='depmode=none'
    CXXFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection'
    CYGPATH_W='echo'
    DARWIN_BUILD_FALSE=''
    DARWIN_BUILD_TRUE='#'
    DBUS_CFLAGS=''
    DBUS_LIBS=''
    DEFS=''
    DEPDIR='.deps'
    DISBALE_IMAGEPROCESSOR_BUILD_FALSE='#'
    DISBALE_IMAGEPROCESSOR_BUILD_TRUE=''
    DLLTOOL='false'
    DOC_BUILD_FALSE='#'
    DOC_BUILD_TRUE=''
    DSYMUTIL=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP='/usr/bin/grep -E'
    ETAGS='etags'
    EXEEXT=''
    FAX_BUILD_FALSE='#'
    FAX_BUILD_TRUE=''
    FGREP='/usr/bin/grep -F'
    FILECMD='file'
    FOOMATIC_DRV_INSTALL_FALSE='#'
    FOOMATIC_DRV_INSTALL_TRUE=''
    FOOMATIC_PPD_INSTALL_FALSE=''
    FOOMATIC_PPD_INSTALL_TRUE='#'
    FULL_BUILD_FALSE='#'
    FULL_BUILD_TRUE=''
    GCC_GE_47_FALSE=''
    GCC_GE_47_TRUE='#'
    GREP='/usr/bin/grep'
    GUI_BUILD_FALSE='#'
    GUI_BUILD_TRUE=''
    HPCUPS_INSTALL_FALSE='#'
    HPCUPS_INSTALL_TRUE=''
    HPCUPS_ONLY_BUILD_FALSE=''
    HPCUPS_ONLY_BUILD_TRUE='#'
    HPIJS_INSTALL_FALSE='#'
    HPIJS_INSTALL_TRUE=''
    HPIJS_ONLY_BUILD_FALSE=''
    HPIJS_ONLY_BUILD_TRUE='#'
    HPLIP_BUILD_FALSE='#'
    HPLIP_BUILD_TRUE=''
    HPLIP_CLASS_DRIVER_FALSE=''
    HPLIP_CLASS_DRIVER_TRUE='#'
    HPPS_INSTALL_FALSE='#'
    HPPS_INSTALL_TRUE=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    LD='/usr/bin/ld -m elf_x86_64'
    LDFLAGS='-Wl,-z,relro -Wl,-z,now'
    LIBOBJS=''
    LIBS='-lavahi-common -lavahi-client -lcrypto -ldl -lm '
    LIBTOOL='$(SHELL) $(top_builddir)/libtool'
    LIBUSB01_BUILD_FALSE=''
    LIBUSB01_BUILD_TRUE='#'
    LIPO=''
    LITE_BUILD_FALSE=''
    LITE_BUILD_TRUE='#'
    LN_S='ln -s'
    LTLIBOBJS=''
    LT_SYS_LIBRARY_PATH=''
    MAKEINFO='${SHELL} '\''/<<PKGBUILDDIR>>/missing'\'' makeinfo'
    MANIFEST_TOOL=':'
    MKDIR_P='/usr/bin/mkdir -p'
    NETWORK_BUILD_FALSE='#'
    NETWORK_BUILD_TRUE=''
    NEW_HPCUPS_FALSE=''
    NEW_HPCUPS_TRUE='#'
    NM='/usr/bin/nm -B'
    NMEDIT=''
    OBJDUMP='objdump'
    OBJEXT='o'
    OTOOL64=''
    OTOOL=''
    PACKAGE='hplip'
    PACKAGE_BUGREPORT='3.22.10'
    PACKAGE_NAME='HP Linux Imaging and Printing'
    PACKAGE_STRING='HP Linux Imaging and Printing 3.22.10'
    PACKAGE_TARNAME='hplip'
    PACKAGE_URL=''
    PACKAGE_VERSION='3.22.10'
    PATH_SEPARATOR=':'
    PKG_CONFIG=''
    PKG_CONFIG_LIBDIR=''
    PKG_CONFIG_PATH=''
    POLICYKIT_INSTALL_FALSE='#'
    POLICYKIT_INSTALL_TRUE=''
    PYTHON='python3'
    PYTHONINCLUDEDIR=''
    PYTHONVERSION='3.13'
    PYTHON_EXEC_PREFIX='${exec_prefix}'
    PYTHON_PLATFORM='linux'
    PYTHON_PREFIX='${prefix}'
    PYTHON_VERSION='3.13'
    QT3_INSTALL_FALSE=''
    QT3_INSTALL_TRUE='#'
    QT4_INSTALL_FALSE=''
    QT4_INSTALL_TRUE='#'
    QT5_INSTALL_FALSE='#'
    QT5_INSTALL_TRUE=''
    RANLIB='ranlib'
    RIP_INSTALL_FALSE=''
    RIP_INSTALL_TRUE='#'
    SCAN_BUILD_FALSE='#'
    SCAN_BUILD_TRUE=''
    SED='/usr/bin/sed'
    SET_MAKE=''
    SHADOW_BUILD_FALSE=''
    SHADOW_BUILD_TRUE='#'
    SHELL='/bin/bash'
    SNMPLIB='netsnmp'
    STRIP='strip'
    UDEV_SYSFS_RULES_FALSE=''
    UDEV_SYSFS_RULES_TRUE='#'
    VERSION='3.22.10'
    abs_datadir=''
    abs_docdir=''
    abs_drvdir=''
    abs_hpppddir=''
    abs_htmldir=''
    abs_mimedir='/usr/share/cups/mime/'
    abs_ppddir=''
    abs_sbindir=''
    ac_ct_AR='ar'
    ac_ct_CC='gcc'
    ac_ct_CXX='g++'
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE='#'
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE='#'
    am__include='include'
    am__isrc=''
    am__leading_dot='.'
    am__nodep=''
    am__quote=''
    am__rm_f_notfound=''
    am__tar='$${TAR-tar} chof - "$$tardir"'
    am__untar='$${TAR-tar} xf -'
    am__xargs_n='xargs -n'
    apparmor_build='no'
    apparmordir='/etc/apparmor.d'
    bindir='${exec_prefix}/bin'
    build='x86_64-pc-linux-gnu'
    build_alias='x86_64-linux-gnu'
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='pc'
    class_driver='no'
    cups11_build='no'
    cups_drv_install='yes'
    cups_ppd_install='no'
    cupsbackenddir='/usr/lib/cups/backend'
    cupsfilterdir='/usr/lib/cups/filter'
    datadir='${prefix}/share'
    datarootdir='${prefix}/share'
    dbus_build='yes'
    doc_build='yes'
    docdir='${prefix}/share/doc/hplip'
    drvdir='${prefix}/share/cups/drv'
    dvidir='${docdir}'
    epm_class_driver=''
    epm_class_install=''
    epm_cups_drv_install='yes'
    epm_cups_ppd_install=''
    epm_foomatic_drv_install='yes'
    epm_foomatic_ppd_install=''
    epm_foomatic_rip_hplip_install=''
    epm_full=''
    epm_hpcups_install='yes'
    epm_hpcups_only='#'
    epm_hpijs_install='yes'
    epm_hpijs_only='#'
    epm_hpps_install='yes'
    epm_lite='#'
    epm_print_only_exclude=''
    epm_qt3='#'
    epm_qt4='#'
    epm_qt5=''
    epm_scan=''
    exec_prefix='NONE'
    fax_build='yes'
    foomatic_drv_install='yes'
    foomatic_filter='foomatic-rip'
    foomatic_ppd_install='no'
    foomatic_rip_hplip_install='no'
    gui_build='yes'
    host='x86_64-pc-linux-gnu'
    host_alias=''
    host_cpu='x86_64'
    host_os='linux-gnu'
    host_vendor='pc'
    hpcups_install='yes'
    hpcups_only_build='no'
    hpdocdir='${prefix}/share/doc/hplip'
    hphtmldir='${prefix}/share/doc/hplip-doc'
    hpijs_install='yes'
    hpijs_only_build='no'
    hpppddir='${prefix}/share/ppd/hplip/HP'
    hpps_install='yes'
    htmldir='${docdir}'
    icondir='no'
    imageProcessor_build='no'
    includedir='${prefix}/include'
    infodir='${prefix}/share/info'
    install_sh='${SHELL} /<<PKGBUILDDIR>>/install-sh' libdir='${prefix}/lib/x86_64-linux-gnu'
    libexecdir='${exec_prefix}/libexec'
    libusb01_build='no'
    lite_build='no'
    localedir='${datarootdir}/locale'
    localstatedir='/var'
    mandir='${prefix}/share/man'
    mimedir='/usr/share/cups/mime/'
    mkdir_p='$(MKDIR_P)'
    network_build='yes'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    pkgpyexecdir='${pyexecdir}/hplip'
    pkgpythondir='${pythondir}/hplip'
    platform='x86_64'
    policykit='yes'
    policykit_dir='/usr/share/polkit-1/actions'
    pp_build='no'
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}' pyexecdir='${PYTHON_EXEC_PREFIX}/lib/python3.13/site-packages' python3_config_path='/usr/bin/python3-config' pythondir='${PYTHON_PREFIX}/lib/python3.13/site-packages'
    qt3='no'
    qt4='no'
    qt5='yes'
    runstatedir='/run'
    sbindir='${exec_prefix}/sbin'
    scan_build='yes'
    shadow_build='no'
    sharedstatedir='${prefix}/com'
    sysconfdir='/etc'
    systraydir='/etc/xdg/autostart'
    target_alias=''
    udev_sysfs_rules='no'
    ui_toolkit='qt5'

    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##

    /* confdefs.h */
    #define PACKAGE_NAME "HP Linux Imaging and Printing"
    #define PACKAGE_TARNAME "hplip"
    #define PACKAGE_VERSION "3.22.10"
    #define PACKAGE_STRING "HP Linux Imaging and Printing 3.22.10"
    #define PACKAGE_BUGREPORT "3.22.10"
    #define PACKAGE_URL ""
    #define PACKAGE "hplip"
    #define VERSION "3.22.10"
    #define HAVE_STDIO_H 1
    #define HAVE_STDLIB_H 1
    #define HAVE_STRING_H 1
    #define HAVE_INTTYPES_H 1
    #define HAVE_STDINT_H 1
    #define HAVE_STRINGS_H 1
    #define HAVE_SYS_STAT_H 1
    #define HAVE_SYS_TYPES_H 1
    #define HAVE_UNISTD_H 1
    #define STDC_HEADERS 1
    #define HAVE_DLFCN_H 1
    #define LT_OBJDIR ".libs/"
    #define HAVE_LIBDL 1
    #define HAVE_PTHREAD_H 1
    #define HAVE_JPEGLIB_H 1
    #define HAVE_UINT32_T 1
    #define HAVE_LIBHPIP 1
    #define HAVE_LIBHPIP 1
    #define DISABLE_IMAGEPROCESSOR 1
    #define HAVE_LIBCRYPTO 1
    #define HAVE_LIBNETSNMP 1
    #define HAVE_NET_SNMP_NET_SNMP_CONFIG_H 1
    #define HAVE_LIBAVAHI 1
    #define HAVE_LIBAVAHI_CLIENT 1
    #define HAVE_LIBAVAHI_COMMON 1
    #define HAVE_AVAHI_CLIENT_CLIENT_H 1
    #define HAVE_AVAHI_COMMON_MALLOC_H 1
    #define HAVE_CUPS_CUPS_H 1
    #define HAVE_CUPS_PPD_H 1
    #define HAVE_LIBUSB_1_0_LIBUSB_H 1

    configure: exit 6
    dh_auto_configure: error: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-
    rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking PYTHON=python3 --config-cache --docdir=\${prefix}/share/doc/hplip --with-docdir=\${prefix}/share/doc/hplip --with-htmldir=\${prefix}/
    share/doc/hplip-doc --disable-foomatic-rip-hplip-install --with-drvdir=\${prefix}/share/cups/drv --with-hpppddir=\${prefix}/share/ppd/hplip/HP --datadir=\${prefix}/share --without-icondir --enable-hpcups-install --enable-cups-drv-install --enable-hpijs-
    install --enable-foomatic-drv-install --disable-foomatic-ppd-install --disable-imageProcessor-build --enable-network-build --enable-scan-build --enable-gui-build --enable-fax-build --disable-qt3 --disable-qt4 --enable-qt5 --enable-policy
    kit returned exit code 6
    make[1]: *** [debian/rules:57: override_dh_auto_configure] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:35: 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/202503/

    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:hplip, 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 Agustin Martin@21:1/5 to Agustin Martin on Sun Mar 23 23:40:01 2025
    Control: tags -1 + patch

    On Thu, Mar 13, 2025 at 10:20:37AM +0100, Agustin Martin wrote:
    On Wed, Mar 12, 2025 at 04:31:10PM +0000, Santiago Vila wrote:
    Package: src:hplip
    Version: 3.22.10+dfsg0-8
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

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

    Seems that adding python3-setuptools Build-Depends helps here too,

    Sorry, I forgot to add patch tag to this bug report

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Mar 23 23:40:01 2025
    Processing control commands:

    tags -1 + patch
    Bug #1100223 [src:hplip] hplip: FTBFS: ModuleNotFoundError: No module named 'distutils'
    Added tag(s) patch.

    --
    1100223: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100223
    Debian Bug Tracking System
    Contact [email protected] with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Margarita Manterola@21:1/5 to All on Sun Apr 13 16:50:01 2025
    merge 1100223 1101609
    tags 1100223 +pending
    thanks

    Hi,

    I have prepared an NMU based on the patch provided by Agustín that fixes
    the FTBFS for hplip. Attaching here the debdiff for that NMU.

    I am uploading the fix to the 2-DAY delayed queue, and will also provide
    a merge request on Salsa.

    --
    Regards,
    Marga ZGlmZiAtTnJ1IGhwbGlwLTMuMjIuMTArZGZzZzAvZGViaWFuL2NoYW5nZWxvZyBocGxpcC0zLjIy LjEwK2Rmc2cwL2RlYmlhbi9jaGFuZ2Vsb2cKLS0tIGhwbGlwLTMuMjIuMTArZGZzZzAvZGViaWFu L2NoYW5nZWxvZwkyMDI1LTAyLTE1IDIyOjM5OjAyLjAwMDAwMDAwMCArMDEwMAorKysgaHBsaXAt My4yMi4xMCtkZnNnMC9kZWJpYW4vY2hhbmdlbG9nCTIwMjUtMDQtMTMgMTU6MTA6NDcuMDAwMDAw MDAwICswMjAwCkBAIC0xLDMgKzEsMTMgQEAKK2hwbGlwICgzLjIyLjEwK2Rmc2cwLTguMSkgdW5z dGFibGU7IHVyZ2VuY3k9bWVkaXVtCisKKyAgKiBOb24tbWFpbnRhaW5lciB1cGxvYWQuCisgICog QWRkIEJ1aWxkLURlcGVuZHMgZm9yIHB5dGhvbjMtc2V0dXB0b29scy4KKyAgICAoQ2xvc2VzOiAj MTEwMDIyMykKKyAgICAoQ2xvc2VzOiAjMTEwMTYwOSkKKyAgICBUaGFua3MgdG8gQWd1c3RpbiBN YXJ0aW4gZm9yIHRoZSBwYXRjaC4KKworIC0tIE1hcmdhcml0YSBNYW50ZXJvbGEgPG1hcmdhQGRl Ymlhbi5vcmc+ICBTdW4sIDEzIEFwciAyMDI1IDE1OjEwOjQ3ICswMjAwCisKIGhwbGlwICgzLjIy LjEwK2Rmc2cwLTgpIHVuc3RhYmxlOyB1cmdlbmN5PW1lZGl1bQogCiAgICogYWRkIHBhdGNoIHRv IHJlbW92ZSAjIGZyb20gcHBkIGZpbGVzIChDbG9zZXM6ICMxMDg1MTQyKQpkaWZmIC1OcnUgaHBs aXAtMy4yMi4xMCtkZnNnMC9kZWJpYW4vY29udHJvbCBocGxpcC0zLjIyLjEwK2Rmc2cwL2RlYmlh bi9jb250cm9sCi0tLSBocGxpcC0zLjIyLjEwK2Rmc2cwL2RlYmlhbi9jb250cm9sCTIwMjUtMDIt MTUgMjI6Mzk6MDIuMDAwMDAwMDAwICswMTAwCisrKyBocGxpcC0zLjIyLjEwK2Rmc2cwL2RlYmlh bi9jb250cm9sCTIwMjUtMDQtMTMgMTU6MTA6NDcuMDAwMDAwMDAwICswMjAwCkBAIC0zMyw2ICsz Myw3IEBACiAgcHl0aG9uMy1kZXYsCiAgcHl0aG9uMy1naSwKICBweXRob24zLXB5cXQ1LAorIHB5 dGhvbjMtc2V0dXB0b29scywKIFN0YW5kYXJkcy1WZXJzaW9uOiA0LjYuMAogVmNzLUJyb3dzZXI6 IGh0dHBzOi8vc2Fsc2EuZGViaWFuLm9yZy9wcmludGluZy10ZWFtL2hwbGlwLnYyCiBWY3MtR2l0 OiBodHRwczovL3NhbHNhLmRlYmlhbi5vcmcvcHJpbnRpbmctdGVhbS9ocGxpcC52Mi5naXQK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Apr 13 16:40:01 2025
    Processing commands for [email protected]:

    merge 1100223 1101609
    Bug #1100223 [src:hplip] hplip: FTBFS: ModuleNotFoundError: No module named 'distutils'
    Bug #1101609 [src:hplip] hplip: FTBFS: configure: error: cannot find python-devel support
    Merged 1100223 1101609
    tags 1100223 +pending
    Bug #1100223 [src:hplip] hplip: FTBFS: ModuleNotFoundError: No module named 'distutils'
    Bug #1101609 [src:hplip] hplip: FTBFS: configure: error: cannot find python-devel support
    Added tag(s) pending.
    Added tag(s) pending.
    thanks
    Stopping processing here.

    Please contact me if you need assistance.
    --
    1100223: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100223
    1101609: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101609
    Debian Bug Tracking System
    Contact [email protected] with problems

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

    Your message dated Tue, 15 Apr 2025 15:05:42 +0000
    with message-id <[email protected]>
    and subject line Bug#1100223: fixed in hplip 3.22.10+dfsg0-8.1
    has caused the Debian Bug report #1100223,
    regarding hplip: FTBFS: ModuleNotFoundError: No module named 'distutils'
    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 [email protected]
    immediately.)


    --
    1100223: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100223
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 12 Mar 2025 16:31:14 +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=-121.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,
    X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 192; hammy, 150; neutral, 555; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto Return-path: <[email protected]>
    Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4