Bug 253112 - net/onedrive: Fails to package: bash_completion.d/onedrive: No such file or directory
Summary: net/onedrive: Fails to package: bash_completion.d/onedrive: No such file or d...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Yuri Victorovich
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2021-01-31 00:42 UTC by Brad Baago
Modified: 2021-02-03 00:27 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (hiroo.ono+freebsd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Baago 2021-01-31 00:42:53 UTC
gmake[2]: Entering directory '/usr/ports/net/onedrive/work/onedrive-2.4.8'
/usr/bin/install -c -s onedrive /usr/ports/net/onedrive/work/stage/usr/local/bin/onedrive
/usr/bin/install -c onedrive.1 /usr/ports/net/onedrive/work/stage/usr/local/man/man1/onedrive.1
mkdir -p /usr/ports/net/onedrive/work/stage/usr/local/etc/logrotate.d
/usr/bin/install -c -m 644 contrib/logrotate/onedrive.logrotate /usr/ports/net/onedrive/work/stage/usr/local/etc/logrotate.d/onedrive
mkdir -p /usr/ports/net/onedrive/work/stage/usr/local/share/doc/onedrive
/usr/bin/install -c -m 644 README.md config CHANGELOG.md docs/Office365.md docs/USAGE.md docs/BusinessSharedFolders.md docs/advanced-usage.md /usr/ports/net/onedrive/work/stage/usr/local/share/doc/onedrive
mkdir -p /usr/ports/net/onedrive/work/stage/usr/local/share/zsh/site-functions
/usr/bin/install -c -m 644 contrib/completions/complete.zsh /usr/ports/net/onedrive/work/stage/usr/local/share/zsh/site-functions/_onedrive
mkdir -p /usr/ports/net/onedrive/work/stage/usr/local/share/bash-completion/completions
/usr/bin/install -c -m 644 contrib/completions/complete.bash /usr/ports/net/onedrive/work/stage/usr/local/share/bash-completion/completions/onedrive
mkdir -p /usr/ports/net/onedrive/work/stage/usr/local/share/fish/completions
/usr/bin/install -c -m 644 contrib/completions/complete.fish /usr/ports/net/onedrive/work/stage/usr/local/share/fish/completions/onedrive.fish
gmake[2]: Leaving directory '/usr/ports/net/onedrive/work/onedrive-2.4.8'
install -d -m 0775 /usr/ports/net/onedrive/work/stage/var/log/onedrive
====> Compressing man pages (compress-man)
===>  Installing for onedrive-2.4.8
===>  Checking if onedrive is already installed
===>   Registering installation for onedrive-2.4.8
pkg-static: Unable to access file /usr/ports/net/onedrive/work/stage/usr/local/etc/bash_completion.d/onedrive:No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/onedrive
*** Error code 1

Stop.
make: stopped in /usr/ports/net/onedrive
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-01-31 01:11:28 UTC
^Triage: Bump Severity (Affects many): COMPLETION=on: Install completion for BASH, FISH and ZSH (default enabled)
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2021-01-31 06:04:47 UTC
plist is also wrong.
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2021-01-31 06:15:55 UTC
Fixed.
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-01-31 06:16:40 UTC
A commit references this bug:

Author: yuri
Date: Sun Jan 31 06:15:48 UTC 2021
New revision: 563466
URL: https://svnweb.freebsd.org/changeset/ports/563466

Log:
  net/onedrive: Fix plist

  PR:		253112
  Reported by:	bbaago@bradtech.ca

Changes:
  head/net/onedrive/Makefile
  head/net/onedrive/pkg-plist
Comment 5 Hiroo Ono 2021-02-02 23:22:14 UTC
With this change, I am receiving pkg-fallout failures (currently for 12.2-RELEASE and 14.0-CURRENT). In what environment this problem occured?

===>  Building package for onedrive-2.4.8_1
pkg-static: Unable to access file /wrkdirs/usr/ports/net/onedrive/work/stage/usr/local/share/bash-completion/completions/onedrive:No such file or directory
Comment 6 commit-hook freebsd_committer freebsd_triage 2021-02-03 00:27:55 UTC
A commit references this bug:

Author: yuri
Date: Wed Feb  3 00:27:10 UTC 2021
New revision: 563853
URL: https://svnweb.freebsd.org/changeset/ports/563853

Log:
  net/onedrive: Fix build by adding missing dependency shells/bash-completion

  PR:		253112
  Reported by:	fallout

Changes:
  head/net/onedrive/Makefile