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

Bug 88925

Summary: openmosix-user-0.3.6-r2 scripts /bin/iojob and /bin/cpujob fail to run due to emerge.
Product: Gentoo Linux Reporter: Michael-John Anthony <mjanthony>
Component: New packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael-John Anthony 2005-04-12 23:02:56 UTC
emerged openmosix-user-0.3.6-r2 . OpenMosix user has two shell scripts that get generated as part of an emerage of openmosix-user.

These scripts are:

/bin/iojob and 
/bin/cpujob

They are simply wrappers around mosrun.

These wrappers don't work as the line to '/bin/mosrun' is incorrect:

For example:

# cpujob ls
/bin/cpujob: line 36: /var/tmp/portage/openmosix-user-0.3.6-r2/image//bin/mosrun: No such file or directory
/bin/cpujob: line 36: exec: /var/tmp/portage/openmosix-user-0.3.6-r2/image//bin/mosrun: cannot execute: No such file or directory


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
cpujob/iojob fail because when openmosix-user is compiled, the
/var/tmp/portage/openmosix-user-0.3.6-r2 directory is used instead of / . This
is a side effect of emerge (or is it ebuild openmosix-user-0.3.6-r2
directory.ebuild qmerge?)

Expected Results:  
Point to the correct path of mosrun.

# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.2,
glibc-2.3.4.20040808-r1, 2.4.28 i686)
=================================================================
System uname: 2.4.28 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#2, Feb 26 2005, 02:19:17)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1, 2.14.90.0.8-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/sysctl.conf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks prelink sfperms"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo
ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo
ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 dhcp libg++ pam"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-05-04 02:17:47 UTC
fixed already in -r3
thanks

*** This bug has been marked as a duplicate of 85435 ***