[Mageia-dev] /usr/bin/file broken on cauldron
Luc Menut
lmenut at free.fr
Wed Jan 9 23:57:42 CET 2013
Hi,
Le 09/01/2013 22:57, Olivier Blin a écrit :
> Luc Menut<lmenut at free.fr> writes:
>
>> Hi all,
>>
>> /usr/bin/file is broken on cauldron (file-5.12-4.mga3).
>> It gives weird bogus results (i586 and x86_64), and breaks some builds.
>> eg. file /usr/bin/xdg*
>> /usr/bin/xdg-desktop-icon: , 28265
>> /usr/bin/xdg-desktop-menu: , 28265
>> /usr/bin/xdg-email: , 28265
>> /usr/bin/xdg-icon-resource: , 28265
>> /usr/bin/xdg_menu: assembler source text
>> /usr/bin/xdg-mime: , 28265
>> /usr/bin/xdg-open: , 28265
>> /usr/bin/xdg-screensaver: , 28265
>> /usr/bin/xdg-settings: , 28265
>> /usr/bin/xdg-user-dir: , 28265
>> /usr/bin/xdg-user-dirs-gtk-update: ELF 64-bit LSB executable, ...
>> /usr/bin/xdg-user-dirs-update: ELF 64-bit LSB executable, ...
>
> Hi,
>
> Upstream file 5.12 looks quite broken :-/
> They updated the 5.12 release tarball (!) on the FTP site with a
> collection of fixes, that's quite a bad practice...
>
> See this thread about your issue:
> http://mx.gw.com/pipermail/file/2013/001019.html
>
> It should be fixed in 5.12-5.mga
>
Thanks Olivier to look at this pb.
I've just locally rebuilt file-5.11 and your new file-5.12-5.
It's better, but file-5.12-5 still mis-detects some script files; I can
see that some Perl or shell scripts are reported as 'assembler source
text' with 5.12-5.
eg.
file -v; file /usr/bin/autoconf /usr/bin/automake /usr/bin/iurt
file-5.11
magic file from /usr/share/misc/magic
/usr/bin/autoconf: POSIX shell script, ASCII text executable
/usr/bin/automake: Perl script, ASCII text executable
/usr/bin/iurt: Perl script, ISO-8859 text executable, with very long
lines
file -v; file /usr/bin/autoconf /usr/bin/automake /usr/bin/iurt
file-5.12
magic file from /usr/share/misc/magic
/usr/bin/autoconf: POSIX shell script, ASCII text executable
/usr/bin/automake: assembler source text
/usr/bin/iurt: assembler source text
It's very annoying because /usr/bin/file is used by find-requires and
find-provides, and if we do the mass rebuild with a broken
/usr/bin/file, we will build some rpms with incorrect provides and requires.
regards,
Luc
--
Luc Menut
More information about the Mageia-dev
mailing list