Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15455 - pine-4.53-r3 tries to download files with lynx, but if the download fails, uncompiled pine is installed anyway
Summary: pine-4.53-r3 tries to download files with lynx, but if the download fails, un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-10 16:45 UTC by Throstur Svanbergsson
Modified: 2003-02-15 13:34 UTC (History)
1 user (show)

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 Throstur Svanbergsson 2003-02-10 16:45:25 UTC
As shown below, I try to emerge pine, lynx fails to download the needed files "pine/rules.c" and "pine/rules.h" - the emerge continues however, thinking that compilation is done, and installs the documentation and configuration files but no binaries

blind root # emerge pine
Calculating dependencies ...done!
>>> emerge (1 of 1) net-mail/pine-4.53-r3 to /
>>> md5 ;-) pine4.53.tar.bz2
>>> md5 ;-) pine-4.53-chappa-20030203.patch.bz2
>>> Unpacking source...
>>> Unpacking pine4.53.tar.bz2
 * Applying pine-4.53-chappa-20030203.patch.bz2...   [ ok ]
 * Applying pine-4.21-fixhome.patch...               [ ok ]
 * Applying imap-4.7c2-flock.patch...                [ ok ]
 * Applying pine-4.40-boguswarning.patch...          [ ok ]
 * Applying pine-4.31-segfix.patch...                [ ok ]
 * Applying pine-4.40-lockfile-perm.patch...         [ ok ]
 * Applying imap-2000-time.patch...                  [ ok ]
 * Applying pine-4.33-whitespace.patch...            [ ok ]
>>> Source unpacked.
####################################################################

     In order to compile this new version of Pine you
     need two more files, "pine/rules.c" and "pine/rules.h"

     Pressing "y" and <RETURN> will download those files
     automatically, now. Press "N" or ^C to cancel

####################################################################

If you want we can download them now ([y]/n):
Downloading rules.c, wait.....
lynx -dump -width=1000 http://www.math.washington.edu/~chappa/pine/patches/pine4.44/rules.c.gz > pine/rules.c

Can't Access `http://www.math.washington.edu/~chappa/pine/patches/pine4.44/rules.c.gz'
Alert!: Unable to access document.

lynx: Can't access startfile
Hmm something went wrong, we could not download the file
Exiting...

>>> Install pine-4.53-r3 into /var/tmp/portage/pine-4.53-r3/image/ category net-mail
>>> dobin: making bin/pine executable...
install: cannot stat `bin/pine': No such file or directory
>>> dobin: making bin/pico executable...
install: cannot stat `bin/pico': No such file or directory
>>> dobin: making bin/pilot executable...
install: cannot stat `bin/pilot': No such file or directory
>>> dobin: making bin/mtest executable...
install: cannot stat `bin/mtest': No such file or directory
>>> dobin: making bin/rpdump executable...
install: cannot stat `bin/rpdump': No such file or directory
>>> dobin: making bin/rpload executable...
install: cannot stat `bin/rpload': No such file or directory
man:
strip:
>>> Completed installing into /var/tmp/portage/pine-4.53-r3/image/
>>> Merging net-mail/pine-4.53-r3 to /

Reproducible: Always
Steps to Reproduce:
1. Make sure that lynx can't access the internet
2. emerge pine

Actual Results:  
lynx fails to download the needed files, the pine compilation exists, and portage installs the documentation but no binaries:

throstur@blind throstur $ pine
-bash: pine: command not found

Expected Results:  
The emerge should fail if the download of those 2 files fails. Additionaly, I find it rather weird to have to install a browser to install a mail client.

Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r9 i686 Celeron (Mendocino)
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/var/cache/portage"
PKGDIR="/var/cache/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 apm gif imlib jpeg libg++ nls png spell zlib gdbm berkdb slang svga libwww perl python -3dfx -3dnow aalib -acl -afs -alsa -arts -avi -bonobo -canna -cdr -cjk crypt -cups -dga -directfb -doc -dvd -encode -esd -flash -freewnn -ggi -ggz -gnome -gpm -gtk -gtk2 imap -java -kde -maildir mbox -mikmod mmx -motif -mozilla -mpeg -mule mysql -nas ncurses -oggvorbis -opengl -oss pam -pcmcia -pda -pdflib -qt -qtmt -quicktime readline samba -scanner -sdl snmp ssl tcpd -tcltk -truetype -voodoo3 -X -xml -xml2 -xmms -xv -zeo"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://ftp.rhnet.is/gentoo-portage"
FEATURES="sandbox ccache buildpkg"
Comment 1 Throstur Svanbergsson 2003-02-10 16:46:09 UTC
Sorry about the linebreaks. :(
Comment 2 Nick Hadaway 2003-02-12 22:36:38 UTC
I am talking with Eduardo Chappa and I think he has an updated patch with the wget'd files included.  more to come real-soon-now.
Comment 3 Nick Hadaway 2003-02-13 03:51:26 UTC
pine-4.53-r4 is on it's way... I am waiting for the patch to propogate to the mirrors before adding it to portage.
Comment 4 Nick Hadaway 2003-02-15 13:34:28 UTC
-r4 is now in portage with the lynxified files already included in the patch.