Skip to content

Conversation

@sashatalalasha
Copy link

Checklist

  • I have read the contributing guidelines and signed the CLA.
  • I have referenced an issue containing the design document if my change introduces a new feature.
  • I have read the security policy.
  • I confirm that this pull request does not address a security vulnerability.
    If this pull request addresses a security vulnerability,
    I confirm that I got approval (please contact security@ory.sh) from the maintainers to push the changes.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added the necessary documentation within the code base (if appropriate).

@sashatalalasha sashatalalasha marked this pull request as draft January 17, 2024 12:17
@jonas-jonas
Copy link
Member

#0 272.6 ==> Pouring lz4--1.9.4.x86_64_linux.bottle.tar.gz
#0 272.7 🍺  /home/linuxbrew/Cellar/lz4/1.9.4: 22 files, 684.9KB
#0 272.7 ==> Installing sourcedocs dependency: xz
#0 274.0 ==> ./configure --disable-silent-rules
#0 282.9 ==> make check
#0 282.9 Last 15 lines from /root/.cache/Homebrew/Logs/xz/02.make:
#0 282.9 2024-01-26 21:39:19 +0000
#0 282.9
#0 282.9 make
#0 282.9 check
#0 282.9
#0 282.9 /home/linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/make: line 30: exec: : not found
#0 283.1
#0 283.1 READ THIS: https://docs.brew.sh/Troubleshooting
#0 283.1
------
Dockerfile:39
--------------------
  37 |
  38 |     # Install SourceDocs to generate swift client documentation
  39 | >>> RUN brew install sourcedocs
  40 |
  41 |
--------------------
ERROR: failed to solve: process "/bin/sh -c brew install sourcedocs" did not complete successfully: exit code: 1

not really sure how to debug..

@jonas-jonas
Copy link
Member

962.6 ==> Pouring swift--5.8.1_1.x86_64_linux.bottle.tar.gz
997.2 🍺  /home/linuxbrew/Cellar/swift/5.8.1_1: 899 files, 3.1GB
997.2 ==> Installing sourcedocs
998.3 ==> swift build --disable-sandbox -c release
999.3 Last 15 lines from /root/.cache/Homebrew/Logs/sourcedocs/01.swift:
999.3 2024-02-05 08:04:19 +0000
999.3
999.3 swift
999.3 build
999.3 --disable-sandbox
999.3 -c
999.3 release
999.3
999.3 error: 'sourcedocs-2.0.1': Invalid manifest (compiled with: ["/home/linuxbrew/Cellar/swift/5.8.1_1/libexec/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.WGxIqQ/vfs.yaml", "-L", "/home/linuxbrew/Cellar/swift/5.8.1_1/libexec/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/home/linuxbrew/Cellar/swift/5.8.1_1/libexec/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/home/linuxbrew/Cellar/swift/5.8.1_1/libexec/lib/swift/pm/ManifestAPI", "-package-description-version", "5.3.0", "/tmp/sourcedocs-20240205-10747-o42469/SourceDocs-2.0.1/Package.swift", "-Xfrontend", "-disable-implicit-concurrency-module-import", "-Xfrontend", "-disable-implicit-string-processing-module-import", "-o", "/tmp/TemporaryDirectory.GLmUd5/sourcedocs-2.0.1-manifest"])
999.3 error: link command failed with exit code 1 (use -v to see invocation)
999.3 /home/linuxbrew/opt/gcc/lib/gcc/13/libgcc_s.so.1: error: undefined reference to '_dl_find_object', version 'GLIBC_2.35'
999.3 clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
999.5
999.5 READ THIS: https://docs.brew.sh/Troubleshooting
999.5
------
Dockerfile:163
--------------------
 161 |
 162 |     # Install SourceDocs to generate swift client documentation
 163 | >>> RUN brew install sourcedocs
 164 |
 165 |     ADD go.mod go.mod
--------------------
ERROR: failed to solve: process "/bin/sh -c brew install sourcedocs" did not complete successfully: exit code: 1

different error now...

@OmarJalilo
Copy link

Is there any ETA for a native swift SDK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants