[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#87434: marked as done ([user error] 2.2r2 STD dselect dies on Debconf/Template.pm (Perl location trouble))



Your message dated Sun, 22 Feb 2004 11:57:50 +0000
with message-id <20040222115750.GA30848@riva.ucam.org>
and subject line your mail
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Feb 2001 17:17:00 +0000
>From jari.aalto@poboxes.com Sat Feb 24 11:17:00 2001
Return-path: <jari.aalto@poboxes.com>
Received: from faraday.tpu.fi [::ffff:193.167.70.20] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14WiJW-0000Kz-00; Sat, 24 Feb 2001 11:16:58 -0600
Received: from newton.tpu.fi (jaalto@newton.tpu.fi [193.167.70.2])
	by faraday.tpu.fi (8.9.3/8.9.3) with ESMTP id TAA22332;
	Sat, 24 Feb 2001 19:16:46 +0200 (EET)
Received: by newton.tpu.fi (8.8.8+Sun/SMI-SVR4)
	id TAA21483; Sat, 24 Feb 2001 19:16:59 +0200 (EET)
From: jari.aalto@tpu.fi (Jari Aalto+mail.linux)
To: submit@bugs.debian.org
CC: ssjaaa@uta.fi
Subject: 2.2r2 STD dselect dies on Debconf/Template.pm (Perl location trouble)
Keywords: usr,lib,local,perl5,perl,packages,debian,site,dselect,undef,http,inc
X-Debbugs-CC: deity@lists.debian.org
Date: 24 Feb 2001 19:16:59 +0200
Message-ID: <jn3dd4atmc.fsf@blue.sea.net>
Lines: 170
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
Delivered-To: submit@bugs.debian.org

Package: dselect
Version: 1.8.3
Severity: grave

    apt is 0.5.0

    dpkg on dselect didn't list the maintainer, so I CC'd this to APT list,
    please forward to correct list as needed.


    1. I installed latest Debian from net, using the 2r2 boot disks
       and pointing apt to unstable sites (below)
    2. After selecting packages and installing them, something happened
       and Perl was not working well any more. Can't give any more details
       on this.
    3. After breakage, I was unable to install perl using 
       dselect due unresolved Perl
       dependency problems. I didn't understand why dselect refused to
       to install perl 5.5 due to unresolved dependencis. in dselect. 
       --> It even didn't offer Perl 5.6 to install, only 5.5 was in the 
       list.

    Anyway the dselect went beserk.

    4. I downloaded latest perl and built it.
    5. Dselect still didn't work, and the reason is that standard Perl 
       does not include /usr/share/perl5 in @INC

    Now, I would consider it improvement for Dseelect if it always called 
    underlying install scripts with

        -I/usr/share/perl5

    And not to rely on the currently installed Debian perl configuration.


    Even better: every critical script would "source" lib-config.pm,
    which included "use lib /PATH/HERE" for critical Perl libraries.


    Yes, I solved the problem with dselect by compiling the
    /usr/share/perl5 into Perl's @INC, but how many novices 
    know and cope with this?

    Jari

----------------------------------------------------------------------


$ uname -a

Linux tango 2.2.18pre21-compact #1 Sat Nov 18 09:23:46 MST 2000 i586 unknown

tango:/tmp# dpkg -s libc6 | grep "^Vers"
Version: 2.2.2-1

$ (dselect) 2>&1 | tee /tmp/log


Debian `dselect' package handling frontend.

 * 0. [A]ccess    Choose the access method to use.
1. [U]pdate    Update list of available packages, if possible.
   2. [S]elect    Request which packages you want on your system.
   3. [I]nstall   Install and upgrade wanted packages.
   4. [C]onfig    Configure any packages that are unconfigured.
   5. [R]emove    Remove unwanted software.
   6. [Q]uitQuit dselect.

Move around with ^P and ^N, cursor keys, initial letters, or digits;
Press <enter> to confirm selection.   ^L redraws screen.

Version 1.8.3 (i386).
Copyright (C) 1994-1996 Ian Jackson.
Copyright (C) 2000 Wichert Akkerman.
This is free software; see the GNU General Public Licence version 2
or later for copying conditions.  There is NO warranty.  See
dselect --licence for details.
   0. [A]ccess    Choose the access method to use.
 * 1. [U]pdate    Update list of available packages, if possible.              
   1. [U]pdate    Update list of available packages, if possible.
 * 2. [S]elect    Request which packages you want on your system.              
   2. [S]elect    Request which packages you want on your system.
 * 3. [I]nstall   Install and upgrade wanted packages.                         
Reading Package Lists...
Building Dependency Tree...
0 packages upgraded, 0 newly installed, 0 to remove and 1  not upgraded.
2 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] debconf: Perl may be unconfigured (Can't locate Debconf/ConfigDb.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/i586-linux /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i586-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Setting up lynx (2.8.3-1) ...
Can't locate Debconf/Template.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/i586-linux /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i586-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing lynx (--configure):
 subprocess post-installation script returned error exit status 2
Setting up cvs (1.10.8-1) ...
Can't locate Debconf/Template.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/i586-linux /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i586-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing cvs (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 lynx
 cvs
E: Sub-process /usr/bin/dpkg returned an error code (1)
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall again
Press enter to continue.




perl -V


Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.18pre21-compact, archname=i586-linux
    uname='linux tango 2.2.18pre21-compact #1 sat nov 18 09:23:46 mst 2000 i586 unknown '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=2.95.3 20010125 (prerelease)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc-2.2.2.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Feb 23 2001 20:36:56
  @INC:
    /usr/local/lib/perl5/5.6.0/i586-linux
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/i586-linux
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl
    .


# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
#deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb http://security.debian.org stable/updates main contrib non-free

# Uncomment if you want the apt-get source function to work
deb-src http://http.us.debian.org/debian unstable main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable non-US

deb ftp://ftp.sunet.se/pub/os/Linux/distributions/debian/ unstable main non-free contrib
deb-src ftp://ftp.sunet.se/pub/os/Linux/distributions/debian/ unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

---------------------------------------
Received: (at 87434-done) by bugs.debian.org; 22 Feb 2004 11:57:53 +0000
>From cjwatson@flatline.org.uk Sun Feb 22 03:57:53 2004
Return-path: <cjwatson@flatline.org.uk>
Received: from chiark.greenend.org.uk [193.201.200.170] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AusF7-0005Pk-00; Sun, 22 Feb 2004 03:57:53 -0800
Received: from [192.168.124.112] (helo=riva.lab.dotat.at)
	by chiark.greenend.org.uk (Debian Exim 3.35 #1) with esmtp
	for 87434-done@bugs.debian.org
	id 1AusF5-0001QB-00; Sun, 22 Feb 2004 11:57:51 +0000
Received: from cjwatson by riva.lab.dotat.at with local (Exim 3.35 #1 (Debian))
	for 87434-done@bugs.debian.org
	id 1AusF4-00082O-00; Sun, 22 Feb 2004 11:57:50 +0000
Date: Sun, 22 Feb 2004 11:57:50 +0000
From: Colin Watson <cjwatson@debian.org>
To: 87434-done@bugs.debian.org
Subject: Re: your mail
Message-ID: <20040222115750.GA30848@riva.ucam.org>
References: <Pine.LNX.4.33.0104270129410.11107-100000@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.33.0104270129410.11107-100000@localhost>
User-Agent: Mutt/1.3.28i
Delivered-To: 87434-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_18 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=2.0 required=4.0 tests=YOUTHERE autolearn=no 
	version=2.60-bugs.debian.org_2004_02_18
X-Spam-Level: **

On Fri, Apr 27, 2001 at 01:33:08AM -0500, adam@lapdoog.doogie.brainfood.com wrote:
> retitle 87434 [user error] 2.2r2 STD dselect dies on Debconf/Template.pm (Perl location trouble)
> tag 87434 + moreinfo
> thanks
> 
> The only errors I see here stem from the fact that you had a local perl
> installed.  This local perl did not know about the debian installed perl
> modules.  You can expect this to fail.
> 
> dselect will NOT try to do end runs around packages that should be installed
> and working.  If the installed packages don't work, then how can dselect(or
> any other program) know how to work around a particular packages brokeness?
> Only the package/program itself can know about this.
> 
> Unless you can show us the errors you actually got, BEFORE you attempted a
> local perl install(which broke your system even more), then this bug will be
> closed.

The submitter has never replied to this, and it's clear that the errors
reported are the result of trying to use a broken locally installed Perl
with Debian packages. This is not a dselect bug (should have been dpkg,
really), since it is absolutely not dpkg's job to fiddle with Perl
include paths: that will break in the future if and when Perl's include
path is changed, and furthermore dpkg is not even generally in a
position to be able to control the options passed to perl.

The perl problems reported in 2.2r2 should have been fixed long since.
Our perl packages have gone through a number of substantial revisions
since then.

Regards,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: