build of rspamd and amavisd-new not working with High Sierra

Bill Cole macportsusers-20171215 at billmail.scconsult.com
Thu Apr 11 14:04:25 UTC 2024


On 2024-04-11 at 06:18:58 UTC-0400 (Thu, 11 Apr 2024 20:18:58 +1000)
Horst Simon via macports-users <horst.simon2 at icloud.com>
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 <contextnerror at outlook.com> 
>> 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 
>>>> <macports-users at lists.macports.org> 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 <ryandesign at macports.org> 
>>>> 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
bill at scconsult.com or billcole at apache.org
(AKA @grumpybozo at toad.social and many *@billmail.scconsult.com 
addresses)
Not Currently Available For Hire


More information about the macports-users mailing list