[Mailman-Users] mhonarc patch

Peter Knowles pknowles at tpnsolutions.com
Fri Jul 18 09:10:34 CEST 2014


Mark,

First off, to clarify, yes we're using version 2.1.18-1.

Next, the "Version.py" issue has been resolved. I had forgotten to apply
the "modinc" prerequisite patch.

The only error that remains when applying the "mhonarc" patch is:

Hulk #2 FAILED at 106.
1 out of 2 hulks FAILED -- saving rejects to file Mailman/Mailbox.py.rej

*** Attached is a copy of "Mailbox.py.rej" ***

Thanks in advance!

Best Regards,
Peter Knowles
TPN Solutions

Email: pknowles at tpnsolutions.com
Phone: 604-229-0715
Skype: tpnsupport
Website: http://www.tpnsolutions.com


On Thu, Jul 17, 2014 at 7:53 PM, Mark Sapiro <mark at msapiro.net> wrote:

> >
> > During the patching process, here is the error produced:
>
>
> It would help if you actually provided the content of the .rej files.
>
> Also, Are you really patching 2.1.8 or did you mean 2.1.18?
>
>
> > Hunk #2 FAILED at 106.
> > 1 out of 2 hunks FAILED -- saving rejects to file Mailman/Mailbox.py.rej
>
>
> The 2.1.7-0.1.patch file I'm looking at which is the patch also for
> 2.1.8 is trying to replace
>
>         mailbox.PortableUnixMailbox.__init__(self, fp, _archfactory(self))
>
> with
>
>         mailbox.UnixMailbox.__init__(self, fp, _archfactory(self))
>
> and add a bunch of stuff following the definition of scrub. It looks OK
> to me. Without seeing Mailman/Mailbox.py.rej and maybe
> Mailman/Mailbox.py and/or Mailman/Mailbox.py.orig, I can't tell you what
> the problem is.
>
>
> > Hunk #1 FAILED at 39.
> > 1 out of 1 hunk FAILED -- saving rejects to file Mailman/Version.py.rej
>
>
> This is almost certainly because your existing Mailman/Version.py file
> has  Mailman/Version.py has DATA_FILE_VERSION = some number different
> from what the patch expects.
>
> All you need to do is manually edit Mailman/Version.py and set
> DATA_FILE_VERSION = a number bigger than what it currently is, perhaps
> by appending '.1' to the existing number if it's an integer or
> incrementing the number if it's a decimal.
>
>
> > *** all other patching seems to work fine, and I've followed all
> > instructions on the website to the best of my knowledge including
> changing
> > the value of "DATA_FILE_VERSION" in the patch.
>
>
> Did you change the
>
> -DATA_FILE_VERSION =
>
> line to match what's currently in the file and the
>
> +DATA_FILE_VERSION =
>
> line to a larger number?
>
> --
> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> ------------------------------------------------------
> Mailman-Users mailing list Mailman-Users at python.org
> https://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives:
> http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe:
> https://mail.python.org/mailman/options/mailman-users/pknowles%40tpnsolutions.com
>


More information about the Mailman-Users mailing list