Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166242 - app-crypt/gnupg-1.4.6-r1 asks for keyboard input during install
Summary: app-crypt/gnupg-1.4.6-r1 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 (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-10 19:52 UTC by Ulrich Müller
Modified: 2007-02-10 22:10 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-10 19:52:26 UTC
Emerge of gnupg-1.4.6-r1 stops during src_install (in dodoc), asking for
keyboard input:

make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/app-crypt/gnupg-1.4.6-r1/work/gnupg-1.4.6'
make[1]: Leaving directory `/var/tmp/portage/app-crypt/gnupg-1.4.6-r1/work/gnupg-1.4.6'
gzip: /var/tmp/portage/app-crypt/gnupg-1.4.6-r1/image/usr/share/doc/gnupg-1.4.6-r1//ChangeLog.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:

dodoc tries to install both ChangeLog and doc/ChangeLog, so one of them should either be omitted or installed under a different name.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2007-02-10 21:14:54 UTC
I get only the following:
bzip2: Output file /var/tmp/portage/app-crypt/gnupg-1.4.6-r1/image/usr/share/doc/gnupg-1.4.6-r1//ChangeLog.bz2 already exists.

No interactive request.

But I fixed it anyway... :)
Comment 2 Ulrich Müller gentoo-dev 2007-02-10 22:10:46 UTC
(In reply to comment #1)
> I get only the following:
> bzip2: Output file
> /var/tmp/portage/app-crypt/gnupg-1.4.6-r1/image/usr/share/doc/gnupg-1.4.6-r1//ChangeLog.bz2
> already exists.

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 will silently abort.

> But I fixed it anyway... :)

Good. :-)