Bug 281186 - textprox/p5-Net-IDN-Encode fails to be usable with newer perl versions (5.40)
Summary: textprox/p5-Net-IDN-Encode fails to be usable with newer perl versions (5.40)
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-01 12:26 UTC by Kurt Jaeger
Modified: 2024-09-01 15:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger freebsd_committer freebsd_triage 2024-09-01 12:26:38 UTC
use Net::IDN::Encode ':all';

domain_to_unicode('xn--bienen-fr-tbingen-92bd.de');

fails with:

ld-elf.so.1: /usr/local/lib/perl5/site_perl/mach/5.40/auto/Net/IDN/Punycode/Puny
code.so: Undefined symbol "uvuni_to_utf8_flags"

https://rt.cpan.org/Public/Bug/Display.html?id=149108
https://rt.cpan.org/Public/Bug/Display.html?id=149247

It looks like uvuni_to_utf8_flags was removed from perl since 5.38.
There's a patch with 149108.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-09-01 15:37:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0a98c2b01be2705e2d22d56e5e3cf2d0b7affad9

commit 0a98c2b01be2705e2d22d56e5e3cf2d0b7affad9
Author:     Kurt Jaeger <pi@FreeBSD.org>
AuthorDate: 2024-09-01 15:35:00 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2024-09-01 15:35:00 +0000

    textproc/p5-Net-IDN-Encode: fix Undefined symbol "uvuni_to_utf8_flags" for newer perl versions

    - Patch from upstream:
      https://rt.cpan.org/Public/Bug/Display.html?id=149108

    PR:             281186
    Approved:       bofh (maintainer)

 textproc/p5-Net-IDN-Encode/Makefile                |  1 +
 .../files/patch-lib_Net_IDN_Punycode.xs (new)      | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)