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 Alex Denvir <coldfff@blueyonder.co.uk>; Source for libexpect-php5 is src:libexpect-php5.

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

Found in version libexpect-php5/0.3.1-1

Reply or subscribe to this bug.

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 and rfc822 format available.

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 and rfc822 format available.

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

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 and rfc822 format available.

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 and rfc822 format available.

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

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 and rfc822 format available.

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 and rfc822 format available.

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 and rfc822 format available.

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 and rfc822 format available.

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

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-----



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 09:00:38 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.