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

Re: Packages for tetex-beta at people.debian.org



Hilmar Preusse <hille42@web.de> wrote:

> I tried to build your tetex-bin.
> What I did: untar the orig sources, patch your diff.gz into my source
> tree, cd source-tree, ./debian/rules build. Result:

I remember somebody said somewhere that one should always use
dpkg-source -x, not tar + patch. However, I doubt that this explains the
failure. I rather think the reason for the advice is that an
orig.tar.gz need not unpack into a subdirectory (tetex-bin-...), but
could as well just unpack its contents into the current
directory. dpkg-source has no problems with this, but tar+patch has, of
course. 

> patch -p0 -Ni debian/patches/patch-deb
> patching file configure
> Hunk #1 FAILED at 3840.
> 1 out of 1 hunk FAILED -- saving rejects to file configure.rej
> patching file texk/kpathsea/mktexpk
> patching file texk/kpathsea/mktexlsr
> Hunk #1 succeeded at 96 (offset 7 lines).
> Hunk #2 succeeded at 112 (offset 7 lines).
> Hunk #3 succeeded at 127 (offset 7 lines).
> patching file texk/make/paths.mk
> patching file texk/tetex/Makefile.in
> Hunk #1 succeeded at 35 (offset 1 line).
> Hunk #2 succeeded at 70 (offset 3 lines).
> patching file texk/tetex/texconfig
> Hunk #2 succeeded at 1199 (offset 1 line).
> Hunk #3 succeeded at 1577 (offset 1 line).
> Hunk #4 succeeded at 1763 (offset 1 line).
> Hunk #5 succeeded at 1842 (offset 1 line).
> Hunk #6 succeeded at 1964 (offset 1 line).
> Hunk #7 succeeded at 2041 (offset 1 line).
> patching file texk/tetex/fmtutil
> Hunk #1 succeeded at 460 (offset 2 lines).
> Hunk #2 succeeded at 567 (offset -23 lines).
> make: *** [configure-stamp] Error 1

I'm kind of puzzled, because I think I have tested it. But perhaps I
used an existing directory and just copied the
debian/new-manpages/texmf.d subdirs? 

You can play with the patches using

fakeroot debian/rules edit-patch-deb #or any patch

It will (try to) apply the patch, you can fix the resulting files, and
create an updated patch with 

fakeroot debian/rules patch-deb #or any patch


> Further: your configure line read:
>
> ./configure --prefix=/usr <snip> --mandir='${prefix}/share/man'
> --infodir='${datadir}/info'
>
> I tried to build the package for /opt, but using the texmf-tree below
> /usr/share using --datadir. During install he superseded all
> info-files below /usr/share. Perhaps it is a good idea to call
> --infodir with the argument '${prefix}/share/info'.

Yes, that would be much better, thanks.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer



Reply to: