Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115922

Summary: dev-scheme/drscheme ebuild sets wrong $PLTHOME in /usr/bin/drscheme startscript
Product: Gentoo Linux Reporter: Phillip Merensky <gentoo>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: major CC: chris
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info

Description Phillip Merensky 2005-12-18 03:43:55 UTC
Hello.
After updating drscheme I get the following error, when trying to execute 'drscheme'.

/usr/bin/drscheme: line 67: /tmp/portage/drscheme-209/image/usr/share/drscheme/bin/mred: Datei oder Verzeichnis nicht gefunden
/usr/bin/drscheme: line 67: exec: /tmp/portage/drscheme-209/image/usr/share/drscheme/bin/mred: cannot execute: Datei oder Verzeichnis nicht gefunden

Strange to say the $PLTHOME in '/usr/bin/drscheme' is set to '/tmp/portage/drscheme-209/image/usr/share/drscheme' although it should point to '/usr/share/drscheme'.

Maybe someone can fix this.

Thanks in advance
Phillip
Comment 1 Phillip Merensky 2005-12-18 03:45:53 UTC
Created attachment 75006 [details]
emerge info

Output of 'emerge info'
Comment 2 Patrick McLean gentoo-dev 2006-02-17 16:12:42 UTC
dev-scheme/drscheme-301 now in portage fixes this among other things.
Comment 3 Phillip Merensky 2006-02-20 08:50:45 UTC
Hello.
I got the same error after installing drscheme-301-r1.

/usr/bin/drscheme: line 67: /var/tmp/portage/drscheme-301-r1/image/usr/lib/drscheme/bin/mred: Datei oder Verzeichnis nicht gefunden
/usr/bin/drscheme: line 67: exec: /var/tmp/portage/drscheme-301-r1/image/usr/lib/drscheme/bin/mred: cannot execute: Datei oder Verzeichnis nicht gefunden

$PLTHOME in /usr/bin/drscheme points to /var/tmp/portage/drscheme-301-r1/image/usr/lib/drscheme which is obviously wrong.
Comment 4 Christopher Warrington (c45207) 2006-03-18 23:04:29 UTC
Not a problem for me.

emerge info:
Gentoo Base System version 1.6.14
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.86GHz
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium-m -O2 -fno-omit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=pentium-m -O2 -fno-omit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks keepwork nostrip sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi aim alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdr crypt cups curl doc dri dvd dvdr dvdread eds emacs emboss encode ethereal exif expat fam ffmpeg flac foomaticdb fortran freetds ftp gd gdbm gif glut gnutls gpm gs gstreamer gtk gtk2 guile idn imagemagick imap imlib ipv6 jabber java jikes jpeg junit kde kerberos lcms ldap libcaca libg++ libwww mad memlimit mhash mikmod mime mmx mng motif mozilla mp3 mpeg mysql mysqli ncurses nls nptl ogg oggvorbis opengl pam pcre pdflib perl png python qt quicktime readline samba sdk sdl speex spell sqlite sse sse2 ssl svg svga tcltk tcpd test tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wmf xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

Comment 5 Patrick McLean gentoo-dev 2006-06-09 09:17:41 UTC
Please try again with 301-r2.
Comment 6 Patrick McLean gentoo-dev 2006-07-27 10:43:19 UTC
No response from user, assuming this must be fixed for him.
Comment 7 Phillip Merensky 2006-07-27 12:25:06 UTC
Sorry.
I overlooked the last Email.
Everything works with drscheme-301-r2.

Thanks
Phillip