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

Re: Retrying: magic file / invalid type 20 in mconvert()?



Thanks, Frank.  I don't think I ever would have figured that out, and it did
the trick just great.  Naturally, I credited you in the changelog.

	- Karen

On Wednesday 01 February 2006 05:55 pm, Frank Arnold wrote:
> Am Mittwoch, den 01.02.2006, 09:51 -0600 schrieb Karen Pease:
> > error: magic_file(ms,
> > "/var/tmp/nethack-vultures-1.11.2-3-root-meme/usr/games/vulturesclaw/Guid
> >eboo k.txt") failed: invalid type 20 in mconvert()
> > rpmbuild: rpmfc.c:1229: rpmfcClassify: Assertion `ftype != ((void *)0)'
> > failed.
> > make: *** [i386] Aborted
>
> rpmbuild tries to determine the file type of Guidebook.txt, which seems
> to fail. You should be able to reproduce this with
> $ file -m /usr/lib/rpm/magic /path/to/Guidebook.txt
>
> If not, I have no clue what's going on.
>
>
> I tried to build nethack-vultures-1.11.1-3 through mock with FC4 setup.
> This failed with another error. The following command failed inside
> BUILD/vultures-1.11.1/slashem/doc:
>
> tbl tmac.n Guidebook.mn | nroff -c -Tascii | col -bx > Guidebook.txt
>
> The problem here is that col returns 1, although the output looks usable
> to me. This might be related to a patch in util-linux
> (util-linux-2.12p-col-EILSEQ.patch, Bug 176441) which is only applied to
> FC4 and FC5.
>
> Workaround is quite easy. With the following change inside your
> nethack-vultures-1.10.1-clawguide.patch I was able to build the package:
>
> Current:
> +GUIDECMD = tbl tmac.n Guidebook.mn | nroff -c -Tascii | $(COLCMD)
> New:
> +GUIDECMD = tbl tmac.n Guidebook.mn | nroff -c -Tascii | $(COLCMD) | cat
>
> Now 'cat' is the last command and it returns 0.
>
> HTH,
> Frank

-------------------------------------------------------


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