clone 985351 -1
retitle -1 changing gitexecdir breaks packages that install commands there
severity -1 serious
quit

Hi,

Sven Joachim wrote:

> It also breaks various add-on packages installing files into
> /usr/lib/git-core, as seen in the gitbrute autopkgtest[1]:
>
> ,----
> | git: 'brute' is not a git command. See 'git --help'.
> `----

This seems like a different issue from the one Guillem reported,
though it has the same proximate cause.

> The following packages install one or more files below /usr/lib/git-core
> and are likely broken now:
>
> ,----
> | $ apt-file search /usr/lib/git-core | cut -d : -f1 | sort -u
> | brz
> | git-absorb
> | git-crecord
> | git-flow
> | git-quick-stats
> | git-restore-mtime
> | gitbrute
> | imediff
> `----

I suspect these should install to /usr/bin/ instead.  The exact
location where git stores its commands is an implementation detail
that packages are not meant to rely on.

Thanks,
Jonathan

Reply via email to