Debian Bug report logs - #492442
php5: fileinfo extension unmaintained

version graph

Package: php5; Maintainer for php5 is Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>; Source for php5 is src:php5 (PTS, buildd, popcon).

Reported by: Steffen Ille <steffen@steffen-ille.de>

Date: Wed, 16 Jul 2008 05:09:02 UTC

Owned by: gui@iroqwa.org

Severity: wishlist

Fixed in version php5/5.3.0-1

Done: Raphael Geissert <geissert@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#491033; Package php5. (full text, mbox, link).


Acknowledgement sent to Steffen Ille <steffen@steffen-ille.de>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Steffen Ille <steffen@steffen-ille.de>
To: submit@bugs.debian.org
Subject: php5 mime_magic - invalid magic file disabled
Date: Wed, 16 Jul 2008 07:05:28 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: php5
Version: 5.2.5-3

Dear Sir or Madam,
the Bug #335674 seems to be back.

Error: invalid magic file, disabled

I've anabled to log startup-errors and got the following Messages:

[16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
(/usr/share/file/magic.mime:630) type search/400	\\input		text/x-tex
invalid in Unknown on line 0
[16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
(/usr/share/file/magic.mime:631) type search/400	\\section
text/x-tex invalid in Unknown on line 0
[16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
(/usr/share/file/magic.mime:632) type search/400	\\setlength
text/x-tex invalid in Unknown on line 0
[16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
(/usr/share/file/magic.mime:633) type search/400	\\documentstyle
text/x-tex invalid in Unknown on line 0
[16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
(/usr/share/file/magic.mime:634) type search/400	\\chapter
text/x-tex invalid in Unknown on line 0
[16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
(/usr/share/file/magic.mime:635) type search/400	\\documentclass
text/x-tex invalid in Unknown on line 0
[16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
(/usr/share/file/magic.mime:640) type regex
[Cc]onstant[[:space:]]+[Ss]tory	text/x-inform invalid in Unknown on line 0

If I comment out Line 630 ... 640 in the magic.mime file
PHP will enable mime_magic. Also if I change the type "search/400" to
"string" it will enable it, but I don't know if this is correct.

Please re-open the Bug to resolve the issue.

Best Regards,
Steffen Ille
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkh9gZgACgkQVuJPPVH73Jc8zgCg0177LWjaituOyNGv+xxialkf
W/4An1JEpcWdEhUkBcS1OtJIeNn3chBD
=ypii
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#491033; Package php5. (full text, mbox, link).


Acknowledgement sent to "Raphael Geissert" <atomo64@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (full text, mbox, link).


Message #10 received at 491033@bugs.debian.org (full text, mbox, reply):

From: "Raphael Geissert" <atomo64@gmail.com>
To: "Steffen Ille" <steffen@steffen-ille.de>, 491033@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: [php-maint] Bug#491033: php5 mime_magic - invalid magic file disabled
Date: Sat, 26 Jul 2008 00:25:12 -0500
clone 491033 -1
reassign -1 wnpp
severity -1 wishlist
retitle -1 RFP: php-fileinfo -- php binding to libmagic (a.k.a. file)
to determine file types
thanks


2008/7/16 Steffen Ille <steffen@steffen-ille.de>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Package: php5
> Version: 5.2.5-3
>
> Dear Sir or Madam,
> the Bug #335674 seems to be back.
>
> Error: invalid magic file, disabled
>
> I've anabled to log startup-errors and got the following Messages:
>
> [16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
> (/usr/share/file/magic.mime:630) type search/400        \\input         text/x-tex
> invalid in Unknown on line 0
> [16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
> (/usr/share/file/magic.mime:631) type search/400        \\section
> text/x-tex invalid in Unknown on line 0
> [16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
> (/usr/share/file/magic.mime:632) type search/400        \\setlength
> text/x-tex invalid in Unknown on line 0
> [16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
> (/usr/share/file/magic.mime:633) type search/400        \\documentstyle
> text/x-tex invalid in Unknown on line 0
> [16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
> (/usr/share/file/magic.mime:634) type search/400        \\chapter
> text/x-tex invalid in Unknown on line 0
> [16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
> (/usr/share/file/magic.mime:635) type search/400        \\documentclass
> text/x-tex invalid in Unknown on line 0
> [16-Jul-2008 06:44:06] PHP Warning:  PHP Startup: :
> (/usr/share/file/magic.mime:640) type regex
> [Cc]onstant[[:space:]]+[Ss]tory text/x-inform invalid in Unknown on line 0
>
> If I comment out Line 630 ... 640 in the magic.mime file
> PHP will enable mime_magic. Also if I change the type "search/400" to
> "string" it will enable it, but I don't know if this is correct.

search/400 indicates to the parser that it should start looking for
the pattern after 400 bytes.

I am willing to mark this bug as wontfix because mime_magic is
deprecated (and has been for some time) and fileinfo (only available
at pecl.php.net; not yet packaged for Debian) doesn't suffer from this
kind of bugs because it makes use of libmagic, which is what the file
command uses.

>
> Please re-open the Bug to resolve the issue.
>
> Best Regards,
> Steffen Ille
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkh9gZgACgkQVuJPPVH73Jc8zgCg0177LWjaituOyNGv+xxialkf
> W/4An1JEpcWdEhUkBcS1OtJIeNn3chBD
> =ypii
> -----END PGP SIGNATURE-----
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint
>


Cheers,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




Bug 491033 cloned as bug 492442. Request was from "Raphael Geissert" <atomo64@gmail.com> to control@bugs.debian.org. (Sat, 26 Jul 2008 05:27:02 GMT) (full text, mbox, link).


Bug reassigned from package `php5' to `wnpp'. Request was from "Raphael Geissert" <atomo64@gmail.com> to control@bugs.debian.org. (Sat, 26 Jul 2008 05:27:05 GMT) (full text, mbox, link).


Severity set to `wishlist' from `normal' Request was from "Raphael Geissert" <atomo64@gmail.com> to control@bugs.debian.org. (Sat, 26 Jul 2008 05:27:06 GMT) (full text, mbox, link).


Changed Bug title to `RFP: php-fileinfo -- php binding to libmagic (a.k.a. file)' from `php5 mime_magic - invalid magic file disabled'. Request was from "Raphael Geissert" <atomo64@gmail.com> to control@bugs.debian.org. (Sat, 26 Jul 2008 05:27:06 GMT) (full text, mbox, link).


Changed Bug title to `RFP: php-fileinfo -- binding to libmagic (a.k.a. file) to determine file types' from `RFP: php-fileinfo -- php binding to libmagic (a.k.a. file)'. Request was from Raphael Geissert <atomo64@gmail.com> to control@bugs.debian.org. (Sat, 26 Jul 2008 05:39:02 GMT) (full text, mbox, link).


Changed Bug title to `ITP: php-fileinfo -- binding to libmagic (a.k.a. file) to determine file types' from `RFP: php-fileinfo -- binding to libmagic (a.k.a. file) to determine file types'. Request was from Guillaume Delacour <gui@iroqwa.org> to control@bugs.debian.org. (Mon, 16 Mar 2009 21:09:02 GMT) (full text, mbox, link).


Owner recorded as gui@iroqwa.org. Request was from Guillaume Delacour <gui@iroqwa.org> to control@bugs.debian.org. (Mon, 16 Mar 2009 21:09:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, <wnpp@debian.org>, gui@iroqwa.org:
Bug#492442; Package wnpp. (Mon, 16 Mar 2009 22:00:02 GMT) (full text, mbox, link).


Acknowledgement sent to Guillaume Delacour <gui@iroqwa.org>:
Extra info received and forwarded to list. Copy sent to <wnpp@debian.org>, gui@iroqwa.org. (Mon, 16 Mar 2009 22:00:03 GMT) (full text, mbox, link).


Message #29 received at 492442@bugs.debian.org (full text, mbox, reply):

From: Guillaume Delacour <gui@iroqwa.org>
To: 492442@bugs.debian.org
Subject: Pecl package is unmaintained since 2006/11
Date: Mon, 16 Mar 2009 22:58:02 +0100
[Message part 1 (text/plain, inline)]
Fileinfo pecl package is unmaintained anymore [1] and Php team
announced that fileinfo is included in PHP 5.3.x release [2]. A
detailed procedure to build this pecl module with Debian way [3] is
generaly sufficient for having fileinfo support.

1: http://pecl.php.net/package/Fileinfo, moved to php-src/ext/fileinfo
2: http://qa.php.net/,  (5.3.0beta1 at this time)
3:
http://www.dotdeb.org/2008/09/25/how-to-package-php-extensions-by-yourself/

I think that this bug can be assigned to php5 package and closed when
PHP 5.3.x will be included in sid.

In case if packaging of php-fileinfo is *really* needed, i could adopt
and work and it.

-- 

Guillaume Delacour
[signature.asc (application/pgp-signature, attachment)]

Bug reassigned from package `wnpp' to `php5'. Request was from Guillaume Delacour <gui@iroqwa.org> to control@bugs.debian.org. (Mon, 16 Mar 2009 22:24:15 GMT) (full text, mbox, link).


Changed Bug title to `php5: fileinfo extension unmaintained' from `ITP: php-fileinfo -- binding to libmagic (a.k.a. file) to determine file types'. Request was from Guillaume Delacour <gui@iroqwa.org> to control@bugs.debian.org. (Mon, 16 Mar 2009 22:42:07 GMT) (full text, mbox, link).


Owner changed from gui@iroqwa.org to gui@iroqwa.org. Request was from Guillaume Delacour <gui@iroqwa.org> to control@bugs.debian.org. (Mon, 16 Mar 2009 22:42:08 GMT) (full text, mbox, link).


Reply sent to Raphael Geissert <geissert@debian.org>:
You have taken responsibility. (Tue, 11 Aug 2009 17:27:03 GMT) (full text, mbox, link).


Notification sent to Steffen Ille <steffen@steffen-ille.de>:
Bug acknowledged by developer. (Tue, 11 Aug 2009 17:27:04 GMT) (full text, mbox, link).


Message #40 received at 492442-done@bugs.debian.org (full text, mbox, reply):

From: Raphael Geissert <geissert@debian.org>
To: 492442-done@bugs.debian.org
Subject: Re: Pecl package is unmaintained since 2006/11
Date: Tue, 11 Aug 2009 12:25:48 -0500
Source: php5
Source-Version: 5.3.0-1

On Monday 16 March 2009 15:58:02 Guillaume Delacour wrote:
[...]
>
> I think that this bug can be assigned to php5 package and closed when
> PHP 5.3.x will be included in sid.

Closing it now.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 09 Sep 2009 07:34:55 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 12 16:26:29 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.