Questions tagged [pbuilder]

Pbuilder is an automatic Debian Package Building system for personal development workstation environments.

Pbuilder is an automatic Debian Package Building system for personal development workstation environments.

23 questions
7
votes
2 answers

Using local dependencies in pbuilder

I'm trying to build a series of packages using pbuilder. These packages depend on each other, so to facilitate that, I have a local repository, which I manage using reprepro. This local repository contains al dependencies (from previous builds).…
Ondergetekende
  • 1,065
  • 9
  • 22
5
votes
0 answers

minimum caps to run pbuilder in docker >= 1.2.0

I did come up with: docker run -i -t --cap-add=SYS_ADMIN debian /bin/bash Is there another way to give less capabilities other then "SYS_ADMIN" which also adds a lot of other caps? for more info see http://linux.die.net/man/7/capabilities Linux…
okocian
  • 488
  • 4
  • 11
3
votes
3 answers

How to use cmake's 'make install' from a pbuilder env debian/rules script?

This is to compile and link a static library (so only a build time dependency) that the source is fetched from a repository (just like the source of the main program) on a ubuntu launchpad build bot. currently i am doing: #!/usr/bin/make -f …
i30817
  • 1,356
  • 2
  • 13
  • 26
2
votes
1 answer

Launchpad pbuilderrc settings

I have a custom package I want to publish via launchpad. In order to build it, I need the USENETWORK option to be enabled (this way build-tools have network access, which is required in my case). On my local machine, I can enable this by adding it…
Felix
  • 6,885
  • 1
  • 29
  • 54
2
votes
1 answer

Build failure with pbuilder-dist xenial build

Why doesn't it build? Part of the problem is output as follows. Making distclean in src make[2]: Entering directory '/build/opensh-0.1/src' cd .. && /bin/sh ./config.status src/Makefile depfiles config.status: creating…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
2
votes
1 answer

`git-buildpackage` doesn't call ./configure, why?

I'm trying to create my own .deb file, but git-buildpackage doesn't seem to call ./configure to build it (I left a dependency missing, on purpose, to see it fail, but it doesn't fail!). The way I call it: git-buildpackage…
knocte
  • 16,941
  • 11
  • 79
  • 125
2
votes
2 answers

Run Python integration tests inside pBuilder environment

I have build a Debian package out of a Python project which depends on a bunch of Debian packages to work. The Python project also contains unit and integration tests (using py.test). Since my project depends on some Debian packages, I need to have…
Wolkenarchitekt
  • 20,170
  • 29
  • 111
  • 174
1
vote
2 answers

Go importing vendor dependencies issue when building a Go 1.7 project using govendor, dh-make-golang

I've been looking into building a go project into a debian package. I've looked into dh-make-golang and I have a nice and shiny debian folder set up in my repository. When I try to use gbp buildpackage --git-pbuilder though it errors out due to all…
baisang
  • 414
  • 6
  • 13
1
vote
0 answers

Error building Doxygen package PBuilder Launchpad

I like to make things happen automatically. Currently I'm trying to get the latest version of Doxygen (1.8.11) working on Travis CI. At the moment I'm running version 1.7.6 on the Travis server because that's Ubuntu 12.04.5 LTS Precise standard…
1
vote
1 answer

Trying to create a package for debian with java

I'm trying to create a package which depends exactly on sun-java6-jre (other variants don't work in this case) and build-depends on sun-java6-jdk. Unfortunately pbuilder doesn't want to work this way: it installs openjdk-6-jre as a dependency it…
viraptor
  • 33,322
  • 10
  • 107
  • 191
1
vote
1 answer

During pbuilder build: run setup.py --install-layout=deb fails (no rights to write to /usr/lib/python2.7/dist-packages)

I am trying to create PPA for PJSIP and would like to include the python-bindings. I modified the Makefile, so that setup.py is called: install: cd somefolder && python setup.py install --install-layout=deb However, in the pbuilder environment…
Dennis Guse
  • 883
  • 10
  • 34
1
vote
2 answers

Clear an environment variable passed through pdebuild

I'm using pdebuild to test my package on older versions of Ubuntu. However an environment variable, GOROOT is leaking through to the build from my environment. debian/tmp/usr/lib/gocode/src/code.brandscreen.net/cortex/go/util/http.go:4:2: cannot…
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526
0
votes
1 answer

How do I specify the `nodoc` debian build profile (or any other build profile) to pbuilder-dist?

I am trying to create a new set of Qt packages for an older version of Ubuntu (Focal Fossa). I am using a newer release of Ubuntu than the one I am creating packages for, so I am using pbuilder-dist which automates the creation of a chroot for the…
Keithel
  • 253
  • 2
  • 12
0
votes
0 answers

Build gstreamer packages for Mendel Linux

I am working on a project with a Coral Dev Board Mini which runs "Mendel Linux". When trying to set up a pipeline including webrtc with gstreamer, I found out that some gstreamer plugins are missing in the distribution (nice, webrtc). So I…
androbi
  • 1
  • 3
0
votes
0 answers

makeinfo command not found in pbuilder-dist

I am trying following tutorial in Ubuntu 18.04.5 LTS (in docker in MacOS Catalina 10.15.4). https://packaging.ubuntu.com/html/packaging-new-software.html When I exec command below in step 4.4. Next Steps, I got error…
naru
  • 96
  • 7
1
2