Bug 239791 - devel/p5-Minion: resources directory missing
Summary: devel/p5-Minion: resources directory missing
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: Sunpoet Po-Chuan Hsieh
URL: https://github.com/mojolicious/minion...
Keywords: needs-patch, needs-qa, regression
Depends on:
Reported: 2019-08-12 00:55 UTC by Thomas Morper
Modified: 2019-08-13 20:54 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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 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


  - Bump PORTREVISION for package change

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

Comment 2 Sunpoet Po-Chuan Hsieh freebsd_committer 2019-08-13 20:54:09 UTC
Committed. Thanks!