robrwo / Alien-TidyHTML5

0 stars 0 forks source link

`cpanm -v --reinstall HTML::T5` has been failing for a while #4

Open shlomif opened 3 years ago

shlomif commented 3 years ago
cpanm (App::cpanminus) 1.7044 on perl 5.032001 built for x86_64-linux-thread-multi
Work directory is /home/shlomif/.cpanm/work/1632745426.199093
You have make /usr/bin/make
You have LWP 6.56
You have /usr/bin/tar: tar (GNU tar) 1.34
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching HTML::T5 () on cpanmetadb ...
Unpacking HTML-T5-0.010.tar.gz
--> Working on HTML::T5
Fetching http://www.cpan.org/authors/id/S/SH/SHLOMIF/HTML-T5-0.010.tar.gz ... OK
HTML-T5-0.010/
HTML-T5-0.010/ppport.h
HTML-T5-0.010/perlcriticrc
HTML-T5-0.010/Makefile.PL
HTML-T5-0.010/t/
HTML-T5-0.010/t/show-info.t
HTML-T5-0.010/t/TidyTestUtils.pm
HTML-T5-0.010/t/clean-crash.t
HTML-T5-0.010/t/roundtrip.t
HTML-T5-0.010/t/clean.t
HTML-T5-0.010/t/ignore.t
HTML-T5-0.010/t/wordwrap.cfg
HTML-T5-0.010/t/unicode.html
HTML-T5-0.010/t/extra-quote.t
HTML-T5-0.010/t/html_tidy_ok.t
HTML-T5-0.010/t/parse.t
HTML-T5-0.010/t/00-load.t
HTML-T5-0.010/t/parse-errors.t
HTML-T5-0.010/t/version.t
HTML-T5-0.010/t/venus.cfg
HTML-T5-0.010/t/message.t
HTML-T5-0.010/t/illegal-options.t
HTML-T5-0.010/t/segfault-form.t
HTML-T5-0.010/t/venus.html
HTML-T5-0.010/t/drop-empty-elements.t
HTML-T5-0.010/t/ignore-text.t
HTML-T5-0.010/t/perfect.t
HTML-T5-0.010/t/opt-00.t
HTML-T5-0.010/t/unicode.t
HTML-T5-0.010/t/levels.t
HTML-T5-0.010/t/unicode-nbsp.t
HTML-T5-0.010/t/html_fragment_tidy_ok.t
HTML-T5-0.010/t/too-many-titles.t
HTML-T5-0.010/t/cfg-for-parse.t
HTML-T5-0.010/t/new-tags.t
HTML-T5-0.010/t/venus.t
HTML-T5-0.010/t/simple.t
HTML-T5-0.010/t/wordwrap.t
HTML-T5-0.010/t/cfg-for-parse.cfg
HTML-T5-0.010/README.md
HTML-T5-0.010/META.yml
HTML-T5-0.010/META.json
HTML-T5-0.010/Changes
HTML-T5-0.010/bin/
HTML-T5-0.010/bin/web-t5
HTML-T5-0.010/lib/
HTML-T5-0.010/lib/Test/
HTML-T5-0.010/lib/Test/HTML/
HTML-T5-0.010/lib/Test/HTML/T5.pm
HTML-T5-0.010/lib/HTML/
HTML-T5-0.010/lib/HTML/T5.pm
HTML-T5-0.010/lib/HTML/T5/
HTML-T5-0.010/lib/HTML/T5/Message.pm
HTML-T5-0.010/Changes.HTML-Tidy5
HTML-T5-0.010/MANIFEST
HTML-T5-0.010/xt/
HTML-T5-0.010/xt/pod-coverage.t
HTML-T5-0.010/xt/pod.t
HTML-T5-0.010/T5.xs
Entering HTML-T5-0.010
Checking configure dependencies from META.json
Checking if you have Alien::TidyHTML5 v0.3.0 ... Yes (v0.3.4)
Checking if you have Alien::Base::Wrapper 2.02 ... Yes (2.41)
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.62)
Running Makefile.PL
Configuring HTML-T5-0.010 ... Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for HTML::T5
Writing MYMETA.yml and MYMETA.json
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.62)
Checking if you have Encode 0 ... Yes (3.12)
Checking if you have Test::Exception 0 ... Yes (0.43)
Checking if you have constant 0 ... Yes (1.33)
Checking if you have Exporter 0 ... Yes (5.74)
Checking if you have Getopt::Long 0 ... Yes (2.52)
Checking if you have Carp 0 ... Yes (1.50)
Checking if you have Test::Builder 0 ... Yes (1.302187)
Checking if you have Test::More 0.98 ... Yes (1.302187)
OK
Building and testing HTML-T5-0.010 ... cp lib/Test/HTML/T5.pm blib/lib/Test/HTML/T5.pm
cp lib/HTML/T5/Message.pm blib/lib/HTML/T5/Message.pm
cp lib/HTML/T5.pm blib/lib/HTML/T5.pm
Running Mkbootstrap for T5 ()
chmod 644 "T5.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- T5.bs blib/arch/auto/HTML/T5/T5.bs 644
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap' T5.xs > T5.xsc
mv T5.xsc T5.c
gcc -c  -I/home/shlomif/perl5/lib/perl5/x86_64-linux-thread-multi/auto/share/dist/Alien-TidyHTML5/include -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"0.010\" -DXS_VERSION=\"0.010\" -fPIC "-I/usr/lib64/perl5/CORE"   T5.c 
rm -f blib/arch/auto/HTML/T5/T5.so
gcc  -L/home/shlomif/perl5/lib/perl5/x86_64-linux-thread-multi/auto/share/dist/Alien-TidyHTML5/lib -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -L/usr/local/lib -fstack-protector-strong  T5.o  -o blib/arch/auto/HTML/T5/T5.so  \
   -L/home/shlomif/perl5/lib/perl5/x86_64-linux-thread-multi/auto/share/dist/Alien-TidyHTML5/lib -ltidy -lperl   \

