Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/m/mu-editor/mu-editor_1.0.3+dfsg-2_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/mu-editor-1.0.3+dfsg-228leghg9/mu-editor_1.0.3+dfsg-2_all.buildinfo Get source package info: mu-editor=1.0.3+dfsg-2 Source URL: http://snapshot.notset.fr/mr/package/mu-editor/1.0.3+dfsg-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 blt=2.5.3+dfsg-4.1 bsdextrautils=2.36.1-6 bsdutils=1:2.36.1-6 build-essential=12.9 bzip2=1.0.8-4 ca-certificates=20210119 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.3 debianutils=4.11.2 dh-autoreconf=20 dh-python=4.20201102 dh-strip-nondeterminism=1.11.0-1 diffutils=1:3.7-5 docutils-common=0.16+dfsg-3 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20210201-1 file=1:5.39-3 findutils=4.8.0-1 fontconfig=2.13.1-4.2 fontconfig-config=2.13.1-4.2 fonts-inconsolata=001.010-5.1 fonts-lyx=2.3.6-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 iso-codes=4.5.0-1 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libasyncns0=0.8-6+b2 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libavahi-client3=0.8-5 libavahi-common-data=0.8-5 libavahi-common3=0.8-5 libbinutils=2.35.1-7 libblas3=3.9.0-3 libblkid1=2.36.1-6 libbrotli1=1.0.9-2+b2 libbsd0=0.11.1-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcap2-bin=1:2.44-1 libcc1-0=10.2.1-6 libcmark-gfm-extensions0=0.29.0.gfm.0-6 libcmark-gfm0=0.29.0.gfm.0-6 libcom-err2=1.45.7-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-7 libctf0=2.35.1-7 libcups2=2.3.3op2-2 libdb5.3=5.3.28+dfsg1-0.6 libdbus-1-3=1.12.20-1 libdebconfclient0=0.256 libdebhelper-perl=13.3.3 libdeflate0=1.7-1 libdouble-conversion3=3.1.5-6.1 libdpkg-perl=1.20.7.1 libdrm-amdgpu1=2.4.104-1 libdrm-common=2.4.104-1 libdrm-intel1=2.4.104-1 libdrm-nouveau2=2.4.104-1 libdrm-radeon1=2.4.104-1 libdrm2=2.4.104-1 libdw1=0.182+20210205-1 libedit2=3.1-20191231-2+b1 libegl-mesa0=20.3.4-1 libegl1=1.3.2-1 libelf1=0.182+20210205-1 libevdev2=1.11.0+dfsg-1 libexpat1=2.2.10-1 libffi7=3.3-5 libfile-stripnondeterminism-perl=1.11.0-1 libflac8=1.3.3-2 libfontconfig1=2.13.1-4.2 libfontenc1=1:1.1.4-1 libfreetype6=2.10.4+dfsg-1 libgbm1=20.3.4-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-2 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgfortran5=10.2.1-6 libgl1=1.3.2-1 libgl1-mesa-dri=20.3.4-1 libglapi-mesa=20.3.4-1 libglib2.0-0=2.66.6-1 libglvnd0=1.3.2-1 libglx-mesa0=20.3.4-1 libglx0=1.3.2-1 libgmp10=2:6.2.1+dfsg-1 libgnutls30=3.7.0-5 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgraphite2-3=1.3.14-1 libgssapi-krb5-2=1.18.3-4 libgstreamer-plugins-base1.0-0=1.18.3-1 libgstreamer1.0-0=1.18.3-1 libgudev-1.0-0=234-1 libharfbuzz0b=2.7.4-1 libhogweed6=3.7-2 libhyphen0=2.8.8-7 libice6=2:1.0.10-1 libicu67=67.1-6 libidn2-0=2.3.0-5 libimagequant0=2.12.2-1.1 libinput-bin=1.16.4-3 libinput10=1.16.4-3 libisl23=0.23-1 libitm1=10.2.1-6 libjbig0=2.1-3.1+b2 libjpeg62-turbo=1:2.0.5-2 libjs-jquery=3.5.1+dfsg+~3.5.5-7 libjs-jquery-ui=1.12.1+dfsg-8 libjs-sphinxdoc=3.4.3-1 libjs-underscore=1.9.1~dfsg-1 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblapack3=3.9.0-3 liblcms2-2=2.12~rc1-2 libllvm11=1:11.0.1-2 liblsan0=10.2.1-6 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmd0=1.0.3-1 libmd4c0=0.4.7-1 libmount1=2.36.1-6 libmpc3=1.2.0-1 libmpdec3=2.5.1-1 libmpfr6=4.1.0-3 libmtdev1=1.1.6-1 libncursesw6=6.2+20201114-2 libnettle8=3.7-2 libnorm1=1.5.9+dfsg-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libogg0=1.3.4-0.1 libopus0=1.3.1-0.1 liborc-0.4-0=1:0.4.32-1 libp11-kit0=0.23.22-1 libpam-modules=1.4.0-4 libpam-modules-bin=1.4.0-4 libpam-runtime=1.4.0-4 libpam0g=1.4.0-4 libpciaccess0=0.16-1 libpcre2-16-0=10.36-2 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-2 libpgm-5.3-0=5.3.128~dfsg-2 libpipeline1=1.5.3-1 libpixman-1-0=0.40.0-1 libpng16-16=1.6.37-3 libpulse0=14.2-1 libpython3-stdlib=3.9.1-1 libpython3.9=3.9.1-4 libpython3.9-minimal=3.9.1-4 libpython3.9-stdlib=3.9.1-4 libqscintilla2-qt5-15=2.11.6+dfsg-2 libqscintilla2-qt5-l10n=2.11.6+dfsg-2 libqt5charts5=5.15.2-2 libqt5core5a=5.15.2+dfsg-4 libqt5dbus5=5.15.2+dfsg-4 libqt5designer5=5.15.2-3 libqt5gui5=5.15.2+dfsg-4 libqt5help5=5.15.2-3 libqt5location5=5.15.2+dfsg-2 libqt5multimedia5=5.15.2-2 libqt5multimediawidgets5=5.15.2-2 libqt5network5=5.15.2+dfsg-4 libqt5opengl5=5.15.2+dfsg-4 libqt5positioning5=5.15.2+dfsg-2 libqt5positioningquick5=5.15.2+dfsg-2 libqt5printsupport5=5.15.2+dfsg-4 libqt5qml5=5.15.2+dfsg-4 libqt5qmlmodels5=5.15.2+dfsg-4 libqt5quick5=5.15.2+dfsg-4 libqt5quickwidgets5=5.15.2+dfsg-4 libqt5sensors5=5.15.2-2 libqt5serialport5=5.15.2-2 libqt5sql5=5.15.2+dfsg-4 libqt5svg5=5.15.2-2 libqt5test5=5.15.2+dfsg-4 libqt5webchannel5=5.15.2-2 libqt5webkit5=5.212.0~alpha4-11 libqt5websockets5=5.15.2-2 libqt5widgets5=5.15.2+dfsg-4 libqt5xml5=5.15.2+dfsg-4 libqt5xmlpatterns5=5.15.2-3 libquadmath0=10.2.1-6 libreadline8=8.1-1 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libsensors-config=1:3.6.0-7 libsensors5=1:3.6.0-7 libsigsegv2=2.13-1 libsm6=2:1.2.3-1 libsmartcols1=2.36.1-6 libsndfile1=1.0.31-1 libsodium23=1.0.18-1 libsqlite3-0=3.34.1-1 libssl1.1=1.1.1i-3 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-1 libtasn1-6=4.16.0-2 libtcl8.6=8.6.11+dfsg-1 libtiff5=4.2.0-1 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtk8.6=8.6.11-2 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-1 libunistring2=0.9.10-4 libunwind8=1.3.2-2 libuuid1=2.36.1-6 libvorbis0a=1.3.7-1 libvorbisenc2=1.3.7-1 libvulkan1=1.2.162.0-1 libwacom-common=1.7-1 libwacom2=1.7-1 libwayland-client0=1.18.0-2~exp1.1 libwayland-server0=1.18.0-2~exp1.1 libwebp6=0.6.1-2+b1 libwebpdemux2=0.6.1-2+b1 libwebpmux3=0.6.1-2+b1 libwoff1=1.0.2-1+b1 libwrap0=7.6.q-31 libx11-6=2:1.7.0-2 libx11-data=2:1.7.0-2 libx11-xcb1=2:1.7.0-2 libxau6=1:1.0.9-1 libxaw7=2:1.0.13-1.1 libxcb-dri2-0=1.14-3 libxcb-dri3-0=1.14-3 libxcb-glx0=1.14-3 libxcb-icccm4=0.4.1-1.1 libxcb-image0=0.4.0-1+b3 libxcb-keysyms1=0.4.0-1+b2 libxcb-present0=1.14-3 libxcb-randr0=1.14-3 libxcb-render-util0=0.3.9-1+b1 libxcb-render0=1.14-3 libxcb-shape0=1.14-3 libxcb-shm0=1.14-3 libxcb-sync1=1.14-3 libxcb-util1=0.4.0-1+b1 libxcb-xfixes0=1.14-3 libxcb-xinerama0=1.14-3 libxcb-xinput0=1.14-3 libxcb-xkb1=1.14-3 libxcb1=1.14-3 libxdamage1=1:1.1.5-2 libxdmcp6=1:1.1.2-3 libxext6=2:1.3.3-1.1 libxfixes3=1:5.0.3-2 libxfont2=1:2.0.4-1 libxft2=2.3.2-2 libxkbcommon-x11-0=1.0.3-2 libxkbcommon0=1.0.3-2 libxkbfile1=1:1.1.0-1 libxml2=2.9.10+dfsg-6.3+b1 libxmu6=2:1.1.2-2+b3 libxmuu1=2:1.1.2-2+b3 libxpm4=1:3.5.12-1 libxrender1=1:0.9.10-1 libxshmfence1=1.3-1 libxslt1.1=1.1.34-4 libxss1=1:1.2.3-1 libxt6=1:1.2.0-1 libxxf86vm1=1:1.1.4-1+b2 libz3-4=4.8.10-1 libzmq5=4.3.4-1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.12-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 mailcap=3.68 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 media-types=4.0.0 mime-support=3.66 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 openssl=1.1.1i-3 pandoc=2.9.2.1-1+b1 pandoc-data=2.9.2.1-1 patch=2.7.6-7 perl=5.32.1-2 perl-base=5.32.1-2 perl-modules-5.32=5.32.1-2 po-debconf=1.0.21+nmu1 python-babel-localedata=2.8.0+dfsg.1-6 python-matplotlib-data=3.3.4-1 python3=3.9.1-1 python3-alabaster=0.7.8-1.1 python3-appdirs=1.4.4-1 python3-attr=20.3.0-1 python3-babel=2.8.0+dfsg.1-6 python3-backcall=0.2.0-1 python3-certifi=2020.6.20-1 python3-chardet=4.0.0-1 python3-cycler=0.10.0-3 python3-dateutil=2.8.1-5 python3-decorator=4.4.2-2 python3-distutils=3.9.1-2 python3-docutils=0.16+dfsg-3 python3-easyprocess=0.2.5-2 python3-idna=2.10-1 python3-imagesize=1.2.0-2 python3-importlib-metadata=1.6.0-2 python3-iniconfig=1.1.1-1 python3-ipykernel=5.4.3-1 python3-ipython=7.20.0-1 python3-ipython-genutils=0.2.0-4 python3-jedi=0.18.0-1 python3-jinja2=2.11.2-1 python3-jupyter-client=6.1.11-2 python3-jupyter-core=4.7.1-1 python3-kiwisolver=1.3.1-1+b1 python3-lib2to3=3.9.1-2 python3-markupsafe=1.1.1-1+b3 python3-matplotlib=3.3.4-1 python3-minimal=3.9.1-1 python3-mock=4.0.3-1 python3-more-itertools=4.2.0-3 python3-nudatus=0.0.5-1 python3-numpy=1:1.19.5-1 python3-packaging=20.9-1 python3-parso=0.8.1-1 python3-pbr=5.5.0-2 python3-pexpect=4.8.0-1 python3-pickleshare=0.7.5-3 python3-pil=8.1.0-1 python3-pkg-resources=52.0.0-1 python3-pluggy=0.13.0-6 python3-prompt-toolkit=3.0.14-1 python3-ptyprocess=0.7.0-1 python3-py=1.10.0-1 python3-pycodestyle=2.6.0-1 python3-pyflakes=2.2.0-2 python3-pygments=2.7.1+dfsg-1 python3-pyparsing=2.4.7-1 python3-pyqt5=5.15.2+dfsg-3 python3-pyqt5.qsci=2.11.6+dfsg-2 python3-pyqt5.qtchart=5.15.2+dfsg-2 python3-pyqt5.qtmultimedia=5.15.2+dfsg-3 python3-pyqt5.qtopengl=5.15.2+dfsg-3 python3-pyqt5.qtpositioning=5.15.2+dfsg-3 python3-pyqt5.qtquick=5.15.2+dfsg-3 python3-pyqt5.qtserialport=5.15.2+dfsg-3 python3-pyqt5.qtsql=5.15.2+dfsg-3 python3-pyqt5.qtsvg=5.15.2+dfsg-3 python3-pyqt5.qtwebchannel=5.15.2+dfsg-3 python3-pyqt5.qtwebkit=5.15.2+dfsg-3 python3-pyqt5.qtwebsockets=5.15.2+dfsg-3 python3-pyqt5.qtxmlpatterns=5.15.2+dfsg-3 python3-pyqt5.sip=12.8.1-1+b2 python3-pytest=6.0.2-2 python3-pytest-random-order=1.0.4-3 python3-pytest-xvfb=1.2.0-1 python3-pyvirtualdisplay=0.2.1-3 python3-qtconsole=5.0.2-2 python3-qtpy=1.9.0-3 python3-requests=2.25.1+dfsg-2 python3-roman=2.0.0-5 python3-semver=2.10.2-2 python3-serial=3.5~b0-1 python3-setuptools=52.0.0-1 python3-six=1.15.0-2 python3-snowballstemmer=2.1.0-1 python3-sphinx=3.4.3-1 python3-tk=3.9.1-2 python3-toml=0.10.1-1 python3-tornado=6.1.0-1+b1 python3-traitlets=5.0.5-1 python3-tz=2021.1-1 python3-uflash=1.2.4+dfsg-7 python3-urllib3=1.26.2-1 python3-wcwidth=0.1.9+dfsg1-2 python3-zipp=1.0.0-3 python3-zmq=20.0.0-1+b1 python3.9=3.9.1-4 python3.9-minimal=3.9.1-4 readline-common=8.1-1 sed=4.7-1 sensible-utils=0.0.14 sgml-base=1.30 shared-mime-info=2.0-1 sphinx-common=3.4.3-1 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 tk8.6-blt2.5=2.5.3+dfsg-4.1 ttf-bitstream-vera=1.10-8.1 tzdata=2021a-1 ucf=3.0043 util-linux=2.36.1-6 x11-common=1:7.7+21 x11-xkb-utils=7.7+5 xauth=1:1.1-1 xkb-data=2.29-2 xml-core=0.18+nmu1 xserver-common=2:1.20.10-2 xvfb=2:1.20.10-2 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210208T033121Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210205T151755Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d mu-editor=1.0.3+dfsg-2 && mkdir -p /build/mu-editor-onhM09 && dpkg-source --no-check -x /*.dsc /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg && chown -R builduser:builduser /build/mu-editor-onhM09" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1612704947" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/mu-editor-onhM09 /tmp/mu-editor-1.0.3+dfsg-228leghg9 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210205T151755Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.WgTBKoAIuH as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.WgTBKoAIuH Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-6). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210205T151755Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210205T151755Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (889 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4663 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210208T033121Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210205T151755Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.WgTBKoAIuH Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210208T033121Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20210205T151755Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20210208T033121Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210208T033121Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210208T033121Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210208T033121Z unstable/main amd64 Packages [11.7 MB] Fetched 34.4 MB in 28s (1209 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.WgTBKoAIuH I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d mu-editor=1.0.3+dfsg-2 && mkdir -p /build/mu-editor-onhM09 && dpkg-source --no-check -x /*.dsc /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg && chown -R builduser:builduser /build/mu-editor-onhM09"' exec /tmp/mmdebstrap.WgTBKoAIuH Reading package lists... NOTICE: 'mu-editor' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/python-team/packages/mu-editor.git Please use: git clone https://salsa.debian.org/python-team/packages/mu-editor.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 4271 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mu-editor 1.0.3+dfsg-2 (dsc) [2645 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mu-editor 1.0.3+dfsg-2 (tar) [4257 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mu-editor 1.0.3+dfsg-2 (diff) [11.7 kB] Fetched 4271 kB in 3s (1269 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'mu-editor_1.0.3+dfsg-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting mu-editor in /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg dpkg-source: info: unpacking mu-editor_1.0.3+dfsg.orig.tar.xz dpkg-source: info: unpacking mu-editor_1.0.3+dfsg-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying soften-dependency-versions dpkg-source: info: applying remove-unavailable-rpi-dependencies dpkg-source: info: applying remove-problematic-runtime-dependencies dpkg-source: info: applying replace-sourcecodepro-font-with-inconsolata dpkg-source: info: applying use-system-uflash dpkg-source: info: applying disable-buttons-in-alabaster-sphinx-theme dpkg-source: info: applying replace-embedded-youtube-videos-with-links dpkg-source: info: applying remove-non-dfsg-images-from-docs dpkg-source: info: applying remove-non-dfsg-resources dpkg-source: info: applying update-rtp-for-mu-debug dpkg-source: info: applying use-https-urls-in-appstream-data I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1612704947" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.WgTBKoAIuH dpkg-buildpackage: info: source package mu-editor dpkg-buildpackage: info: source version 1.0.3+dfsg-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Nick Morrott dpkg-source --before-build . dpkg-source: info: using options from mu-editor-1.0.3+dfsg/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ debian/rules clean dh clean --with python3,sphinxdoc --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg' dh_auto_clean install -d /build/mu-editor-onhM09/mu-editor-1.0.3\+dfsg/debian/.debhelper/generated/_source/home pybuild --clean -i python{version} -p 3.9 D: pybuild pybuild:568: version: 4.20201102 D: pybuild pybuild:569: ['/usr/bin/pybuild', '--clean', '-i', 'python{version}', '-p', '3.9'] D: pybuild pybuild:36: cfg: Namespace(verbose=True, quiet=False, really_quiet=False, detect_only=False, clean_only=True, configure_only=False, build_only=False, install_only=False, test_only=False, list_systems=False, print_args=None, before_clean=None, clean_args=None, after_clean=None, before_configure=None, configure_args=None, after_configure=None, before_build=None, build_args=None, after_build=None, before_install=None, install_args=None, after_install=None, before_test=None, test_args=None, after_test=None, test_nose=False, test_nose2=False, test_pytest=True, test_tox=False, dir='/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg', destdir='debian/tmp', ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, ext_sub_repl=None, install_dir=None, name='mu-editor', system=None, versions=['3.9'], interpreter=['python{version}'], disable=None, custom_tests=True) D: pybuild __init__:36: cannot initialize 'cmake' plugin Traceback (most recent call last): File "/usr/share/dh-python/dhpython/build/__init__.py", line 32, in module.BuildSystem.is_usable() File "/usr/share/dh-python/dhpython/build/base.py", line 122, in is_usable raise Exception("missing command: %s" % command) Exception: missing command: cmake D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture D: pybuild pybuild:131: detected build system: distutils (certainty: 51%) D: pybuild plugin_distutils:54: pydistutils config file: [clean] all=1 [build] build-lib=/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build [install] force=1 install-layout=deb install-scripts=$base/bin install-lib=/usr/lib/python3.9/dist-packages prefix=/usr I: pybuild base:232: python3.9 setup.py clean D: pybuild tools:232: invoking: python3.9 setup.py clean running clean removing '/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.9' does not exist -- can't clean it rm -rf .pybuild/ find . -name \*.pyc -exec rm {} \; rm -rf docs/html make[1]: Leaving directory '/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/mu-editor.substvars debian/mu-editor-doc.substvars debian/files rm -fr -- debian/mu-editor/ debian/tmp/ debian/mu-editor-doc/ find . ! \( -regex .\*__pycache__.\* \) -a \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \) debian/rules binary-indep dh binary-indep --with python3,sphinxdoc --buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_autoreconf -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild install -d /build/mu-editor-onhM09/mu-editor-1.0.3\+dfsg/debian/.debhelper/generated/_source/home pybuild --configure -i python{version} -p 3.9 D: pybuild pybuild:568: version: 4.20201102 D: pybuild pybuild:569: ['/usr/bin/pybuild', '--configure', '-i', 'python{version}', '-p', '3.9'] D: pybuild pybuild:36: cfg: Namespace(verbose=True, quiet=False, really_quiet=False, detect_only=False, clean_only=False, configure_only=True, build_only=False, install_only=False, test_only=False, list_systems=False, print_args=None, before_clean=None, clean_args=None, after_clean=None, before_configure=None, configure_args=None, after_configure=None, before_build=None, build_args=None, after_build=None, before_install=None, install_args=None, after_install=None, before_test=None, test_args=None, after_test=None, test_nose=False, test_nose2=False, test_pytest=True, test_tox=False, dir='/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg', destdir='debian/tmp', ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, ext_sub_repl=None, install_dir=None, name='mu-editor', system=None, versions=['3.9'], interpreter=['python{version}'], disable=None, custom_tests=True) D: pybuild __init__:36: cannot initialize 'cmake' plugin Traceback (most recent call last): File "/usr/share/dh-python/dhpython/build/__init__.py", line 32, in module.BuildSystem.is_usable() File "/usr/share/dh-python/dhpython/build/base.py", line 122, in is_usable raise Exception("missing command: %s" % command) Exception: missing command: cmake D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture D: pybuild pybuild:131: detected build system: distutils (certainty: 51%) D: pybuild plugin_distutils:54: pydistutils config file: [clean] all=1 [build] build-lib=/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build [install] force=1 install-layout=deb install-scripts=$base/bin install-lib=/usr/lib/python3.9/dist-packages prefix=/usr I: pybuild base:232: python3.9 setup.py config D: pybuild tools:232: invoking: python3.9 setup.py config running config debian/rules override_dh_auto_build make[1]: Entering directory '/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg' dh_auto_build pybuild --build -i python{version} -p 3.9 D: pybuild pybuild:568: version: 4.20201102 D: pybuild pybuild:569: ['/usr/bin/pybuild', '--build', '-i', 'python{version}', '-p', '3.9'] D: pybuild pybuild:36: cfg: Namespace(verbose=True, quiet=False, really_quiet=False, detect_only=False, clean_only=False, configure_only=False, build_only=True, install_only=False, test_only=False, list_systems=False, print_args=None, before_clean=None, clean_args=None, after_clean=None, before_configure=None, configure_args=None, after_configure=None, before_build=None, build_args=None, after_build=None, before_install=None, install_args=None, after_install=None, before_test=None, test_args=None, after_test=None, test_nose=False, test_nose2=False, test_pytest=True, test_tox=False, dir='/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg', destdir='debian/tmp', ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, ext_sub_repl=None, install_dir=None, name='mu-editor', system=None, versions=['3.9'], interpreter=['python{version}'], disable=None, custom_tests=True) D: pybuild __init__:36: cannot initialize 'cmake' plugin Traceback (most recent call last): File "/usr/share/dh-python/dhpython/build/__init__.py", line 32, in module.BuildSystem.is_usable() File "/usr/share/dh-python/dhpython/build/base.py", line 122, in is_usable raise Exception("missing command: %s" % command) Exception: missing command: cmake D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture D: pybuild pybuild:131: detected build system: distutils (certainty: 51%) I: pybuild base:232: /usr/bin/python3 setup.py build D: pybuild tools:232: invoking: /usr/bin/python3 setup.py build running build running build_py creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu copying mu/logic.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu copying mu/__init__.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu copying mu/mu-debug.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu copying mu/localedetect.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu copying mu/app.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu copying mu/__main__.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/contrib copying mu/contrib/__init__.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/contrib copying mu/contrib/microfs.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/contrib creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources copying mu/resources/__init__.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes copying mu/modes/debugger.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes copying mu/modes/__init__.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes copying mu/modes/python3.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes copying mu/modes/adafruit.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes copying mu/modes/microbit.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes copying mu/modes/pygamezero.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes copying mu/modes/base.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes package init file 'mu/debugger/__init__.py' not found (or not a regular file) creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/debugger copying mu/debugger/client.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/debugger copying mu/debugger/utils.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/debugger copying mu/debugger/runner.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/debugger creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/interface copying mu/interface/dialogs.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/interface copying mu/interface/__init__.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/interface copying mu/interface/panes.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/interface copying mu/interface/editor.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/interface copying mu/interface/main.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/interface copying mu/interface/themes.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/interface creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes/api copying mu/modes/api/__init__.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes/api copying mu/modes/api/python3.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes/api copying mu/modes/api/adafruit.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes/api copying mu/modes/api/shared.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes/api copying mu/modes/api/microbit.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes/api copying mu/modes/api/pygamezero.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes/api copying mu/modes/api/pi.py -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes/api running egg_info creating mu_editor.egg-info writing mu_editor.egg-info/PKG-INFO writing dependency_links to mu_editor.egg-info/dependency_links.txt writing entry points to mu_editor.egg-info/entry_points.txt writing requirements to mu_editor.egg-info/requires.txt writing top-level names to mu_editor.egg-info/top_level.txt writing manifest file 'mu_editor.egg-info/SOURCES.txt' reading manifest file 'mu_editor.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mu_editor.egg-info/SOURCES.txt' creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/de_DE creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/de_DE/LC_MESSAGES copying mu/locale/de_DE/LC_MESSAGES/mu.mo -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/de_DE/LC_MESSAGES copying mu/locale/de_DE/LC_MESSAGES/mu.po -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/de_DE/LC_MESSAGES creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/es creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/es/LC_MESSAGES copying mu/locale/es/LC_MESSAGES/mu.mo -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/es/LC_MESSAGES copying mu/locale/es/LC_MESSAGES/mu.po -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/es/LC_MESSAGES creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/fr creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/fr/LC_MESSAGES copying mu/locale/fr/LC_MESSAGES/mu.mo -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/fr/LC_MESSAGES copying mu/locale/fr/LC_MESSAGES/mu.po -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/fr/LC_MESSAGES creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/ja creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/ja/LC_MESSAGES copying mu/locale/ja/LC_MESSAGES/mu.mo -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/ja/LC_MESSAGES copying mu/locale/ja/LC_MESSAGES/mu.po -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/ja/LC_MESSAGES creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pl creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pl/LC_MESSAGES copying mu/locale/pl/LC_MESSAGES/mu.mo -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pl/LC_MESSAGES copying mu/locale/pl/LC_MESSAGES/mu.po -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pl/LC_MESSAGES creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pt_BR creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pt_BR/LC_MESSAGES copying mu/locale/pt_BR/LC_MESSAGES/mu.mo -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pt_BR/LC_MESSAGES copying mu/locale/pt_BR/LC_MESSAGES/mu.po -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pt_BR/LC_MESSAGES creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pt_PT creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pt_PT/LC_MESSAGES copying mu/locale/pt_PT/LC_MESSAGES/mu.mo -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pt_PT/LC_MESSAGES copying mu/locale/pt_PT/LC_MESSAGES/mu.po -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/pt_PT/LC_MESSAGES creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/sv creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/sv/LC_MESSAGES copying mu/locale/sv/LC_MESSAGES/mu.mo -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/sv/LC_MESSAGES copying mu/locale/sv/LC_MESSAGES/mu.po -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/sv/LC_MESSAGES creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/zh_CN creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/zh_CN/LC_MESSAGES copying mu/locale/zh_CN/LC_MESSAGES/mu.mo -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/zh_CN/LC_MESSAGES copying mu/locale/zh_CN/LC_MESSAGES/mu.po -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/locale/zh_CN/LC_MESSAGES creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/css copying mu/resources/css/contrast.css -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/css copying mu/resources/css/day.css -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/css copying mu/resources/css/night.css -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/css creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/adafruit.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/button.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/check.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/checked.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/close-tab.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/debug.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/files.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/flash.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/fonts.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/help.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/icon.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/images.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/load.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/logs.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/microbit.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/modes.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/music.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/new.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/play.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/plotter.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/pygamezero.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/python.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/quit.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/repl.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/run.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/save.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/scroll-down.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/scroll-left.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/scroll-right.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/scroll-up.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/serial.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/snippets.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/sounds.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/splash-screen.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/step-in.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/step-out.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/step-over.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/stop.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/theme.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/theme_contrast.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/theme_day.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/zoom-in.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images copying mu/resources/images/zoom-out.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/images creating /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/pygamezero copying mu/resources/pygamezero/alien.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/pygamezero copying mu/resources/pygamezero/alien_hurt.png -> /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/pygamezero # build custom manpage DEB_VERSION_UPSTREAM 1.0.3+dfsg sed -e "s/__VERSION__/1.0.3+dfsg/g" \ < debian/mu-editor.1.md.in > debian/mu-editor.1.md pandoc debian/mu-editor.1.md -s -f markdown -t man -o debian/mu-editor.1 # build documentation PYTHONPATH=. http_proxy='127.0.0.1:9' https_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml docs/ docs/html Running Sphinx v3.4.3 making output directory... done WARNING: html_static_path entry '_static' does not exist building [mo]: targets for 0 po files that are out of date building [html]: targets for 23 source files that are out of date updating environment: [new config] 23 added, 0 changed, 0 removed reading sources... [ 4%] api reading sources... [ 8%] architecture reading sources... [ 13%] authors reading sources... [ 17%] changes reading sources... [ 21%] code_of_conduct reading sources... [ 26%] contributing reading sources... [ 30%] copyright reading sources... [ 34%] debugger reading sources... [ 39%] design reading sources... [ 43%] design/file_reading_and_writing reading sources... [ 47%] design/line-endings reading sources... [ 52%] first-steps reading sources... [ 56%] index reading sources... [ 60%] license reading sources... [ 65%] modes reading sources... [ 69%] packaging reading sources... [ 73%] release reading sources... [ 78%] roadmap reading sources... [ 82%] setup reading sources... [ 86%] tests reading sources... [ 91%] translations reading sources... [ 95%] user-experience reading sources... [100%] website looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 4%] api writing output... [ 8%] architecture writing output... [ 13%] authors writing output... [ 17%] changes writing output... [ 21%] code_of_conduct writing output... [ 26%] contributing writing output... [ 30%] copyright writing output... [ 34%] debugger writing output... [ 39%] design writing output... [ 43%] design/file_reading_and_writing writing output... [ 47%] design/line-endings writing output... [ 52%] first-steps writing output... [ 56%] index writing output... [ 60%] license writing output... [ 65%] modes writing output... [ 69%] packaging writing output... [ 73%] release writing output... [ 78%] roadmap writing output... [ 82%] setup writing output... [ 86%] tests writing output... [ 91%] translations writing output... [ 95%] user-experience writing output... [100%] website generating indices... genindex py-modindex done highlighting module code... [ 5%] PyQt5.QtCore highlighting module code... [ 11%] mu.app highlighting module code... [ 17%] mu.debugger.client highlighting module code... [ 23%] mu.debugger.runner highlighting module code... [ 29%] mu.interface.dialogs highlighting module code... [ 35%] mu.interface.editor highlighting module code... [ 41%] mu.interface.main highlighting module code... [ 47%] mu.interface.panes highlighting module code... [ 52%] mu.interface.themes highlighting module code... [ 58%] mu.logic highlighting module code... [ 64%] mu.modes.adafruit highlighting module code... [ 70%] mu.modes.base highlighting module code... [ 76%] mu.modes.debugger highlighting module code... [ 82%] mu.modes.microbit highlighting module code... [ 88%] mu.modes.pygamezero highlighting module code... [ 94%] mu.modes.python3 highlighting module code... [100%] mu.resources writing additional pages... search done copying images... [ 10%] mu-debugger.png copying images... [ 20%] logo.png copying images... [ 30%] microbit.png copying images... [ 40%] pygame.png copying images... [ 50%] po1.png copying images... [ 60%] po2.png copying images... [ 70%] po3.png copying images... [ 80%] po4.png copying images... [ 90%] mu_sketch.jpg copying images... [100%] awesome.gif copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 1 warning. The HTML pages are in docs/html. make[1]: Leaving directory '/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg' rm -f debian/mu-editor-doc.debhelper.log debian/mu-editor.debhelper.log debian/rules override_dh_auto_test make[1]: Entering directory '/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg' xvfb-run -a dh_auto_test pybuild --test -i python{version} -p 3.9 D: pybuild pybuild:568: version: 4.20201102 D: pybuild pybuild:569: ['/usr/bin/pybuild', '--test', '-i', 'python{version}', '-p', '3.9'] D: pybuild pybuild:36: cfg: Namespace(verbose=True, quiet=False, really_quiet=False, detect_only=False, clean_only=False, configure_only=False, build_only=False, install_only=False, test_only=True, list_systems=False, print_args=None, before_clean=None, clean_args=None, after_clean=None, before_configure=None, configure_args=None, after_configure=None, before_build=None, build_args=None, after_build=None, before_install=None, install_args=None, after_install=None, before_test=None, test_args=None, after_test=None, test_nose=False, test_nose2=False, test_pytest=True, test_tox=False, dir='/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg', destdir='debian/tmp', ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, ext_sub_repl=None, install_dir=None, name='mu-editor', system=None, versions=['3.9'], interpreter=['python{version}'], disable=None, custom_tests=True) D: pybuild __init__:36: cannot initialize 'cmake' plugin Traceback (most recent call last): File "/usr/share/dh-python/dhpython/build/__init__.py", line 32, in module.BuildSystem.is_usable() File "/usr/share/dh-python/dhpython/build/base.py", line 122, in is_usable raise Exception("missing command: %s" % command) Exception: missing command: cmake D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture D: pybuild pybuild:131: detected build system: distutils (certainty: 61%) I: pybuild pybuild:284: mkdir -p /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/fonts; cp /usr/share/fonts/truetype/inconsolata/Inconsolata.otf /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/fonts/Inconsolata.otf D: pybuild tools:232: invoking: mkdir -p /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/fonts; cp /usr/share/fonts/truetype/inconsolata/Inconsolata.otf /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/resources/fonts/Inconsolata.otf I: pybuild base:232: cd /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build; python3.9 -m pytest --random-order D: pybuild tools:232: invoking: cd /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build; python3.9 -m pytest --random-order ============================= test session starts ============================== platform linux -- Python 3.9.1+, pytest-6.0.2, py-1.10.0, pluggy-0.13.0 Using --random-order-bucket=module Using --random-order-seed=424 rootdir: /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg plugins: xvfb-1.2.0, random-order-1.0.4 collected 740 items tests/debugger/test_utils.py ...... [ 0%] tests/debugger/test_runner.py .......................................... [ 6%] ......... [ 7%] tests/modes/test_adafruit.py ......... [ 8%] tests/test_app.py ....... [ 9%] tests/interface/test_panes.py .......................................... [ 15%] ........................................................................ [ 25%] .............................. [ 29%] tests/test_logic.py .................................................... [ 36%] ........................................................................ [ 46%] ............................ [ 49%] tests/modes/test_python3.py .......................... [ 53%] tests/debugger/test_client.py .......................................... [ 59%] ..... [ 59%] tests/modes/test_base.py ................................ [ 64%] tests/modes/test_microbit.py .................................F......... [ 69%] ................F [ 72%] tests/interface/test_dialogs.py .......... [ 73%] tests/test_resources.py ..... [ 74%] tests/modes/test_pygamezero.py .............. [ 76%] tests/test_localedetect.py ........ [ 77%] tests/interface/test_themes.py ..... [ 77%] tests/interface/test_main.py ........................................... [ 83%] ................................................. [ 90%] tests/interface/test_editor.py ................................. [ 94%] tests/modes/test_debug.py ....................................... [100%] =================================== FAILURES =================================== ______________ test_flash_with_attached_device_and_custom_runtime ______________ def test_flash_with_attached_device_and_custom_runtime(): """ Ensure the custom runtime is passed into the DeviceFlasher thread. """ mock_flasher = mock.MagicMock() mock_flasher_class = mock.MagicMock(return_value=mock_flasher) with mock.patch('mu.modes.base.BaseMode.workspace_dir', return_value=TEST_ROOT), \ mock.patch('mu.modes.microbit.DeviceFlasher', mock_flasher_class), \ mock.patch('mu.modes.microbit.sys.platform', 'win32'): view = mock.MagicMock() view.current_tab.text = mock.MagicMock(return_value='foo') view.show_message = mock.MagicMock() editor = mock.MagicMock() editor.minify = True editor.microbit_runtime = os.path.join('tests', 'customhextest.hex') mm = MicrobitMode(editor, view) > mm.flash() tests/modes/test_microbit.py:620: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mu/modes/microbit.py:297: in flash path_to_microbit = uflash.find_microbit() /usr/lib/python3/dist-packages/uflash.py:221: in find_microbit mount_output = check_output('mount').splitlines() /usr/lib/python3.9/subprocess.py:424: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, /usr/lib/python3.9/subprocess.py:505: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.9/subprocess.py:951: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['mount'], executable = b'mount', preexec_fn = None, close_fds = True pass_fds = (), cwd = None, env = None, startupinfo = None, creationflags = 0 shell = False, p2cread = -1, p2cwrite = -1, c2pread = 23, c2pwrite = 24 errread = -1, errwrite = -1, restore_signals = True, gid = None, gids = None uid = None, umask = -1, start_new_session = False def _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, gid, gids, uid, umask, start_new_session): """Execute program (POSIX version)""" if isinstance(args, (str, bytes)): args = [args] elif isinstance(args, os.PathLike): if shell: raise TypeError('path-like args is not allowed when ' 'shell is true') args = [args] else: args = list(args) if shell: # On Android the default shell is at '/system/bin/sh'. unix_shell = ('/system/bin/sh' if hasattr(sys, 'getandroidapilevel') else '/bin/sh') args = [unix_shell, "-c"] + args if executable: args[0] = executable if executable is None: executable = args[0] sys.audit("subprocess.Popen", executable, args, cwd, env) if (_USE_POSIX_SPAWN and os.path.dirname(executable) and preexec_fn is None and not close_fds and not pass_fds and cwd is None and (p2cread == -1 or p2cread > 2) and (c2pwrite == -1 or c2pwrite > 2) and (errwrite == -1 or errwrite > 2) and not start_new_session and gid is None and gids is None and uid is None and umask < 0): self._posix_spawn(args, executable, env, restore_signals, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite) return orig_executable = executable # For transferring possible exec failure from child to parent. # Data format: "exception name:hex errno:description" # Pickle is not used; it is complex and involves memory allocation. errpipe_read, errpipe_write = os.pipe() # errpipe_write must not be in the standard io 0, 1, or 2 fd range. low_fds_to_close = [] while errpipe_write < 3: low_fds_to_close.append(errpipe_write) errpipe_write = os.dup(errpipe_write) for low_fd in low_fds_to_close: os.close(low_fd) try: try: # We must avoid complex work that could involve # malloc or free in the child process to avoid # potential deadlocks, thus we do all this here. # and pass it to fork_exec() if env is not None: env_list = [] for k, v in env.items(): k = os.fsencode(k) if b'=' in k: raise ValueError("illegal environment variable name") env_list.append(k + b'=' + os.fsencode(v)) else: env_list = None # Use execv instead of execve. executable = os.fsencode(executable) if os.path.dirname(executable): executable_list = (executable,) else: # This matches the behavior of os._execvpe(). executable_list = tuple( os.path.join(os.fsencode(dir), executable) for dir in os.get_exec_path(env)) fds_to_keep = set(pass_fds) fds_to_keep.add(errpipe_write) self.pid = _posixsubprocess.fork_exec( args, executable_list, close_fds, tuple(sorted(map(int, fds_to_keep))), cwd, env_list, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, errpipe_read, errpipe_write, restore_signals, start_new_session, gid, gids, uid, umask, preexec_fn) self._child_created = True finally: # be sure the FD is closed no matter what os.close(errpipe_write) self._close_pipe_fds(p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite) # Wait for exec to fail or succeed; possibly raising an # exception (limited in size) errpipe_data = bytearray() while True: part = os.read(errpipe_read, 50000) errpipe_data += part if not part or len(errpipe_data) > 50000: break finally: # be sure the FD is closed no matter what os.close(errpipe_read) if errpipe_data: try: pid, sts = os.waitpid(self.pid, 0) if pid == self.pid: self._handle_exitstatus(sts) else: self.returncode = sys.maxsize except ChildProcessError: pass try: exception_name, hex_errno, err_msg = ( errpipe_data.split(b':', 2)) # The encoding here should match the encoding # written in by the subprocess implementations # like _posixsubprocess err_msg = err_msg.decode() except ValueError: exception_name = b'SubprocessError' hex_errno = b'0' err_msg = 'Bad exception data from child: {!r}'.format( bytes(errpipe_data)) child_exception_type = getattr( builtins, exception_name.decode('ascii'), SubprocessError) if issubclass(child_exception_type, OSError) and hex_errno: errno_num = int(hex_errno, 16) child_exec_never_called = (err_msg == "noexec") if child_exec_never_called: err_msg = "" # The error must be from chdir(cwd). err_filename = cwd else: err_filename = orig_executable if errno_num != 0: err_msg = os.strerror(errno_num) > raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: 'mount' /usr/lib/python3.9/subprocess.py:1823: FileNotFoundError ______________________________ test_flash_minify _______________________________ def test_flash_minify(): view = mock.MagicMock() script = '#' + ('x' * 8193) + '\n' view.current_tab.text = mock.MagicMock(return_value=script) view.show_message = mock.MagicMock() editor = mock.MagicMock() editor.minify = True mm = MicrobitMode(editor, view) mm.set_buttons = mock.MagicMock() with mock.patch('mu.modes.microbit.DeviceFlasher'): with mock.patch('nudatus.mangle', return_value='') as m: > mm.flash() tests/modes/test_microbit.py:1026: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ mu/modes/microbit.py:297: in flash path_to_microbit = uflash.find_microbit() /usr/lib/python3/dist-packages/uflash.py:221: in find_microbit mount_output = check_output('mount').splitlines() /usr/lib/python3.9/subprocess.py:424: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, /usr/lib/python3.9/subprocess.py:505: in run with Popen(*popenargs, **kwargs) as process: /usr/lib/python3.9/subprocess.py:951: in __init__ self._execute_child(args, executable, preexec_fn, close_fds, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['mount'], executable = b'mount', preexec_fn = None, close_fds = True pass_fds = (), cwd = None, env = None, startupinfo = None, creationflags = 0 shell = False, p2cread = -1, p2cwrite = -1, c2pread = 23, c2pwrite = 24 errread = -1, errwrite = -1, restore_signals = True, gid = None, gids = None uid = None, umask = -1, start_new_session = False def _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, gid, gids, uid, umask, start_new_session): """Execute program (POSIX version)""" if isinstance(args, (str, bytes)): args = [args] elif isinstance(args, os.PathLike): if shell: raise TypeError('path-like args is not allowed when ' 'shell is true') args = [args] else: args = list(args) if shell: # On Android the default shell is at '/system/bin/sh'. unix_shell = ('/system/bin/sh' if hasattr(sys, 'getandroidapilevel') else '/bin/sh') args = [unix_shell, "-c"] + args if executable: args[0] = executable if executable is None: executable = args[0] sys.audit("subprocess.Popen", executable, args, cwd, env) if (_USE_POSIX_SPAWN and os.path.dirname(executable) and preexec_fn is None and not close_fds and not pass_fds and cwd is None and (p2cread == -1 or p2cread > 2) and (c2pwrite == -1 or c2pwrite > 2) and (errwrite == -1 or errwrite > 2) and not start_new_session and gid is None and gids is None and uid is None and umask < 0): self._posix_spawn(args, executable, env, restore_signals, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite) return orig_executable = executable # For transferring possible exec failure from child to parent. # Data format: "exception name:hex errno:description" # Pickle is not used; it is complex and involves memory allocation. errpipe_read, errpipe_write = os.pipe() # errpipe_write must not be in the standard io 0, 1, or 2 fd range. low_fds_to_close = [] while errpipe_write < 3: low_fds_to_close.append(errpipe_write) errpipe_write = os.dup(errpipe_write) for low_fd in low_fds_to_close: os.close(low_fd) try: try: # We must avoid complex work that could involve # malloc or free in the child process to avoid # potential deadlocks, thus we do all this here. # and pass it to fork_exec() if env is not None: env_list = [] for k, v in env.items(): k = os.fsencode(k) if b'=' in k: raise ValueError("illegal environment variable name") env_list.append(k + b'=' + os.fsencode(v)) else: env_list = None # Use execv instead of execve. executable = os.fsencode(executable) if os.path.dirname(executable): executable_list = (executable,) else: # This matches the behavior of os._execvpe(). executable_list = tuple( os.path.join(os.fsencode(dir), executable) for dir in os.get_exec_path(env)) fds_to_keep = set(pass_fds) fds_to_keep.add(errpipe_write) self.pid = _posixsubprocess.fork_exec( args, executable_list, close_fds, tuple(sorted(map(int, fds_to_keep))), cwd, env_list, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, errpipe_read, errpipe_write, restore_signals, start_new_session, gid, gids, uid, umask, preexec_fn) self._child_created = True finally: # be sure the FD is closed no matter what os.close(errpipe_write) self._close_pipe_fds(p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite) # Wait for exec to fail or succeed; possibly raising an # exception (limited in size) errpipe_data = bytearray() while True: part = os.read(errpipe_read, 50000) errpipe_data += part if not part or len(errpipe_data) > 50000: break finally: # be sure the FD is closed no matter what os.close(errpipe_read) if errpipe_data: try: pid, sts = os.waitpid(self.pid, 0) if pid == self.pid: self._handle_exitstatus(sts) else: self.returncode = sys.maxsize except ChildProcessError: pass try: exception_name, hex_errno, err_msg = ( errpipe_data.split(b':', 2)) # The encoding here should match the encoding # written in by the subprocess implementations # like _posixsubprocess err_msg = err_msg.decode() except ValueError: exception_name = b'SubprocessError' hex_errno = b'0' err_msg = 'Bad exception data from child: {!r}'.format( bytes(errpipe_data)) child_exception_type = getattr( builtins, exception_name.decode('ascii'), SubprocessError) if issubclass(child_exception_type, OSError) and hex_errno: errno_num = int(hex_errno, 16) child_exec_never_called = (err_msg == "noexec") if child_exec_never_called: err_msg = "" # The error must be from chdir(cwd). err_filename = cwd else: err_filename = orig_executable if errno_num != 0: err_msg = os.strerror(errno_num) > raise child_exception_type(errno_num, err_msg, err_filename) E FileNotFoundError: [Errno 2] No such file or directory: 'mount' /usr/lib/python3.9/subprocess.py:1823: FileNotFoundError =============================== warnings summary =============================== .pybuild/cpython3_3.9_mu-editor/build/tests/modes/test_microbit.py::test_flash_forced_with_attached_device_as_not_windows .pybuild/cpython3_3.9_mu-editor/build/tests/modes/test_microbit.py::test_force_flash_user_specified_device_path .pybuild/cpython3_3.9_mu-editor/build/tests/modes/test_microbit.py::test_flash_device_has_latest_firmware_encounters_serial_problem_unix .pybuild/cpython3_3.9_mu-editor/build/tests/modes/test_microbit.py::test_flash_force_with_attached_device_as_windows .pybuild/cpython3_3.9_mu-editor/build/tests/modes/test_microbit.py::test_flash_with_attached_known_device_and_forced .pybuild/cpython3_3.9_mu-editor/build/tests/modes/test_microbit.py::test_flash_with_attached_device_has_latest_firmware .pybuild/cpython3_3.9_mu-editor/build/tests/modes/test_microbit.py::test_flash_with_attached_device_has_latest_firmware_encounters_problem .pybuild/cpython3_3.9_mu-editor/build/tests/modes/test_microbit.py::test_force_flash_empty_script .pybuild/cpython3_3.9_mu-editor/build/tests/modes/test_microbit.py::test_flash_device_has_latest_firmware_encounters_serial_problem_windows /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes/microbit.py:341: DeprecationWarning: Function 'semver.parse' is deprecated. Deprecated since version 2.10.0. This function will be removed in semver 3. Use the respective 'semver.VersionInfo.parse' instead. semver.parse(version_info['release']) .pybuild/cpython3_3.9_mu-editor/build/tests/modes/test_microbit.py: 10 warnings /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build/mu/modes/microbit.py:357: DeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 2.10.0. This function will be removed in semver 3. Use the respective 'semver.VersionInfo.compare' instead. if semver.compare(board_version, -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED tests/modes/test_microbit.py::test_flash_with_attached_device_and_custom_runtime FAILED tests/modes/test_microbit.py::test_flash_minify - FileNotFoundError: [... ================= 2 failed, 738 passed, 19 warnings in 13.20s ================== E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build; python3.9 -m pytest --random-order Traceback (most recent call last): File "/usr/bin/pybuild", line 351, in main run(func, i, version, c) File "/usr/bin/pybuild", line 301, in run result = func(context, args) File "/usr/share/dh-python/dhpython/build/base.py", line 282, in wrapped_func raise Exception(msg) Exception: exit code=1: cd /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg/.pybuild/cpython3_3.9_mu-editor/build; python3.9 -m pytest --random-order rm -fr -- /tmp/dh-xdg-rundir-9ee45oI2 dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13 make[1]: *** [debian/rules:42: override_dh_auto_test] Error 25 make[1]: Leaving directory '/build/mu-editor-onhM09/mu-editor-1.0.3+dfsg' make: *** [debian/rules:25: binary-indep] Error 2 dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2 E: run_chroot failed: E: command failed: chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mu-editor-onhM09/mu-editor-1.0.3+dfsg && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1612704947" dpkg-buildpackage -uc -a amd64 --build=all" W: listening on child socket failed: I: removing tempdir /tmp/mmdebstrap.WgTBKoAIuH... mmdebstrap failed