1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] /usr/bin/file broken on cauldron
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20/usr/bin/file%20broken%20on%20cauldron&In-Reply-To=%3C50EDF5E6.60606%40free.fr%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="021387.html">
<LINK REL="Next" HREF="021401.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] /usr/bin/file broken on cauldron</H1>
<B>Luc Menut</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20/usr/bin/file%20broken%20on%20cauldron&In-Reply-To=%3C50EDF5E6.60606%40free.fr%3E"
TITLE="[Mageia-dev] /usr/bin/file broken on cauldron">lmenut at free.fr
</A><BR>
<I>Wed Jan 9 23:57:42 CET 2013</I>
<P><UL>
<LI>Previous message: <A HREF="021387.html">[Mageia-dev] /usr/bin/file broken on cauldron
</A></li>
<LI>Next message: <A HREF="021401.html">[Mageia-dev] /usr/bin/file broken on cauldron
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#21389">[ date ]</a>
<a href="thread.html#21389">[ thread ]</a>
<a href="subject.html#21389">[ subject ]</a>
<a href="author.html#21389">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi,
Le 09/01/2013 22:57, Olivier Blin a écrit :
><i> Luc Menut<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">lmenut at free.fr</A>> writes:
</I>><i>
</I>>><i> Hi all,
</I>>><i>
</I>>><i> /usr/bin/file is broken on cauldron (file-5.12-4.mga3).
</I>>><i> It gives weird bogus results (i586 and x86_64), and breaks some builds.
</I>>><i> eg. file /usr/bin/xdg*
</I>>><i> /usr/bin/xdg-desktop-icon: , 28265
</I>>><i> /usr/bin/xdg-desktop-menu: , 28265
</I>>><i> /usr/bin/xdg-email: , 28265
</I>>><i> /usr/bin/xdg-icon-resource: , 28265
</I>>><i> /usr/bin/xdg_menu: assembler source text
</I>>><i> /usr/bin/xdg-mime: , 28265
</I>>><i> /usr/bin/xdg-open: , 28265
</I>>><i> /usr/bin/xdg-screensaver: , 28265
</I>>><i> /usr/bin/xdg-settings: , 28265
</I>>><i> /usr/bin/xdg-user-dir: , 28265
</I>>><i> /usr/bin/xdg-user-dirs-gtk-update: ELF 64-bit LSB executable, ...
</I>>><i> /usr/bin/xdg-user-dirs-update: ELF 64-bit LSB executable, ...
</I>><i>
</I>><i> Hi,
</I>><i>
</I>><i> Upstream file 5.12 looks quite broken :-/
</I>><i> They updated the 5.12 release tarball (!) on the FTP site with a
</I>><i> collection of fixes, that's quite a bad practice...
</I>><i>
</I>><i> See this thread about your issue:
</I>><i> <A HREF="http://mx.gw.com/pipermail/file/2013/001019.html">http://mx.gw.com/pipermail/file/2013/001019.html</A>
</I>><i>
</I>><i> It should be fixed in 5.12-5.mga
</I>><i>
</I>
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
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="021387.html">[Mageia-dev] /usr/bin/file broken on cauldron
</A></li>
<LI>Next message: <A HREF="021401.html">[Mageia-dev] /usr/bin/file broken on cauldron
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#21389">[ date ]</a>
<a href="thread.html#21389">[ thread ]</a>
<a href="subject.html#21389">[ subject ]</a>
<a href="author.html#21389">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|