warning: patches have not been applied, applying them now (use --no-preparation to override)
Dear mentors,
I am preparing an update for the dcmtk package. for the update I
decided to switch to the 3.0 quilt package format, following steps at:
http://wiki.debian.org/Projects/DebSrc3.0
But now when I try to build the package after the switch it fails
with (*). Package can be found at:
http://mentors.debian.net/debian/pool/main/d/dcmtk/
then simply run:
mkdir debian/source ; echo '3.0 (quilt)' > debian/source/format ; dch
'Switch to dpkg-source 3.0 (quilt) format'
and try to rebuild.
Thanks for advice !
(*)
dh_clean
dpkg-source -b dcmtk-3.6.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: warning: patches have not been applied, applying them now
(use --no-preparation to override)
dpkg-source: info: applying 01_fix_perl_script_path.patch
dpkg-source: info: applying 02_dcmtk_3.5.4-3.patch
dpkg-source: info: applying 04_nostrip.patch
dpkg-source: info: applying 05_no_www_docs.patch
dpkg-source: info: applying 07_doxygen.patch
dpkg-source: info: applying png_tiff.patch
dpkg-source: info: applying prefs.patch
dpkg-source: info: applying debian-changes-3.6.0-1
dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E
-b -B .pc/debian-changes-3.6.0-1/ <
dcmtk-3.6.0/debian/patches/debian-changes-3.6.0-1 gave error exit
status 1
patching file config/config.guess
Reversed (or previously applied) patch detected! Skipping patch.
23 out of 23 hunks ignored -- saving rejects to file config/config.guess.rej
patching file config/config.sub
Reversed (or previously applied) patch detected! Skipping patch.
27 out of 27 hunks ignored -- saving rejects to file config/config.sub.rej
dpkg-buildpackage: error: dpkg-source -b dcmtk-3.6.0 gave error exit status 1
E: Failed autobuilding of package
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//5081 and its subdirectories
Command '/bin/sh -c pdebuild --buildresult
/home/mathieu/debian/debian-med/trunk/packages/dcmtk/trunk/../build-area
' failed in '/home/mathieu/debian/debian-med/trunk/packages/dcmtk/build-area/dcmtk-3.6.0',
how to continue now? [Qri?]:
Aborting.
--
Mathieu
Reply to: