[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Please help fix these build errors



Hi, 

I get some strange build error 

- dpkg-source: error: cannot write /tmp/temp-lintian-lab-...
- unknown substitution variable ${shlibs:Depends}

Here are the details:

$ debuild -us -uc   
 [ . . . ]
/usr/bin/install -c -m 644 file/dbab.list- /export/build/dbab/git/
dbab-1.0.1/debian/dbab/etc
make[1]: Leaving directory `/export/build/dbab/git/dbab-1.0.1'
   dh_installdocs
   dh_installchangelogs
   dh_installman
   dh_perl
   dh_link
   dh_compress
   dh_fixperms
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   dh_gencontrol
dpkg-gencontrol: warning: Depends field of package dbab: unknown 
substitution variable ${shlibs:Depends}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dpkg-gencontrol: warning: package dbab: unused substitution variable 
${perl:Depends}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   dh_md5sums
   dh_builddeb
dpkg-deb: building package `dbab' in `../dbab_1.0.1_amd64.deb'.
 dpkg-genchanges  >../dbab_1.0.1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build dbab-1.0.1
dpkg-buildpackage: full upload; Debian-native package (full source is 
included)
Now running lintian...
warning: the authors of lintian do not recommend running it with root 
privileges!
dpkg-source: error: cannot write /tmp/temp-lintian-lab-DEo3bzMAvt/pool/d/
dbab/dbab_1.0.1_source/unpacked/debian/source/format: No such file or 
directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
internal error: dpkg-source -x failed with status  2 at /usr/share/
lintian/collection/unpacked line 62
warning: collect info unpacked about package dbab failed
warning: skipping check of source package dbab
W: dbab: binary-without-manpage usr/sbin/dbab-add-list
W: dbab: binary-without-manpage usr/sbin/dbab-chk-list
W: dbab: binary-without-manpage usr/sbin/dbab-get-list
Finished running lintian.

$ rm ../dbab_* -f

$ debuild -us -uc -S
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build dbab-1.0.1
dpkg-buildpackage: source only upload: Debian-native package
Now running lintian...
warning: the authors of lintian do not recommend running it with root 
privileges!
dpkg-source: error: cannot write /tmp/temp-lintian-lab-uApusHBMq2/pool/d/
dbab/dbab_1.0.1_source/unpacked/debian/source/format: No such file or 
directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
internal error: dpkg-source -x failed with status  2 at /usr/share/
lintian/collection/unpacked line 62
warning: collect info unpacked about package dbab failed
warning: skipping check of source package dbab
Finished running lintian.

$ lintian ../*.dsc
warning: the authors of lintian do not recommend running it with root 
privileges!
dpkg-source: error: cannot write /tmp/temp-lintian-lab-tU3BBC9fPj/pool/d/
dbab/dbab_1.0.1_source/unpacked/debian/source/format: No such file or 
directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
internal error: dpkg-source -x failed with status  2 at /usr/share/
lintian/collection/unpacked line 62
warning: collect info unpacked about package dbab failed

and, why lintian fails on the source build while it looks OK on the 
binary build. 

Thanks


Reply to: