Unable to build due to inaccessible dependency (7.1.0)

Hello,

I am trying to build couchbase in order to resolve this topic.

I am following the directions of https://github.com/couchbase/tlm/

Unfortunately, when running make deps-all, the opentelemetry package attempts to build curl from the following url: https://packages.couchbase.com/couchbase-server/deps-unsupported/curl/7.78.0/3/curl-linux-aarch64-7.78.0-3.tgz

The build fails there, since that particular link is locked behind a firewall.
If possible, could the couchbase-server/deps-unsupported route be made public?

Thank you,
Moulberry

That path isn’t actually firewalled, it simply doesn’t exist. It should be looking for https://packages.couchbase.com/couchbase-server/deps/curl/7.78.0/3/curl-linux-aarch64-7.78.0-3.tgz (without the “-unsupported” part). So the question is why it thinks you’re building on an unsupported platform… can you tell me exactly what command you ran to build (in particular any arguments to CMake) and what platform you’re attempting to build on?

Hi ceej,

You’re correct - changing ./tlm/cmake/Modules/CBDownloadDeps.cmake:115 to use https://packages.couchbase.com/couchbase-server/deps instead of ${CB_DOWNLOAD_DEPS_REPO} indeed fixes the issue with building curl.

I’m not sure why ./tlm/cmake/Modules/CBDownloadDeps.cmake:400 explicitly switches to deps-unsupported if the URL doesn’t exist - oh well.

Not that it matters, but the command I was running was make deps-all and the script was reporting my platform as “archarmarcharm” (Arch Linux ARM)

Still a few issues I need to deal with (v8 python2 install scripts), but this particular issue is resolved.

Thanks,
Moulberry