Re[2]: build of rspamd and amavisd-new not working with High Sierra
Thanks to Ryan and Bill, I followed Bill’s instructions, applied the patch and the build and install completed without errors, after this I could install amavisd-new without any problem and too it is working. This patch fixed the issue on High Sierra. Thanks and Regards, Horst Simon -- Original Message -- From "Ryan Schmidt" To "Bill Cole" Cc "MacPorts Users" Date 12/4/2024, 09:03:35 Subject Re: build of rspamd and amavisd-new not working with High Sierra On Apr 11, 2024, at 09:04, Bill Cole wrote: I got to https://github.com/DCIT/perl-CryptX/pull/99/commits/9568b3e7ce17d9e3ace6ddbfb7df2d2e387aa91f which shows the patch graphically. If you are dedicated to actually using the 'patch' utility with a patchfile, there should be a way to get GitHub to provide that, but I don't see it. Manually append .patch to the URL to get: https://github.com/DCIT/perl-CryptX/pull/99/commits/9568b3e7ce17d9e3ace6ddbfb7df2d2e387aa91f.patch
Re: build of rspamd and amavisd-new not working with High Sierra
On Apr 11, 2024, at 09:04, Bill Cole wrote: > > I got to > https://github.com/DCIT/perl-CryptX/pull/99/commits/9568b3e7ce17d9e3ace6ddbfb7df2d2e387aa91f > which shows the patch graphically. If you are dedicated to actually using > the 'patch' utility with a patchfile, there should be a way to get GitHub to > provide that, but I don't see it. Manually append .patch to the URL to get: https://github.com/DCIT/perl-CryptX/pull/99/commits/9568b3e7ce17d9e3ace6ddbfb7df2d2e387aa91f.patch
Re: build of rspamd and amavisd-new not working with High Sierra
Thanks will try it this way > On 12 Apr 2024, at 00:06, Bill Cole > wrote: > > On 2024-04-11 at 06:18:58 UTC-0400 (Thu, 11 Apr 2024 20:18:58 +1000) > Horst Simon via macports-users > is rumored to have said: > >> I understand the wiki information, but at a loss on how to get the patch. > > Following the link Ryan put in the ticket and navigating the obfuscatory > GitHub interface, I got to > https://github.com/DCIT/perl-CryptX/pull/99/commits/9568b3e7ce17d9e3ace6ddbfb7df2d2e387aa91f > which shows the patch graphically. If you are dedicated to actually using > the 'patch' utility with a patchfile, there should be a way to get GitHub to > provide that, but I don't see it. It is small enough (3 new lines and 2 > changed across 2 header files and crypt.c) that you could make changes to the > source by hand AFTER getting it downloaded, extracted, and patched by any > pre-existing MacPorts patches, after which MacPorts won't notice your changes: > > port patch p5.34-cryptx > > You will then have a copy of the source tree under the port's work directory > (`port work p5.34-cryptx`) where you can edit the files and them try 'port > build p5.34-cryptx' again. > > > >> On 11 Apr 2024, at 18:30, contextnerror wrote: >>> >>> >>> You would take the changes from the pull request and follow >>> https://trac.macports.org/wiki/howto/PatchLocal >>> > On Apr 11, 2024, at 1:15 AM, Horst Simon via macports-users > wrote: > Thanks Ryan for the response I prefer to get the p5-cryptx working. Is there a how to or instruction on how to build it using the patch > Horst Simon > On 11 Apr 2024, at 17:48, Ryan Schmidt wrote: > > >> On Apr 10, 2024, at 22:59, Horst Simon wrote: >> >> I tried to install amavisd-new on macOS High Sierra but fails in the >> install of the dependency p5.34-cryptx, after this I tried to change to >> rspamd, >> but rspamd too fails to build. >> >> I already created request ticket for p5.34cryptx. My question is is it >> possible to get at least on of these working on High Sierra and what is >> needed from me. > > The rspamd problem is > https://trac.macports.org/ticket/63785. It currently cannot build for > macOS 10.14 or earlier because it uses features from a newer version of > C++ than those earlier macOS versions can normally accommodate. > > The p5-cryptx problem is https://trac.macports.org/ticket/68470. I added > a comment there about some similar upstream bug reports and a proposed > upstream patch. You could try that patch and see if it solves the > problem. If so we can add it to the port. If it doesn't solve the problem > then report the problem to the developers so they can develop a fix. > > > -- > Bill Cole > b...@scconsult.com or billc...@apache.org > (AKA @grumpybozo@toad.social and many *@billmail.scconsult.com addresses) > Not Currently Available For Hire
Re: build of rspamd and amavisd-new not working with High Sierra
On 2024-04-11 at 06:18:58 UTC-0400 (Thu, 11 Apr 2024 20:18:58 +1000) Horst Simon via macports-users is rumored to have said: I understand the wiki information, but at a loss on how to get the patch. Following the link Ryan put in the ticket and navigating the obfuscatory GitHub interface, I got to https://github.com/DCIT/perl-CryptX/pull/99/commits/9568b3e7ce17d9e3ace6ddbfb7df2d2e387aa91f which shows the patch graphically. If you are dedicated to actually using the 'patch' utility with a patchfile, there should be a way to get GitHub to provide that, but I don't see it. It is small enough (3 new lines and 2 changed across 2 header files and crypt.c) that you could make changes to the source by hand AFTER getting it downloaded, extracted, and patched by any pre-existing MacPorts patches, after which MacPorts won't notice your changes: port patch p5.34-cryptx You will then have a copy of the source tree under the port's work directory (`port work p5.34-cryptx`) where you can edit the files and them try 'port build p5.34-cryptx' again. On 11 Apr 2024, at 18:30, contextnerror wrote: You would take the changes from the pull request and follow https://trac.macports.org/wiki/howto/PatchLocal On Apr 11, 2024, at 1:15 AM, Horst Simon via macports-users wrote: Thanks Ryan for the response I prefer to get the p5-cryptx working. Is there a how to or instruction on how to build it using the patch Horst Simon On 11 Apr 2024, at 17:48, Ryan Schmidt wrote: On Apr 10, 2024, at 22:59, Horst Simon wrote: I tried to install amavisd-new on macOS High Sierra but fails in the install of the dependency p5.34-cryptx, after this I tried to change to rspamd, but rspamd too fails to build. I already created request ticket for p5.34cryptx. My question is is it possible to get at least on of these working on High Sierra and what is needed from me. The rspamd problem is https://trac.macports.org/ticket/63785. It currently cannot build for macOS 10.14 or earlier because it uses features from a newer version of C++ than those earlier macOS versions can normally accommodate. The p5-cryptx problem is https://trac.macports.org/ticket/68470. I added a comment there about some similar upstream bug reports and a proposed upstream patch. You could try that patch and see if it solves the problem. If so we can add it to the port. If it doesn't solve the problem then report the problem to the developers so they can develop a fix. -- Bill Cole b...@scconsult.com or billc...@apache.org (AKA @grumpybozo@toad.social and many *@billmail.scconsult.com addresses) Not Currently Available For Hire
Re: build of rspamd and amavisd-new not working with High Sierra
I understand the wiki information, but at a loss on how to get the patch. > On 11 Apr 2024, at 18:30, contextnerror wrote: > > > You would take the changes from the pull request and follow > https://trac.macports.org/wiki/howto/PatchLocal > >>> On Apr 11, 2024, at 1:15 AM, Horst Simon via macports-users >>> wrote: >>> >> Thanks Ryan for the response I prefer to get the p5-cryptx working. Is >> there a how to or instruction on how to build it using the patch >>> Horst Simon >> >> >>> On 11 Apr 2024, at 17:48, Ryan Schmidt wrote: >>> >>> On Apr 10, 2024, at 22:59, Horst Simon wrote: I tried to install amavisd-new on macOS High Sierra but fails in the install of the dependency p5.34-cryptx, after this I tried to change to rspamd, but rspamd too fails to build. I already created request ticket for p5.34cryptx. My question is is it possible to get at least on of these working on High Sierra and what is needed from me. >>> >>> The rspamd problem is >>> https://trac.macports.org/ticket/63785. It currently cannot build for macOS >>> 10.14 or earlier because it uses features from a newer version of C++ than >>> those earlier macOS versions can normally accommodate. >>> >>> The p5-cryptx problem is https://trac.macports.org/ticket/68470. I added a >>> comment there about some similar upstream bug reports and a proposed >>> upstream patch. You could try that patch and see if it solves the problem. >>> If so we can add it to the port. If it doesn't solve the problem then >>> report the problem to the developers so they can develop a fix.
Re: build of rspamd and amavisd-new not working with High Sierra
You would take the changes from the pull request and follow https://trac.macports.org/wiki/howto/PatchLocal On Apr 11, 2024, at 1:15 AM, Horst Simon via macports-users wrote: Thanks Ryan for the response I prefer to get the p5-cryptx working. Is there a how to or instruction on how to build it using the patch Horst Simon On 11 Apr 2024, at 17:48, Ryan Schmidt wrote: On Apr 10, 2024, at 22:59, Horst Simon wrote: I tried to install amavisd-new on macOS High Sierra but fails in the install of the dependency p5.34-cryptx, after this I tried to change to rspamd, but rspamd too fails to build. I already created request ticket for p5.34cryptx. My question is is it possible to get at least on of these working on High Sierra and what is needed from me. The rspamd problem is https://trac.macports.org/ticket/63785. It currently cannot build for macOS 10.14 or earlier because it uses features from a newer version of C++ than those earlier macOS versions can normally accommodate. The p5-cryptx problem is https://trac.macports.org/ticket/68470. I added a comment there about some similar upstream bug reports and a proposed upstream patch. You could try that patch and see if it solves the problem. If so we can add it to the port. If it doesn't solve the problem then report the problem to the developers so they can develop a fix.
Re: build of rspamd and amavisd-new not working with High Sierra
Thanks Ryan for the response I prefer to get the p5-cryptx working. Is there a how to or instruction on how to build it using the patch > Horst Simon > On 11 Apr 2024, at 17:48, Ryan Schmidt wrote: > > >> On Apr 10, 2024, at 22:59, Horst Simon wrote: >> >> I tried to install amavisd-new on macOS High Sierra but fails in the install >> of the dependency p5.34-cryptx, after this I tried to change to rspamd, >> but rspamd too fails to build. >> >> I already created request ticket for p5.34cryptx. My question is is it >> possible to get at least on of these working on High Sierra and what is >> needed from me. > > The rspamd problem is > https://trac.macports.org/ticket/63785. It currently cannot build for macOS > 10.14 or earlier because it uses features from a newer version of C++ than > those earlier macOS versions can normally accommodate. > > The p5-cryptx problem is https://trac.macports.org/ticket/68470. I added a > comment there about some similar upstream bug reports and a proposed upstream > patch. You could try that patch and see if it solves the problem. If so we > can add it to the port. If it doesn't solve the problem then report the > problem to the developers so they can develop a fix.
Re: build of rspamd and amavisd-new not working with High Sierra
On Apr 10, 2024, at 22:59, Horst Simon wrote: > > I tried to install amavisd-new on macOS High Sierra but fails in the install > of the dependency p5.34-cryptx, after this I tried to change to rspamd, > but rspamd too fails to build. > > I already created request ticket for p5.34cryptx. My question is is it > possible to get at least on of these working on High Sierra and what is > needed from me. The rspamd problem is https://trac.macports.org/ticket/63785. It currently cannot build for macOS 10.14 or earlier because it uses features from a newer version of C++ than those earlier macOS versions can normally accommodate. The p5-cryptx problem is https://trac.macports.org/ticket/68470. I added a comment there about some similar upstream bug reports and a proposed upstream patch. You could try that patch and see if it solves the problem. If so we can add it to the port. If it doesn't solve the problem then report the problem to the developers so they can develop a fix.
build of rspamd and amavisd-new not working with High Sierra
Hi, I tried to install amavisd-new on macOS High Sierra but fails in the install of the dependency p5.34-cryptx, after this I tried to change to rspamd, but rspamd too fails to build. I already created request ticket for p5.34cryptx. My question is is it possible to get at least on of these working on High Sierra and what is needed from me. Kind Regards, horst Simon