openpreserve / scape-toolwrapper

SCAPE project for creating debian packages from command line tools.
http://openplanets.github.io/scape-toolwrapper
Apache License 2.0
5 stars 1 forks source link

Error generating Debian package #5

Closed shsdev closed 10 years ago

shsdev commented 10 years ago

On new VM installation installation (Ubuntu 12.04.4 LTS, Linux 3.11.0-15-generic #25~precise1-Ubuntu x86_64) requirements are fulfilled according to readme file, but errors related to debian package creation occur, for example:

Error generating Debian package for operation "digital-preservation-characterisation-video-ffprobe-video2xml_stdout"

Full stdout:

user@vmtoolwrapper:~$ ./scape-toolwrapper/bin/generateDebianPackages4AllToolspecsWithComponents.sh /home/shs/scape-toolwrapper/developmentExamples/ /home/shs/scape-toolwrapper/ /home/shs/output/ my@email
[WARN] This script only aplies to toolspecs with 1 operation (as the others need extra parameters for Debian package generation.
Do you want to procede? [yN]
y
Ouputs for operation "digital-preservation-characterisation-video-ffprobe-video2xml_stdout" generated with success!
File "/home/shs/scape-toolwrapper/developmentExamples/digital-preservation-characterisation-video-ffprobe-video2xml_stdout.changelog" does not exists...
Error generating Debian package for operation "digital-preservation-characterisation-video-ffprobe-video2xml_stdout"
Ouputs for operation "digital-preservation-characterisation-video-ffprobe-video2xml" generated with success!
generatePackage starting now...
 dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package digital-preservation-characterisation-video-ffprobe-video2xml
dpkg-buildpackage: source version 1.0.0
dpkg-buildpackage: source changed by SCAPE project <hsilva@keep.pt>
 dpkg-source --before-build digital-preservation-characterisation-video-ffprobe-video2xml
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean 
   dh_testdir
   dh_auto_clean
   debian/rules override_dh_clean
make[1]: Entering directory `/tmp/digital-preservation-characterisation-video-ffprobe-video2xml8542352961444372235/digital-preservation-characterisation-video-ffprobe-video2xml'
dh_clean
rm -f debian/digital-preservation-characterisation-video-ffprobe-video2xml.1
make[1]: Leaving directory `/tmp/digital-preservation-characterisation-video-ffprobe-video2xml8542352961444372235/digital-preservation-characterisation-video-ffprobe-video2xml'
 debian/rules build
dh build 
   dh_testdir
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory `/tmp/digital-preservation-characterisation-video-ffprobe-video2xml8542352961444372235/digital-preservation-characterisation-video-ffprobe-video2xml'
dh_auto_build
pod2man --section=1 --release= --center "" debian/digital-preservation-characterisation-video-ffprobe-video2xml.pod > debian/digital-preservation-characterisation-video-ffprobe-video2xml.1
make[1]: Leaving directory `/tmp/digital-preservation-characterisation-video-ffprobe-video2xml8542352961444372235/digital-preservation-characterisation-video-ffprobe-video2xml'
   dh_auto_test
 fakeroot debian/rules binary
dh binary 
   dh_testroot
   dh_prep
   dh_installdirs
   dh_auto_install
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_installexamples
   dh_installman
   dh_installcatalogs
   dh_installcron
   dh_installdebconf
   dh_installemacsen
   dh_installifupdown
   dh_installinfo
   dh_installinit
   dh_installmenu
   dh_installmime
   dh_installmodules
   dh_installlogcheck
   dh_installlogrotate
   dh_installpam
   dh_installppp
   dh_installudev
   dh_installwm
   dh_installxfonts
   dh_installgsettings
   dh_bugfiles
   dh_ucf
   dh_lintian
   dh_gconf
   dh_icons
   dh_perl
   dh_usrlocal
   dh_link
   dh_compress
   dh_fixperms
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package `digital-preservation-characterisation-video-ffprobe-video2xml' in `../digital-preservation-characterisation-video-ffprobe-video2xml_1.0.0_all.deb'.
 dpkg-genchanges -b >../digital-preservation-characterisation-video-ffprobe-video2xml_1.0.0_amd64.changes
dpkg-genchanges: binary-only upload - not including any source code
 dpkg-source --after-build digital-preservation-characterisation-video-ffprobe-video2xml
dpkg-buildpackage: binary only upload (no source included)
Now running lintian...
warning: the authors of lintian do not recommend running it with root privileges!
Finished running lintian.

WARNING generated by debuild:
Making debian/rules executable!

Ouputs for operation "digital-preservation-migration-image-imagemagick-image2tiff" generated with success!
generatePackage starting now...
 dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package digital-preservation-migration-image-imagemagick-image2tiff
dpkg-buildpackage: source version 1.0.0
dpkg-buildpackage: source changed by SCAPE project <hsilva@keep.pt>
 dpkg-source --before-build digital-preservation-migration-image-imagemagick-image2tiff
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean 
   dh_testdir
   dh_auto_clean
   debian/rules override_dh_clean
make[1]: Entering directory `/tmp/digital-preservation-migration-image-imagemagick-image2tiff1709653793532747462/digital-preservation-migration-image-imagemagick-image2tiff'
dh_clean
rm -f debian/digital-preservation-migration-image-imagemagick-image2tiff.1
make[1]: Leaving directory `/tmp/digital-preservation-migration-image-imagemagick-image2tiff1709653793532747462/digital-preservation-migration-image-imagemagick-image2tiff'
 debian/rules build
dh build 
   dh_testdir
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory `/tmp/digital-preservation-migration-image-imagemagick-image2tiff1709653793532747462/digital-preservation-migration-image-imagemagick-image2tiff'
dh_auto_build
pod2man --section=1 --release= --center "" debian/digital-preservation-migration-image-imagemagick-image2tiff.pod > debian/digital-preservation-migration-image-imagemagick-image2tiff.1
make[1]: Leaving directory `/tmp/digital-preservation-migration-image-imagemagick-image2tiff1709653793532747462/digital-preservation-migration-image-imagemagick-image2tiff'
   dh_auto_test
 fakeroot debian/rules binary
dh binary 
   dh_testroot
   dh_prep
   dh_installdirs
   dh_auto_install
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_installexamples
   dh_installman
   dh_installcatalogs
   dh_installcron
   dh_installdebconf
   dh_installemacsen
   dh_installifupdown
   dh_installinfo
   dh_installinit
   dh_installmenu
   dh_installmime
   dh_installmodules
   dh_installlogcheck
   dh_installlogrotate
   dh_installpam
   dh_installppp
   dh_installudev
   dh_installwm
   dh_installxfonts
   dh_installgsettings
   dh_bugfiles
   dh_ucf
   dh_lintian
   dh_gconf
   dh_icons
   dh_perl
   dh_usrlocal
   dh_link
   dh_compress
   dh_fixperms
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: building package `digital-preservation-migration-image-imagemagick-image2tiff' in `../digital-preservation-migration-image-imagemagick-image2tiff_1.0.0_all.deb'.
 dpkg-genchanges -b >../digital-preservation-migration-image-imagemagick-image2tiff_1.0.0_amd64.changes
dpkg-genchanges: binary-only upload - not including any source code
 dpkg-source --after-build digital-preservation-migration-image-imagemagick-image2tiff
dpkg-buildpackage: binary only upload (no source included)
Now running lintian...
warning: the authors of lintian do not recommend running it with root privileges!
Finished running lintian.

WARNING generated by debuild:
Making debian/rules executable!

Ouputs for operation "digital-preservation-qaobject-imagemagick-compare-with-mse" generated with success!
generatePackage starting now...
 dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package digital-preservation-characterisation-video-ffprobe-video2xml
dpkg-buildpackage: source version 1.0.0
dpkg-buildpackage: source changed by SCAPE project <hsilva@keep.pt>
 dpkg-source --before-build digital-preservation-qaobject-imagemagick-compare-with-mse
dpkg-buildpackage: host architecture amd64
dpkg-source: error: source package has two conflicting values - digital-preservation-qaobject-imagemagick-compare-with-mse and digital-preservation-characterisation-video-ffprobe-video2xml
dpkg-buildpackage: error: dpkg-source --before-build digital-preservation-qaobject-imagemagick-compare-with-mse gave error exit status 255
Error generating Debian package for operation "digital-preservation-qaobject-imagemagick-compare-with-mse"