p5-Devel-NYTProf: version 6.09 now available
I have released version 6.09 of this Perl library to CPAN. The FreeBSD port is currently at version 6.06, which will not pass all its tests with the upcoming perl-5.34.0 release. Please consider upgrading the port and let me know any problems you encounter. Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: p5-Locale-Language?
On 2/5/20,Doug Sampson wrote: To: "freebsd-ports@freebsd.org" Subject: p5-Locale-Language? Message-ID: <8a12d0aeb775499c95ba5652b8cf7...@dawnsign.com> Content-Type: text/plain; charset="us-ascii" How do I go about requesting a new Perl port for the Locale::Language module that was taken out of Perl 5.30? www/foswiki depends on that module and some of its functions have not worked since I upgraded the wiki system to 5.30. Since I use ports exclusively, I do not wish to revert to cpan to install such modules. ~Doug A quick check on CPAN shows Locale::Language to be part of the Locale-Codes distribution (https://metacpan.org/release/Locale-Codes). A search on FreeBSD Ports (https://www.freebsd.org/cgi/ports.cgi?query=locale-codes=all=all) shows that there already exists a port for Locale-Codes. However, it appears to be several versions behind CPAN. So perhaps you could contact the maintainer to do an update of the port. Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: make package "*** Error code 1"
On 06/07/2018 08:42 PM, duckmanjbr wrote: root@:~/pfSense-pkg-localrepo # make package ===> License APACHE20 accepted by the user ===> pfSense-pkg-LocalRepo-0.1_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pfSense-pkg-LocalRepo-0.1_1 for building ===> Extracting for pfSense-pkg-LocalRepo-0.1_1 /bin/mkdir -p /root/pfSense-pkg-localrepo/work/pfSense-pkg-LocalRepo-0.1 ===> Patching for pfSense-pkg-LocalRepo-0.1_1 ===> Configuring for pfSense-pkg-LocalRepo-0.1_1 ===> Staging for pfSense-pkg-LocalRepo-0.1_1 ===> Generating temporary packing list /bin/mkdir -p /root/pfSense-pkg-localrepo/work/stage/usr/local/pkg /bin/mkdir -p /root/pfSense-pkg-localrepo/work/stage/usr/local/bin/localrepo /bin/mkdir -p /root/pfSense-pkg-localrepo/work/stage/etc/inc/priv /bin/mkdir -p /root/pfSense-pkg-localrepo/work/stage/usr/local/share/pfSense-pkg-LocalRepo install -m 0644 -m 0644 /root/pfSense-pkg-localrepo/files/usr/local/pkg/localrepo.xml /root/pfSense-pkg-localrepo/work/stage/usr/local/pkg install -m 0644 /root/pfSense-pkg-localrepo/files/usr/local/pkg/localrepo.inc /root/pfSense-pkg-localrepo/work/stage/usr/local/pkg install -m 0644 /root/pfSense-pkg-localrepo/files/usr/local/bin/localrepo/localrepo.conf /root/pfSense-pkg-localrepo/work/stage/usr/local/bin/localrepo install -m 0644 /root/pfSense-pkg-localrepo/files/etc/inc/priv/localrepo.priv.inc /root/pfSense-pkg-localrepo/work/stage/etc/inc/priv install -m 0644 /root/pfSense-pkg-localrepo/files/usr/local/share/pfSense-pkg-LocalRepo/info.xml /root/pfSense-pkg-localrepo/work/stage/usr/local/share/pfSense-pkg-LocalRepo/info.xml sed: -I or -i may not be used with stdin *** Error code 1 Stop. make: stopped in /root/pfSense-pkg-localrepo root@:~/pfSense-pkg-localrepo # I should have also asked: Can you attach the Makefile as well? Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: make package "*** Error code 1"
On 06/07/2018 08:36 PM, duckmanjbr wrote: I am working on my first port and have come across an error that I’m not sure how to research. Can anyone point me in the right direction as to this error code? It’s saying that sed: -I or -i may not be used but I’m not using sed anywhere in the port. Can you post the command that gave you that error and the output from that command? ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: search.cpan.org is going away (replaced by MetaCPAN)
On 05/30/2018 01:53 PM, Greg Kennedy wrote: Found this news item today relating to Perl: https://log.perl.org/2018/05/goodbye-search-dot-cpan-dot-org.html In short, search.cpan.org is being retired on June 25, with the replacement MetaCPAN website to take its place. At that time they will transparently redirect all URL requests to comparable MetaCPAN pages. FreeBSD porting style usually requires that the URL for Perl modules (in pkg-descr) be set to something like... # WWW: http://search.cpan.org/dist/CPAN-Testers-Common-Client/ # While these links will (theoretically) continue working, we should think about a mass find-replace in all "*/p5-*/pkg-descr" URL fields to point to new MetaCPAN URLs. Also, the Porter's Handbook / portlint / etc would need to be updated to recommend using MetaCPAN URLs instead of the existing search.cpan.org links. I didn't see any other discussions on this in the past couple months of the mailinglist archive so I thought I'd raise the issue here :) -Greg Gret, thank you for calling attention to this. My hunch is that once search.cpan.org has been retired, we should take a sample of the URL fields in the pkg-descr field and verify the links they actually resolve to (as distinct from what they are currently *expected* to resolve to). At that point, a mass find-replace becomes feasible and testable. Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
update: devel/p5-CPAN-Testers-Common-Client
With this year's Perl Toolchain Summit recently concluded in Oslo, quite a few important CPAN libraries are or will soon be getting new releases. Many of these are in ports, including one for which I am the maintainer. I have filed this ticket for an update to CPAN-Testers-Common-Client. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227728 Please review and, if okay, then commit. Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Committer needed for upgrade of port of Perl library List-Compare
I filed this BZ ticket two months ago, but it has not been responded to:: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225469 misc/p5-List-Compare: update to 0.53 Could someone please investigate? Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: 6100 subdirectories in /usr/ports/devel!
On 02/19/2018 11:25 AM, Dan Mahoney (Gushi) wrote: Several of the CPAN modules currently around today don't compile cleanly under FreeBSD, but nobody cares because they just use the package which has the additional patches. Do you have a list of those CPAN modules which don't compile cleanly on FreeBSD? Have bug tickets been open for those problems? Speaking as a longtime CPAN contributor and as a recent FreeBSD ports contributor, I'd like to see what can be done to maintain quality in both archives. Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: When does a newly committed port become installable via 'pkg'?
On 01/28/2018 05:13 PM, Mike Clarke wrote: On Sunday 28 Jan 2018 13:01:44 Freddie Cash wrote: You can switch to the "latest" repo, which gets rebuilt every Tuesday, I believe. It's more frequent than that now. Packages for 111amd64- default seem to be getting updated about every 2 days. Okay, I have revised my /usr/local/etc/pkg/repos/FreeBSD.conf file to contain only the 'url' key:value pair. /etc/pkg/FreeBSD.conf remains untouched. Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: When does a newly committed port become installable via 'pkg'?
On 01/28/2018 04:01 PM, Freddie Cash wrote: On Jan 28, 2018 12:15 PM, "James E Keenan" <jkee...@pobox.com <mailto:jkee...@pobox.com>> wrote: Earlier today (about 0910 EST), thanks to Po-Chuan Hsieh, a new port I had created was committed to the repository. It was very quickly visible at these locations: https://svnweb.freebsd.org/ports/head/devel/p5-CPAN-Testers-Common-Client/ <https://svnweb.freebsd.org/ports/head/devel/p5-CPAN-Testers-Common-Client/> https://www.freshports.org/devel/p5-CPAN-Testers-Common-Client/ <https://www.freshports.org/devel/p5-CPAN-Testers-Common-Client/> ... and it has since become visible here as well: https://www.freebsd.org/cgi/ports.cgi?query=p5-CPAN-Testers-Common-Client=all=all <https://www.freebsd.org/cgi/ports.cgi?query=p5-CPAN-Testers-Common-Client=all=all> However, when I try to install that package onto my system (a VM running FreeBSD-11.0-RELEASE), I continue -- six hours later -- to get messages saying that the package cannot be located. # $> sudo pkg update Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. $> sudo pkg install p5-CPAN-Testers-Common-Client Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'p5-CPAN-Testers-Common-Client' have been found in the repositories # What am I not understanding about this process? Thank you very much. Jim The default pkg repository is the "quarterly" one (see /usr/local/etc/pkg) which only gets new ports every 3 months. You can switch to the "latest" repo, which gets rebuilt every Tuesday, I believe. Thanks. Upon reading 'man 5 pkg.conf', which identified the system-wide configuration file as being located as /etc/pkg/FreeBSD.conf. That file does contain this entry: # url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly;, # That file also states that to modify that file, create a new file as: # /usr/local/etc/pkg/repos/FreeBSD.conf # I have done so, and in that file I have placed this entry: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest;, mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } # Should that suffice? Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
When does a newly committed port become installable via 'pkg'?
Earlier today (about 0910 EST), thanks to Po-Chuan Hsieh, a new port I had created was committed to the repository. It was very quickly visible at these locations: https://svnweb.freebsd.org/ports/head/devel/p5-CPAN-Testers-Common-Client/ https://www.freshports.org/devel/p5-CPAN-Testers-Common-Client/ ... and it has since become visible here as well: https://www.freebsd.org/cgi/ports.cgi?query=p5-CPAN-Testers-Common-Client=all=all However, when I try to install that package onto my system (a VM running FreeBSD-11.0-RELEASE), I continue -- six hours later -- to get messages saying that the package cannot be located. # $> sudo pkg update Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. $> sudo pkg install p5-CPAN-Testers-Common-Client Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'p5-CPAN-Testers-Common-Client' have been found in the repositories # What am I not understanding about this process? Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: First time porter seeks guidance on 'make package' (as user)
On 01/09/2018 09:36 AM, James E Keenan wrote: On 01/09/2018 03:26 AM, Mathieu Arnold wrote: [snip] I elected to follow this approach. 1. checkout the ports tree in your home: svn checkout https://svn.FreeBSD.org/ports/head $HOME/ports (or where-ever you want it) Done. 2. Then, either add PORTSDIR=$HOME/ports to your environment, or as root, edit /etc/make.conf and add: Added PORTSDIR to .shrc and exported it. # $ echo $PORTSDIR /home/jkeenan/ports # I then created a directory under ~/ports/ for my port and copied to that directory the files I had originally developed under /usr/ports. # $ pwd /home/jkeenan/ports/devel/p5-Devel-Platform-Info $ ls -l total 16 -rw-r--r-- 1 jkeenan wheel 536 Jan 9 08:58 Makefile -rw-r--r-- 1 jkeenan wheel 178 Jan 9 09:10 distinfo -rw-r--r-- 1 jkeenan wheel 447 Jan 9 08:58 pkg-descr -rw-r--r-- 1 jkeenan wheel 803 Jan 9 08:59 pkg-plist # I should note at this point that, when I was trying to develop this as root underneath /usr/ports, I was able to install and deinstall the port and to have it pass both 'portlint' and 'port test'. So I am reasonably sure that the port was valid. The *only* thing I could not do was to run 'make package' as non-root user. Back to what I was doing underneath ~/ports. I was able to call 'make makesum' and have it recalculate 'distinfo'. At that point, again following the instructions at "Testing the Port" (https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-testing.html), I tried: # $ make stage ===> p5-Devel-Platform-Info-0.16 Invalid perl5 version 5.20. *** Error code 1 Stop. make: stopped in /usr/home/jkeenan/ports/devel/p5-Devel-Platform-Info # I got the same error message when I called 'make fetch'. I don't understand this error message. perl-5.20.3 is the system perl here (FreeBSD-10.3). I did *not* get this error message when developing as root. Is it the case that, if I am on FreeBSD-10.3, https://svn.FreeBSD.org/ports/head is unusable for ports development? Please advise. Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: First time porter seeks guidance on 'make package' (as user)
On 01/09/2018 03:26 AM, Mathieu Arnold wrote: [snip] I elected to follow this approach. 1. checkout the ports tree in your home: svn checkout https://svn.FreeBSD.org/ports/head $HOME/ports (or where-ever you want it) Done. 2. Then, either add PORTSDIR=$HOME/ports to your environment, or as root, edit /etc/make.conf and add: Added PORTSDIR to .shrc and exported it. # $ echo $PORTSDIR /home/jkeenan/ports # I then created a directory under ~/ports/ for my port and copied to that directory the files I had originally developed under /usr/ports. # $ pwd /home/jkeenan/ports/devel/p5-Devel-Platform-Info $ ls -l total 16 -rw-r--r-- 1 jkeenan wheel 536 Jan 9 08:58 Makefile -rw-r--r-- 1 jkeenan wheel 178 Jan 9 09:10 distinfo -rw-r--r-- 1 jkeenan wheel 447 Jan 9 08:58 pkg-descr -rw-r--r-- 1 jkeenan wheel 803 Jan 9 08:59 pkg-plist # I should note at this point that, when I was trying to develop this as root underneath /usr/ports, I was able to install and deinstall the port and to have it pass both 'portlint' and 'port test'. So I am reasonably sure that the port was valid. The *only* thing I could not do was to run 'make package' as non-root user. Back to what I was doing underneath ~/ports. I was able to call 'make makesum' and have it recalculate 'distinfo'. At that point, again following the instructions at "Testing the Port" (https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-testing.html), I tried: # $ make stage ===> p5-Devel-Platform-Info-0.16 Invalid perl5 version 5.20. *** Error code 1 Stop. make: stopped in /usr/home/jkeenan/ports/devel/p5-Devel-Platform-Info # I got the same error message when I called 'make fetch'. I don't understand this error message. perl-5.20.3 is the system perl here (FreeBSD-10.3). I did *not* get this error message when developing as root. Please advise. Thank you very much. Jim Keenan ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
First time porter seeks guidance on 'make package' (as user)
I am making my first attempt at constructing a FreeBSD port. The port in question is for Perl extension Devel-Platform_Info (http://search.cpan.org/dist/Devel-Platform-Info/). Devel-Platform-Info, AFAICT, has not yet been ported and has no prerequisites outside the Perl 5 core distribution. Hence, it should not be difficult to port. I have constructed and submitted a port for this CPAN distribution to OpenBSD; now I would like to do so as well for FreeBSD. I have tried to follow the guidance in the Porters Handbook starting here: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html ... particularly the discussion in Chapter 3, "Quick Porting": https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/quick-porting.html I have successfully tested the port with both 'portlint' (https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing-portlint.html) and 'port test' (https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing-porttools.html). The one place where I have not gotten the desired results is found at "Procedure 3.1: Recommended Test Ordering" (https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-testing.html). Step 6 of that process is to invoke 'make package' as a regular, non-root user. When I attempted to do so, I was told that I lacked permission to create a directory. That didn't surprise me, since the '/usr/ports/' tree has permissions 'drwxr-xr-x' and I, as a member of group 'wheel', lack 'write' permission for that tree. Hence, I'm puzzled by this advice: "Make sure that make package can be run as a normal user (that is, not as root). If that fails, the software may need to be patched. See also Section 17.18, “fakeroot” and Section 17.84, “uidfix”." I installed the 'fakeroot' package but had no better luck when I ran 'fakeroot make package' as a non-root user. 1. Can someone offer guidance as to how to proceed? 2. I found that to create/edit the Makefile and pkg-descr I had to become root. That's a style of work that is contrary to my regular software development practices. With some guidance from an experienced OpenBSD committer I was able to learn how to prepare ports on that platform without becoming root. Is there any way to do that in FreeBSD? Makefile for this port attached for reference. Thank you very much. Jim Keenan # Created by: James E Keenan <jkee...@cpan.org> # $FreeBSD$ PORTNAME= Devel-Platform-Info PORTVERSION=0.16 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= jkee...@cpan.org COMMENT=Unified framework for obtaining common platform metadata LICENSE=ART20 USES= perl5 USE_PERL5= configure OPTIONS_DEFINE= DOCS PORTDOCS= Changes README .include post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"