acxz / pkgbuilds

PKGBUILDs for Arch Linux
25 stars 46 forks source link

[mavlink] message definitions not found #19

Open acxz opened 4 years ago

acxz commented 4 years ago
make[1]: Entering directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
make[2]: Entering directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
make[2]: Leaving directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
make[2]: Entering directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
[  5%] Generating matrixpilot.xml-v1.0-stamp
/usr/bin/python: Error while finding module specification for 'pymavlink.tools.mavgen' (ModuleNotFoundError: No module named 'pymavlink.tools')
make[2]: *** [CMakeFiles/matrixpilot.xml-v1.0.dir/build.make:61: matrixpilot.xml-v1.0-stamp] Error 1
make[2]: Leaving directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
make[1]: *** [CMakeFiles/Makefile2:108: CMakeFiles/matrixpilot.xml-v1.0.dir/all] Error 2
make[1]: Leaving directory '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/build'
acxz commented 2 years ago

New error:

Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "<frozen runpy>", line 88, in _run_code
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
  File "<frozen runpy>", line 88, in _run_code
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
  File "<frozen runpy>", line 88, in _run_code
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
    mavgen.mavgen(args, args.definitions)
    mavgen.mavgen(args, args.definitions)
    mavgen.mavgen(args, args.definitions)
    mavgen.mavgen(args, args.definitions)
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
    if not mavgen_validate(fname):
    if not mavgen_validate(fname):
    if not mavgen_validate(fname):
           ^^^^^^^^^^^^^^^^^^^^^^
           ^^^^^^^^^^^^^^^^^^^^^^
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
    if not mavgen_validate(fname):
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
    with open(xmlfile, 'r') as f:
    with open(xmlfile, 'r') as f:
    with open(xmlfile, 'r') as f:
         ^^^^^^^^^^^^^^^^^^
         ^^^^^^^^^^^^^^^^^^
         ^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/ardupilotmega.xml'
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/common.xml'
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/ualberta.xml'
    with open(xmlfile, 'r') as f:
         ^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/slugs.xml'
Validating /home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/minimal.xml
Validating /home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/test.xml
Traceback (most recent call last):
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "<frozen runpy>", line 88, in _run_code
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/tools/mavgen.py", line 31, in <module>
    mavgen.mavgen(args, args.definitions)
    mavgen.mavgen(args, args.definitions)
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 136, in mavgen
    if not mavgen_validate(fname):
    if not mavgen_validate(fname):
           ^^^^^^^^^^^^^^^^^^^^^^
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
  File "/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/pymavlink/generator/mavgen.py", line 105, in mavgen_validate
    with open(xmlfile, 'r') as f:
    with open(xmlfile, 'r') as f:
         ^^^^^^^^^^^^^^^^^^
         ^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/minimal.xml'
FileNotFoundError: [Errno 2] No such file or directory: '/home/acxz/vcs/git/github/acxz/pkgbuilds/mavlink/src/mavlink-1.0.12/message_definitions/v0.9/test.xml'
make[2]: *** [CMakeFiles/common.xml-v0.9.dir/build.make:73: common.xml-v0.9-stamp] Error 1
make[2]: *** [CMakeFiles/ualberta.xml-v0.9.dir/build.make:73: ualberta.xml-v0.9-stamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:245: CMakeFiles/ualberta.xml-v0.9.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:141: CMakeFiles/common.xml-v0.9.dir/all] Error 2
make[2]: *** [CMakeFiles/ardupilotmega.xml-v0.9.dir/build.make:73: ardupilotmega.xml-v0.9-stamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/ardupilotmega.xml-v0.9.dir/all] Error 2
make[2]: *** [CMakeFiles/slugs.xml-v0.9.dir/build.make:73: slugs.xml-v0.9-stamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:193: CMakeFiles/slugs.xml-v0.9.dir/all] Error 2
make[2]: *** [CMakeFiles/test.xml-v0.9.dir/build.make:73: test.xml-v0.9-stamp] Error 1
make[2]: *** [CMakeFiles/minimal.xml-v0.9.dir/build.make:73: minimal.xml-v0.9-stamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:167: CMakeFiles/minimal.xml-v0.9.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:219: CMakeFiles/test.xml-v0.9.dir/all] Error 2
make: *** [Makefile:156: all] Error 2