Admonitions (FAQ, NOTE, TODO, BUG) ################################## Automated index of all admonitions (in this manual as well as in python code documentation). For simplicity, we only use four admonitions: *error, attention, note, tip*. .. error:: **(BUG) Ongoing issues: No fix yet** .. attention:: **(TODO) Ongoing issues: Minor or has workaround** * `administrator `_: **Manual Setup Section**: Has not been revised since ``1.0.x`` * `administrator `_: When adding a **Remote**, be sure to use the **exact same hostname** (in the ``http`` field) the instance uses * `python/mini_buildd.api `_: Call **debmirror** (external workarounds): ``apt update`` fails on ``experimental`` suites (contents not mirrored) (:debbug:`819925`) * `python/mini_buildd.api `_: Call **handshake**: In production, we occasionally see ``W: Remote handshake failed for ...: 'tuple' object has no attribute 'signatures'``. Reproduce? * `python/mini_buildd.models `_: **AptKeys**: Duplicates possible (will break API call ``setup``) * `python/mini_buildd.models `_: **Chroot**: LVM chroots fail running lvcreate with 'not found: device not cleared' (:debbug:`705238`) * `python/mini_buildd.models `_: **Daemon**: When changing ftp network settings, then PCA: Still not active, needs explicit restart? * `python/mini_buildd.models `_: **Distribution** (``workaround in __str__``): Not unique for base source (historic fluke) * `python/mini_buildd.models `_: **Distribution**: When adding Architecture: No indication that we need to re-index (run check on repository) * `python/mini_buildd.reprepro `_: **reprepro** (``dist.py`` setup workaround): Can't handle Ubuntu's ``ddeb`` (:debbug:`730572`) * `python/mini_buildd.reprepro `_: **reprepro**: Don't switch to ``reprepro 5.4`` yet (:debbug:`1017983`) * `python/mini_buildd.reprepro `_: **reprepro**: Fails with ``debian/`` being a symlink in Debian native packages (:debbug:`768046`) * `python/mini_buildd.sbuild `_: **sbuild** (retry-workaround in ``gnupg.py``): Spurious build failures ``can't connect to the agent: IPC connect call failed`` (:debbug:`849551`) * `python/mini_buildd.sbuild `_: **sbuild** (workaround in ``apt-update`` snippet): ``apt-get update`` "File has unexpected size ... Mirror sync in progress?" failures * `python/mini_buildd.sbuild `_: **sbuild**: Fails to build "all" packages with "build archall" flag set to arch "x" in case DSP has >= 1 arch "all" and >=1 arch "y" binary package (:debbug:`706086`) * `python/mini_buildd.sbuild `_: **sbuild+apt-cacher-ng** (workaround in ``apt-update`` snippet): ``apt-get update`` stalls on parallel access * `python/mini_buildd.schroot `_: **schroot**: 'target is busy' on session close (stale schroot sessions) * `python/mini_buildd.schroot `_: **wheezy or older builds on amd64**: Re-enable linux' vsyscall * `roadmap `_: **buster-based install**: 500 Internal Error: ``[Errno 2] No such file or directory: 'S.gpg-agent.extra'`` .. note:: **(NOTE) Something not obvious you should be aware of** * `python/mini_buildd.api `_: Call **keyring-packages**: No compat for urold <= squeeze (``apt-key add``) * `python/mini_buildd.api `_: Call **keyring-packages**: squeeze or older only: apt secure problems after initial (unauthorized) install of the archive-key package (:debbug:`657561`) * `python/mini_buildd.api `_: Call **stop**: *Ongoing* ``PACKAGING`` or ``BUILDING`` are lost on restart * `python/mini_buildd.builtins `_: http://tools.ietf.org/html/rfc5147: This, in theory, could be some way to create a TOC for text/plain (buildlogs and such). However * `python/mini_buildd.models `_: **Chroot** (``mbd_workaround_debmirror_script``): Be able to strap 'newer Ubuntus' with Debian's ``debootstrap`` * `python/mini_buildd.models `_: **Chroot** (setup workaround in ``dist.py``): debootstrap fails for <=lenny chroots on >=jessie host kernel (uname) (:debbug:`642031`) * `python/mini_buildd.models `_: **Daemon**: Instance does not touch the GPG setup once it's created -- *unless you do an explicit remove* on the instance. * `python/mini_buildd.models `_: **Uploader**: Don't add or delete instances manually! * `python/mini_buildd.reprepro `_: **reprepro**: Multiple versions of packages in one distribution * `python/mini_buildd.sbuild `_: This will iterate all lines of the build log, * `python/mini_buildd.schroot `_: **schroot**: Verbosely logs commands ("Running command ...") explicitly via syslog (journalctl) .. tip:: **(FAQ) Free tip** * `abstract `_: Some links do not work in this manual? * `administrator `_: Can I manually instantiate a build chroot to repeat/debug a failed build? * `administrator `_: How much disk space do I need to run mini-buildd? * `administrator `_: How to enable encrypted uploads (FTPS)? * `administrator `_: How to manually fix a failing check in a ``Source`` due to wrong/missing APT key(s)? * `administrator `_: How to run mini-buildd in a systemd container (nspawn)? * `administrator `_: In the web configurator, you may use the ``PCA`` shortcut (``prepare``, ``check`` and ``activate``). * `administrator `_: My chroot creation fails due to missing arch in archive (partial mirror)? * `administrator `_: What's ``eatmydata`` and ``ccache``? * `administrator `_: sudo fails with "sudo: no tty present and no askpass program specified"? * `consumer `_: How can I upgrade after Debian main release version fix? * `consumer `_: How do I verify mini-buildd's APT key? * `consumer `_: How to save credentials when working from the shell? * `consumer `_: What's the ``hotfix`` suite good for? * `consumer `_: ``firefox``: How can I reset (table) searches (like in webkit browsers)? * `developer `_: Can I access built packages that have not been installed into the repository? * `developer `_: Do mini-buildd commands support bash autocompletion? * `developer `_: Is package building parallel? (a.k.a. Where is the 'sbuild_jobs' settings?) * `developer `_: Is there support for ``emacs``? * `python/mini_buildd.dist `_: What does ``LTS`` (mini-buildd speak) include for Debian? * `python/mini_buildd.dist `_: What does ``LTS`` (mini-buildd speak) include for Ubuntu? * `python/mini_buildd.models `_: **Chroot**: Install :debpkg:`qemu-user-static` for seamless access to foreign archs (albeit with a speed penalty) * `roadmap `_: Can I skip migrating from 0.8.x?