Bug 198894 - editors/joe: mismatch pkg-plist and installed files
Summary: editors/joe: mismatch pkg-plist and installed files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-25 09:26 UTC by Olexandr Davydenko
Modified: 2015-03-27 15:59 UTC (History)
3 users (show)

See Also:


Attachments
Patch for pkg-plist (656 bytes, patch)
2015-03-25 09:26 UTC, Olexandr Davydenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olexandr Davydenko 2015-03-25 09:26:55 UTC
Created attachment 154792 [details]
Patch for pkg-plist

New version of joe install new doc files, but pkg-plist contains info about doc files from previous version.

# make install
... skip ...
install  -o root -g wheel -m 0644 README.md docs/README.old docs/man.md ChangeLog docs/hacking.md NEWS.md '/usr/ports/editors/joe/work/stage/usr/local/share/doc/joe'

# make package     
===>  Building package for joe-4.0,1
pkg-static: Unable to access file /usr/ports/editors/joe/work/stage/usr/local/share/doc/joe/HACKING: No such file or directory
pkg-static: Unable to access file /usr/ports/editors/joe/work/stage/usr/local/share/doc/joe/HINTS: No such file or directory
pkg-static: Unable to access file /usr/ports/editors/joe/work/stage/usr/local/share/doc/joe/LIST: No such file or directory
pkg-static: Unable to access file /usr/ports/editors/joe/work/stage/usr/local/share/doc/joe/NEWS: No such file or directory
pkg-static: Unable to access file /usr/ports/editors/joe/work/stage/usr/local/share/doc/joe/README: No such file or directory
*** Error code 1
Comment 1 John Marino freebsd_committer 2015-03-27 13:17:43 UTC
There has been a couple of commits to editors/joe stating it fixes this.  I'll assume it's fixed.  If not, please reopen.
Comment 2 Ting-Wei Lan 2015-03-27 14:55:34 UTC
It doesn't pass check-plist:

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/man.md
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
Comment 3 John Marino freebsd_committer 2015-03-27 15:12:59 UTC
reopening
Comment 4 commit-hook freebsd_committer 2015-03-27 15:46:18 UTC
A commit references this bug:

Author: mi
Date: Fri Mar 27 15:45:18 UTC 2015
New revision: 382429
URL: https://svnweb.freebsd.org/changeset/ports/382429

Log:
  Remove man.md from the list of installed files as well. The actual joe.1
  man-page is installed anyway, there is no need for this, that I can see.

  PR:		198894

Changes:
  head/editors/joe/Makefile