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

Bug 926840

Summary: sci-geosciences/gmt-6.4.0 problems with installed bash completions
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: CONFIRMED ---    
Severity: normal CC: darthm.gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-12 13:15:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-geosciences/gmt-6.4.0 problems with installed bash completions.
Discovered on: amd64 (internal ref: binutils2.42_tinderbox)
System: BINUTILS-2.42-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#BINUTILS-2.42)
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-12 13:15:18 UTC
Created attachment 887480 [details]
build.log

build log and emerge --info
Comment 2 darthm 2024-06-26 13:51:52 UTC
Yeah, I second that.

Also most of the scripts in /usr/share/gmt-6.4.0/tools/ are using "gmt" and not "gmt6", which doesn't work.

f.e.:
------------------------------------------------------------
if ! [ -x "$(command -v gmt)" ]; then
  echo 'Error: gmt is not found in your search PATH.' >&2
  exit 1
fi
------------------------------------------------------------

If you source one of these scripts in your bashrc, you will be logged out immediately from ssh after logging in.

-----------------------------------------
source $(gmt6 --show-sharedir)/tools/gmt_functions.sh
-----------------------------------------

So the whole slot feature is incomplete and in some ways broken without having a way to select the active version? (eselect gmt missing?)

Maybe also not needed anymore because gmt6 is the only slot in portage?