Package Details: py-spy 0.3.3-1

Git Clone URL: https://aur.archlinux.org/py-spy.git (read-only, click to copy)
Package Base: py-spy
Description: Sampling profiler for Python programs
Upstream URL: https://github.com/benfred/py-spy
Licenses: GPL3
Submitter: craftyguy
Maintainer: craftyguy
Last Packager: craftyguy
Votes: 6
Popularity: 0.26
First Submitted: 2018-11-16 21:28
Last Updated: 2020-03-04 02:23

Latest Comments

acxz commented on 2020-03-06 03:29

Hello! Thx for maintaining this package.

I am getting the following error when trying to install it:

==> Making package: py-spy 0.3.3-1 (Thu 05 Mar 2020 10:20:32 PM EST)
==> Retrieving sources...
  -> Found py-spy-0.3.3.tar.gz
==> Validating source files with sha512sums...
    py-spy-0.3.3.tar.gz ... Passed
==> Making package: py-spy 0.3.3-1 (Thu 05 Mar 2020 10:20:32 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found py-spy-0.3.3.tar.gz
==> Validating source files with sha512sums...
    py-spy-0.3.3.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting py-spy-0.3.3.tar.gz with bsdtar
==> Sources are ready.
==> Making package: py-spy 0.3.3-1 (Thu 05 Mar 2020 10:20:34 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
  Downloaded ctrlc v3.1.4
warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of `inferno v0.9.4` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `indicatif v0.14.0` within 30s)
warning: spurious network error (1 tries remaining): [28] Timeout was reached (failed to download any data for `indicatif v0.14.0` within 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of `term_size v0.3.1` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `bitflags v1.2.1` within 30s)
warning: spurious network error (1 tries remaining): [28] Timeout was reached (download of `bitflags v1.2.1` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (1 tries remaining): [28] Timeout was reached (failed to download any data for `term_size v0.3.1` within 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of `cpp_demangle v0.2.14` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `console v0.9.2` within 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of `tempfile v3.1.0` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `serde_json v1.0.48` within 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of `rand_distr v0.2.2` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `rand v0.7.3` within 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of `failure v0.1.6` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `env_logger v0.7.1` within 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of `libc v0.2.67` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `goblin v0.1.3` within 30s)
warning: spurious network error (1 tries remaining): [28] Timeout was reached (download of `rand v0.7.3` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (1 tries remaining): [28] Timeout was reached (failed to download any data for `rand_distr v0.2.2` within 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of `memmap v0.7.0` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `lru v0.4.3` within 30s)
jkwarning: spurious network error (1 tries remaining): [28] Timeout was reached (download of `env_logger v0.7.1` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (1 tries remaining): [28] Timeout was reached (failed to download any data for `failure v0.1.6` within 30s)
error: failed to download from `https://crates.io/api/v1/crates/term_size/0.3.1/download`

Caused by:
  [28] Timeout was reached (download of `term_size v0.3.1` failed to transfer more than 10 bytes in 30s)
==> ERROR: A failure occurred in build().
    Aborting...
Error making: py-spy
yay -Syu py-spy  233.61s user 159.84s system 97% cpu 6:45.39 total

lilydjwg commented on 2019-09-24 11:49

It seems that libunwind should be added to depends.

eschwartz commented on 2018-11-18 02:31

Merged instead, thanks for the fast response.

BTW, no need to provide/conflict itself, also you forgot to quote the newly added ${srcdir} references.

eschwartz commented on 2018-11-08 01:53

This is not a python package and is therefore misnamed and should not contain the prefix "python-".

It's a 100% rust project, which uses weird and IMO disgusting hacks to pretend to be a python program for no other reason than to make it easy for people to misuse and abuse the PyPI index for hosting statically compiled rust binaries. What's next, pip install firefox as a distribution method for your favorite browser?

Please re-upload this as a package called "py-spy", using cargo build --release to build the software during build(), using install(1) to install the resulting binary during package(), and most importantly, setting arch=('x86_64') as this is most definitely not an any-arch package.

blueyed commented on 2018-09-22 14:52

When using pip directly to install py-spy it will use wheels, while python-py-spy will build the package (which takes quite some time). Couldn't/shouldn't the package use the wheel also?

craftyguy commented on 2018-09-07 15:44

@mathieu.clabaut

Seems like it is failing to compile backtrace-sys. I suggest reporting this problem to that project: https://github.com/alexcrichton/backtrace-rs/issues

A quick scan of the open/closed issues there shows some other build problems (some on Arch), though I didn't see any with this exact failure.

mathieu.clabaut commented on 2018-09-07 15:34

Trying to build this package, I get :

    Running `rustc --crate-name backtrace_sys /home/clabaut/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-sys-0.1.24/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=2901dca6d426b7bd -C extra-filename=-2901dca6d426b7bd --out-dir /tmp_dsk/clabaut/python-py-spy/src/py-spy-0.1.4/target/release/deps -L dependency=/tmp_dsk/clabaut/python-py-spy/src/py-spy-0.1.4/target/release/deps --extern libc=/tmp_dsk/clabaut/python-py-spy/src/py-spy-0.1.4/target/release/deps/liblibc-9983bbef4073e90f.rlib --cap-lints allow -L native=/tmp_dsk/clabaut/python-py-spy/src/py-spy-0.1.4/target/release/build/backtrace-sys-a61abb562b6e310f/out -l static=backtrace`
error[E0658]: use of unstable library feature 'thread_local_state': state querying was recently added (see issue #27716)
   --> /home/clabaut/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.3.0/src/parking_lot.rs:169:34
    |
169 |     if let Ok(tls) = THREAD_DATA.try_with(|x| x as *const ThreadData) {
    |                                  ^^^^^^^^

error[E0658]: use of unstable library feature 'thread_local_state': state querying was recently added (see issue #27716)
  --> /home/clabaut/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.3.0/src/word_lock.rs:55:38
   |
55 |         if let Ok(tls) = THREAD_DATA.try_with(|x| x as *const ThreadData) {
   |                                      ^^^^^^^^

error: aborting due to 2 previous errors

error: Could not compile `parking_lot_core`.