Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 161855

Summary: net-mail/mhonarc outputs incorrectly structured XML
Product: Gentoo Linux Reporter: Trevor Hardcastle <trevor>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: iluxa, infra-bugs, orzel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://savannah.nongnu.org/bugs/?17660
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 137202, 144155    

Description Trevor Hardcastle 2007-01-13 02:29:09 UTC
archives.gentoo.org has in the past had issues with incorrectly formed XML causing blank pages to be returned. I tracked the issue down to how MHonArc orders portions of its output, and submitted a patch upstream for the bug, but there has been no response from the MHonArc devs. The patch is simple enough, I'd like to see it go into the 2.6.16 ebuild and possibly 2.6.16 marked stable.

I've tested MHonArc 2.6.16 and the patch against Gentoo's mailing list archives extensively, and it's been working for about six months now.

Reproducible: Always

Steps to Reproduce:
1. Install MHonArc
2. Create MHonArc templates using TSubListEnd and TLiNoneEnd to output well-formed XML.
3. Run MHonArc against a mailing list large enough to have complex thread structure.

Actual Results:  
The resulting page will not be well-formed XML.

Expected Results:  
A well-formed XML document.
Comment 1 Trevor Hardcastle 2007-01-13 02:30:44 UTC
Missed including this, bug 144155 contains the patch and updated ebuild.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-09-07 07:12:28 UTC
kumba: bump
Comment 3 Joshua Kinard gentoo-dev 2008-01-27 06:11:46 UTC
2.6.16-r1 in the tree w/ patch.  Let me know how it works.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-01-27 15:53:26 UTC
Still problems somewhere.
From http://archives.gentoo.org/gentoo-alpha/, see the top "It Works" post.
http://archives.gentoo.org/gentoo-alpha/msg_fcb35637823c7d6508f4070ae5f801da.xml

Oh, and mhonarc sucks big time - when I was testing out your change, it decided to vape all the mhonarc.db files, hence I just spent the last 6 hours teaching it about using a sane constant identifier instead (X-Archives-Hash injected by procmail [hash of a bunch of things, incl a salt], and then used by mhonarc to name the file).
Comment 5 Thomas Capricelli 2010-10-19 01:38:20 UTC
upstream is unmaintained, right? 
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-10-19 02:27:02 UTC
I'm uncertain. Kumba may know better.
Comment 7 Pacho Ramos gentoo-dev 2012-10-28 14:09:23 UTC
Still valid with 2.6.18-r1?
Comment 8 Thomas Capricelli 2012-10-28 23:31:58 UTC
asking "is it still valid" is enough to mark a bug as resolved ? I'm shocked.
Comment 9 Sergey Popov gentoo-dev 2012-10-29 06:56:36 UTC
Thomas, TEST-REQUEST means that bug may be resolved, but reporter must test and validate this resolution.