|
From: Christoph B. <us...@be...> - 2011-08-20 13:22:06
|
On 20.08.2011 14:43 Xenia wrote: > Am 19.08.2011 14:50, schrieb Christoph Bersch: >>> >>> Means I have to remove or update the patch debian-changes… first. >> >> I am not completely sure, but before the package is build again, >> dpkg-buildpackage seems to clean the source tree and unpatch the source. >> If guess your "fiddling" did something which now prevents the sources >> from being unpatched. >> >> The best thing would be to remove the sources, redo the steps (with the >> original sources, without Mojca's changes) and then give the error >> messages which you get when you call dpkg-buildpackage. > > I deleted all patches, that seemed to disturb with You should not do that because you remove also the debian-specific patches which also change the paths where everything is installed! The problem is (I found it out now), that when you call dpkg-buildpackage for the first time, the build system creates a patch with the changes that you made (with the context terminal). If after the first build you change something, running dpkg-buildpackage again does not work because the sources cannot be unpatched. > $ quilt delete … > and did > $ dpkg-buildpackage > again. > It resulted in the same errormessage, just some parts: > > character constant [-Wmultichar] > ../../../term/context.trm:2919:77133: warning: character constant too > long for its type [enabled by default] [...] > ../../../term/context.trm:3307:1: error: stray ‘`’ in program I guess, you downloaded the wrong context.trm, maybe the HTML-view of the git Repository. The context.trm which I got from <https://raw.github.com/mojca/gnuplot/master/term/context.trm> has only 2395 lines! Further, if you want to compile it with 4.4 you must remove the string "| TERM_FONTSCALE | TERM_IS_LATEX" in line 2222, which is not supported in 4.4.0. So completely remove the gnuplot-4* directory, and do all the steps again from scratch (apt-get source also does not download the source again, but just unpacks them). Christoph |