Re: Newbie questions on packaging opencpn
On 18/09/18 08:09, Alec Leamas wrote:
> So I'll try to revert the repacking.
>
>
> Stay tuned,
As I feared, running into trouble. Have you any hint?
Logs below,
Cheers!
--alec
264 export QUILT_PATCHES=debian/patches
265 export QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
266 quilt pop -a
267 quilt push && quilt refresh
268 quilt push && quilt refresh
269 quilt push && quilt refresh
270 quilt push && quilt refresh
271 quilt pop -a
272 git status
273 rm -rf .pc
274 git add debian/patches/
275 git commit --amend
276 git status
277 gbp buildpackage
[no error messages up to now]
gbp:info: Performing the build
dpkg-buildpackage -rfakeroot -us -uc -ui -i -I
dpkg-buildpackage: info: source package unarr
dpkg-buildpackage: info: source version 0~20150801.d1be8c4-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Alec Leamas
<leamas.alec@gmail.com>
dpkg-source -i -I --before-build unarr
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: applying 0001-Build-Add-a-.gitignore.patch
dpkg-source: info: applying
0002-build-Add-Cmake-files-from-https-github.com-selmf-un.patch
dpkg-source: info: applying 0003-Build-fix-as-needed-madness.patch
dpkg-source: info: applying 0004-unarr.h-Mark-functions-as-visible.patch
fakeroot debian/rules clean
dh clean --buildsystem cmake --parallel
dh_auto_clean -O--buildsystem=cmake -O--parallel
dh_clean -O--buildsystem=cmake -O--parallel
dpkg-source -i -I -b unarr
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building unarr using existing
./unarr_0~20150801.d1be8c4.orig.tar.xz
patching file unarr.h
Hunk #1 FAILED at 4 (different line endings).
Hunk #2 FAILED at 30 (different line endings).
2 out of 2 hunks FAILED
dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
dpkg-source: info: if patch
'0004-unarr.h-Mark-functions-as-visible.patch' is correctly applied by
quilt, use 'quilt refresh' to update it
dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B
.pc/0004-unarr.h-Mark-functions-as-visible.patch/ --reject-file=- <
unarr.orig.Daw4uA/debian/patches/0004-unarr.h-Mark-functions-as-visible.patch
subprocess returned exit status 1
dpkg-buildpackage: error: dpkg-source -i -I -b unarr subprocess returned
exit status 2
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui -i -I failed
Reply to: