poudriere: fetch devel/p5-Locale-gettext from ports failed while available

Hello,

I try to build graphics/libcaca with poudriere:
Code:
root@mybsd:~ # poudriere jail -l
JAILNAME VERSION         ARCH  METHOD TIMESTAMP           PATH
150r     15.0-RELEASE-p1 amd64 http   2026-01-09 14:28:32 /usr/local/poudriere/jails/150r

root@mybsd:~ # poudriere ports -l
PORTSTREE METHOD    TIMESTAMP           PATH
default   git+https 2026-01-09 14:29:03 /usr/local/poudriere/ports/default

root@mybsd:~ # git -C /usr/local/poudriere/ports/default/ status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean

But the sources of devel/p5-Locale-gettext cannot be fetched:
Code:
[00:03:57] [01] [00:03:52] Finished devel/p5-Locale-gettext | p5-Locale-gettext-1.07: Failed: fetch
...
[00:03:57] Failed ports: devel/p5-Locale-gettext:fetch


=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
=> gettext-1.07.tar.gz doesn't seem to exist in /portdistfiles.
=> Attempting to fetch [URL]https://cpan.metacpan.org/modules/by-module/Locale/gettext-1.07.tar.gz[/URL]
fetch: [URL]https://cpan.metacpan.org/modules/by-module/Locale/gettext-1.07.tar.gz[/URL]: Not Found
=> Attempting to fetch [URL]https://cpan.metacpan.org/modules/by-module/gettext-1.07.tar.gz[/URL]
fetch: [URL]https://cpan.metacpan.org/modules/by-module/gettext-1.07.tar.gz[/URL]: Not Found
=> Attempting to fetch [URL]https://www.cpan.org/modules/by-module/Locale/gettext-1.07.tar.gz[/URL]
fetch: [URL]https://www.cpan.org/modules/by-module/Locale/gettext-1.07.tar.gz[/URL]: Not Found
=> Attempting to fetch ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz
fetch: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz: Operation timed out
=> Attempting to fetch [URL]http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz[/URL]
fetch: [URL]http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz[/URL]: Not Found
=> Attempting to fetch ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz
fetch: ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz
fetch: ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz: Operation timed out
=> Attempting to fetch [URL]http://backpan.perl.org/modules/by-module/Locale/gettext-1.07.tar.gz[/URL]
fetch: [URL]http://backpan.perl.org/modules/by-module/Locale/gettext-1.07.tar.gz[/URL]: Not Found
=> Attempting to fetch ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz
fetch: ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz: File unavailable (e.g., file not found, no access)
=> Attempting to fetch [URL]http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz[/URL]
fetch: [URL]http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Locale/gettext-1.07.tar.gz[/URL]: Not Found
=> Attempting to fetch ftp://ftp.cpan.org/pub/CPAN/modules/by-module/gettext-1.07.tar.gz
fetch: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/gettext-1.07.tar.gz: Operation timed out
=> Attempting to fetch [URL]http://distcache.freebsd.org/ports-distfiles/gettext-1.07.tar.gz[/URL]
fetch: [URL]http://distcache.freebsd.org/ports-distfiles/gettext-1.07.tar.gz[/URL]: Internal Server Error
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles and try again.
*** Error code 1

Stop.
make: stopped making "fetch" in /usr/ports/devel/p5-Locale-gettext

But when I check the used ports-tree vs. https://cgit.freebsd.org/ports/tree/devel/p5-Locale-gettext/distinfo it is has to be available.

I checked the error message: fetch: https://www.cpan.org/modules/by-module/Locale/gettext-1.07.tar.gz: Not Found but the file is indeed available under https://www.cpan.org/modules/by-module/Locale/gettext-1.07.tar.gz.

Other files are fetched without any problems.

What is wrong?
 
Last edited by a moderator:
I faced the same issue while trying to install git, which depends on this module, through ports. I managed to make it work by editing
/usr/ports/devel/p5-Locale-gettext/Makefile. I edited the line
Makefile:
DISTNAME=       ${PORTNAME:C/.*-//}-${PORTVERSION}

to look like this:
Makefile:
DISTNAME=       ${PORTNAME}-${PORTVERSION}

Thanks Alexander88207 for pointing this out
Files have been renamed and now contain now the "Locale" prefix? sha256 is the same as before.

https://www.cpan.org/modules/by-module/Locale/gettext-1.07.tar.gz is now https://www.cpan.org/modules/by-module/Locale/Locale-gettext-1.07.tar.gz.

It does work for me when removing the DISTNAME.
 
Back
Top