If one builds a version of systemtap by hand, but one also has a pre-installed version to which $XDG_DATA_DIRS points, the handbuilt one will suffer from duplicate tapset searches. One possible fix is to mark up the standard tapset directory with some magic file that prevents it from being searched via the $XDG_DATA_DIRS path. OTOH that could defeat the purpose, if an auxiliary package installs tapset files under the same path.
See also the discussion in this thread: http://sourceware.org/ml/systemtap/2011-q1/msg00115.html
(In reply to comment #0) > One possible fix is to mark up the standard tapset directory with some magic > file that prevents it from being searched via the $XDG_DATA_DIRS path. OTOH > that could defeat the purpose, if an auxiliary package installs tapset files > under the same path. Urgh. Hadn't thought of that. Maybe we really should split "system" and "application" tapsets into separate include paths then.
commit 43179f1055