• Bug#1100328: urjtag: FTBFS: ModuleNotFoundError: No module named 'distu

    From Santiago Vila@21:1/5 to All on Wed Mar 12 17:50:01 2025
    Package: src:urjtag
    Version: 2021.03-2
    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 python3
    dh_clean
    debian/rules binary
    dh binary --with python3
    dh_update_autotools_config
    dh_autoreconf
    Copying file m4/codeset.m4
    Copying file m4/extern-inline.m4
    Copying file m4/fcntl-o.m4
    Copying file m4/glibc2.m4
    Copying file m4/glibc21.m4
    Copying file m4/intdiv0.m4
    Copying file m4/intl.m4
    Copying file m4/intldir.m4
    Copying file m4/intmax.m4
    Copying file m4/inttypes-pri.m4
    Copying file m4/inttypes_h.m4
    Copying file m4/lcmessage.m4
    Copying file m4/lock.m4
    Copying file m4/longlong.m4
    Copying file m4/printf-posix.m4
    Copying file m4/size_max.m4
    Copying file m4/stdint_h.m4
    Copying file m4/threadlib.m4
    Copying file m4/uintmax_t.m4
    Copying file m4/visibility.m4
    Copying file m4/wchar_t.m4
    Copying file m4/wint_t.m4
    Copying file m4/xsize.m4
    Copying file po/Makevars.template
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'tools'.
    libtoolize: copying file 'tools/ltmain.sh'
    libtoolize: putting macros in 'm4'.
    libtoolize: copying file 'm4/libtool.m4'
    libtoolize: copying file 'm4/ltoptions.m4'
    libtoolize: copying file 'm4/ltsugar.m4'
    libtoolize: copying file 'm4/ltversion.m4'
    libtoolize: copying file 'm4/lt~obsolete.m4'
    libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal.
    configure.ac:104: warning: The macro 'AC_GNU_SOURCE' is obsolete. configure.ac:104: You should run autoupdate.
    ./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from... configure.ac:104: the top level
    configure.ac:112: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:112: You should run autoupdate.
    ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
    configure.ac:112: the top level
    configure.ac:145: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:145: You should run autoupdate.
    ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.ac:145: the top level
    configure.ac:174: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:174: You should run autoupdate.
    ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
    configure.ac:174: the top level
    configure.ac:187: warning: The macro 'AC_ERROR' is obsolete.
    configure.ac:187: You should run autoupdate.
    ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
    acinclude.m4:50: VL_LIB_READLINE is expanded from...
    configure.ac:187: the top level
    configure.ac:399: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
    ./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from... configure.ac:399: the top level
    configure.ac:104: installing 'tools/compile'
    configure.ac:63: installing 'tools/missing'
    src/apps/bsdl2jtag/Makefile.am: installing 'tools/depcomp'
    debian/rules override_dh_auto_configure
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_auto_configure -- --disable-python
    ./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 --disable-python
    checking code revision... unknown, using 0
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether sleep supports fractional seconds... yes
    checking filesystem timestamp resolution... 0.01
    checking whether build environment is sane... yes
    checking for a race-free mkdir -p... /usr/bin/mkdir -p
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking xargs -n works... yes
    checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) 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 whether gcc understands -c and -o together... yes
    checking dependency style of gcc... none
    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 wchar.h... yes
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking whether _XOPEN_SOURCE should be defined... no
    checking for a sed that does not truncate output... /usr/bin/sed
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    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 how to run the C preprocessor... gcc -E
    checking for egrep -e... /usr/bin/grep -E
    checking for CFPreferencesCopyAppValue... no
    checking for CFLocaleCopyCurrent... no
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    checking how to print strings... printf
    checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for file... file
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ranlib... ranlib
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /usr/bin/dd
    checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
    checking for mt... no
    checking if : is a manifest tool... no
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for gcc... (cached) gcc
    checking whether the compiler supports GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to enable C11 features... (cached) none needed
    checking whether gcc understands -c and -o together... (cached) yes
    checking dependency style of gcc... (cached) none
    checking for bison... bison -y
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for library containing ioperm... none required
    checking for _sleep... no
    checking for getdelim... yes
    checking for geteuid... yes
    checking for getline... yes
    checking for getuid... yes
    checking for nanosleep... yes
    checking for pread... yes
    checking for swprintf... yes
    checking for usleep... yes
    checking for clock_gettime... yes
    checking for linux/ppdev.h... yes
    checking for dev/ppbus/ppi.h... no
    checking for libgpio.h... no
    checking for wchar.h... (cached) yes
    checking for windows.h... no
    checking for sys/wait.h... yes
    checking for wchar_t... yes
    checking for struct timespec... yes
    checking for a readline compatible library... -lreadline
    checking for readline.h... no
    checking for readline/readline.h... yes
    checking whether readline supports history... yes
    checking for history.h... no
    checking for readline/history.h... yes
    checking whether readline supports completion... yes
    checking for libusb-1.0... yes
    checking for libftdi1... yes
    checking for ftdi_usb_open... yes
    checking for ftdi_read_data_submit... yes
    checking for FT_OpenEx in -lftd2xx... no
    configure: WARNING: *** libftd2xx not found. No support for FTDI-based USB JTAG cables via libftd2xx.
    checking for flex... flex
    checking for lex output file root... lex.yy
    checking for lex library... none needed
    checking for library containing yywrap... no
    checking whether yytext is a pointer... yes
    checking for gawk... (cached) mawk
    checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for flex >= 2.5.33, required for SVF and BSDL lexer... yes - flex 2.6.4
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating bindings/Makefile
    config.status: creating bindings/python/Makefile
    config.status: creating bindings/python/setup.py
    config.status: creating doc/Makefile
    config.status: creating data/Makefile
    config.status: creating extra/fjmem/Makefile
    config.status: creating include/Makefile
    config.status: creating include/urjtag/Makefile
    config.status: creating src/Makefile
    config.status: creating src/urjtag.pc
    config.status: creating src/lib/Makefile
    config.status: creating src/tap/Makefile
    config.status: creating src/part/Makefile
    config.status: creating src/bus/Makefile
    config.status: creating src/flash/Makefile
    config.status: creating src/cmd/Makefile
    config.status: creating src/svf/Makefile
    config.status: creating src/bsdl/Makefile
    config.status: creating src/stapl/Makefile
    config.status: creating src/jim/Makefile
    config.status: creating src/pld/Makefile
    config.status: creating src/global/Makefile
    config.status: creating src/apps/jtag/Makefile
    config.status: creating src/apps/bsdl2jtag/Makefile
    config.status: creating src/bfin/Makefile
    config.status: creating po/Makefile.in
    config.status: creating config.h
    config.status: creating include/urjtag/urjtag.h
    config.status: executing depfiles commands
    config.status: executing po-directories commands
    config.status: creating po/POTFILES
    config.status: creating po/Makefile
    config.status: executing libtool commands
    configure:

    urjtag is now configured for

    Libraries:
    libusb : 1.0
    libftdi : yes (have async mode)
    libftd2xx : no
    inpout32 : no

    Subsystems:
    SVF : yes
    BSDL : yes
    STAPL : no

    Drivers:
    Bus : ahbjtag arm9tdmi au1500 avr32 bcm1250 blackfin bscoach ejtag ejtag_dma fjmem ixp425 ixp435 ixp465 jopcyc h7202 lh7a400 mpc5200 mpc824x mpc8313 mpc837x ppc405ep ppc440gx_ebc8 prototype pxa2x0 pxa27x s3c4510 sa1110 sh7727 sh7750r sh7751r
    sharc_21065L sharc_21369_ezkit slsup3 tx4925 zefant_xs3
    Cable : arcom byteblaster dirtyjtag dlc5 ea253 ei012 ft2232 gpio ice100 igloo jlink keithkoep lattice mpcbdm triton usbblaster vsllink wiggler xpc
    Lowlevel : direct ftdi ppdev

    Language bindings:
    python : no

    dh_auto_configure --buildsystem=pybuild --sourcedirectory=bindings/python/
    I: pybuild base:311: python3.13 setup.py config
    Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/bindings/python/setup.py", line 3, in <module>
    from distutils.core import setup, Extension
    ModuleNotFoundError: No module named 'distutils'
    E: pybuild pybuild:389: configure: plugin distutils failed with: exit code=1: python3.13 setup.py config
    dh_auto_configure: error: pybuild --configure -i python{version} -p 3.13 --dir bindings/python returned exit code 13
    make[1]: *** [debian/rules:11: override_dh_auto_configure] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:22: 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:urjtag, 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 Debian Bug Tracking System@21:1/5 to All on Wed Mar 19 20:10:01 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 19 Mar 2025 19:06:29 +0000
    with message-id <E1tuykH-009SSx-Pv@fasolo.debian.org>
    and subject line Bug#1100328: fixed in urjtag 2021.03-3
    has caused the Debian Bug report #1100328,
    regarding urjtag: 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 owner@bugs.debian.org
    immediately.)


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

    Received: (at submit) by bugs.debian.org; 12 Mar 2025 16:34:46 +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=-120.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,FVGT_m_MULTI_ODD,
    HAS_PACKAGE,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,WORD_WITHOUT_VOWELS,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, 97; hammy, 150; neutral, 656; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto Return-path: <sanvila@debian.org>
    Received: from mailly.debian.org