Red Hat Bugzilla – Bug 187173
incompatible with perl-Config-General
Last modified: 2007-11-30 17:11:28 EST
Description of problem:
Error on submission of URL to validator
Cannot add named block <msg 1> to hash! Block <msg> occurs more than once.
Turn on -MergeDuplicateBlocks or make sure <msg> occurs only once in the config.
at /usr/share/w3c-markup-validator/check line 139
BEGIN failed--compilation aborted at /usr/share/w3c-markup-validator/check line 192.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Visit http://localhost/w3c-validator/
2. Submit URL for validation.
I believe there is a new 'check' script that addresses this.
Created attachment 126944 [details]
Fix for duplicate msg error
This seems to fix the problem.
Yes, that patch fixes the problem, I know because I wrote it :)
However, w3c-markup-validator is no longer (for now, and has been like that for
quite some time) included in Extras for >= FC4 because of issues with SELinux.
Those are being worked on (bug 182673), but I guess I should consider just
shipping it again even before those are fixed. The fix is also included in the
latest 0.7.2 upstream version.
Didn't mean to take credit for the patch, I just found a later version of check
and copied what looked to be the minimum to make it work. I was in a hurry too.
I can agree adding SELinux support is a good thing, but some people don't enable
it since it's really still shaking out through the distribution. (me)
However, I'm pretty sure I installed it from Extras in FC4 and FC5.
I hope you can re-roll and release. Thanks
[root@tofu extras]# yum search w3c-markup-validator
w3c-markup-validator.noarch 0.6.7-2 extras
[root@tofu extras]# pwd
[root@tofu extras]# gunzip -c primary.xml.gz|grep w3c-markup
epoch="0" ver="0.6.7" rel="2"/>...
(In reply to comment #3)
> Didn't mean to take credit for the patch,
...and I didn't mean that you sounded like you would :)
> However, I'm pretty sure I installed it from Extras in FC4 and FC5.
I checked, and it's not in the FE4 repository, but for some reason the old
version has crept in the FE5 one indeed. I'll roll an update for FE5 then.