discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libosmo-dsp build hangs (required for gr-osmosdr)


From: Jeff Long
Subject: Re: libosmo-dsp build hangs (required for gr-osmosdr)
Date: Thu, 27 May 2021 11:18:02 -0400

I'd commented out fcd in the deps for gr-osmosdr. Here's what I currently have for diffs to gr-recipes:

$ git diff | cat
diff --git a/gr-osmosdr.lwr b/gr-osmosdr.lwr
index f40f1f9..5d2b084 100644
--- a/gr-osmosdr.lwr
+++ b/gr-osmosdr.lwr
@@ -29,11 +29,12 @@ depends:
 - airspy
 - airspyhf
 - soapysdr
-- gr-fcdproplus
+#- gr-fcdproplus
 description: Interface API independent of the underlying radio hardware
 gitbranch: master
 inherit: cmake
 # Let's always build this from source, not binaries
 source: git+https://git.osmocom.org/gr-osmosdr
+mirror: git+https://github.com/osmocom/gr-osmosdr
 vars:
   config_opt: ' -DENABLE_NONFREE=TRUE '
diff --git a/libhidapi.lwr b/libhidapi.lwr
index b0c817b..23c7e89 100644
--- a/libhidapi.lwr
+++ b/libhidapi.lwr
@@ -23,5 +23,6 @@ depends:
 inherit: autoconf
 satisfy:
   deb: libhidapi-dev
+  rpm: hidapi-devel
   pacman: hidapi
 source: git+https://github.com/signal11/hidapi.git
diff --git a/libiio.lwr b/libiio.lwr
index 633072d..30b1325 100644
--- a/libiio.lwr
+++ b/libiio.lwr
@@ -22,7 +22,7 @@ depends:
 - libxml
 - libusb
 description: Library for interfacing with IIO devices
-gitrev: tags/v0.18
+gitrev: tags/v0.21
 inherit: cmake
 satisfy:
   deb: libiio0 >= 0.9 && libiio-dev >= 0.9
diff --git a/libosmo-dsp.lwr b/libosmo-dsp.lwr
index e8e3595..375faa2 100644
--- a/libosmo-dsp.lwr
+++ b/libosmo-dsp.lwr
@@ -30,4 +30,5 @@ inherit: autoconf
 satisfy:
   port: libosmo-dsp
 source: git+https://git.osmocom.org/libosmo-dsp
+mirror: git+https://github.com/osmocom/libosmo-dsp
 installdir: .
diff --git a/libosmocore.lwr b/libosmocore.lwr
index 3818d6a..29aafff 100644
--- a/libosmocore.lwr
+++ b/libosmocore.lwr
@@ -33,5 +33,6 @@ description: A library with generic ulitity functions developed by Osmocom proje
 gitbranch: master
 inherit: autoconf
 source: git+https://git.osmocom.org/libosmocore
+mirror: git+https://github.com/osmocom/libosmocore
 vars:
   config_opt: ' --disable-libsctp '
diff --git a/rtl-sdr.lwr b/rtl-sdr.lwr
index 27301cc..fb073c4 100644
--- a/rtl-sdr.lwr
+++ b/rtl-sdr.lwr
@@ -30,5 +30,6 @@ satisfy:
   pacman: rtl-sdr
   rpm: rtl-sdr
 source: git+https://git.osmocom.org/rtl-sdr
+mirror: git+https://github.com/osmocom/rtl-sdr
 vars:
   config_opt: ' -DDETACH_KERNEL_DRIVER=ON '

On Thu, May 27, 2021 at 10:59 AM Johannes Demel <demel@ant.uni-bremen.de> wrote:
Hi Jeff,

thanks for your help. I decided to be a bit more pragmatic and just
install the missing piece.
On Ubuntu 20.04 the required package is `texlive-latex-extra` and
requires 182 MB of disk space.

All of this is part of my effort to install gr-osmosdr on GR 3.9.
Besides this hiccup, the pybombs recipe tries to install gr-fcdproplus
which seems to be stuck with 3.8. This project's CMake output is really
useful. Anyways, I decided to set gr-fcdproplus to `forceinstalled:
'True'` in my prefix config.yml. gr-osmosdr is kind enough to just skip
this dependency in that case.

Cheers
Johannes

