[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Alert on unknown file: magic_file(...) failed: line 156
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] Alert on unknown file: magic_file(...) failed: line 156: regex error 10 |
Date: |
Fri, 12 Apr 2019 19:04:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Hello Michal,
Op 10-04-19 om 13:53 schreef Michal Nowak:
> As OpenIndiana is based on from illumos an non-GNU operating system, and GNU
> is
> now what's in many cases expected, in some cases functionality of the system
> are
> delivered "twice".
>
> So, e.g. we ship two magic.h headers, the former one from
> https://github.com/file/file and the latter one from illumos:
>
> usr/include/magic.h pkg:/library/address@hidden
> usr/include/ast/magic.h pkg:/system/address@hidden
>
> Maybe the illumos ast/magic.h was picked instead of the GNU one?
You could check by running:
strace -f make 2>TRAIL; grep magic.h TRAIL
But I don't think it matters which header gets used but which data files.
When I run:
strace src/nano README 2>TRAIL; grep magic TRAIL
and press ^X, it opened /etc/magic and /usr/share/misc/magic.mgc.
The first is empty apart from two comment lines, and the second
is filled with binary data. Possibly in your case it finds multiple
binary data files?
> I think going with --disable-libmagic is the best for us for now.
Sounds good.
Benno
signature.asc
Description: OpenPGP digital signature