Debian Bug report logs - #631349
php-pear: Missing /etc/pear.conf -> /etc/pear/pear.conf

Package: php-pear; Maintainer for php-pear is Debian PHP Maintainers <team+pkg-php@tracker.debian.org>; Source for php-pear is src:php-pear (PTS, buildd, popcon).

Reported by: nutzteil <nutzteil@web.de>

Date: Thu, 23 Jun 2011 05:21:01 UTC

Severity: normal

Tags: moreinfo, patch

Done: Ondřej Surý <ondrej@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, nutzteil@web.de, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#631349; Package php-pear. (Thu, 23 Jun 2011 05:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to nutzteil <nutzteil@web.de>:
New Bug report received and forwarded. Copy sent to nutzteil@web.de, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Thu, 23 Jun 2011 05:21:04 GMT) (full text, mbox, link).


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

From: nutzteil <nutzteil@web.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php-pear: Missing /etc/pear.conf -> /etc/pear/pear.conf
Date: Thu, 23 Jun 2011 07:18:57 +0200
Package: php-pear
Version: 5.3.3-7+squeeze1
Severity: important
Tags: patch


Hello,
php-pear has a configuration /etc/pear/pear.conf.

After trying 'pear config-show' i saw an item:
-------------------------
System Configuration File      Filename         /etc/pear.conf
-------------------------
but in debian it is /etc/pear/pear.conf.


So i tried a link /etc/pear.conf -> pear/pear.conf,
and now i saw an significant change:
--------------------------------------
--- .config-show_0      2011-06-23 06:57:21.000000000 +0200
+++ .config-show_1      2011-06-23 06:58:10.000000000 +0200
@@ -7,14 +7,14 @@
 Default Channel Mirror         preferred_mirror pear.php.net
 Remote Configuration File      remote_config    <not set>
 PEAR executables directory     bin_dir          /usr/bin
-PEAR documentation directory   doc_dir          /usr/share/php/docs
+PEAR documentation directory   doc_dir          /usr/share/php/doc
 PHP extension directory        ext_dir          /usr/lib/php5/20090626+lfs
 PEAR directory                 php_dir          /usr/share/php
 PEAR Installer cache directory cache_dir        /tmp/pear/cache
 PEAR configuration file        cfg_dir          /usr/share/php/cfg
 directory
 PEAR data directory            data_dir         /usr/share/php/data
-PEAR Installer download        download_dir     /tmp/pear/download
+PEAR Installer download        download_dir     /tmp/buildd/php5-5.3.3/pear-build-download
 directory
 PHP CLI/CGI binary             php_bin          /usr/bin/php
 php.ini location               php_ini          <not set>
@@ -23,8 +23,8 @@
 --program-suffix passed to     php_suffix       <not set>
 PHP's ./configure
 PEAR Installer temp directory  temp_dir         /tmp/pear/temp
-PEAR test directory            test_dir         /usr/share/php/tests
-PEAR www files directory       www_dir          /usr/share/php/www
+PEAR test directory            test_dir         /usr/share/php/test
+PEAR www files directory       www_dir          /usr/share/php/htdocs
 Cache TimeToLive               cache_ttl        3600
 Preferred Package State        preferred_state  stable
 Unix file mask                 umask            22
@@ -32,7 +32,7 @@
 PEAR password (for             password         <not set>
 maintainers)
 Signature Handling Program     sig_bin          /usr/bin/gpg
