Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Translating Debian packages to Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
erg_samowzbudnik
Apprentice
Apprentice


Joined: 09 Sep 2011
Posts: 218
Location: European sticks

PostPosted: Mon Oct 07, 2024 7:38 am    Post subject: Translating Debian packages to Gentoo Reply with quote

Hi All,

I have Oak-D Lite device I'd like to use on Gentoo:
https://docs.luxonis.com/hardware/products/OAK-D%20Lite

Link to dependencies:
https://raw.githubusercontent.com/luxonis/depthai-python/refs/heads/main/docs/install_dependencies.sh

I would like to write an ebuild once I get it to a working state manually but I think I might have not installed all dependencies yet.
Could use help translating those debian packages from the script above to Gentoo packages.

I've set up a python venv environment, installed depthai_viewer with pip but I'm getting an error:
(got to use python 3.12 as dependency apache-arrow is not 3.13 ready)

$ python3.12 -m depthai_viewer
[2024-10-07T07:19:00Z ERROR eframe::native::run] Exiting because of error: Wgpu(NoSuitableAdapterFound) on event Resumed
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/erg/Oak-D_Lite/lib/python3.12/site-packages/depthai_viewer/__main__.py", line 31, in <module>
main()
File "/home/erg/Oak-D_Lite/lib/python3.12/site-packages/depthai_viewer/__main__.py", line 27, in main
sys.exit(bindings.main(sys.argv, python_exe, site_packages_directory))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: WGPU error: Failed to create wgpu adapter, no suitable adapter found. -> Failed to create wgpu adapter, no suitable adapter found.


Any advice on how to approach this beyond translating packages to Gentoo ones would be super helpful.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1668
Location: Germany

PostPosted: Mon Oct 07, 2024 8:29 am    Post subject: Reply with quote

I can give you only some hints to follow:
https://forums.gentoo.org/viewtopic-t-917816-start-0.html
https://wiki.gentoo.org/wiki/Basic_guide_to_write_Gentoo_Ebuilds
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum