DEBREBUILD(1) User Commands DEBREBUILD(1) NAME debrebuild - use a buildinfo file and snapshot.d.o to recreate binary packages SYNOPSIS debrebuild [options] <buildinfo> DESCRIPTION debrebuild <--help|-h> Given a buildinfo file from a Debian package, generate instructions for attempting to re- produce the binary packages built from the associated source and build information. OPTIONS --help, -h Show this help and exit --[no-]use-tor-proxy Whether to fetch resources via tor (socks://127.0.0.1:9050) Assumes "apt-trans- port-tor" is installed both in host + chroot --[no-]respect-build-path Whether to setup the build to use the Build-Path from the provided .buildinfo file. --buildresults Directory for the build artifacts (default: ./) --builder=BUILDER Which building software should be used. Possible values are none, sbuild, mmdeb- strap, dpkg and sbuild+unshare. The default is none. See section BUILDER for de- tails. Note: debrebuild can parse buildinfo files with and without a GPG signature. However, the signature (if present) is discarded as debrebuild does not support verifying it. If the authenticity or integrity of the buildinfo files are important to you, checking these need to be done before invoking debrebuild, for example by using dscverify. EXAMPLES $ debrebuild --buildresults=./artifacts --builder=mmdebstrap hello_2.10-2_amd64.buildinfo BUILDERS debrebuild can use different backends to perform the actual package rebuild. The desired backend is chosen using the --builder option. The default is "none". none Dry-run mode. No build is performed. sbuild Use sbuild to build the package. This requires sbuild to be setup with schroot ch- roots of Debian stable distributions. mmdebstrap Use mmdebstrap to build the package. This requires no setup and no superuser privi- leges. dpkg Directly run apt-get and dpkg-buildpackage on the current system without chroot. This requires root privileges. sbuild+unshare Use sbuild with the unshare backend. This will create the chroot and perform the build without superuser privileges and without any setup. UNSHARE Before kernel 5.10.1 or before Debian 11 (Bullseye), unprivileged user namespaces were disabled in Debian for security reasons. Refer to Debian bug #898446 for details. To en- able user namespaces, run: $ sudo sysctl -w kernel.unprivileged_userns_clone=1 The sbuild+unshare builder requires and the mmdebstrap builder benefits from having un- privileged user namespaces activated. On Ubuntu they are enabled by default. LIMITATIONS Currently, the code assumes that all packages were at some point part of Debian unstable main. This fails for packages from Debian ports, packages from experimental as well as for locally built packages or packages from third party repositories. Enabling support for De- bian ports and experimental is conceptually possible and only needs somebody implementing it. debrebuild 2.22.1ubuntu1 January 2022 DEBREBUILD(1)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-12-05 19:56 @18.97.14.87 CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)