8000 Build failed on macOS aarch64 (Apple Silicon) with botan error · Issue #109 · Dadoum/Sideloader · GitHub
[go: up one dir, main page]

Skip to content

Build failed on macOS aarch64 (Apple Silicon) with botan error #109

@phdev-design

Description

@phdev-design

System Information:

  • OS: macOS
  • Architecture: aarch64 (Apple Silicon M-series)
  • D Compiler: ldc2

Steps to Reproduce:

  1. git clone https://github.com/Dadoum/Sideloader.git
  2. cd Sideloader/frontends/cli
  3. dub build

Error Log:

pak@Mac-mini cli % ls
dub.json dub.selections.json source
pak@Mac-mini cli % cd ../..
pak@Mac-mini Sideloader % rm dub.selections.json
pak@Mac-mini Sideloader % cd frontends/cli
pak@Mac-mini cli % dub build
Starting Performing "debug" build using ldc2 for aarch64, arm_hardfloat.
Up-to-date argparse 1.3.0: target for configuration [library] is up to date.
Up-to-date progress 5.0.2: target for configuration [library] is up to date.
Up-to-date botan-math 1.0.4: target for configuration [library] is up to date.
Up-to-date memutils 1.0.10: target for configuration [library] is up to date.
Building botan 1.13.6: building configuration [full]
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/buf_comp.d(49,48): Deprecation: auto and ref storage classes should be adjacent
final void update(T, ALLOC)(auto const ref RefCounted!(Vector!(T, ALLOC)) input)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/buf_comp.d(60,48): Deprecation: auto and ref storage classes should be adjacent
final void update(T, ALLOC)(auto const ref Vector!(T, ALLOC) input)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/buf_comp.d(175,60): Deprecation: auto and ref storage classes should be adjacent
final SecureVector!ubyte process(ALLOC)(auto const ref RefCounted!(Vector!(ubyte, ALLOC), ALLOC) input)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/buf_comp.d(189,60): Deprecation: auto and ref storage classes should be adjacent
final SecureVector!ubyte process(ALLOC)(auto const ref Vector!(ubyte, ALLOC) input)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/sym_algo.d(66,45): Deprecation: auto and ref storage classes should be adjacent
final void setKey(Alloc)(auto const ref RefCounted!(Vector!( ubyte, Alloc ), Alloc) key)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/sym_algo.d(72,45): Deprecation: auto and ref storage classes should be adjacent
final void setKey(Alloc)(auto const ref Vector!( ubyte, Alloc ) key)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/symkey.d(148,32): Deprecation: auto and ref storage classes should be adjacent
this(ALLOC)(auto const ref Vector!(ubyte, ALLOC) input) { m_bits = SecureVector!ubyte(input.ptr[0 .. input.length]); }
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/symkey.d(151,32): Deprecation: auto and ref storage classes should be adjacent
this(ALLOC)(auto const ref RefCounted!(Vector!(ubyte, ALLOC), ALLOC) input) { m_bits = SecureVector!ubyte(input.ptr[0 .. input.length]); }
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/symkey.d(183,47): Deprecation: auto and ref storage classes should be adjacent
void opOpAssign(string op)(auto const ref OctetString other)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/symkey.d(197,52): Deprecation: auto and ref storage classes should be adjacent
OctetString opBinary(string op)(auto const ref OctetString other)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/symkey.d(214,52): Deprecation: auto and ref storage classes should be adjacent
OctetString opBinary(string op)(auto const ref OctetString other)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/transform.d(32,58): Deprecation: auto and ref storage classes should be adjacent
final SecureVector!ubyte start(Alloc)(auto const ref RefCounted!(Vector!( ubyte, Alloc ), Alloc) nonce)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/algo_base/transform.d(43,58): Deprecation: auto and ref storage classes should be adjacent
final SecureVector!ubyte start(Alloc)(auto const ref Vector!( ubyte, Alloc ) nonce)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/asn1/asn1_obj.d(170,50): Deprecation: auto and ref storage classes should be adjacent
Vector!ubyte putInSequence(ALLOC)(auto const ref Vector!(ubyte, ALLOC) contents)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/asn1/asn1_obj.d(180,50): Deprecation: auto and ref storage classes should be adjacent
Vector!ubyte putInSequence(ALLOC)(auto const ref RefCounted!(Vector!(ubyte, ALLOC), ALLOC) contents)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/asn1/ber_dec.d(598,35): Deprecation: auto and ref storage classes should be adjacent
this(T, ALLOC)(auto const ref Vector!(T, ALLOC) data)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/asn1/ber_dec.d(608,35): Deprecation: auto and ref storage classes should be adjacent
this(T, ALLOC)(auto const ref RefCounted!(Vector!(T, ALLOC), ALLOC) data)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/asn1/der_enc.d(108,51): Deprecation: auto and ref storage classes should be adjacent
ref DEREncoder rawBytes(ALLOC)(auto const ref Vector!(ubyte, ALLOC) val) return
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/asn1/der_enc.d(113,51): Deprecation: auto and ref storage classes should be adjacent
ref DEREncoder rawBytes(ALLOC)(auto const ref RefCounted!(Vector!(ubyte, ALLOC), ALLOC) val) return
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/asn1/der_enc.d(159,44): Deprecation: auto and ref storage classes should be adjacent
ref DEREncoder encode()(auto const ref BigInt n) return
^
Memory debugger enabled
../../../../.dub/packages/botan/1.13.6/botan/source/botan/cert/x509/x509_crl.d(182,14): Error: none of the overloads of this are callable using argument types (const(Vector!(ubyte, ThreadMem)), string, bool)
super(vec, "CRL/X509 CRL", true);
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/cert/x509/x509_obj.d(204,5): Candidates are: botan.cert.x509.x509_obj.X509Object.this(RefCounted!(DataSourceImpl, AppMem) stream, in string labels)
this(DataSource stream, in string labels)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/cert/x509/x509_obj.d(212,5): botan.cert.x509.x509_obj.X509Object.this(in string file, in string labels)
this(in string file, in string labels)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/cert/x509/x509_obj.d(253,5): botan.cert.x509.x509_obj.X509Object.this()
this() { }
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/cert/x509/x509_obj.d(221,5): this(ALLOC)(auto ref const Vector!(ubyte, ALLOC) vec, in string labels)
this(ALLOC)(auto const ref Vector!(ubyte, ALLOC) vec, in string labels)
^
../../../../.dub/packages/botan/1.13.6/botan/source/botan/cert/x509/x509_obj.d(230,5): this(ALLOC)(auto ref const RefCounted!(Vector!(ubyte, ALLOC), ALLOC) vec, in string labels)
this(ALLOC)(auto const ref RefCounted!(Vector!(ubyte, ALLOC), ALLOC) vec, in string labels)
^
Error ldc2 failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0