Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912440 - dev-perl/Net-IDN-Encode-2.500.0-r1 - uvuni_to_utf8_flags; ISO C99 and later do not support implicit function
Summary: dev-perl/Net-IDN-Encode-2.500.0-r1 - uvuni_to_utf8_flags; ISO C99 and later d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: https://github.com/cfaerber/Net-IDN-E...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: perl-5.38
  Show dependency tree
 
Reported: 2023-08-18 07:13 UTC by Toralf Förster
Modified: 2023-09-06 12:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.43 KB, text/plain)
2023-08-18 07:13 UTC, Toralf Förster
Details
dev-perl:Net-IDN-Encode-2.500.0-r1:20230818-052834.log (dev-perl:Net-IDN-Encode-2.500.0-r1:20230818-052834.log,3.28 KB, text/plain)
2023-08-18 07:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.87 KB, text/plain)
2023-08-18 07:13 UTC, Toralf Förster
Details
environment (environment,80.14 KB, text/plain)
2023-08-18 07:13 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,788 bytes, application/x-xz)
2023-08-18 07:13 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.23 KB, application/x-xz)
2023-08-18 07:13 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.09 KB, application/x-xz)
2023-08-18 07:13 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-08-18 07:13:30 UTC
Creating new 'Build' script for 'Net-IDN-Encode' version '2.500'
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/Net-IDN-Encode-2.500.0-r1/work/Net-IDN-Encode-2.500 ...
Building Net-IDN-Encode
clang -I/usr/lib64/perl5/5.38/x86_64-linux/CORE '-DVERSION="2.500"' '-DXS_VERSION="2.500"' -fPIC -c -O2 -pipe '-march=native' -fno-diagnostics-color -fno-strict-aliasing -DNO_PERL_RAND_SEED -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -pipe '-march=native' -fno-diagnostics-color -O2 -pipe '-march=native' -fno-diagnostics-color -fno-strict-aliasing -o lib/Net/IDN/Punycode.o lib/Net/IDN/Punycode.c
lib/Net/IDN/Punycode.xs:256:5: error: call to undeclared function
      'uvuni_to_utf8_flags'; ISO C99 and later do not support implicit function
      declarations [-Wimplicit-function-declaration]
                  uvuni_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY);

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang-20230816-200327

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6+libcxx
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-1.71.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit c8b75203f87b1f7e628b5f34b8a6abab8c063e2f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 18 04:46:39 2023 +0000

    2023-08-18 04:46:38 UTC

emerge -qpvO dev-perl/Net-IDN-Encode
[ebuild  N    ] dev-perl/Net-IDN-Encode-2.500.0-r1  USE="-examples -test"
Comment 1 Toralf Förster gentoo-dev 2023-08-18 07:13:31 UTC
Created attachment 868150 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-18 07:13:32 UTC
Created attachment 868151 [details]
dev-perl:Net-IDN-Encode-2.500.0-r1:20230818-052834.log
Comment 3 Toralf Förster gentoo-dev 2023-08-18 07:13:33 UTC
Created attachment 868152 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-08-18 07:13:34 UTC
Created attachment 868153 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-08-18 07:13:35 UTC
Created attachment 868154 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-18 07:13:36 UTC
Created attachment 868155 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-18 07:13:37 UTC
Created attachment 868156 [details]
temp.tar.xz
Comment 8 Matt Turner gentoo-dev 2023-09-05 21:45:29 UTC
According to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272364 the uvuni_to_utf8_flags function was removed in perl-5.38 and should be replaced by uvchr_to_utf8_flags.
Comment 9 Larry the Git Cow gentoo-dev 2023-09-06 12:32:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ae54b68b16fc6c87f486ba348de0a6a1e0f5f9e

commit 9ae54b68b16fc6c87f486ba348de0a6a1e0f5f9e
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-09-05 21:53:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-06 12:32:05 +0000

    dev-perl/Net-IDN-Encode: Add patch for Perl 5.38
    
    Closes: https://bugs.gentoo.org/912440
    Signed-off-by: Matt Turner <mattst88@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/32639
    Signed-off-by: Sam James <sam@gentoo.org>

 .../Net-IDN-Encode-2.500.0-r2.ebuild               | 30 ++++++++++++++++
 ...o_utf8_flags-instead-of-uvuni_to_utf8_fla.patch | 41 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)