Bug 1467357 - biber-2.6-5.fc27 FTBFS: Undefined subroutine &Encode::define_alias called at /usr/lib64/perl5/vendor_perl/Encode.pm line 102
Summary: biber-2.6-5.fc27 FTBFS: Undefined subroutine &Encode::define_alias called at ...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: biber
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Macdonald
QA Contact: Fedora Extras Quality Assurance
URL: https://apps.fedoraproject.org/kosche...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-03 13:40 UTC by Petr Pisar
Modified: 2017-08-11 08:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-10 17:59:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2017-07-03 13:40:04 UTC
biber-2.6-5.fc27 fails to build in F27 because tests fail like this:

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.DbZvW2
+ umask 022
+ cd /builddir/build/BUILD
+ cd biber-2.6
+ ./Build test
Undefined subroutine &Encode::define_alias called at /usr/lib64/perl5/vendor_perl/Encode.pm line 102.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/Encode/Alias.pm line 7.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Encode/Alias.pm line 7.
Compilation failed in require at /builddir/build/BUILD/biber-2.6/blib/lib/Biber/Constants.pm line 6.
BEGIN failed--compilation aborted at /builddir/build/BUILD/biber-2.6/blib/lib/Biber/Constants.pm line 6.
Compilation failed in require at /builddir/build/BUILD/biber-2.6/blib/lib/Biber/Internals.pm line 7.
BEGIN failed--compilation aborted at /builddir/build/BUILD/biber-2.6/blib/lib/Biber/Internals.pm line 7.
Compilation failed in require at /usr/share/perl5/vendor_perl/parent.pm line 16.
BEGIN failed--compilation aborted at /builddir/build/BUILD/biber-2.6/blib/lib/Biber.pm line 5.
Compilation failed in require at t/annotations.t line 12.
BEGIN failed--compilation aborted at t/annotations.t line 12.
# Looks like your test exited with 2 before it could output anything.
t/annotations.t ........ 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests 

A difference between working and failing build root is:

        perl-Text-CSV_XS 	1.29-2.fc27 	> 	1.31-1.fc27
	perl-Encode 	4:2.89-8.fc27 	> 	4:2.90-9.fc27
	perl-Log-Dispatch 	2.63-2.fc27 	> 	2.65-1.fc27
	perl-File-Path 	2.13-2.fc27 	> 	2.14-1.fc27
	perl-ExtUtils-MM-Utils 	1:7.28-2.fc27 	> 	1:7.30-1.fc27
	perl-List-SomeUtils 	0.53-3.fc27 	> 	0.54-1.fc27
	perl-encoding 	4:2.19-8.fc27 	> 	4:2.19-9.fc27
	perl-ExtUtils-MakeMaker 	1:7.28-2.fc27 	> 	1:7.30-1.fc27
	perl-IO-Socket-SSL 	2.048-2.fc27 	> 	2.049-1.fc27
	perl-ExtUtils-Command 	1:7.28-2.fc27 	> 	1:7.30-1.fc27
	gdb-headless 	8.0-13.fc27 	> 	8.0-17.fc27
	libcurl 	7.54.0-5.fc27 	> 	7.54.1-1.fc27
	kernel-headers 	4.12.0-0.rc4.git2.1.... 	> 	4.12.0-0.rc5.git0.1....
	curl 	7.54.0-5.fc27 	> 	7.54.1-1.fc27

This is perhaps caused by upgrading perl-Encode.

Upstream has already fix in the git tree <https://github.com/plk/biber/commit/802ddd5a01249195e32b810e2aa504fbed6903f1>.

Comment 1 Colin Macdonald 2017-08-10 17:59:34 UTC
Hmmm, I cannot reproduce.  Maybe further upgrade to perl-Encode to 2.92 has fixed it (?)

Of course do please re-open if I've missed something and I will cherry-pick the upstream patch.

Comment 2 Petr Pisar 2017-08-11 08:10:35 UTC
Yes, it was fixed in Encode-2.92 <https://github.com/dankogai/p5-encode/issues/116>.


Note You need to log in before you can comment on or make changes to this bug.