Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156732 - sys-cluster/pvm-3.4.5-r2 ebuild - wrong symlink creation in src_install
Summary: sys-cluster/pvm-3.4.5-r2 ebuild - wrong symlink creation in src_install
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: Normal minor (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 15:23 UTC by Ohmay
Modified: 2010-10-15 09:37 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 Ohmay 2006-11-30 15:23:48 UTC
src_install makes symlinks from pvm installation dir (/usr/share/pvm3/lib/....) to /usr/bin. The problem is that the routine only care about x86 or x86_64 systems, only check for lib or lib64 dir, not for the whole arch:

    local linuxdir
    if [[ $(get_libdir) = lib64 ]]; then
        linuxdir="LINUX64"
    else
        linuxdir="LINUX"
    fi
    ln -s /usr/share/pvm3/lib/${linuxdir}/pvm ${D}/usr/bin/pvm
    ln -s /usr/share/pvm3/lib/${linuxdir}/pvmd3 ${D}/usr/bin/pvmd3
    ln -s /usr/share/pvm3/lib/${linuxdir}/pvmgs ${D}/usr/bin/pvmgs

The correct linuxdir in ppc is LINUXPPC. I see the bug in ppc, but it must be present in other archs but x86, x86_64.
A possible workaround is determine the arch using 'uname -m', and then set the linuxdir variable correctly.
Comment 1 Martin Mokrejš 2009-01-05 23:14:17 UTC
The ebuild is really screwed:

/usr/share/pvm3
/usr/share/pvm3/Makefile
/usr/share/pvm3/Makefile.aimk
/usr/share/pvm3/Readme
/usr/share/pvm3/Readme.Beolin
/usr/share/pvm3/Readme.Beoscyld
/usr/share/pvm3/Readme.Cygwin
/usr/share/pvm3/Readme.Os2
/usr/share/pvm3/Readme.Win32
/usr/share/pvm3/Readme.mp
/usr/share/pvm3/WIN32
/usr/share/pvm3/WIN32/PVM Compile Shell.pif
/usr/share/pvm3/WIN32/PVM NT Compile Shell.lnk
/usr/share/pvm3/WIN32/file.env
/usr/share/pvm3/WIN32/installation.doc
/usr/share/pvm3/WIN32/installation.ps
/usr/share/pvm3/WIN32/into-Autoexec.bat
/usr/share/pvm3/WIN32/pvm.ico
/usr/share/pvm3/bin
/usr/share/pvm3/bin/LINUX
/usr/share/pvm3/bin/LINUX/pvm_gstat
/usr/share/pvm3/bin/LINUX/pvmgroups
/usr/share/pvm3/bin/LINUX/pvmgs
/usr/share/pvm3/bin/LINUX/tracer
/usr/share/pvm3/bin/LINUX/trcsort
/usr/share/pvm3/conf
/usr/share/pvm3/conf/AFX8.def
/usr/share/pvm3/conf/AIX46K.def
/usr/share/pvm3/conf/AIX46K.m4
/usr/share/pvm3/conf/AIX46K64.def
/usr/share/pvm3/conf/AIX46K64.m4
/usr/share/pvm3/conf/AIX4MP.def
/usr/share/pvm3/conf/AIX4MP.m4
/usr/share/pvm3/conf/AIX4SP2.def
/usr/share/pvm3/conf/AIX4SP2.m4
/usr/share/pvm3/conf/AIX56K.def
/usr/share/pvm3/conf/AIX56K.m4
/usr/share/pvm3/conf/AIX56K64.def
/usr/share/pvm3/conf/AIX56K64.m4
/usr/share/pvm3/conf/AIX5MP.def
/usr/share/pvm3/conf/AIX5MP.m4
/usr/share/pvm3/conf/AIX5SP2.def
/usr/share/pvm3/conf/AIX5SP2.m4
/usr/share/pvm3/conf/ALPHA.def
/usr/share/pvm3/conf/ALPHA.m4
/usr/share/pvm3/conf/ALPHAMP.def
/usr/share/pvm3/conf/ALPHAMP.m4
/usr/share/pvm3/conf/APOLLO.def
[cut]
/usr/share/pvm3/include
/usr/share/pvm3/include/fpvm3.h
/usr/share/pvm3/include/fpvm3_watcom.h
/usr/share/pvm3/include/pvm3.h
/usr/share/pvm3/include/pvmproto.h
/usr/share/pvm3/include/pvmtev.h
/usr/share/pvm3/lib
/usr/share/pvm3/lib/LINUX
/usr/share/pvm3/lib/LINUX/libfpvm3.a
/usr/share/pvm3/lib/LINUX/libgpvm3.a
/usr/share/pvm3/lib/LINUX/libpvm3.a
/usr/share/pvm3/lib/LINUX/libpvmtrc.a
/usr/share/pvm3/lib/LINUX/pvm
/usr/share/pvm3/lib/LINUX/pvmd3
/usr/share/pvm3/lib/LINUX/pvmgs
/usr/share/pvm3/lib/aimk
/usr/share/pvm3/lib/bashrc.stub
/usr/share/pvm3/lib/cshrc.stub
/usr/share/pvm3/lib/debugger
/usr/share/pvm3/lib/debugger2
/usr/share/pvm3/lib/ipcfree
/usr/share/pvm3/lib/kshrc.stub
/usr/share/pvm3/lib/pvm
/usr/share/pvm3/lib/pvm.bat
/usr/share/pvm3/lib/pvm.cmd
/usr/share/pvm3/lib/pvm.cygwin.bat
/usr/share/pvm3/lib/pvmd
[cut]
/usr/share/pvm3/libfpvm
/usr/share/pvm3/libfpvm/LINUX
/usr/share/pvm3/libfpvm/LINUX/ftocstr.o
/usr/share/pvm3/libfpvm/LINUX/libfpvm3.a
/usr/share/pvm3/libfpvm/LINUX/pvmfaddhost.o
/usr/share/pvm3/libfpvm/LINUX/pvmfaddmhf.o
/usr/share/pvm3/libfpvm/LINUX/pvmfarchcode.o
/usr/share/pvm3/libfpvm/LINUX/pvmfbarrier.o
/usr/share/pvm3/libfpvm/LINUX/pvmfbcast.o
/usr/share/pvm3/libfpvm/LINUX/pvmfbufinfo.o
/usr/share/pvm3/libfpvm/LINUX/pvmfcatchout.o
/usr/share/pvm3/libfpvm/LINUX/pvmfconfig.o
/usr/share/pvm3/libfpvm/LINUX/pvmfdelhost.o
/usr/share/pvm3/libfpvm/LINUX/pvmfdelinfo.o
/usr/share/pvm3/libfpvm/LINUX/pvmfdelmhf.o
/usr/share/pvm3/libfpvm/LINUX/pvmfexit.o
/usr/share/pvm3/libfpvm/LINUX/pvmffreebuf.o
/usr/share/pvm3/libfpvm/LINUX/pvmffreectx.o
/usr/share/pvm3/libfpvm/LINUX/pvmffrzgrp.o
/usr/share/pvm3/libfpvm/LINUX/pvmfgather.o
/usr/share/pvm3/libfpvm/LINUX/pvmfgetctx.o
/usr/share/pvm3/libfpvm/LINUX/pvmfgetinfo.o


The .o are not needed for sure, right? Why the files for MS Windows machines
either?
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-10-15 09:37:50 UTC
No longer in tree.