pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: building certbot on Sparc Solaris10...



On Wed, Dec 28, 2022 at 04:44:42PM +0100, K. Schreiner wrote:
> On Wed, Dec 28, 2022 at 08:48:00AM +0000, nia wrote:
> > On Tue, Dec 27, 2022 at 09:27:39PM +0100, K. Schreiner wrote:
> > ...
> > ...
> > security/py27-cryptograpy is the old non-rust version.
> >
> > The purpose of setting rust as unavailable on Solaris/sparc64 is
> > to make certbot pick security/py27-cryptograpy as a dependency
> > instead.
>
> looking in the wrong place:
>
> the culprit is lang/rust/platform.mk stating:
>
> ...
> Result[] of :U is "SunOS-*-sparc64"
> Pattern[MACHINE_PLATFORM] for [SunOS-5.10-sparc64] is [SunOS-*-sparc64]
> VarMatch [SunOS-5.10-sparc64] [SunOS-*-sparc64]
> Result[MACHINE_PLATFORM] of :M is "SunOS-5.10-sparc64"
> Global:PLATFORM_SUPPORTS_RUST = yes
> Applying[MACHINE_PLATFORM] :M to "SunOS-5.10-sparc64"
> Applying[] :U to ""
> ...
>
> but PLATFORM_SUPPORTS_RUST should be false for SunOS-5.10-sparc64.

I just took out sparc64 from the first loop in lang/rust/platform.mk,
cleaned up my tree, ran bmake and voila, certbot builds and runs fine:

sudo /opt/bsd/bin/certbot-3.10 certificates
Saving debug log to /var/bsd/letsencrypt/log/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
  Certificate Name: test.xyz.mz.de
    Serial Number: <there is one>
    Key Type: RSA
    Domains: test.xyz.mz.de test1.xyz.mz.de
    Expiry Date: 2023-01-27 22:51:35+00:00 (VALID: 30 days)
    Certificate Path: /etc/nb/letsencrypt/live/test.xyz.mz.de/fullchain.pem
    Private Key Path: /etc/nb/letsencrypt/live/test1.xyz.mz.de/privkey.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

(Names etc. a little bit obfuscated. ;-)

Thanks for helping me getting an the right track
Kurt


Home | Main Index | Thread Index | Old Index