Bug 224258 - www/p5-Apache-MP3 missing run-dependency
Summary: www/p5-Apache-MP3 missing run-dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-11 23:49 UTC by arensb+freebsd
Modified: 2017-12-15 23:57 UTC (History)
2 users (show)

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


Attachments
Patch to www/p5-Apache-MP3/Makefile (392 bytes, patch)
2017-12-11 23:49 UTC, arensb+freebsd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description arensb+freebsd 2017-12-11 23:49:17 UTC
Created attachment 188735 [details]
Patch to www/p5-Apache-MP3/Makefile

After installing www/p5-Apache-MP3 and configuring it per the instructions, web connections fail with status 500, and the Apache log file records errors like:

[Mon Dec 11 17:42:04.678776 2017] [perl:error] [pid 59255] [client 128.8.80.146:64130] failed to resolve handler `Apache::MP3': Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.24 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.24/mach /usr/local/lib/perl5/5.24 . /usr/local) at /usr/local/lib/perl5/site_perl/Apache/MP3.pm line 20.\nBEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Apache/MP3.pm line 20.\nCompilation failed in require at (eval 2) line 2.\n

Since some of the .pm files in p5-Apache-MP3 include the line
    use CGI();
it seems obvious that www/p5-CGI is a run-dependency, so I've added it in the attached patch.
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2017-12-12 05:24:39 UTC
Fails to build, see:

[111-default] Extracting p5-CGI-4.38: .......... done
===>   p5-Apache-MP3-4.00_3 depends on executable: p5-CGI - not found
Comment 2 Walter Schwarzenfeld freebsd_triage 2017-12-15 22:15:05 UTC
Kurt, this is one of the "strange" errors:

p5-CGI:www/p5-CGI does not work
butt
p5-CGI>=0:www/p5-CGI works.
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-12-15 23:52:31 UTC
A commit references this bug:

Author: sunpoet
Date: Fri Dec 15 23:52:18 UTC 2017
New revision: 456430
URL: https://svnweb.freebsd.org/changeset/ports/456430

Log:
  Add removed Perl core module

  - Add NO_ARCH
  - Bump PORTREVISION for dependency change

  PR:		224258
  Reported by:	Andrew Arensburger <arensb@ooblick.com>

Changes:
  head/www/p5-Apache-MP3/Makefile
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-12-15 23:57:41 UTC
Committed. Thanks!