Bug 286923 - databases/greptimedb: Update to 0.14.2
Summary: databases/greptimedb: Update to 0.14.2
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL: https://github.com/GreptimeTeam/grept...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-19 02:53 UTC by Felix Hanley
Modified: 2025-05-27 17:35 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
Patch to v0.14.2 (309.60 KB, patch)
2025-05-19 02:53 UTC, Felix Hanley
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Hanley 2025-05-19 02:53:54 UTC
Created attachment 260533 [details]
Patch to v0.14.2

A big update jumping multiple versions. The changelog is likely too long with over 1500 commits (https://github.com/GreptimeTeam/greptimedb/compare/v0.7.2...v0.14.2).

I removed the nyc-taxi binary since that seems to be only for benchmarking and didn't seem to exist at the end of the build anyway??

I had trouble building this due to memory exhaustion (as I do with all rust stuff) but it eventually succeeded when I set `jobs = 1` in ~/.cargo/config.toml
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2025-05-26 19:18:03 UTC
Build fails:
error[E0599]: no method named `source_file` found for struct `proc_macro::Span` in the current scope
   --> /wrkdirs/usr/ports/databases/greptimedb/work/hydroflow-b072ee026f97f8537165e1fb247101e0ab2fb320/hydroflow_lang/src/diagnostic.rs:175:14
    |
173 |           let path = span
    |  ____________________-
174 | |             .unwrap()
175 | |             .source_file()
    | |_____________-^^^^^^^^^^^
    |
help: there is a method `source` with a similar name
    |
175 -             .source_file()
175 +             .source()
    |
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2025-05-26 19:21:10 UTC
Maybe it's because it was wit the older rust-nightly.
Rebuilding the latest one now.
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2025-05-27 08:23:53 UTC
The latest rust-nightly-1.89.0.20250512 also fails to compile this port.
How did you compile it?
Comment 4 Felix Hanley 2025-05-27 08:34:12 UTC
(In reply to Yuri Victorovich from comment #3)
Hmm, I believe I just installes rust-nightly-1.87.0.20250324 Sorry I don't have a full log, I built this to do some comparisons with other databases and have moved on since then.
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2025-05-27 15:31:53 UTC
(In reply to Felix Hanley from comment #4)

Hi Felix,

No problem.
Thanks for your patch.
We will figure this out.

Yuri
Comment 6 Yuri Victorovich freebsd_committer freebsd_triage 2025-05-27 17:35:25 UTC
Build of 0.14.3 fails with the latest rust-nightly-1.89.0.20250512, see the upstream bug report in the attached URL.