TVL depot development (mail to depot@tvl.su)
 help / color / mirror / code / Atom feed
From: Johannes Kastl <mail@johannes-kastl•de>
To: depot@tvl.su
Subject: Building tvix on openSUSE: missing README in tvix/vendor/tower-otel-http-metrics-0.11.0/src/../
Date: Sat, 22 Mar 2025 09:40:34 +0100	[thread overview]
Message-ID: <8881d6a8-e49e-4f6f-8c69-091d5cab3588@johannes-kastl.de> (raw)

Dear tvix maintainers,

out of curiosity I tried to create a package for tvix for openSUSE. I
found no tags or versions, so I used the latest commit and went from
there.

I got a package that starts building, but am now stuck with the
following error:

> [  348s]    Compiling tower-otel-http-metrics v0.11.0
> [  348s] error: couldn't read `/home/abuild/rpmbuild/BUILD/tvix-0.0.1_1742309285.9898a758b-build/tvix-0.0.1~1742309285.9898a758b/tvix/vendor/tower-otel-http-metrics-0.11.0/src/../README.md`: No such file or directory (os error 2)
> [  348s]  --> /home/abuild/rpmbuild/BUILD/tvix-0.0.1_1742309285.9898a758b-build/tvix-0.0.1~1742309285.9898a758b/tvix/vendor/tower-otel-http-metrics-0.11.0/src/lib.rs:1:10
> [  348s]   |
> [  348s] 1 | #![doc = include_str!("../README.md")]
> [  348s]   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [  348s]   |

As I am not using nix for the build and the build has to happen
completely offline, I have prepared all rust dependencies upfront (as
is usual for rust packages on openSUSE). There is a directory for
tower-otel-http-metrics-0.11.0 in the vendor tarball (which is
extracted into the tvix subfolder), but it does not contain a README:

> $ tar tvf vendor.tar.zst |grep tower-otel
> -rw-r--r-- 0/0             328 1970-01-01 00:00 vendor/tower-otel-http-metrics-0.11.0/.cargo-checksum.json
> -rw-r--r-- 0/0            9954 1970-01-01 00:00 vendor/tower-otel-http-metrics-0.11.0/Cargo.lock
> -rw-r--r-- 0/0            1763 1970-01-01 00:00 vendor/tower-otel-http-metrics-0.11.0/Cargo.toml
> -rw-r--r-- 0/0           10707 1970-01-01 00:00 vendor/tower-otel-http-metrics-0.11.0/src/lib.rs

Is this a known issue? Am I missing some flags for "cargo build"?

Kind Regards,
Johannes

             reply	other threads:[~2025-03-22  8:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-22  8:40 Johannes Kastl [this message]
2025-08-05 18:10 ` sterni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8881d6a8-e49e-4f6f-8c69-091d5cab3588@johannes-kastl.de \
    --to=mail@johannes-kastl$(echo .)de \
    --cc=depot@tvl.su \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://code.tvl.fyi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).