Hi, 

I'm wondering why the binary package built from my source package is empty. 

Here is what I've discovered so far:

- If I unpack the upstream tarball and build the binary debian package with 
'debuild -us -uc', then the built binary package contains the files I want
- If I build the upstream into source debian package with 'debuild -S -sa', and 
then build the binary debian package from this source package, then the built 
binary package will be empty. 

Why would that be? 

Further details. Here (ref#1) are the log how the binary package is built from 
the source package, from which we can see that 
"/usr//share/man/man8/pam_ssh_agent_auth.8" and 
"/lib/security/pam_ssh_agent_auth.so" are being built and installed fine, but 
they did not show up in the built binary package. 

Would this be detailed enough for you to figure out what's wrong? 

Thanks

ref#1:


# build the binary debian package
$ debuild -us -uc
[ . . . ]
gcc -shared -o pam_ssh_agent_auth.so xmalloc.o atomicio.o authfd.o bufaux.o 
bufbn.o buffer.o cleanup.o entropy.o fatal.o key.o log.o misc.o 
secure_filename.o ssh-dss.o ssh-rsa.o uuencode.o compat.o 
pam_user_key_allowed2.o iterate_ssh_agent_keys.o userauth_pubkey_from_id.o 
pam_user_authorized_keys.o -L. -Lopenbsd-compat/ -Wl,-z,defs 
-fstack-protector-all -lopenbsd-compat pam_ssh_agent_auth.o -lresolv -lcrypto  
-lutil -lpam -lcrypt -lpam
make[1]: Leaving directory 
`/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5'
touch build-stamp
fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_prep  
dh_installdirs
# Add here commands to install the package into debian/tmp
/usr/bin/make 
DESTDIR=/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp
 
prefix=/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp/usr
 install
make[1]: Entering directory 
`/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5'
(cd openbsd-compat && /usr/bin/make)
make[2]: Entering directory 
`/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/openbsd-compat'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/openbsd-compat'
./mkinstalldirs 
/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp/lib/security
mkdir 
/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp
mkdir 
/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp/lib
mkdir 
/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp/lib/security
./mkinstalldirs 
/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp/usr//share/man/man8
mkdir 
/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp/usr
mkdir 
/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp/usr/share
mkdir 
/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp/usr/share/man
mkdir 
/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5/debian/tmp/usr/share/man/man8
/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
make[1]: Leaving directory 
`/systems/b/libpam-ssh-agent-auth/test-mine/libpam-ssh-agent-auth-0.9.5'
dh_testdir
dh_testroot
dh_installchangelogs 
dh_installdocs
dh_installexamples
dh_install
dh_installman -A
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: warning: Depends field of package libpam-ssh-agent-auth: 
unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
not NFS-safe
dh_md5sums
dh_builddeb
dpkg-deb: building package `libpam-ssh-agent-auth' in 
`../libpam-ssh-agent-auth_0.9.5-2_i386.deb'.
dpkg-genchanges  >../libpam-ssh-agent-auth_0.9.5-2_i386.changes
dpkg-genchanges: not including original source code in upload
dpkg-source --after-build libpam-ssh-agent-auth-0.9.5
dpkg-buildpackage: binary and diff upload (original source NOT included)
Now running lintian...
W: libpam-ssh-agent-auth source: debian-rules-missing-recommended-target 
build-arch
W: libpam-ssh-agent-auth source: debian-rules-missing-recommended-target 
build-indep
W: libpam-ssh-agent-auth source: ancient-standards-version 3.8.0 (current is 
3.9.4)
W: libpam-ssh-agent-auth: copyright-refers-to-deprecated-bsd-license-file
Finished running lintian.

$ dpkg-deb -c ../libpam-ssh-agent-auth_0.9.5-2_i386.deb
drwxr-xr-x root/root         0 2013-07-16 16:01 ./
drwxr-xr-x root/root         0 2013-07-16 16:01 ./usr/
drwxr-xr-x root/root         0 2013-07-16 16:01 ./usr/share/
drwxr-xr-x root/root         0 2013-07-16 16:01 ./usr/share/doc/
drwxr-xr-x root/root         0 2013-07-16 16:01 
./usr/share/doc/libpam-ssh-agent-auth/
-rw-r--r-- root/root      3016 2013-07-15 14:23 
./usr/share/doc/libpam-ssh-agent-auth/README.Debian.gz
-rw-r--r-- root/root       572 2013-07-15 14:23 
./usr/share/doc/libpam-ssh-agent-auth/changelog.Debian.gz
-rw-r--r-- root/root      1407 2010-01-12 21:17 
./usr/share/doc/libpam-ssh-agent-auth/copyright
drwxr-xr-x root/root         0 2013-07-16 16:01 ./lib/
drwxr-xr-x root/root         0 2013-07-16 16:01 ./lib/security/ 

Reply via email to