indygreg / indygreg/PyOxidizer

Packaging for openSUSE

Open
#164 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

A quick cross check against https://build.opensuse.org/project/show/devel:languages:rust:crates/

(the following is out of date since 0.5dev)

python3-sys:
- [x] libc = "0.2"
- [x] regex = "1" (build dep)

rust-cpython:

- [x] libc = "0.2"
- [x] num-traits = "0.2"

pyembed:

- [x] byteorder = "1"
- [ ] jemalloc-sys = { version = "0.3", optional = true }
- [x] libc = "0.2"
- [ ] python3-sys = { path = "../third_party/rust-cpython/python3-sys" }
- [x] uuid = { version = "0.7", features = ["v4"] }
- [ ] pyoxidizer = { path = "../pyoxidizer" } (build dep)
- [ ] slog = "2.4" (build dep)

pyoxidizer:

- [x] byteorder = "1.2"
- [ ] cargo_toml = "0.6"
- [x] cc = "1.0"
- [ ] clap = "2.32"
- [x] encoding_rs = "0.8"
- [ ] git2 = "0.9"
- [x] glob = "0.3"
- [ ] goblin = "0.0"
- [x] handlebars = "1.1"
- [ ] hex = "0.3"
- [x] itertools = "0.8"
- [x] lazy_static = "1.3"
- [x] libc = "0.2"
- [x] regex = "1"
- [ ] reqwest = "0.9"
- [x] rustc_version = "0.2"
- [x] [semver](https://build.opensuse.org/package/show/devel:languages:rust:crates/rust-semver) = "0.9"
- [x] [serde](https://build.opensuse.org/package/show/devel:languages:rust:crates/rust-serde) = { version = "1.0", features = ["derive"] }
- [ ] serde_cbor = "0.9"
- [x] serde_json = "1.0"
- [ ] sha2 = "0.8"
- [ ] slog = "2.4"
- [ ] tar = "0.4"
- [ ] tempdir = "0.3"
- [x] toml = "0.5"
- [x] url = "1.7"
- [x] uuid = { version = "0.7", features = ["v5"] }
- [ ] version-compare = "0.0"
- [x] walkdir = "2"
- [x] xml-rs = "0.8"
- [ ] zip = "0.5"
- [ ] zstd = "0.4"

pyapp:

- [ ] jemallocator-global = "0.3"
- [x] lazy_static = "1.3"
- [ ] pyembed = { path = "../pyembed" }

The whole group appears to be failing to build atm. Looks like a macro problem.

Have I missed some deps?

It doesnt look too difficult.

I guess I can maybe remove the jemalloc depends by using the slower alloc-ers. Not sure if those have a large dep tree.

Any other hints on how to reduce the number of deps would be greatly appreciated.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the openSUSE crate package list and reproducing the reported build failure, especially the suspected macro problem. Compare the unchecked dependencies across python3-sys, rust-cpython, pyembed, pyoxidizer, and pyapp with the linked openSUSE project. Done means the package group builds successfully with its required dependencies identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.