On Fri, 19 Jul 2013 08:38:49 +0200, Paul Gevers wrote: > On 19-07-13 05:13, T o n g wrote: >> As said in OP, > > Which I don't have anymore, so indeed please repeat it if you want my > help.
It was still included in the message that I previously replied. >> - I unpack the upstream tarball and build the binary debian package >> with 'debuild -us -uc'. the build is good. > > Why do this debuild -us -uc first if you proceed with the next? To prove that the upstream can build into binary package just fine. >> - I then build the upstream into *source package* with 'debuild -S >> -sa', >> and then build the binary debian package *from this source package*. >> The binary package built this way is however empty. > > So how do you do the last step? And why is building from your source > package any different than your first step with -us -uc? What do you do > EXACTLY when you "build from the source package", i.e. please provide > all the copy and build commands. It is NOT empty if I try it The last steps are just as normal. I'll get back to you in specific details later, but again just as normal. Meanwhile, when I said that "the binary package is empty", as I explained in my OP, I meant that the built binary package will not contains the files that I want. I.e., it contains nothing except the copyright & changelog files. So hope it's clearer this time: upstream directly to binary package, OK. Files included. upstream => debian source then => debian binary package, Not OK. Files are missing. > . . . > and paul@wollumbin $ ls -l > /var/cache/pbuilder/wheezy-amd64/result/pam-ssh-agent-auth_0.9.5* > -rw-r--r-- 1 paul paul 1324 jul 19 08:19 > /var/cache/pbuilder/wheezy-amd64/result/pam-ssh-agent- auth_0.9.5-1_amd64.changes > -rw-r--r-- 1 paul paul 41696 jul 19 08:19 > /var/cache/pbuilder/wheezy-amd64/result/pam-ssh-agent- auth_0.9.5-1_amd64.deb > -rw-r--r-- 1 paul paul 652 jul 19 08:18 > /var/cache/pbuilder/wheezy-amd64/result/pam-ssh-agent-auth_0.9.5-1.dsc > -rw-r--r-- 1 paul paul 280317 jul 19 08:18 > /var/cache/pbuilder/wheezy-amd64/result/pam-ssh-agent- auth_0.9.5-1.tar.gz Did you try to build debian binary package from there? As a reference, you can also build from my source package (which has fixed all the problems you told me to fix): http://mentors.debian.net/debian/pool/main/libp/libpam-ssh-agent-auth/ libpam-ssh-agent-auth_0.9.5-2.dsc And see if you can get anything other than the copyright & changelog files into the binary package. PS. I saw the the following being "installed" during my binary package building (from my source), but the installed files didn't show up in my binary package: /usr/bin/install-c -m 644 pam_ssh_agent_auth.8 /systems/b/libpam-ssh- agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp/usr//share/ man/man8/pam_ssh_agent_auth.8 /usr/bin/install-c -m 755 pam_ssh_agent_auth.so /systems/b/libpam-ssh- agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp/lib/security/ pam_ssh_agent_auth.so Thanks -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ksbe2t$9jn$1...@ger.gmane.org