Bug 252407 - devel/git: Update/installation of port fails: File exists
Summary: devel/git: Update/installation of port fails: File exists
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-04 11:37 UTC by O. Hartmann
Modified: 2021-06-22 16:34 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (garga)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2021-01-04 11:37:03 UTC
Updating port devel/git from 2.29.2 to 2.30 (make in devel/git, standard config) fails:

[...]
===> Installing contributed scripts
/bin/mkdir -p /usr/ports/devel/git/work-default/stage/usr/local/share/git-core/contrib
cp -f -R /usr/ports/devel/git/work-default/git-2.30.0/contrib/* /usr/ports/devel/git/work-default/stage/usr/local/share/git-core/contrib
ln: /usr/ports/devel/git/work-default/stage/usr/local/etc/bash_completion.d//git-completion.bash: File exists
*** Error code 1

Deinstalling and building from scratch fails also.

OS is CURRENT (FreeBSD 13.0-CURRENT #208 main-c255447-g5e78bbb74a1f: Wed Dec 30 17:32:17 CET 2020 amd64).

Ports tree has been updated recently (just before build).


Regards,

oh
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2021-03-17 12:03:46 UTC
(In reply to O. Hartmann from comment #0)
Please check if 2.31.0 fixes the issue for you
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2021-06-22 16:34:49 UTC
Current git port doesn't try to create a symlink of bash completion script anymore so this issue will not happen again