dpkg-buildpackage -b gives error












1















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









share|improve this question





























    1















    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









    share|improve this question



























      1












      1








      1








      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









      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      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






















          1 Answer
          1






          active

          oldest

          votes


















          0














          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:




          1. Enable source code repositories from Software & Updates (software-properties-gtk) and then reload repository information.


          2. 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



          3. Install Debian package development tools and git with



            sudo apt-get install dpkg-dev git



          4. Get package with source code from official repository



            git clone https://git.launchpad.net/ubuntu/+source/brotli



          5. Change directory to the downloaded source code and checkout 16.04 LTS version



            cd brotli
            git checkout ubuntu/xenial-updates



          6. Build binary package



            dpkg-buildpackage -b -uc -us


            skipping signing the package (see man dpkg-buildpackage):




            -us Do not sign the source package.
            -uc Do not sign the .changes file.





          7. Finally install created deb-packages with



            sudo dpkg -i ../*brotli*.deb
            sudo apt-get install -f # to make sure that all dependencies satisfied



          8. 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.






          share|improve this answer


























          • 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











          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
          });


          }
          });














          draft saved

          draft discarded


















          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









          0














          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:




          1. Enable source code repositories from Software & Updates (software-properties-gtk) and then reload repository information.


          2. 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



          3. Install Debian package development tools and git with



            sudo apt-get install dpkg-dev git



          4. Get package with source code from official repository



            git clone https://git.launchpad.net/ubuntu/+source/brotli



          5. Change directory to the downloaded source code and checkout 16.04 LTS version



            cd brotli
            git checkout ubuntu/xenial-updates



          6. Build binary package



            dpkg-buildpackage -b -uc -us


            skipping signing the package (see man dpkg-buildpackage):




            -us Do not sign the source package.
            -uc Do not sign the .changes file.





          7. Finally install created deb-packages with



            sudo dpkg -i ../*brotli*.deb
            sudo apt-get install -f # to make sure that all dependencies satisfied



          8. 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.






          share|improve this answer


























          • 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
















          0














          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:




          1. Enable source code repositories from Software & Updates (software-properties-gtk) and then reload repository information.


          2. 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



          3. Install Debian package development tools and git with



            sudo apt-get install dpkg-dev git



          4. Get package with source code from official repository



            git clone https://git.launchpad.net/ubuntu/+source/brotli



          5. Change directory to the downloaded source code and checkout 16.04 LTS version



            cd brotli
            git checkout ubuntu/xenial-updates



          6. Build binary package



            dpkg-buildpackage -b -uc -us


            skipping signing the package (see man dpkg-buildpackage):




            -us Do not sign the source package.
            -uc Do not sign the .changes file.





          7. Finally install created deb-packages with



            sudo dpkg -i ../*brotli*.deb
            sudo apt-get install -f # to make sure that all dependencies satisfied



          8. 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.






          share|improve this answer


























          • 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














          0












          0








          0







          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:




          1. Enable source code repositories from Software & Updates (software-properties-gtk) and then reload repository information.


          2. 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



          3. Install Debian package development tools and git with



            sudo apt-get install dpkg-dev git



          4. Get package with source code from official repository



            git clone https://git.launchpad.net/ubuntu/+source/brotli



          5. Change directory to the downloaded source code and checkout 16.04 LTS version



            cd brotli
            git checkout ubuntu/xenial-updates



          6. Build binary package



            dpkg-buildpackage -b -uc -us


            skipping signing the package (see man dpkg-buildpackage):




            -us Do not sign the source package.
            -uc Do not sign the .changes file.





          7. Finally install created deb-packages with



            sudo dpkg -i ../*brotli*.deb
            sudo apt-get install -f # to make sure that all dependencies satisfied



          8. 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.






          share|improve this answer















          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:




          1. Enable source code repositories from Software & Updates (software-properties-gtk) and then reload repository information.


          2. 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



          3. Install Debian package development tools and git with



            sudo apt-get install dpkg-dev git



          4. Get package with source code from official repository



            git clone https://git.launchpad.net/ubuntu/+source/brotli



          5. Change directory to the downloaded source code and checkout 16.04 LTS version



            cd brotli
            git checkout ubuntu/xenial-updates



          6. Build binary package



            dpkg-buildpackage -b -uc -us


            skipping signing the package (see man dpkg-buildpackage):




            -us Do not sign the source package.
            -uc Do not sign the .changes file.





          7. Finally install created deb-packages with



            sudo dpkg -i ../*brotli*.deb
            sudo apt-get install -f # to make sure that all dependencies satisfied



          8. 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.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          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



















          • 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


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          How to send String Array data to Server using php in android

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Is anime1.com a legal site for watching anime?