Debian Bug report logs - #667767
Please make use of new php5enmod and php5dismod commands in your package

version graph

Package: libexpect-php5; Maintainer for libexpect-php5 is (unknown);

Reported by: Debian PHP maintainers <pkg-php-maint@lists.alioth.debian.org>

Date: Fri, 6 Apr 2012 15:39:08 UTC

Severity: serious

Tags: jessie, sid, stretch

Found in version libexpect-php5/0.3.1-1

Fixed in version 0.3.1-1+rm

Done: Debian FTP Masters <ftpmaster@ftp-master.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, Alex Denvir <coldfff@blueyonder.co.uk>:
Bug#667767; Package libexpect-php5. (Fri, 06 Apr 2012 15:39:10 GMT) (full text, mbox, link).


Acknowledgement sent to Debian PHP maintainers <pkg-php-maint@lists.alioth.debian.org>:
New Bug report received and forwarded. Copy sent to Alex Denvir <coldfff@blueyonder.co.uk>. (Fri, 06 Apr 2012 15:39:10 GMT) (full text, mbox, link).


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

From: Debian PHP maintainers <pkg-php-maint@lists.alioth.debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Please make use of new php5enmod and php5dismod commands in your package
Date: Fri, 06 Apr 2012 17:35:58 +0200
Package: libexpect-php5
Version: 0.3.1-1+b1
Severity: normal
User: pkg-php-maint@lists.alioth.debian.org
Usertags: php54

Dear maintainer,

package libexpect-php5 currently installs it's configuration file directly
to /etc/php5.  php5 (>= 5.4.0~rc6-1) has introduced two new commands:
php5enmod and php5dismod

Your config file must be installed in /etc/php5/mods-available/<name>.ini

php5enmod should be called from your postinst script (when configuring
the package) with each installed ini file as an parameter (f.e. if you
provide more dynamic extensions and want to ensure correct loading order).

The syntax of php5enmod is:

php5enmod [name](/[priority])

[name] is filename without .ini extension from /etc/php5/mods-available/<name>.ini

The optional [priority] argument can be used if your extension require
other extensions to be loaded before.  Default priority is 20.

Example:

    if [ "$1" = "configure" ]; then
      php5enmod mysqlnd
    fi

or (with priority):

    if [ "$1" = "configure" ]; then 
       php5enmod pdo/10
    fi

**

php5dismod should be called from prerm script in remove target.

The syntax of php5dismod is:

php5dismod [name]

Example:

    if [ "$1" = "remove" ]; then
      php5dismod mysqlnd
    fi

**

Using these maintainer scripts will help get rid of the condition
when the package is removed, but not purged, hence triggering error
messages from php from the fact that it cannot load deleted dynamic
extension.

Feel free to contact me, if you have any questions.