chmod 755 blib/arch/auto/HTML/T5/T5.so
cp bin/web-t5 blib/script/web-t5
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/web-t5
Manifying 3 pod documents
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- T5.bs blib/arch/auto/HTML/T5/T5.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't load '/home/shlomif/.cpanm/work/1632745426.199093/HTML-T5-0.010/blib/arch/auto/HTML/T5/T5.so' for module HTML::T5: libtidy.so.58: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 193.

Full error: https://paste.debian.net/1213413/ . I'm on fedora x64 version 34.

robrwo commented 3 years ago

I'm getting an error that the paste was not found.

I can install and reinstall Alien::TidyHTML5 with no problems. HTML::T5 installs but fails tests. No complaints about failing to find libtidy though.

Is it possibly an issue with a version of Alien::Build?

shlomif commented 3 years ago

@robrwo : a more permanent url for the output: https://www.shlomifish.org/Files/files/text/html-t5-cpanm-output.txt

shlomif commented 3 years ago

@robrwo : also see https://github.com/shlomif/html-tidy5/tree/alien-tidyhtml5-issue4-workaround--branched-from-html-t5-dev for a local workaround

shlomif commented 2 years ago

@robrwo : also see https://github.com/shlomif/html-tidy5/tree/alien-tidyhtml5-issue4-workaround--branched-from-html-t5-dev for a local workaround

shorter solution by using "-rpath": https://github.com/shlomif/html-tidy5/tree/alien-tidyhtml5-issue4-workaround--branched-from-html-t5-dev--rpath

shlomif commented 2 years ago

I'm getting an error that the paste was not found.

I can install and reinstall Alien::TidyHTML5 with no problems. HTML::T5 installs but fails tests. No complaints about failing to find libtidy though.

Is it possibly an issue with a version of Alien::Build?

shlomif[HTML-T5]:$trunk$ perl -MAlien::Build\ 99
Alien::Build version 99 required--this is only version 2.42.
BEGIN failed--compilation aborted.