You are not logged in.
I'd appreciate some help on building python-yappi. It's needed as a dependency on another package. Building the other package fails on building yappi.
I tried using yay and building it manually with makepkg. Same result:
==> Bezig met het uitvoeren van build()...
/tmp/timer_create80tdcqsy.c: In functie ‘main’:
/tmp/timer_create80tdcqsy.c:2:5: let op: impliciete declaratie van functie ‘timer_create’ [-Wimplicit-function-declaration]
2 | timer_create();
| ^~~~~~~~~~~~
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
copying yappi/yappi.py -> build/lib.linux-x86_64-3.10
running build_ext
building '_yappi' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/yappi
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -DLIB_RT_AVAILABLE=1 -I/usr/include/python3.10 -c yappi/_yappi.c -o build/temp.linux-x86_64-3.10/yappi/_yappi.o
yappi/_yappi.c: In functie ‘_bootstrap_thread’:
yappi/_yappi.c:1261:9: fout: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?
1261 | ts->use_tracing = 1;
| ^~~~~~~~~~~
| tracing
yappi/_yappi.c: In functie ‘_profile_thread’:
yappi/_yappi.c:1292:9: fout: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?
1292 | ts->use_tracing = 1;
| ^~~~~~~~~~~
| tracing
yappi/_yappi.c: In functie ‘_unprofile_thread’:
yappi/_yappi.c:1309:9: fout: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?
1309 | ts->use_tracing = 0;
| ^~~~~~~~~~~
| tracing
error: command '/usr/bin/gcc' failed with exit code 1
==> FOUT: Er is een fout opgetreden in build().
Afbreken...
-> error making: python-yappi
Fout means error, btw. In case you didn't realize
Anyone with an idea to solve this? Thanks!
Last edited by sjondebok (2021-12-14 12:58:15)
Offline
upstream added python 3.10 support in a later version , the package probably needs to be updated.
https://github.com/sumerc/yappi/commit/ … 58b478f957
Try editing the pkgbuild :
- increase pkgver to 1.3.3
- change the commit hash in _commit to e991cdf92052d8c647412b07dddcea58b478f957
Verify if it builds/works
Don't forget to notify the maintainer on the aur comments page.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
The AUR is the first place to report this problem (https://aur.archlinux.org/packages/python-yappi/).
To get English messages, try to run
LC_ALL=C yay
or
export LC_ALL=C
before running yay.
Offline
Thank you, Lone Wolf!
Offline