Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121597 - small typo in dev-lisp/hyperspec-7.0.ebuild causes installation to fail (solution provided)
Summary: small typo in dev-lisp/hyperspec-7.0.ebuild causes installation to fail (solu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-04 14:30 UTC by ifreecarve
Modified: 2006-02-05 13:37 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 ifreecarve 2006-02-04 14:30:02 UTC
this is a quick one.  i believe there is a typo in the lisp hyperspec ebuild on line 5:
MY_PV=${PV/./-}
i think it should be:
MY_PV=${PV//./-}


the effect of this typo is that portage can't find the hyperspec tar.gz file because MY_PV contains a bad filename.  you may also want to change ${PV//./-} to $MY_PV on line 24 (this is what made the typo obvious -- the error message has the correct filename).


here is the output when i try to emerge:

# emerge hyperspec
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-lisp/hyperspec-7.0 to /
>>> checksums files   ;-) hyperspec-7.0.ebuild
>>> checksums files   ;-) files/digest-hyperspec-7.0
>>> Unpacking source...
 * 
 * The HyperSpec cannot be redistributed. Download the HyperSpec-7-0.tar.gz
 * file from http://www.lispworks.com/documentation/HyperSpec/ and move it to
 * /usr/portage/distfiles before rerunning emerge. The legal conditions are
 * described at http://www.lispworks.com/reference/HyperSpec/Front/Help.htm#Legal
 * 

!!! ERROR: dev-lisp/hyperspec-7.0 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_unpack
  ebuild.sh, line 694:   Called src_unpack


i assure you that i downloaded the hyperspec file, and that /usr/portage/distfiles/HyperSpec-7-0.tar.gz exists with proper permissions.


just in case you need it:

# emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r3, 2.6.12.5 i686)
=================================================================
System uname: 2.6.12.5 i686 VIA Ezra
Gentoo Base System version 1.12.0_pre12
ccache version 2.3 [enabled]
dev-lang/python:     2.3.3-r1, 2.4.2
sys-apps/sandbox:    1.2.5-r1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.4.3-r4, 1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O3 -m3dnow -pipe -mmmx -march=i586 -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -m3dnow -pipe -mmmx -march=i586 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm avi berkdb bitmap-fonts crypt cups divx4linux eds emboss encode esd foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 imlib jpeg libg++ libwww lirc mad mikmod mmx motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline real sdl spell ssl tcpd truetype truetype-fonts type1-fonts usb vorbis xml2 xmms xv xvid zlib elibc_glibc kernel_linux userland_GNU video_cards_cle266"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2006-02-05 13:37:42 UTC
Thanks for the note. I also took the time to simplify the ebuild and migrate the section in src_unpack() to pkg_nofetch(), also adding mirror and fetch to RESTRICT.