getsolus / eopkg

eopkg - Solus package manager implemented in python3
8 stars 9 forks source link

eopkg4-bin build is broken #49

Open HarveyDevel opened 7 months ago

HarveyDevel commented 7 months ago
sudo eopkg4-bin bi --ignore-safety pspec.xml
[sudo] password for harvey:
System error. Program terminated.
<class 'TypeError'>: '>=' not supported between instances of 'ImportError' and 'int'
Please use 'eopkg help' for general help.

Traceback:
  File "/tmp/onefile_65661_1712092891_34243/eopkg-cli", line 82, in <module>
  File "/tmp/onefile_65661_1712092891_34243/eopkg-cli", line 78, in main
  File "/tmp/onefile_65661_1712092891_34243/pisi/cli/pisicli.py", line 131, in run_command
  File "/tmp/onefile_65661_1712092891_34243/pisi/cli/build.py", line 209, in run
  File "/tmp/onefile_65661_1712092891_34243/pisi/api.py", line 951, in build
  File "/tmp/onefile_65661_1712092891_34243/pisi/atomicoperations.py", line 707, in build
  File "/tmp/onefile_65661_1712092891_34243/pisi/operations/build.py", line 1778, in build
  File "/tmp/onefile_65661_1712092891_34243/pisi/operations/build.py", line 268, in __init__
  File "/tmp/onefile_65661_1712092891_34243/pisi/operations/build.py", line 425, in set_build_type
  File "/tmp/onefile_65661_1712092891_34243/pisi/operations/build.py", line 678, in load_action_script
  File "/tmp/onefile_65661_1712092891_34243/traceback.py", line 180, in print_exc
  File "/tmp/onefile_65661_1712092891_34243/traceback.py", line 124, in print_exception
  File "/tmp/onefile_65661_1712092891_34243/traceback.py", line 728, in __init__
  File "/tmp/onefile_65661_1712092891_34243/traceback.py", line 406, in _extract_from_extended_frame_gen

If we deprecate third party now this is not a problem. All in favour? :P

Justinzobel commented 7 months ago

All in favour?

Aye.

TraceyC77 commented 7 months ago

If we've made sure that everything in 3rd party has an eopkg or flatpak equivalent, like the plan was many moons ago sure

joebonrichie commented 7 months ago

I can't replicate this with eopkg-cli in the iksemel branch but only the nuitka'd compiled variant annoyingly

ermo commented 7 months ago

I can't replicate this with eopkg-cli in the iksemel branch but only the nuitka'd compiled variant annoyingly

This implies to me that we need to get the unified eopkg package in sooner rather than later?

That will at least enable us to work around the issue trivially until we can get to the bottom of why the nuitka-compiled eopkg.bin falls over when attempting this?