Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926840 - sci-geosciences/gmt-6.4.0 problems with installed bash completions
Summary: sci-geosciences/gmt-6.4.0 problems with installed bash completions
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-12 13:15 UTC by Agostino Sarubbo
Modified: 2024-06-26 13:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,557.69 KB, text/plain)
2024-03-12 13:15 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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?