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

 Clash Royale CLAN TAG#URR8PPP
Clash 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:
- 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
- postinst: is a bash script that compiles Qt project in target- /opt/myDir
- I haven't touched rulesfile.
- copyrightis 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
add a comment |Â
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:
- 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
- postinst: is a bash script that compiles Qt project in target- /opt/myDir
- I haven't touched rulesfile.
- copyrightis 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
add a comment |Â
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:
- 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
- postinst: is a bash script that compiles Qt project in target- /opt/myDir
- I haven't touched rulesfile.
- copyrightis 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
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:
- 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
- postinst: is a bash script that compiles Qt project in target- /opt/myDir
- I haven't touched rulesfile.
- copyrightis 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
apt package-management dpkg ppa debuild
edited Feb 17 at 9:39
asked Feb 17 at 8:52


mozcelikors
1064
1064
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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