-Signature Key Directory        sig_keydir       /etc/pearkeys
+Signature Key Directory        sig_keydir       /etc/pear/pearkeys
 Signature Key Id               sig_keyid        <not set>
 Package Signature Type         sig_type         gpg
 PEAR username (for             username         <not set>
----------------------------------------

I recommend to put a link in php-pear
/etc/pear.conf -> pear/pear.conf
resp. to change the build-option on /etc/pear/pear.conf
to get the configuration evaluated.


Best wishes
christian









-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php-pear depends on:
ii  php5-cli                5.3.3-7+squeeze1 command-line interpreter for the p
ii  php5-common             5.3.3-7+squeeze1 Common files for packages built fr

Versions of packages php-pear recommends:
ii  gnupg                         1.4.10-4   GNU privacy guard - a free PGP rep

Versions of packages php-pear suggests:
pn  php5-dev                      <none>     (no description available)

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#631349; Package php-pear. (Thu, 23 Aug 2012 08:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Thu, 23 Aug 2012 08:27:03 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@debian.org>
To: nutzteil <nutzteil@web.de>, 631349@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: [php-maint] Bug#631349: php-pear: Missing /etc/pear.conf -> /etc/pear/pear.conf
Date: Thu, 23 Aug 2012 10:25:12 +0200
notfound 631349 php5/5.3.3-7+squeeze1
severity 631349 normal
tags 631349 +moreinfo
thank you

Hi Christian,

check your local config (/root/.pearrc), because Debian fresh install
has correct path for /etc/pear/pear.conf:

root@howl:/# pear config-show
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels     auto_discover    <not set>
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       <not set>
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.php.net
Remote Configuration File      remote_config    <not set>
PEAR executables directory     bin_dir          /usr/bin
PEAR documentation directory   doc_dir          /usr/share/php/doc
PHP extension directory        ext_dir          /usr/lib/php5/20090626
PEAR directory                 php_dir          /usr/share/php
PEAR Installer cache directory cache_dir        /tmp/pear/cache
PEAR configuration file        cfg_dir          /usr/share/php/cfg
directory
PEAR data directory            data_dir         /usr/share/php/data
PEAR Installer download        download_dir
/tmp/buildd/php5-5.3.3/pear-build-download
directory
PHP CLI/CGI binary             php_bin          /usr/bin/php
php.ini location               php_ini          <not set>
--program-prefix passed to     php_prefix       <not set>
PHP's ./configure
--program-suffix passed to     php_suffix       <not set>
PHP's ./configure
PEAR Installer temp directory  temp_dir         /tmp/pear/temp
PEAR test directory            test_dir         /usr/share/php/test
PEAR www files directory       www_dir          /usr/share/php/htdocs
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                 umask            22
Debug Log Level                verbose          1
PEAR password (for             password         <not set>
maintainers)
Signature Handling Program     sig_bin          /usr/bin/gpg
Signature Key Directory        sig_keydir       /etc/pear/pearkeys
Signature Key Id               sig_keyid        <not set>
Package Signature Type         sig_type         gpg
PEAR username (for             username         <not set>
maintainers)
User Configuration File        Filename         /root/.pearrc
System Configuration File      Filename         /etc/pear/pear.conf

Ondrej

On Thu, Jun 23, 2011 at 7:18 AM, nutzteil <nutzteil@web.de> wrote:
> Package: php-pear
> Version: 5.3.3-7+squeeze1
> Severity: important
> Tags: patch
>
>
> Hello,
> php-pear has a configuration /etc/pear/pear.conf.
>
> After trying 'pear config-show' i saw an item:
> -------------------------
> System Configuration File      Filename         /etc/pear.conf
> -------------------------
> but in debian it is /etc/pear/pear.conf.
>
>
> So i tried a link /etc/pear.conf -> pear/pear.conf,
> and now i saw an significant change:
> --------------------------------------
> --- .config-show_0      2011-06-23 06:57:21.000000000 +0200
> +++ .config-show_1      2011-06-23 06:58:10.000000000 +0200
> @@ -7,14 +7,14 @@
>  Default Channel Mirror         preferred_mirror pear.php.net
>  Remote Configuration File      remote_config    <not set>
>  PEAR executables directory     bin_dir          /usr/bin
> -PEAR documentation directory   doc_dir          /usr/share/php/docs
> +PEAR documentation directory   doc_dir          /usr/share/php/doc
>  PHP extension directory        ext_dir          /usr/lib/php5/20090626+lfs
>  PEAR directory                 php_dir          /usr/share/php
>  PEAR Installer cache directory cache_dir        /tmp/pear/cache
>  PEAR configuration file        cfg_dir          /usr/share/php/cfg
>  directory
>  PEAR data directory            data_dir         /usr/share/php/data
> -PEAR Installer download        download_dir     /tmp/pear/download
> +PEAR Installer download        download_dir     /tmp/buildd/php5-5.3.3/pear-build-download
>  directory
>  PHP CLI/CGI binary             php_bin          /usr/bin/php
>  php.ini location               php_ini          <not set>
> @@ -23,8 +23,8 @@
>  --program-suffix passed to     php_suffix       <not set>
>  PHP's ./configure
>  PEAR Installer temp directory  temp_dir         /tmp/pear/temp
> -PEAR test directory            test_dir         /usr/share/php/tests
> -PEAR www files directory       www_dir          /usr/share/php/www
> +PEAR test directory            test_dir         /usr/share/php/test
> +PEAR www files directory       www_dir          /usr/share/php/htdocs
>  Cache TimeToLive               cache_ttl        3600
>  Preferred Package State        preferred_state  stable
>  Unix file mask                 umask            22
> @@ -32,7 +32,7 @@
>  PEAR password (for             password         <not set>
>  maintainers)
>  Signature Handling Program     sig_bin          /usr/bin/gpg
> -Signature Key Directory        sig_keydir       /etc/pearkeys
> +Signature Key Directory        sig_keydir       /etc/pear/pearkeys
>  Signature Key Id               sig_keyid        <not set>
>  Package Signature Type         sig_type         gpg
>  PEAR username (for             username         <not set>
> ----------------------------------------
>
> I recommend to put a link in php-pear
> /etc/pear.conf -> pear/pear.conf
> resp. to change the build-option on /etc/pear/pear.conf
> to get the configuration evaluated.
>
>
> Best wishes
> christian
>
>
>
>
>
>
>
>
>
> -- System Information:
> Debian Release: 6.0.1
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages php-pear depends on:
> ii  php5-cli                5.3.3-7+squeeze1 command-line interpreter for the p
> ii  php5-common             5.3.3-7+squeeze1 Common files for packages built fr
>
> Versions of packages php-pear recommends:
> ii  gnupg                         1.4.10-4   GNU privacy guard - a free PGP rep
>
> Versions of packages php-pear suggests:
> pn  php5-dev                      <none>     (no description available)
>
> -- no debconf information
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



-- 
Ondřej Surý <ondrej@sury.org>



No longer marked as found in versions php5/5.3.3-7+squeeze1. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Thu, 23 Aug 2012 08:27:05 GMT) (full text, mbox, link).


Severity set to 'normal' from 'important' Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Thu, 23 Aug 2012 08:27:05 GMT) (full text, mbox, link).


