Bug 279228 - dns/libidn2 needs textproc/p5-Locale-gettext when LANG is set during build
Summary: dns/libidn2 needs textproc/p5-Locale-gettext when LANG is set during build
Status: New
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: 2024-05-22 18:01 UTC by Mikhail Teterin
Modified: 2024-05-28 19:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Teterin freebsd_committer freebsd_triage 2024-05-22 18:01:58 UTC
The dns/libidn2 fails to build (in the doc/ subdirectory), when p5-Locale-gettext-1.07 is not installed.

I don't know, why poudriere is not catching this -- perhaps, LANG needs to be set during build to trigger the error... (I have it set to uk_UA.KOI8-U.)
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-05-28 19:18:57 UTC
If you build misc/help2man with NLS enabled, p5-Locale-gettext should be installed already.
If you build misc/help2man without NLS enabled, /usr/local/bin/help2man should not have "use Locale::gettext qw(gettext);" line.
Therefore, I cannot reproduce this problem.
"cd /usr/ports/dns/libidn2 && make LANG=uk_UA.KOI8-U" succeed with either configuration.