Bug 195216 - [new port] [graphics/p5-Chart-Gnuplot]: Perl module to plot graphs using GNUPLOT on the fly
Summary: [new port] [graphics/p5-Chart-Gnuplot]: Perl module to plot graphs using GNUP...
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: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks: 195367
  Show dependency treegraph
 
Reported: 2014-11-20 09:12 UTC by Nikola Kolev
Modified: 2014-12-22 17:58 UTC (History)
1 user (show)

See Also:


Attachments
p5-Chart-Gnuplot (2.14 KB, text/plain)
2014-11-20 09:12 UTC, Nikola Kolev
no flags Details
p5-Chart-Gnuplot (2.02 KB, text/plain)
2014-12-22 11:21 UTC, Nikola Kolev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikola Kolev 2014-11-20 09:12:49 UTC
Created attachment 149634 [details]
p5-Chart-Gnuplot

FreeBSD 10.0-RELEASE-p12 FreeBSD 10.0-RELEASE-p12 #0: Tue Nov  4 05:07:17 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

% make 
===>  License GPLv2 accepted by the user
===>   p5-Chart-Gnuplot-0.21 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by p5-Chart-Gnuplot-0.21 for building
===>  Extracting for p5-Chart-Gnuplot-0.21
=> SHA256 Checksum OK for Chart-Gnuplot-0.21.tar.gz.
===>  Patching for p5-Chart-Gnuplot-0.21
===>   p5-Chart-Gnuplot-0.21 depends on file: /usr/local/bin/perl5.16.3 - found
===>  Configuring for p5-Chart-Gnuplot-0.21
Checking if your kit is complete...
Looks good
Writing Makefile for Chart::Gnuplot
Writing MYMETA.yml and MYMETA.json
===>  Building for p5-Chart-Gnuplot-0.21
--- blib/lib/Chart/.exists ---
--- blib/arch/.exists ---
--- blib/lib/auto/Chart/Gnuplot/.exists ---
--- blib/arch/auto/Chart/Gnuplot/.exists ---
--- blib/bin/.exists ---
--- blib/script/.exists ---
--- blib/man1/.exists ---
--- blib/man3/.exists ---
--- subdirs ---
--- blibdirs ---
--- dynamic ---
--- pm_to_blib ---
--- config ---
--- linkext ---
--- pm_to_blib ---
cp lib/Chart/Gnuplot/Util.pm blib/lib/Chart/Gnuplot/Util.pm
cp lib/Chart/Gnuplot.pm blib/lib/Chart/Gnuplot.pm
--- pure_all ---
--- manifypods ---
Manifying blib/man3/Chart::Gnuplot.3
--- all ---
===>  Staging for p5-Chart-Gnuplot-0.21
===>   p5-Chart-Gnuplot-0.21 depends on executable: gnuplot - found
===>   p5-Chart-Gnuplot-0.21 depends on file: /usr/local/bin/perl5.16.3 - found
===>   Generating temporary packing list
Manifying blib/man3/Chart::Gnuplot.3
Installing /usr/home/koue/ports/graphics/p5-Chart-Gnuplot/work/stage/usr/local/lib/perl5/site_perl/5.16/Chart/Gnuplot.pm
Installing /usr/home/koue/ports/graphics/p5-Chart-Gnuplot/work/stage/usr/local/lib/perl5/site_perl/5.16/Chart/Gnuplot/Util.pm
Installing /usr/home/koue/ports/graphics/p5-Chart-Gnuplot/work/stage/usr/local/lib/perl5/5.16/man/man3/Chart::Gnuplot.3
====> Compressing man pages (compress-man)

% portlint 
looks fine.

% make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)

% make stage-qa
====> Running Q/A tests (stage-qa)



Redports.org is offline so it cannot be used for testing.



I've tried to build the port with poudriere but on FreeBSD 9.3 i386 I've got:

====>> Failed ports: print/texlive-texmf:package

====>> Skipped ports: graphics/p5-Chart-Gnuplot math/gnuplot print/tex-dvipsk print/tex-formats

and didn't test it with other releases.
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2014-12-16 17:10:10 UTC
There are two issues to fix:

- @dirrm is deprecated
- port fails make check-plist:

====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%SITE_PERL%%/%%PERL_ARCH%%/auto/Chart/Gnuplot/.packlist
===> Error: Plist issues found.
*** Error code 1
Comment 2 Nikola Kolev 2014-12-17 11:57:45 UTC
Hi Pawel,