Added tag(s) moreinfo. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Thu, 23 Aug 2012 08:27:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#631349; Package php-pear. (Thu, 23 Aug 2012 13:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to nutzteil@web.de:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Thu, 23 Aug 2012 13:48:03 GMT) (full text, mbox, link).


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

From: nutzteil@web.de
To: 631349@bugs.debian.org
Subject: Re: [php-maint] Bug#631349: php-pear: Missing /etc/pear.conf -> /etc/pear/pear.conf
Date: Thu, 23 Aug 2012 15:43:57 +0200
On Thu, 23 Aug 2012 10:25:12 +0200
Ondřej Surý <ondrej@debian.org> wrote:

> notfound 631349 php5/5.3.3-7+squeeze1
> severity 631349 normal
> tags 631349 +moreinfo
> thank you
> 
...
> check your local config (/root/.pearrc), because Debian fresh install
> has correct path for /etc/pear/pear.conf:
> 

Hello Ondřej
you are right for fresh install, and after further investigation:
Has nothing to do with /root/.pearrc.
It happens after pear-upgrade.
In fresh install (or after reinstall php-pear):
# pear list-upgrades
pear.php.net Available Upgrades (stable):
=========================================
Channel      Package          Local          Remote          Size
pear.php.net Archive_Tar      1.3.7 (stable) 1.3.10 (stable) 17.9kB
pear.php.net Console_Getopt   1.2.3 (stable) 1.3.1 (stable)  4.4kB
pear.php.net PEAR             1.9.1 (stable) 1.9.4 (stable)  290kB
pear.php.net Structures_Graph 1.0.3 (stable) 1.0.4 (stable)  30kB

And after the upgrade you get those vanilla-values for config.
So my solution is not to resign to those upgrades, but to
add (for now) two links to synchronize them with the debian:
/etc/pear.conf -> pear/pear.conf
/usr/lib/php5/20090626 -> 20090626+lfs (32bit-squeeze)

Greetings, Christian



Marked Bug as done Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 27 Jan 2016 11:15:13 GMT) (full text, mbox, link).


Notification sent to nutzteil <nutzteil@web.de>:
Bug acknowledged by developer. (Wed, 27 Jan 2016 11:15:14 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 25 Feb 2016 07:29:59 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: Sun Jul 2 00:47:25 2023; 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.