Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install nnstreamer for Ubuntu 23.10 #4431

Open
shortcipher3 opened this issue Apr 2, 2024 · 5 comments
Open

Fails to install nnstreamer for Ubuntu 23.10 #4431

shortcipher3 opened this issue Apr 2, 2024 · 5 comments

Comments

@shortcipher3
Copy link
Contributor

Issue Description

Followed the documentation here to install on my ubuntu machine, but it failed to add the apt repository.

Expected Result

The apt repository is added so I am able to apt install nnstreamer

How to Reproduce

$ sudo apt-add-repository ppa:nnstreamer

Further Information

$ sudo apt-add-repository ppa:nnstreamer
[sudo] password for me:
Repository: 'Types: deb
URIs: https://ppa.launchpadcontent.net/nnstreamer/ppa/ubuntu/
Suites: mantic
Components: main
'
Description:
package archive for nnstreamer
More info: https://launchpad.net/~nnstreamer/+archive/ubuntu/ppa
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Get:1 http://security.ubuntu.com/ubuntu mantic-security InRelease [109 kB]
Hit:2 http://us.archive.ubuntu.com/ubuntu mantic InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu mantic-updates InRelease [109 kB]
Hit:4 http://us.archive.ubuntu.com/ubuntu mantic-backports InRelease
Ign:5 https://ppa.launchpadcontent.net/nnstreamer/ppa/ubuntu mantic InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages [360 kB]
Err:7 https://ppa.launchpadcontent.net/nnstreamer/ppa/ubuntu mantic Release
  404  Not Found [IP: 185.125.190.80 443]
Get:8 http://us.archive.ubuntu.com/ubuntu mantic-updates/restricted amd64 Packages [288 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu mantic-updates/restricted Translation-en [49.2 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu mantic-updates/universe amd64 Packages [303 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 Packages [8,564 B]
Get:12 http://us.archive.ubuntu.com/ubuntu mantic-updates/multiverse Translation-en [2,792 B]
Get:13 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages [310 kB]
Get:14 http://security.ubuntu.com/ubuntu mantic-security/main Translation-en [82.5 kB]
Get:15 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 Packages [268 kB]
Get:16 http://security.ubuntu.com/ubuntu mantic-security/universe Translation-en [112 kB]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/nnstreamer/ppa/ubuntu mantic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
@taos-ci
Copy link
Collaborator

taos-ci commented Apr 2, 2024

:octocat: cibot: Thank you for posting issue #4431. The person in charge will reply soon.

@myungjoo
Copy link
Member

myungjoo commented Apr 3, 2024

Enabled Noble and Mantic in PPA. Let's see how it turns out.

@shortcipher3
Copy link
Contributor Author

Got past:

$ sudo apt-add-repository ppa:nnstreamer

And stuck at the next step:

$ sudo apt install nnstreamer
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package nnstreamer

Seeing what's available:

$ apt-cache search nnstreamer
nnstreamer-edge - nnstreamer-edge library
nnstreamer-edge-dev - development package for nnstreamer-edge

It looks like there are only a couple packages. Not sure if there is an automated build running and more packages will slowly show up or if there is a problem, so I thought I should report.

@myungjoo
Copy link
Member

myungjoo commented Apr 6, 2024

The build stopped by the following error with nnstreamer-edge (noble). I'll find a way to workaround it:

--------------------------------------------------------------------------------
Finished at 2024-04-04T01:20:11Z
Build needed 00:00:00, no disk space
E: Package build dependencies not satisfied; skipping
RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=noble --arch=arm64 PACKAGEBUILD-28021106
Scanning for processes to kill in build PACKAGEBUILD-28021106

"no disk space"...

And there is an error from pytorch (noble, mantic):

[  2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/linux.cc.o
In file included from /<<PKGBUILDDIR>>/third_party/gloo/gloo/common/linux.cc:15:
/usr/include/linux/ethtool.h: In function ‘int gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)’:
/usr/include/linux/ethtool.h:2214:17: error: flexible array member ‘ethtool_link_settings::link_mode_masks’ not at end of ‘struct gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)::<unnamed>’
 2214 |         __u32   link_mode_masks[];
      |                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/third_party/gloo/gloo/common/linux.cc:192:11: note: next member ‘__u32 gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)::<unnamed struct>::link_mode_data [381]’ declared here
  192 |     __u32 link_mode_data[link_mode_data_nwords];
      |           ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/third_party/gloo/gloo/common/linux.cc:190:10: note: in the definition of ‘struct gloo::getInterfaceSpeedGLinkSettings(int, ifreq*)::<unnamed>’
  190 |   struct {
      |          ^
gmake[4]: *** [third_party/gloo/gloo/CMakeFiles/gloo.dir/build.make:300: third_party/gloo/gloo/CMakeFiles/gloo.dir/common/linux.cc.o] Error 1
gmake[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
gmake[3]: *** [CMakeFiles/Makefile2:2034: third_party/gloo/gloo/CMakeFiles/gloo.dir/all] Error 2
gmake[3]: *** Waiting for unfinished jobs....

@myungjoo
Copy link
Member

I'm trying to import pytorch from https://launchpad.net/ubuntu/+source/pytorch .
I guess this is going to be the last step for mantic and noble deployment.

myungjoo added a commit to myungjoo/nnstreamer that referenced this issue Apr 17, 2024
I decided to use pytorch being integrated by Ubuntu (debian/sid),
and this package provides libtorch-dev for C++ binding.

Trying to address nnstreamer#4431

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
jaeyun-jung pushed a commit that referenced this issue Apr 24, 2024
I decided to use pytorch being integrated by Ubuntu (debian/sid),
and this package provides libtorch-dev for C++ binding.

Trying to address #4431

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants