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

Re: re-compiling package twice errors out



On Thu, Feb 16, 2023 at 10:05:54AM +0100, Andreas Leha wrote:
> Dear all,
> 
> I am re-compiling xscreensaver.
> 
> Re-compiling once works fine:
> 
>     apt-get source xscreensaver
>     cd xscreensaver-6.0.6+dfsg1
>     LANG=C debuild -us -uc
> 
> 
> Re-compiling a second time errors out, though:
> 
>     > LANG=C debuild -us -uc
>     .... (skipped lines)
>     dpkg-source: info: using source format '3.0 (quilt)'
>     dpkg-source: info: building xscreensaver using existing ./xscreensaver_6.06+dfsg1.orig.tar.xz
>     dpkg-source: info: using patch list from debian/patches/series
>     dpkg-source: error: cannot represent change to hacks/fonts/OCRAStd.otf: binary file contents changed
>     dpkg-source: error: add hacks/fonts/OCRAStd.otf in debian/source/include-binaries if you want to store the modified binary in the debian
>      tarball
>     dpkg-source: warning: newly created empty file 'po/.intltool-merge-cache.lock' will not be represented in diff
>     dpkg-source: error: unrepresentable changes to source
>     dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
>     debuild: fatal error at line 1182: 
>     dpkg-buildpackage -us -uc -ui failed
> 
> 
> What am I missing here?

It is trying to apply the patches to an already patched source.

If you run the whole thing (debuild etc) you best start from
a freshly unpacked source package.

Otherwise you want to jump into the middle of the package
build (e.g. patches already applied or so). Then you'll have
to understand how that specific build system works (e.g.
configure, make or similar).

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: