Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612586 - sys-cluster/openmpi-2.0.2[-fortran]: Dead symlinks (/usr/bin/oshfort, /usr/bin/shmemfort)
Summary: sys-cluster/openmpi-2.0.2[-fortran]: Dead symlinks (/usr/bin/oshfort, /usr/bi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Justin Bronder (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-14 08:03 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2017-03-23 00:49 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 Arfrever Frehtes Taifersar Arahesis 2017-03-14 08:03:26 UTC
sys-cluster/openmpi-2.0.2[-fortran] installs 2 dead symlinks, which trigger QA notices:

 * QA Notice: Symbolic link /usr/bin/oshfort points to /usr/bin/mpifort which does not exist.
 * QA Notice: Symbolic link /usr/bin/shmemfort points to /usr/bin/mpifort which does not exist.



[ebuild   R    ] sys-cluster/openmpi-2.0.2::gentoo  USE="cxx ipv6 mpi-threads numa romio threads -cma -cuda -fortran -heterogeneous -java" ABI_MIPS="(-n32) (-n64) (-o32)" ABI_PPC="(-32) (-64)" ABI_S390="(-32) (-64)" ABI_X86="(64) -32 (-x32)" ELIBC="(-FreeBSD)" OPENMPI_FABRICS="-knem -ofed -psm" OPENMPI_OFED_FEATURES="-connectx-xrc -control-hdr-padding -dynamic-sl -failover -rdmacm -udcm" OPENMPI_RM="-pbs -slurm" 0 KiB
Comment 1 Arfrever Frehtes Taifersar Arahesis 2017-03-14 08:05:42 UTC
Probably this part of ebuild should be improved:

if multilib_is_native_abi && use fortran; then
    ...
else
    # some fortran files get installed unconditionally
    rm "${ED}"usr/include/mpif* "${ED}"usr/bin/mpif* || die
fi
Comment 2 Justin Bronder (RETIRED) gentoo-dev 2017-03-23 00:49:12 UTC
commit 9a32f682696b70b0e7e43c64c592a2ed6839ab95
Author: Justin Bronder <jsbronder@gentoo.org>
Date:   Wed Mar 22 20:47:17 2017 -0400

    sys-cluster/openmpi: remove dead symlinks
    
    With USE=-fortran, some symlinks were still being installed.
    
    Thanks to Arfrever Frehtes Taifersar Arahesis, #612586
    
    Package-Manager: portage-2.3.3