PPA efforts only create an empty build directory with pbuilder or ppa itself

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












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
└── DEBIAN
├── control
├── postinst
└── preinst and many more ....


I have created the template using dh_make and edited postinst, copyright, control etc.



I thought /opt will be automatically cloned to my /opt upon installation. This is the case when I build my package using debuild -us -uc and install that package using dpkg -i, but unfortunately does not happen when I check the output of pbuilder or my ppa. Only an empty build directory in /opt/myDir is created. I am willing to give any more information in case needed. Any guidance is appreciated.



Some information are as follows:




  1. debian/control file



    Source: myproj
    Section: utils
    Priority: optional
    Maintainer: My Name <myname...>
    Build-Depends: debhelper (>=9), sudo, qtbase5-dev, qtchooser, qt5-qmake, qtbase5-dev-tools, gksu, nmap, xterm, fontconfig
    Standards-Version: 3.9.6
    Homepage: <mygit..>
    #Vcs-Git: git://anonscm.debian.org/collab-maint/myproject.git
    #Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/myproject.git

    Package: mypackage
    Architecture: any
    Depends: $shlibs:Depends, $misc:Depends
    Description: descriptions


  2. postinst: is a bash script that compiles Qt project in target /opt/myDir


  3. I haven't touched rules file.


  4. copyright is well established.

debuild gives some warnings but no errors. Please help me solve the original problem of /opt not being cloned to the target filesystem. Thank you.










share|improve this question



























    up vote
    1
    down vote

    favorite












    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
    └── DEBIAN
    ├── control
    ├── postinst
    └── preinst and many more ....


    I have created the template using dh_make and edited postinst, copyright, control etc.



    I thought /opt will be automatically cloned to my /opt upon installation. This is the case when I build my package using debuild -us -uc and install that package using dpkg -i, but unfortunately does not happen when I check the output of pbuilder or my ppa. Only an empty build directory in /opt/myDir is created. I am willing to give any more information in case needed. Any guidance is appreciated.



    Some information are as follows:




    1. debian/control file



      Source: myproj
      Section: utils
      Priority: optional
      Maintainer: My Name <myname...>
      Build-Depends: debhelper (>=9), sudo, qtbase5-dev, qtchooser, qt5-qmake, qtbase5-dev-tools, gksu, nmap, xterm, fontconfig
      Standards-Version: 3.9.6
      Homepage: <mygit..>
      #Vcs-Git: git://anonscm.debian.org/collab-maint/myproject.git
      #Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/myproject.git

      Package: mypackage
      Architecture: any
      Depends: $shlibs:Depends, $misc:Depends
      Description: descriptions


    2. postinst: is a bash script that compiles Qt project in target /opt/myDir


    3. I haven't touched rules file.


    4. copyright is well established.

    debuild gives some warnings but no errors. Please help me solve the original problem of /opt not being cloned to the target filesystem. Thank you.










    share|improve this question

























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      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
      └── DEBIAN
      ├── control
      ├── postinst
      └── preinst and many more ....


      I have created the template using dh_make and edited postinst, copyright, control etc.



      I thought /opt will be automatically cloned to my /opt upon installation. This is the case when I build my package using debuild -us -uc and install that package using dpkg -i, but unfortunately does not happen when I check the output of pbuilder or my ppa. Only an empty build directory in /opt/myDir is created. I am willing to give any more information in case needed. Any guidance is appreciated.



      Some information are as follows:




      1. debian/control file



        Source: myproj
        Section: utils
        Priority: optional
        Maintainer: My Name <myname...>
        Build-Depends: debhelper (>=9), sudo, qtbase5-dev, qtchooser, qt5-qmake, qtbase5-dev-tools, gksu, nmap, xterm, fontconfig
        Standards-Version: 3.9.6
        Homepage: <mygit..>
        #Vcs-Git: git://anonscm.debian.org/collab-maint/myproject.git
        #Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/myproject.git

        Package: mypackage
        Architecture: any
        Depends: $shlibs:Depends, $misc:Depends
        Description: descriptions


      2. postinst: is a bash script that compiles Qt project in target /opt/myDir


      3. I haven't touched rules file.


      4. copyright is well established.

      debuild gives some warnings but no errors. Please help me solve the original problem of /opt not being cloned to the target filesystem. Thank you.










      share|improve this question















      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
      └── DEBIAN
      ├── control
      ├── postinst
      └── preinst and many more ....


      I have created the template using dh_make and edited postinst, copyright, control etc.



      I thought /opt will be automatically cloned to my /opt upon installation. This is the case when I build my package using debuild -us -uc and install that package using dpkg -i, but unfortunately does not happen when I check the output of pbuilder or my ppa. Only an empty build directory in /opt/myDir is created. I am willing to give any more information in case needed. Any guidance is appreciated.



      Some information are as follows:




      1. debian/control file



        Source: myproj
        Section: utils
        Priority: optional
        Maintainer: My Name <myname...>
        Build-Depends: debhelper (>=9), sudo, qtbase5-dev, qtchooser, qt5-qmake, qtbase5-dev-tools, gksu, nmap, xterm, fontconfig
        Standards-Version: 3.9.6
        Homepage: <mygit..>
        #Vcs-Git: git://anonscm.debian.org/collab-maint/myproject.git
        #Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/myproject.git

        Package: mypackage
        Architecture: any
        Depends: $shlibs:Depends, $misc:Depends
        Description: descriptions


      2. postinst: is a bash script that compiles Qt project in target /opt/myDir


      3. I haven't touched rules file.


      4. copyright is well established.

      debuild gives some warnings but no errors. Please help me solve the original problem of /opt not being cloned to the target filesystem. Thank you.







      apt package-management dpkg ppa debuild






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 17 at 9:39

























      asked Feb 17 at 8:52









      mozcelikors

      1064




      1064

























          active

          oldest

          votes











          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f1007007%2fppa-efforts-only-create-an-empty-build-directory-with-pbuilder-or-ppa-itself%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1007007%2fppa-efforts-only-create-an-empty-build-directory-with-pbuilder-or-ppa-itself%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error