According to /usr/ports/CHANGES

20141126:
AUTHOR: mat@FreeBSD.org

  The way Perl modules are installed has changed
  ...

  The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
  always removed, as is perllocal.pod.


So I guess .packlist file should not appear in the stage directory?
I used portsnap to update ports tree and update the port files but .packlist file still appear in the stage directory. Is this correct?
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2014-12-18 18:36:44 UTC
This was reverted day later (from UPDATING):

20141127:
  AFFECTS: users of lang/perl5.*
  AUTHOR: mat@FreeBSD.org

  The .packlist files are back, if you upgraded all your p5- ports yesterday
  and need them, you will need to reinstall them again, see yesterday's update
  for instructions.

The .packlist file should be automatically added to plist, for some reason
this does not work for this particular port.
Comment 4 Nikola Kolev 2014-12-19 14:24:19 UTC
Ok, I fixed plist problem but now new one appear.

% make stage-qa
====> Running Q/A tests (stage-qa)
Error: 'lib/perl5/site_perl/5.16/mach/auto/Chart/Gnuplot/.packlist' is referring to /usr/home/koue/ports/graphics/p5-Chart-Gnuplot/work/stage
find: /usr/home/koue/ports/graphics/p5-Chart-Gnuplot/work/stage/usr/local/lib/perl5/site_perl/mach/5.16: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/home/koue/ports/graphics/p5-Chart-Gnuplot

 % cat work/stage/usr/local/lib/perl5/site_perl/5.16/mach/auto/Chart/Gnuplot/.packlist
/usr/home/koue/ports/graphics/p5-Chart-Gnuplot/work/stage/usr/local/lib/perl5/5.16/man/man3/Chart::Gnuplot.3
/usr/home/koue/ports/graphics/p5-Chart-Gnuplot/work/stage/usr/local/lib/perl5/site_perl/5.16/Chart/Gnuplot.pm
/usr/home/koue/ports/graphics/p5-Chart-Gnuplot/work/stage/usr/local/lib/perl5/site_perl/5.16/Chart/Gnuplot/Util.pm
/usr/local/lib/perl5/5.16/man/man3/Chart::Gnuplot.3
/usr/local/lib/perl5/site_perl/5.16/Chart/Gnuplot.pm
/usr/local/lib/perl5/site_perl/5.16/Chart/Gnuplot/Util.pm


Last 3 rows should replace the first 3 rows no added after them. I will try to find why this mess happen but I think there is problem with ports infrastructure changes and especially with fixpacklist keyword removal.
Comment 5 Mathieu Arnold freebsd_committer freebsd_triage 2014-12-22 10:41:40 UTC
(In reply to Nikola Kolev from comment #4)
> ====> Running Q/A tests (stage-qa)
> Error: 'lib/perl5/site_perl/5.16/mach/auto/Chart/Gnuplot/.packlist' is

Your Perl is not up-to-date.  Update your Perl.
Comment 6 Nikola Kolev 2014-12-22 11:21:43 UTC
Created attachment 150845 [details]
p5-Chart-Gnuplot

Thanks Mat, Perl update solve the problem!

% perl -v

This is perl 5, version 18, subversion 4 (v5.18.4) built for amd64-freebsd-thread-multi

% portlint 
looks fine.

% make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)

% make stage-qa
====> Running Q/A tests (stage-qa)
Comment 7 commit-hook freebsd_committer freebsd_triage 2014-12-22 17:58:12 UTC
A commit references this bug:

Author: pawel
Date: Mon Dec 22 17:57:39 UTC 2014
New revision: 375255
URL: https://svnweb.freebsd.org/changeset/ports/375255

Log:
  This Perl module is to plot graphs using GNUPLOT on the fly.
  In order to use this module, gnuplot need to be installed.
  If image format other than PS and EPS is required to generate,
  it is recommended to install the convert program of ImageMagick as well.

  WWW: http://search.cpan.org/dist/Chart-Gnuplot/

  PR:		195216
  Submitted by:	koue@chaosophia.net

Changes:
  head/graphics/Makefile
  head/graphics/p5-Chart-Gnuplot/
  head/graphics/p5-Chart-Gnuplot/Makefile
  head/graphics/p5-Chart-Gnuplot/distinfo
  head/graphics/p5-Chart-Gnuplot/pkg-descr