Your message dated Tue, 01 Jul 2008 18:52:30 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: non-deterministic results if the magic file is a directory
has caused the Debian Bug report #488562,
regarding non-deterministic results if the magic file is a directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
488562: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488562
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: file
Version: 4.24-3
Severity: normal

The root cause of #481247 is that when magic.mgc is compiled during the
package build, the files in Magdir/ come out in an unpredictable order,
depending on the underlying filesystem (readdir() doesn't sort its
results). By contrast, the order of /usr/share/file/magic is determined
by "echo *" in debian/rules, which (at least on bash and dash) gives
sorted results.

file(1) probably ought to readdir() the whole directory into an array of
strings, sort them lexicographically, and iterate over the result.

As a workaround for #481247 I'll just remove magic.mgc and re-create it
from (the file that will become) /usr/share/file/magic.

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages file depends on:
ii  libc6                         2.7-12     GNU C Library: Shared libraries
ii  libmagic1                     4.24-3     File type determination library us

file recommends no packages.

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iD8DBQFIZ96bWSc8zVUw7HYRAuovAJ4nS/NZ//Lubd+5d9ELvAxbFPJZPgCfW5Sb
jMKsdvAkkRFk7JvKXY9LOPk=
=eULf
-----END PGP SIGNATURE-----



--- End Message ---
--- Begin Message ---
Version: 4.24-4

As already implied before, this is a non-issue when building the plain
magic file with the upstream build system rather than with debian
hackery, which as said before I did now, thus closing.

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          [EMAIL PROTECTED]
Internet:       http://people.panthera-systems.net/~daniel-baumann/


--- End Message ---

Reply via email to