Thanks, 
--
Ondřej Surý <ondrej@debian.org>

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (300, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash




Information forwarded to debian-bugs-dist@lists.debian.org, Alex Denvir <coldfff@blueyonder.co.uk>:
Bug#667767; Package libexpect-php5. (Sat, 03 Aug 2013 21:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <anbe@debian.org>:
Extra info received and forwarded to list. Copy sent to Alex Denvir <coldfff@blueyonder.co.uk>. (Sat, 03 Aug 2013 21:45:04 GMT) (full text, mbox, link).


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

From: Andreas Beckmann <anbe@debian.org>
To: Debian Bug Tracking System <667767@bugs.debian.org>
Subject: libexpect-php5 now fails to install: cp: cannot create regular file `/etc/php5/conf.d/expect.ini': No such file or directory
Date: Sat, 03 Aug 2013 23:41:21 +0200
[Message part 1 (text/plain, inline)]
Followup-For: Bug #667767

Hi,

during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package libexpect-php5.
  (Reading database ... 8506 files and directories currently installed.)
  Unpacking libexpect-php5 (from .../libexpect-php5_0.3.1-1+b2_amd64.deb) ...
  Setting up libexpect-php5 (0.3.1-1+b2) ...
  
  Creating config file /etc/php5/conf.d/expect.ini with new version
  cp: cannot create regular file `/etc/php5/conf.d/expect.ini': No such file or directory
  dpkg: error processing libexpect-php5 (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   libexpect-php5


cheers,

Andreas
[libexpect-php5_0.3.1-1+b2.log.gz (application/x-gzip, attachment)]

Severity set to 'serious' from 'normal' Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 03 Aug 2013 21:48:10 GMT) (full text, mbox, link).


Added tag(s) sid and jessie. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 03 Aug 2013 21:48:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Alex Denvir <coldfff@blueyonder.co.uk>:
Bug#667767; Package libexpect-php5. (Wed, 25 Sep 2013 20:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to David Prévot <taffit@debian.org>:
Extra info received and forwarded to list. Copy sent to Alex Denvir <coldfff@blueyonder.co.uk>. (Wed, 25 Sep 2013 20:33:04 GMT) (full text, mbox, link).


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

From: David Prévot <taffit@debian.org>
To: Alex Denvir <coldfff@blueyonder.co.uk>
Cc: libexpect-php5@packages.debian.org, 667767@bugs.debian.org, Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>
Subject: [pkg-php-pear] Moving libexpect-php5 packaging to pkg-php-tools (and pkg-php repository)
Date: Wed, 25 Sep 2013 16:30:35 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Alex (sorry for the extra @packages.d.o copies, just wanted to
ensure anyone following those packages would get the notice),

libexpect-php5 is among the PEAR package that should be converted to
pkg-php-tools [1] (and dh-php5, thus the follow up to #667767). I’d like
to take this opportunity to encourage you to handle their packaging
under the Debian PHP Group umbrella [2], and move their repositories
under git/pkg-php on Alioth [3].

If you’d agree on the principle, but don’t have time to take care of it
yourself, I (or someone else from the team) would be happy to do it on
your behalf.

	1: https://wiki.debian.org/ReleaseGoals/pkg-php-tools/TODO
	2: http://pkg-php.alioth.debian.org/
	3: http://anonscm.debian.org/gitweb/?a=project_list;pf=pkg-php

Thanks in advance for your reply.

Regards

David

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJSQ0fqAAoJEAWMHPlE9r08uXEH/2q1iBQMqEN544grItuyOOU/
pif2snMpNjVUuCFl2jjxVbTBWvDeT/iaxTE0swWZ87lDHOU1dH+FWzAV8GYtXrjJ
FJM/NZ6p//5le34kpPdyDzeipj7a668l/5/5QRcVNuv6BDcLeHUseP7ijMz6/SXn
XJbwDTW2b8MOysNuvFCR8HQ6UaM2amtzi08WyH8n7Uqn871aSgabkUfnqZx6GcFP
ff3yuSNafI6wA7SK10anITyA888O9Om+En8AtGxpbO9ePEAgFjEBvmaD0w127Q/o
Ndtves+HA0V6a2K45Xa25GQaE27heURLxaemigkB3WDWdGMsfLDRO/bYtOu/ypY=
=GJPK
-----END PGP SIGNATURE-----



Added tag(s) stretch. Request was from Ivo De Decker <ivodd@debian.org> to control@bugs.debian.org. (Tue, 28 Apr 2015 17:12:42 GMT) (full text, mbox, link).


Reply sent to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility. (Fri, 02 Dec 2016 13:45:07 GMT) (full text, mbox, link).


Notification sent to Debian PHP maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug acknowledged by developer. (Fri, 02 Dec 2016 13:45:07 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 667767-done@bugs.debian.org,752628-done@bugs.debian.org,755102-done@bugs.debian.org,755336-done@bugs.debian.org,821684-done@bugs.debian.org,838134-done@bugs.debian.org,
Cc: libexpect-php5@packages.debian.org, libexpect-php5@packages.qa.debian.org
Subject: Bug#846131: Removed package(s) from unstable
Date: Fri, 02 Dec 2016 13:44:20 +0000
Version: 0.3.1-1+rm

Dear submitter,

as the package libexpect-php5 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/846131

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 31 Dec 2016 07:41:33 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: Tue Jan 30 05:19:32 2024; 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.