Bug 239791

Summary: devel/p5-Minion: resources directory missing
Product: Ports & Packages Reporter: Thomas Morper <thomas>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Many People Keywords: needs-patch, needs-qa, regression
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/mojolicious/minion/commit/d478e1d

Description Thomas Morper 2019-08-12 00:55:19 UTC
In Minion 9.12 migrations were moved from Pg.pm's DATA section to a separate file, see https://github.com/mojolicious/minion/commit/d478e1d

However, the new file is missing from the port's pkg-pkglist, rendering the resulting package unusable. After upgrading to the 9.12 package applications using Minion can't be started any more:

Can't load application from file "/home/tms/script/tms":
Can't open file "…/site_perl/Minion/Backend/resources/migrations/pg.sql":
No such file or directory at …/site_perl/Mojo/Pg/Migrations.pm line 22.
Compilation failed in require at (eval 94) line 1.

Manually copying the missing file fixed the problem.

Please update the pkg-plist.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-08-13 20:53:10 UTC
A commit references this bug:

Author: sunpoet
Date: Tue Aug 13 20:52:07 UTC 2019
New revision: 508874
URL: https://svnweb.freebsd.org/changeset/ports/508874

Log:
  Fix PLIST

  - Bump PORTREVISION for package change

  PR:		239791
  Submitted by:	Thomas Morper <thomas@beingboiled.info>

Changes:
  head/devel/p5-Minion/Makefile
  head/devel/p5-Minion/pkg-plist
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-08-13 20:54:09 UTC
Committed. Thanks!