Questions tagged [debuild]
The debuild tag has no usage guidance.
44
questions
1
vote
1
answer
216
views
systemctl not available while building packages in 22.04?
My build server works great, but for items that try to use certain commands in their postinst script, it fails.
The current one I have an issue with is systemctl.
I have a project named iplock which ...
0
votes
0
answers
84
views
How do I "Add the installation prefix of "Tolua++" to CMAKE_PREFIX_PATH"?
I'm trying to create a .deb for a game from its tarball.
(https://github.com/Wargus/stratagus)
I believe I've installed its dependencies, but one I'm suspicious of is tolua++, which is a sort of an ...
0
votes
1
answer
2k
views
How can I fix undefined symbol error?
I ran do-release-upgrade from 20 LTS to 22 LTS.
Some apps now execute with issue
symbol lookup error: /lib/x86_64-linux-gnu/libopenmpt.so.0: undefined symbol: mpg123_param2
How I tried to fix it
$>...
1
vote
2
answers
396
views
How can I make debhelper honor parallel=n?
I'm trying to make a Debian package for a cmake project that, in single-threaded mode, takes 3 hours to compile. I'm trying to get a parallel build, but failing.
I've tried setting parallel=4 in my ...
0
votes
0
answers
210
views
Building linux-tools deb produces empty binary packages
I'm trying to build the linux-tools-generic package on Ubuntu Impish (i.e. 21.10).
I am trying to follow the guides I can find (e.g. this one), so the workflow looks something like this:
Set up by ...
2
votes
1
answer
246
views
Uploaded package not showing in my Launchpad PPA
I created a package for Launchpad PPA and want to upload it to Launchpad. I've used dput command and this is what I get:
tomica@home:~/Desktop$ dput ppa:{MY_LAUNCHPAD}/ppa packagename_0.0.1_source....
2
votes
0
answers
514
views
Cannot build packages from source using "apt source" and "debuild"
I have a strange problem. I want to build x264 and gpac from source on Ubuntu 18.04 using the official command "apt source", followed by "sudo apt get build-dep" then "debuild&...
5
votes
1
answer
188
views
How to build Deja Dup for Ubuntu
This is both my first question here and my first try to build a custom app for Ubuntu, so I hope I'm not messing it up :)
I want to modify Deja Dup app to make AWS S3 work with IBM COS S3. It should ...
0
votes
0
answers
786
views
Failed to install ubuntu kernel package
I have built Linux images, headers and tools using the steps mentioned in Ubuntu build pages. Following are the deb packages I got;
linux-headers-4.15.0-51-generic_4.15.0-51.55_amd64.deb,
linux-...
1
vote
1
answer
89
views
Building a package that runs tests needing X server (debuild)
I'm trying to make a package for srsGUI a package for drawing plots. Its tests require X server to run. Everything seems to build fine, then it gets to the tests and spits out:
$ debuild -us -uc
...
...
1
vote
1
answer
2k
views
debuild error “*** No rule to make target” where target is blank
We are trying to create a deb package, to install and auto-start a couple of monitoring scripts we have.
Here is the rules file:
#!/usr/bin/make -f
%:
dh $@ --with=systemd --with=python2
...
2
votes
1
answer
205
views
debian packaging: forward-port a package from xenial to bionic
I am running xenial on my dev machine, but would like to provide a version of a package I maintain in a PPA for newer releases such as bionic. When I try and just update the debian/changelog file to ...
2
votes
0
answers
831
views
debian/rules:161: recipe for target 'config.status' failed
I am trying to build a deb package for collect-pw. The upstream tar ball is:
http://perfwatcher.free.fr/download/collectd/collectd-5.4.0.20150311.tar.gz
For building this package, I pulled the ...
2
votes
1
answer
91
views
PPA efforts only create an empty build directory with pbuilder or ppa itself
I successfuly built a debian package with no errors. However pbuilder and my ppa upload does not copy files to /opt/ directory. I have the following tree:
├── opt
│ └── myDir
│ └── myfile
└──...
2
votes
0
answers
337
views
How to automate applying custom patches to ubuntu upstream packages?
I have a local customization to the xserver-xorg-core package. It is a patch I have created and is not useful to anyone else since it is an optimization very specific to my workflow.
So, whenever I ...
1
vote
1
answer
763
views
HTML app to deb package - for Raspberry, BeagleBone device
I have simple html,css,js file based application. I want to convert it into .deb package which should be compatible to install on Raspberry Pi Zero (Raspbian - 9.1 - stretch), Beagle Bone device (...
1
vote
1
answer
2k
views
Build deb package version with command line option
Newbie to build deb package. I've a build script to generate packages for Ubuntu. Version number is there in changelog. I'd like to automate the process of building deb packages without touching ...
0
votes
0
answers
295
views
how to quietly replace /root/.bashrc with custom package
I have build my own .deb package with custom /root/.bashrc file. When I try to install this package, I get the following message:
Configuration file '/root/.bashrc'
==> File on system created by you ...
2
votes
0
answers
377
views
Build only a single .deb from apt-get source (that generates multiple .deb files)?
Let's say I want to build a package like network-manager; I can do, say, on 14.04 trusty:
apt-get source network-manager
cd network-manager-0.9.8.8
debuild -us -uc
... this, however, gives me a ...
2
votes
0
answers
780
views
dpkg-genchanges: error: cannot read dsc
I want to bump the version of libqca-qt5-2 package to 2.2.0.
# get sources
git clone git://anongit.kde.org/qca.git
git archive HEAD --prefix=qca-qt5-2.2.0/ -o qca-qt5-2.2.0.tar.xz
mkdir ../deb-qca
...
4
votes
1
answer
3k
views
Need help building debhelper 10.2.2-bpo8 from source [closed]
I'm trying to build debhelper from the tar.xz file at https://packages.debian.org/source/stable-backports/debhelper. I've satisfied all its dependencies and ran the makefile in ./debhelper/lib ...
1
vote
1
answer
205
views
Building debian package with compiled source
Is there a way to just build the debian package with binary file already compiled?
I want just to put my application into a package because I don't want it to do a step I already done.
3
votes
1
answer
4k
views
badly formatted heading line in debian package changelog
By running debuild, I find the following warnings:
# debuild
debuild: warning: debian/changelog(l1): badly formatted heading line
LINE: my_package (0.3-1) unstable; urgency=low
Where is my ...
6
votes
2
answers
4k
views
debian/control doesn't list any binary package
I am running the debuild in order to generate the <source.changes> file to later upload my package using
dput ppa:myusername/mypackagename <source.changes>
as briefly mentioned here.
I ...
0
votes
1
answer
352
views
installing tor on ubuntu 14.04 using debuild
I'm trying to install tor on my system, I've followed the steps on the tor projects site entirely and I've ran into an issue on this step
$ mkdir ~/debian-packages; cd ~/debian-packages
$ apt-get ...
3
votes
0
answers
332
views
Building packages on Ubuntu 16.04 for Launchpad
I would like to build and upload to Launchpad a simple package for Ubuntu 16.04. It is just a colour theme; it basically requires the creation of a new folder under /usr/share/themes. The rulesfile ...
1
vote
1
answer
3k
views
Impossible to create archive for PPA in 16.04
I'm trying to update my PPA with my new 16.04 (Kubuntu x64) but I have a problem with the command I use since 13.10.
Here the terminal return:
$ debuild -MY_KEY -S -sa --lintian-opts -i
dpkg-...
6
votes
1
answer
5k
views
What's the meaning of `-uc -us` options in `debuild -uc -us`?
Everybody on the Internet tells to build packages with debuild -uc -us, this answer for example, but I totally can't find what do these options mean, even the built-in help (debuild --help) doesn't ...
9
votes
4
answers
7k
views
debuild - secret key not available (someone elses key)
I'm trying to build cairo with debuild.
I get to the end and this message:
gpg: skipped "Robert Ancell <[email protected]>": secret key not available
Since I'm not Robert Ancell, ...
1
vote
1
answer
655
views
Attempt to install libimobiledevice-1.2.0 throws error: "libimobiledevice4 missing files (usr/lib/*/*.so.4*), aborting"
I'm building and installing libimobiledevice 1.2.0 following the instructions at: libimobiledevice 1.2 (iOS 8 Support) for Ubuntu 14.04 Trusty but I keep getting the error:
libimobiledevice4 missing ...
4
votes
2
answers
4k
views
Not sure how to get around build error (libimobiledevice 1.2)
I'm running a VM of Ubuntu 14.04 32bit if this makes any difference...
I followed along with the answer from this question:
How to compile libimobiledevice 1.2 on Ubuntu 15.04?
But I run into an ...
0
votes
1
answer
256
views
Package Creation Error
I was experimenting with building packages, and I got into a bit of a trouble. After setting everything up, I ran
dch -i
And edited the changelog to look like this:
packagekit-qt (0.9.5-2ubuntu2) ...
3
votes
2
answers
512
views
What to use for building ubuntu/debian packages?
I've been inspecting different howto's and guides on how to build packages lately. And there seems to be a lot of ways one could go about it. So I'm a bit confused about what exactly to use. That is I'...
4
votes
2
answers
3k
views
Why did debuild fail with "configure: error: unrecognized option:"
I was trying to follow the instructions listed in this question/answer.
libimobiledevice 1.2 (iOS 8 Support) for Ubuntu 14.04 Trusty
The answer said : "Actually I cheated a bit. I couldn't satisfy ...
5
votes
1
answer
7k
views
How can I build i386 and amd64 packages on my amd64 laptop using debuild
I would like to be able to build multiple versions (i386 and amd64) of my package that has non trivial dependencies (gtk, etc).
My build script uses cmake.
At the moment, the command debuild -i -us -...
0
votes
1
answer
60
views
Launchpad: Build package on utopic, but release for older versions
Let's say I want to build an application, that has certain Build-Depends, that can only be satisfied on utopic. To be more specific: openjdk-8-jdk*.
The resulting binary will no longer have this ...
4
votes
2
answers
865
views
Building a .Deb package after locally modifying the files
I am new to Linux and I'm learning about packaging in Ubuntu.
I wish to run synapse with recoll plguin (lp:~pmarchwiak/synapse-project/recoll-plugin).
Now,
How can I build a package from the ...
2
votes
1
answer
2k
views
Building a package for another architecture
I'm trying to patch and rebuild a package (libvorbis, for what it's worth) on 64-bit Xubuntu 14.04. In the past, when I've wanted to do something like this, I've followed this formula:
sudo apt-get ...
0
votes
1
answer
206
views
Trying to build/install patched gtk3-engines-oxygen to test bugfix, get shared changelog.Debian.gz is different from other instances of package
I want to just quickly test the patch in this bug report to gtk3-engines-oxygen so it can go upstream. I could test it either temporarily or permanently; I would just like to do it. I currently have ...
7
votes
1
answer
7k
views
debuild: no upstream tarball found
What is the correct naming convention for a patched package?
I am trying to put together a version of exiv2 with patch to add an extra schema.
here is what I have done so far:
$ sudo apt-get build-...
10
votes
2
answers
19k
views
"dpkg-source: unrepresentable changes to source" when trying to debuild a modified package
I downloaded the source to a package using:
$ apt-get source gkrellweather
I also made sure I had the compile dependencies:
$ sudo apt-get build-dep gkrellweather
And I tested that it could build ...
3
votes
1
answer
7k
views
dpkg-source: error: can't build with source format '3.0 (native)': native package version may not have a revision
I'm encountering this strange issue when using this Launchpad recipe. The source package fails to build with this error message in the buildlog:
dpkg-source -i -I -b recipe-{debupstream}-0~{revno}
...
22
votes
4
answers
15k
views
How to run parallel make with debuild?
I am trying to make a package of a piece of software that I've (co-) written. I'm using
debuild -i -us -uc -b
And in principle that works fine. In order to shorten compilation time I'd like to ...
2
votes
1
answer
3k
views
Why debuild warns about "ignoring deletion of file"?
I want to build package for ppa. I use debuild -S -sa. But it ignore deletion of files from old source.Like:
dpkg-source: warning: ignoring deletion of file sonata/rhapsodycovers.py
All you can see ...