Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: cannot build OFFLINE again #2825

Closed
remicollet opened this issue Aug 30, 2024 · 7 comments · Fixed by DataDog/libdatadog#605 or #2827
Closed

[Bug]: cannot build OFFLINE again #2825

remicollet opened this issue Aug 30, 2024 · 7 comments · Fixed by DataDog/libdatadog#605 or #2827
Labels
🐛 bug Something isn't working

Comments

@remicollet
Copy link
Contributor

remicollet commented Aug 30, 2024

Bug report

Despite using "cargo vendor" to avoid download during the build

    Blocking waiting for file lock on package cache
warning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
warning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
error: failed to get `blazesym` as a dependency of package `datadog-crashtracker v0.0.1 (/builddir/build/BUILD/php81-php-pecl-datadog-trace-1.3.0-build/php81-php-pecl-datadog-trace-1.3.0/datadog_trace-1.3.0/libdatadog/crashtracker)`

Caused by:
  failed to load source for dependency `blazesym`

Caused by:
  Unable to update https://github.com/libbpf/blazesym.git?rev=v0.2.0-rc.0#2f393f66

Caused by:
  failed to clone into: /builddir/.cargo/git/db/blazesym-44372c3355cb762f

Caused by:
  network failure seems to have happened
  if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)

Tracer or profiler version

1.2.0

Looks like a regression was OK for 1.1.0

@remicollet remicollet added the 🐛 bug Something isn't working label Aug 30, 2024
@bwoebi
Copy link
Collaborator

bwoebi commented Aug 30, 2024

Thanks for notifying us - I'll make sure to add some testing around that alongside the actual fixing.

bwoebi added a commit to DataDog/libdatadog that referenced this issue Aug 30, 2024
Fixes DataDog/dd-trace-php#2825.

Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi added a commit to DataDog/libdatadog that referenced this issue Aug 30, 2024
Fixes DataDog/dd-trace-php#2825.

Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
@bwoebi
Copy link
Collaborator

bwoebi commented Aug 30, 2024

Woops, that was autoclosed.

@bwoebi
Copy link
Collaborator

bwoebi commented Aug 30, 2024

Hey @remicollet,

we've generated a new artifact with that dependency fetched from crates.io. And added a check in our CI to prevent that from reoccurring.

Would you mind testing/using https://output.circle-artifacts.com/output/job/11118184-517f-4f90-a55e-5b9dd0dc12b7/artifacts/0/pecl/datadog_trace-1.3.0.tgz this pecl .tar.gz?

Nothing changed in there except the source of that dependency.

Thanks!

@remicollet
Copy link
Contributor Author

I confirm the fix is OK
Thanks

@bwoebi
Copy link
Collaborator

bwoebi commented Sep 2, 2024

@remicollet Do you need a fresh tag, or can you just build based on that artifact?

@remicollet
Copy link
Contributor Author

I don't need a new tag (RPM already built)

@bwoebi
Copy link
Collaborator

bwoebi commented Sep 2, 2024

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
2 participants