I tried to follow this tutorial given by Head_on_a_Stick on this forum.
http://forums.debian.net/viewtopic.php?f=16&t=38976
http://forums.debian.net/viewtopic.php?f=16&t=130057
On debian stable, I tried to build from source the package ruby from debian unstable.
The command devchange that is contained in the package devscripts is not installed. There is a debian stable backport for it.
When just running the basic commands, it will miss a dependency.
Code: Select all
> apt-get source ruby -t unstable
etc
> dpkg-buildpackage -rfakeroot -us -uc
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 9)
I tried to use build-dep, but it did not work.
> sudo apt-get build-dep debhelper
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
builddeps:debhelper : Depends: po4a but it is not installable
E: Unable to correct problems, you have held broken packages.
> sudo apt-get build-dep debhelper po4a
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
builddeps:debhelper : Depends: po4a but it is not installable
builddeps:po4a : Depends: debhelper (>= 11) but it is not installable
Depends: docbook but it is not installable
Depends: docbook-xsl but it is not installable
Depends: gettext
Depends: libmodule-build-perl but it is not installable
Depends: libsgmls-perl but it is not installable
Depends: libterm-readkey-perl but it is not installable
Depends: libunicode-linebreak-perl but it is not installable
Depends: libyaml-tiny-perl but it is not installable
Depends: opensp but it is not installable
Depends: texlive-binaries
Depends: texlive-latex-base but it is not installable
Depends: xsltproc
E: Unable to correct problems, you have held broken packages.
--> Should I make a long line with all packages on the command build-dep?
--> Does build-dep actually install on the system the pacakges required to build a source package? Or is it just in a buffer for helping building source packages?