On 27.05.21 11:32, Jeff Long wrote:
> Or could just install the missing LaTeX module. On Fedora, it's
> texlive-newunicodechar. For reference, no problems building libosmo-dsp
> here.
>
> On Thu, May 27, 2021 at 4:21 AM Johannes Demel <demel@ant.uni-bremen.de
> <mailto:demel@ant.uni-bremen.de>> wrote:
>
>     Thanks Jeff!
>
>     Unfortunately, these settings are already present in that config.yml. I
>     double checked the config.yml in my prefix as well. There are no
>     overwrites.
>
>     This is from `gr-recipes/libosmo-dsp.lwr`:
>     ```
>     configure: autoreconf -i -I /usr/share/aclocal && ./configure
>     --prefix=$prefix $config_opt
>     ```
>     I'd really like to learn about `$config_opt`. What value(s) are in
>     there?
>     I removed libosmo-dsp (also from the inventory.yml).
>
>     This is the output of `pybombs -v install libosmo-dsp`:
>     ```
>     [DEBUG] Requirements met.
>     [DEBUG] Using build directory:
>     /home/johannes/prefix/gnuradio/src/libosmo-dsp
>     [DEBUG] Configuring recipe libosmo-dsp
>     [DEBUG] Using vars - ordereddict([('config_opt', ''), ('builddir',
>     '/home/johannes/prefix/gnuradio/src/libosmo-dsp')])
>     [DEBUG] In cwd - /home/johannes/prefix/gnuradio/src/libosmo-dsp
>     [DEBUG] Executing command `$ autoreconf -i -I /usr/share/aclocal &&
>     ./configure --prefix=/home/johannes/prefix/gnuradio'
>     Configuring: (100%)
>     [DEBUG] Thread signaled termination or returned
>     [DEBUG] Return value: 0
>     [DEBUG] Configure successful.
>     [DEBUG] Setting state to `configured'
>     [DEBUG] Saving inventory to file
>     /home/johannes/prefix/gnuradio/.pybombs/inventory.yml...
>     [DEBUG] Building recipe libosmo-dsp
>     [DEBUG] In cwd - /home/johannes/prefix/gnuradio/src/libosmo-dsp
>     [DEBUG] Executing command `$ make -j64'
>     Building:    [
>     ```
>     This is where it hangs.
>
>     I just tried to run it on a host with a full LaTeX installation. There
>     it goes through without any issue.
>
>     My guess would be that I'd have to do a full LaTeX install. That's
>     something I'd like to avoid.
>
>     I'd like to skip the whole Doxygen part and hope the issue goes away. A
>     more narrow solution would be nice as well though.
>
>     Cheers
>     Johannes
>
>     On 26.05.21 19:17, Jeff Long wrote:
>      > In ~/.pybombs/config.yml
>      >
>      > - config:
>      >      makewidth: 4
>      >      builddocs: OFF
>      >      cmakebuildtype: Release
>      >
>      > On Wed, May 26, 2021 at 12:41 PM Johannes Demel
>     <demel@ant.uni-bremen.de <mailto:demel@ant.uni-bremen.de>
>      > <mailto:demel@ant.uni-bremen.de
>     <mailto:demel@ant.uni-bremen.de>>> wrote:
>      >
>      >     Hi all,
>      >
>      >     I'm trying to install gr-osmosdr with GR 3.9. Currently
>     pybombs hangs
>      >     during libosmo-dsp build. Unfortunately it just hangs forever
>     without
>      >     any output, but if I try it manually, I see:
>      >
>      >     ```
>      >     ! LaTeX Error: File `newunicodechar.sty' not found.
>      >
>      >     Type X to quit or <RETURN> to proceed,
>      >     or enter new name. (Default extension: sty)
>      >
>      >     Enter file name:
>      >     ```
>      >     Thus, I'd like to disable generating docs. All of this
>     happens while
>      >     docs are generated. There's a minimal latex install but I
>     don't want
>      >     any
>      >     more TeX on that machine.
>      >
>      >     I can't find the switch to disable docs. How do I do that? Or
>     disable
>      >     doxygen.
>      >
>      >     Cheers
>      >     Johannes
>      >
>      >     --
>      >     Johannes Demel M.Sc.
>      >     Research Engineer
>      >
>      >     University of Bremen
>      >     Department of Communications Engineering
>      >     Faculty 1 - Physics / Electrical Engineering
>      >     NW1, N2400
>      >     Otto-Hahn-Allee NW1
>      >     28359 Bremen
>      >
>      >     Phone +49 421 218-62393
>      > demel@ant.uni-bremen.de <mailto:demel@ant.uni-bremen.de>
>     <mailto:demel@ant.uni-bremen.de <mailto:demel@ant.uni-bremen.de>>
>      >
>      >     Secretariat
>      >     Tel. +49 421 218-62390
>      > preuss@ant.uni-bremen.de <mailto:preuss@ant.uni-bremen.de>
>     <mailto:preuss@ant.uni-bremen.de <mailto:preuss@ant.uni-bremen.de>>
>      >
>      > www.uni-bremen.de/en <http://www.uni-bremen.de/en>
>     <http://www.uni-bremen.de/en <http://www.uni-bremen.de/en>>
>      >
>      >     University of Bremen - Established 1971
>      >
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]