Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165785 - perl-core/DB_File-1.815 asks for keyboard input during install
Summary: perl-core/DB_File-1.815 asks for keyboard input during install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-07 16:44 UTC by Ulrich Müller
Modified: 2007-02-08 18:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2007-02-07 16:44:32 UTC
Emerge of DB_File-1.815 stops during src_install (in dodoc), asking for keyboard input:

Appending installation info to /var/tmp/portage/perl-core/DB_File-1.815/image//usr/lib/perl5/5.8.8/i686-linux/perllocal.pod
 * Cleaning out stray man files
gzip: /var/tmp/portage/perl-core/DB_File-1.815/image/usr/share/doc/DB_File-1.815//Changes.gz already exists; do you wish to overwrite (y or n)? 

The problem is triggered by the new ecompress feature of portage, see bug #164971 for a discussion (and for emerge --info).

Suggested bugfix:

perl-module.eclass installs Change* MANIFEST* README* ${mydoc}, so in the ebuild the line
   mydoc="Changes"
is redundant and should be removed.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2007-02-08 12:23:42 UTC
Line removed - but that strikes me as a bug in the new ecompress feature. I'll look around for other cases (and wonder why i didn't hit this when i tested the ebuild prior to commit...)
Comment 2 Ulrich Müller gentoo-dev 2007-02-08 18:38:22 UTC
(In reply to comment #1)
> (and wonder why i didn't hit this when i tested the ebuild prior to commit...)

The behaviour actually depends on what compressor is selected by PORTAGE_COMPRESS:

   $ touch foo; gzip foo; touch foo; gzip foo
   gzip: foo.gz already exists; do you wish to overwrite (y or n)? 

   $ touch bar; bzip2 bar; touch bar; bzip2 bar
   bzip2: Output file bar.bz2 already exists.

So gzip asks for confirmation, while bzip2 silently aborts. I believe you should have ended up with both "Changes.bz2" and "Changes" installed.