dpkg-buildpackage -b gives error
Running the command dpkg-buildpackage -b on server while installing brotli gives the following error:
make: *** [config.status.core] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
software-installation
add a comment |
Running the command dpkg-buildpackage -b on server while installing brotli gives the following error:
make: *** [config.status.core] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
software-installation
add a comment |
Running the command dpkg-buildpackage -b on server while installing brotli gives the following error:
make: *** [config.status.core] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
software-installation
Running the command dpkg-buildpackage -b on server while installing brotli gives the following error:
make: *** [config.status.core] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
software-installation
software-installation
edited Dec 13 '18 at 12:00
Mr Shunz
2,31521922
2,31521922
asked Dec 13 '18 at 11:53
Vishal DeepVishal Deep
61
61
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
First of all - the brotli package is available in universe pocket of official repositories since Ubuntu 16.04 LTS.
But if you really need to build deb-package from sources on 14.04 LTS you should:
- Enable source code repositories from Software & Updates (
software-properties-gtk) and then reload repository information.
Get build dependencies for the package
sudo apt-get install autotools-dev build-essential cmake cmake-data debhelper
g++ gettext intltool-debian
libarchive-zip-perl libexpat1-dev
libpython-dev libpython2.7-dev libpython3-dev
libstdc++-4.8-dev libunistring0 po-debconf python-dev python-setuptools
python2.7-dev python3-dev python3-setuptools python3.5-dev
Install Debian package development tools and git with
sudo apt-get install dpkg-dev git
Get package with source code from official repository
git clone https://git.launchpad.net/ubuntu/+source/brotli
Change directory to the downloaded source code and checkout 16.04 LTS version
cd brotli
git checkout ubuntu/xenial-updates
Build binary package
dpkg-buildpackage -b -uc -us
skipping signing the package (see
man dpkg-buildpackage):
-usDo not sign the source package.-ucDo not sign the .changes file.
Finally install created deb-packages with
sudo dpkg -i ../*brotli*.deb
sudo apt-get install -f # to make sure that all dependencies satisfied
Enjoy
$ brotli --version
brotli 1.0.4
Note: the error may be caused by not enough free memory - it fails on VM with 1 Gb of RAN.
Thanks for answer but i am using ubuntu 14.04.5 LTS. Can i use the above steps for it ?
– Vishal Deep
Dec 14 '18 at 3:49
Updated and tested answer for 14.04 LTS. Check it and accept and/or vote for it :)
– N0rbert
Dec 14 '18 at 8:56
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1100603%2fdpkg-buildpackage-b-gives-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
First of all - the brotli package is available in universe pocket of official repositories since Ubuntu 16.04 LTS.
But if you really need to build deb-package from sources on 14.04 LTS you should:
- Enable source code repositories from Software & Updates (
software-properties-gtk) and then reload repository information.
Get build dependencies for the package
sudo apt-get install autotools-dev build-essential cmake cmake-data debhelper
g++ gettext intltool-debian
libarchive-zip-perl libexpat1-dev
libpython-dev libpython2.7-dev libpython3-dev
libstdc++-4.8-dev libunistring0 po-debconf python-dev python-setuptools
python2.7-dev python3-dev python3-setuptools python3.5-dev
Install Debian package development tools and git with
sudo apt-get install dpkg-dev git
Get package with source code from official repository
git clone https://git.launchpad.net/ubuntu/+source/brotli
Change directory to the downloaded source code and checkout 16.04 LTS version
cd brotli
git checkout ubuntu/xenial-updates
Build binary package
dpkg-buildpackage -b -uc -us
skipping signing the package (see
man dpkg-buildpackage):
-usDo not sign the source package.-ucDo not sign the .changes file.
Finally install created deb-packages with
sudo dpkg -i ../*brotli*.deb
sudo apt-get install -f # to make sure that all dependencies satisfied
Enjoy
$ brotli --version
brotli 1.0.4
Note: the error may be caused by not enough free memory - it fails on VM with 1 Gb of RAN.
Thanks for answer but i am using ubuntu 14.04.5 LTS. Can i use the above steps for it ?
– Vishal Deep
Dec 14 '18 at 3:49
Updated and tested answer for 14.04 LTS. Check it and accept and/or vote for it :)
– N0rbert
Dec 14 '18 at 8:56
add a comment |
First of all - the brotli package is available in universe pocket of official repositories since Ubuntu 16.04 LTS.
But if you really need to build deb-package from sources on 14.04 LTS you should:
- Enable source code repositories from Software & Updates (
software-properties-gtk) and then reload repository information.
Get build dependencies for the package
sudo apt-get install autotools-dev build-essential cmake cmake-data debhelper
g++ gettext intltool-debian
libarchive-zip-perl libexpat1-dev
libpython-dev libpython2.7-dev libpython3-dev
libstdc++-4.8-dev libunistring0 po-debconf python-dev python-setuptools
python2.7-dev python3-dev python3-setuptools python3.5-dev
Install Debian package development tools and git with
sudo apt-get install dpkg-dev git
Get package with source code from official repository
git clone https://git.launchpad.net/ubuntu/+source/brotli
Change directory to the downloaded source code and checkout 16.04 LTS version
cd brotli
git checkout ubuntu/xenial-updates
Build binary package
dpkg-buildpackage -b -uc -us
skipping signing the package (see
man dpkg-buildpackage):
-usDo not sign the source package.-ucDo not sign the .changes file.
Finally install created deb-packages with
sudo dpkg -i ../*brotli*.deb
sudo apt-get install -f # to make sure that all dependencies satisfied
Enjoy
$ brotli --version
brotli 1.0.4
Note: the error may be caused by not enough free memory - it fails on VM with 1 Gb of RAN.
Thanks for answer but i am using ubuntu 14.04.5 LTS. Can i use the above steps for it ?
– Vishal Deep
Dec 14 '18 at 3:49
Updated and tested answer for 14.04 LTS. Check it and accept and/or vote for it :)
– N0rbert
Dec 14 '18 at 8:56
add a comment |
First of all - the brotli package is available in universe pocket of official repositories since Ubuntu 16.04 LTS.
But if you really need to build deb-package from sources on 14.04 LTS you should:
- Enable source code repositories from Software & Updates (
software-properties-gtk) and then reload repository information.
Get build dependencies for the package
sudo apt-get install autotools-dev build-essential cmake cmake-data debhelper
g++ gettext intltool-debian
libarchive-zip-perl libexpat1-dev
libpython-dev libpython2.7-dev libpython3-dev
libstdc++-4.8-dev libunistring0 po-debconf python-dev python-setuptools
python2.7-dev python3-dev python3-setuptools python3.5-dev
Install Debian package development tools and git with
sudo apt-get install dpkg-dev git
Get package with source code from official repository
git clone https://git.launchpad.net/ubuntu/+source/brotli
Change directory to the downloaded source code and checkout 16.04 LTS version
cd brotli
git checkout ubuntu/xenial-updates
Build binary package
dpkg-buildpackage -b -uc -us
skipping signing the package (see
man dpkg-buildpackage):
-usDo not sign the source package.-ucDo not sign the .changes file.
Finally install created deb-packages with
sudo dpkg -i ../*brotli*.deb
sudo apt-get install -f # to make sure that all dependencies satisfied
Enjoy
$ brotli --version
brotli 1.0.4
Note: the error may be caused by not enough free memory - it fails on VM with 1 Gb of RAN.
First of all - the brotli package is available in universe pocket of official repositories since Ubuntu 16.04 LTS.
But if you really need to build deb-package from sources on 14.04 LTS you should:
- Enable source code repositories from Software & Updates (
software-properties-gtk) and then reload repository information.
Get build dependencies for the package
sudo apt-get install autotools-dev build-essential cmake cmake-data debhelper
g++ gettext intltool-debian
libarchive-zip-perl libexpat1-dev
libpython-dev libpython2.7-dev libpython3-dev
libstdc++-4.8-dev libunistring0 po-debconf python-dev python-setuptools
python2.7-dev python3-dev python3-setuptools python3.5-dev
Install Debian package development tools and git with
sudo apt-get install dpkg-dev git
Get package with source code from official repository
git clone https://git.launchpad.net/ubuntu/+source/brotli
Change directory to the downloaded source code and checkout 16.04 LTS version
cd brotli
git checkout ubuntu/xenial-updates
Build binary package
dpkg-buildpackage -b -uc -us
skipping signing the package (see
man dpkg-buildpackage):
-usDo not sign the source package.-ucDo not sign the .changes file.
Finally install created deb-packages with
sudo dpkg -i ../*brotli*.deb
sudo apt-get install -f # to make sure that all dependencies satisfied
Enjoy
$ brotli --version
brotli 1.0.4
Note: the error may be caused by not enough free memory - it fails on VM with 1 Gb of RAN.
edited Dec 14 '18 at 8:56
answered Dec 13 '18 at 20:19
N0rbertN0rbert
21.9k547102
21.9k547102
Thanks for answer but i am using ubuntu 14.04.5 LTS. Can i use the above steps for it ?
– Vishal Deep
Dec 14 '18 at 3:49
Updated and tested answer for 14.04 LTS. Check it and accept and/or vote for it :)
– N0rbert
Dec 14 '18 at 8:56
add a comment |
Thanks for answer but i am using ubuntu 14.04.5 LTS. Can i use the above steps for it ?
– Vishal Deep
Dec 14 '18 at 3:49
Updated and tested answer for 14.04 LTS. Check it and accept and/or vote for it :)
– N0rbert
Dec 14 '18 at 8:56
Thanks for answer but i am using ubuntu 14.04.5 LTS. Can i use the above steps for it ?
– Vishal Deep
Dec 14 '18 at 3:49
Thanks for answer but i am using ubuntu 14.04.5 LTS. Can i use the above steps for it ?
– Vishal Deep
Dec 14 '18 at 3:49
Updated and tested answer for 14.04 LTS. Check it and accept and/or vote for it :)
– N0rbert
Dec 14 '18 at 8:56
Updated and tested answer for 14.04 LTS. Check it and accept and/or vote for it :)
– N0rbert
Dec 14 '18 at 8:56
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1100603%2fdpkg-buildpackage-b-gives-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown