Package Base Details: python-onnxruntime

Git Clone URL: https://aur.archlinux.org/python-onnxruntime.git (read-only, click to copy)
Submitter: yan12125_2
Maintainer: yan12125 (lilac)
Last Packager: lilac
Votes: 0
Popularity: 0.000000
First Submitted: 2019-07-12 11:06
Last Updated: 2021-10-05 08:38

Pinned Comments

yan12125 commented on 2021-01-26 08:35

Prebuilt packages for python-onnxruntime and dependencies are available in the unofficial [archlinuxcn] repository [1]. python-onnxruntime in that repository is also maintained by me.

[1] https://github.com/archlinuxcn/repo/

Latest Comments

« First ‹ Previous 1 2

yan12125 commented on 2021-01-26 08:35

Prebuilt packages for python-onnxruntime and dependencies are available in the unofficial [archlinuxcn] repository [1]. python-onnxruntime in that repository is also maintained by me.

[1] https://github.com/archlinuxcn/repo/

snarfies commented on 2021-01-26 05:52

yan12125: Using yay, which builds in my home directory. I have 384GiB free at the moment. Just to make sure though, I temporarily upped the /tmp space from 16GB to 30GB, purged my cache, forced cleanbuild and started over, only to get an all new error:

[ 83%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/providers/cpu/controlflow/loop_test.cc.o

{standard input}: Assembler messages:

{standard input}:714346: Error: invalid operands (UND and .gcc_except_table._ZN11onnxruntime4test57GraphTransformationTests_EmbedLayerNormFusionFormat9_Test8TestBodyEv sections) for `-'

[ 83%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/providers/cpu/controlflow/scan_test.cc.o

c++: fatal error: Killed signal terminated program cc1plus

compilation terminated.

make[2]: *** [CMakeFiles/onnxruntime_test_all.dir/build.make:277: CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/optimizer/graph_transform_test.cc.o] Error 1

make[2]: *** Waiting for unfinished jobs....

make[1]: *** [CMakeFiles/Makefile2:267: CMakeFiles/onnxruntime_test_all.dir/all] Error 2

make: *** [Makefile:160: all] Error 2

==> ERROR: A failure occurred in build(). Aborting... error making: python-onnxruntime`

Given that this wasn't working out in yay, I decided to go the old fashioned way, makepkg -si. This failed even earlier:

[ 79%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/erik/onnxruntime/python-onnxruntime/src/onnxruntime/onnxruntime/test/contrib_ops/matmul_integer_to_float_test.cc.o

{standard input}: Assembler messages:

{standard input}:317561: Warning: end of file not at end of a line; newline inserted

{standard input}:318596: Error: unknown pseudo-op: `.lb'

{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive

c++: fatal error: Killed signal terminated program cc1plus compilation terminated.

Sorry, I don't know a thing about python, I just know I need this library for another program that I DO understand.

yan12125 commented on 2021-01-24 13:58

snarfies: that looks like insufficient disk space. Note that some AUR helpers use /tmp for building packages, so building fails if /tmp is full.

snarfies commented on 2021-01-23 20:48

[ 86%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/providers/cpu/ml/binarizer_test.cc.o

{standard input}: Assembler messages:

{standard input}:1063902: Warning: end of file not at end of a line; newline inserted

c++: fatal error: Killed signal terminated program cc1plus compilation terminated.

make[2]: *** [CMakeFiles/onnxruntime_test_all.dir/build.make:277: CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/optimizer/graph_transform_test.cc.o] Error 1

make[2]: *** Deleting file 'CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/optimizer/graph_transform_test.cc.o'

make[2]: *** Waiting for unfinished jobs.... [ 86%] Building CXX object CMakeFiles/onnxruntime_test_all.dir/home/erik/.cache/yay/python-onnxruntime/src/onnxruntime/onnxruntime/test/providers/cpu/ml/cast_map_test.cc.o

make[1]: [CMakeFiles/Makefile2:267: CMakeFiles/onnxruntime_test_all.dir/all] Error 2 make: [Makefile:160: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: python-onnxruntime

yan12125 commented on 2020-10-22 03:40

Thank you for the reply, I will. Am I correct that flatbuffers-git is providing shared libraries?

Yep, that seems the case from its PKGBUILD.

vuvko commented on 2020-10-20 18:05

Thank you for the reply, I will. Am I correct that flatbuffers-git is providing shared libraries?

yan12125 commented on 2020-10-20 15:59

Hi could you forward the issue to flatbuffers-static? IMO flatbuffers-static should include shared libraries besides the static ones to fit the claim provides=('flatbuffers').

vuvko commented on 2020-10-20 12:32

With flatbuffers-static package installed, I have a problem building this one. In particular, I got this CMake error:

CMake Error at CMakeLists.txt:806 (add_library):
  add_library cannot create ALIAS target "flatbuffers" because target
  "flatbuffers::flatbuffers_shared" does not already exist.