Skip Menu |

This queue is for tickets about the HTML-T5 CPAN distribution.

Report information
The Basics
Id: 128548
Status: resolved
Priority: 0/
Queue: HTML-T5

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.005
Fixed in: (no value)



Subject: freebsd 19: tidy vs. tidy5
Build fails on freebsd 13 (with installed tidy-html5 system package): ... $ make "/usr/perl5.28.0p/bin/perl5.28.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- T5.bs blib/arch/auto/HTML/T5/T5.bs 644 rm -f blib/arch/auto/HTML/T5/T5.so LD_RUN_PATH="/usr/local/lib" cc -L/usr/local/lib -shared -L/usr/local/lib -fstack-protector-strong T5.o -o blib/arch/auto/HTML/T5/T5.so -L/usr/local/lib -ltidy ld: error: unable to find library -ltidy cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 ... Linking should not be againt tidy, but tidy5. The following works: LD_RUN_PATH="/usr/local/lib" cc -L/usr/local/lib -shared -L/usr/local/lib -fstack-protector-strong T5.o -o blib/arch/auto/HTML/T5/T5.so -L/usr/local/lib -ltidy5 And a subsequent "make test" is successful then. Interestingly the Makefile.PL knows about the library being called tidy5 on freebsd systems, but somehow this information is not used...
On Mon Feb 18 14:58:18 2019, SREZIC wrote: Show quoted text
> Build fails on freebsd 13 (with installed tidy-html5 system package): > > ... > $ make > "/usr/perl5.28.0p/bin/perl5.28.0" -MExtUtils::Command::MM -e > 'cp_nonempty' -- T5.bs blib/arch/auto/HTML/T5/T5.bs 644 > rm -f blib/arch/auto/HTML/T5/T5.so > LD_RUN_PATH="/usr/local/lib" cc -L/usr/local/lib -shared > -L/usr/local/lib -fstack-protector-strong T5.o -o > blib/arch/auto/HTML/T5/T5.so -L/usr/local/lib -ltidy > ld: error: unable to find library -ltidy > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > *** Error code 1 > ... > > Linking should not be againt tidy, but tidy5. The following works: > > LD_RUN_PATH="/usr/local/lib" cc -L/usr/local/lib -shared > -L/usr/local/lib -fstack-protector-strong T5.o -o > blib/arch/auto/HTML/T5/T5.so -L/usr/local/lib -ltidy5 > > And a subsequent "make test" is successful then. > > Interestingly the Makefile.PL knows about the library being called > tidy5 on freebsd systems, but somehow this information is not used...
cpanm -v HTML::T5 works fine in an fbsd 13 x64 vm. All tests are successful.
On Tue Apr 02 12:55:47 2019, SHLOMIF wrote: Show quoted text
> On Mon Feb 18 14:58:18 2019, SREZIC wrote:
> > Build fails on freebsd 13 (with installed tidy-html5 system package): > > > > ... > > $ make > > "/usr/perl5.28.0p/bin/perl5.28.0" -MExtUtils::Command::MM -e > > 'cp_nonempty' -- T5.bs blib/arch/auto/HTML/T5/T5.bs 644 > > rm -f blib/arch/auto/HTML/T5/T5.so > > LD_RUN_PATH="/usr/local/lib" cc -L/usr/local/lib -shared > > -L/usr/local/lib -fstack-protector-strong T5.o -o > > blib/arch/auto/HTML/T5/T5.so -L/usr/local/lib -ltidy > > ld: error: unable to find library -ltidy > > cc: error: linker command failed with exit code 1 (use -v to see > > invocation) > > *** Error code 1 > > ... > > > > Linking should not be againt tidy, but tidy5. The following works: > > > > LD_RUN_PATH="/usr/local/lib" cc -L/usr/local/lib -shared > > -L/usr/local/lib -fstack-protector-strong T5.o -o > > blib/arch/auto/HTML/T5/T5.so -L/usr/local/lib -ltidy5 > > > > And a subsequent "make test" is successful then. > > > > Interestingly the Makefile.PL knows about the library being called > > tidy5 on freebsd systems, but somehow this information is not used...
> > cpanm -v HTML::T5 works fine in an fbsd 13 x64 vm. All tests are successful.
Does the problem still happen with HTML-T5-0.007?
On 2020-01-29 14:41:54, SHLOMIF wrote: Show quoted text
> On Tue Apr 02 12:55:47 2019, SHLOMIF wrote:
> > On Mon Feb 18 14:58:18 2019, SREZIC wrote:
> > > Build fails on freebsd 13 (with installed tidy-html5 system > > > package): > > > > > > ... > > > $ make > > > "/usr/perl5.28.0p/bin/perl5.28.0" -MExtUtils::Command::MM -e > > > 'cp_nonempty' -- T5.bs blib/arch/auto/HTML/T5/T5.bs 644 > > > rm -f blib/arch/auto/HTML/T5/T5.so > > > LD_RUN_PATH="/usr/local/lib" cc -L/usr/local/lib -shared > > > -L/usr/local/lib -fstack-protector-strong T5.o -o > > > blib/arch/auto/HTML/T5/T5.so -L/usr/local/lib -ltidy > > > ld: error: unable to find library -ltidy > > > cc: error: linker command failed with exit code 1 (use -v to see > > > invocation) > > > *** Error code 1 > > > ... > > > > > > Linking should not be againt tidy, but tidy5. The following works: > > > > > > LD_RUN_PATH="/usr/local/lib" cc -L/usr/local/lib -shared > > > -L/usr/local/lib -fstack-protector-strong T5.o -o > > > blib/arch/auto/HTML/T5/T5.so -L/usr/local/lib -ltidy5 > > > > > > And a subsequent "make test" is successful then. > > > > > > Interestingly the Makefile.PL knows about the library being called > > > tidy5 on freebsd systems, but somehow this information is not > > > used...
> > > > cpanm -v HTML::T5 works fine in an fbsd 13 x64 vm. All tests are > > successful.
> > > Does the problem still happen with HTML-T5-0.007?
http://matrix.cpantesters.org/?dist=HTML-T5%200.007;os=freebsd;reports=1#sl=2,1 -> Looks good for freebsd 13.