Package Details: py-spy 0.1.10-1

Git Clone URL: https://aur.archlinux.org/py-spy.git (read-only)
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: 3
Popularity: 0.021232
First Submitted: 2018-11-16 21:28
Last Updated: 2018-12-14 16:31

Latest Comments

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`.