Interesting OP25 error/hang on ./install.sh

Status
Not open for further replies.

iknoxx

Newbie
Joined
Feb 2, 2010
Messages
1
Location
Houston, Texas
I have been trying to install OP25 using Boatbod's git. I been hanging on 97% I have tried several times to redo the install and same result. I am not worried to much about this but just wanted to put it out there as an issue. This is on a Pi 3 A+ brand new raspbian 4.19. I have copied the log here for diag. If you have an idea of how to fix this I would love to hear it.

~/op25 $ ./install.sh
Hit:1 Index of /debian/buster/ buster InRelease
Hit:2 Index of /debian buster InRelease
Get:3 Index of /raspbian buster InRelease [15.0 kB]
Fetched 15.0 kB in 1s (11.1 kB/s)
Reading package lists... Done
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.6).
cmake is already the newest version (3.13.4-1).
doxygen is already the newest version (1.8.13-10).
git is already the newest version (1:2.20.1-2).
gnuradio is already the newest version (3.7.13.4-4+b1).
gnuradio-dev is already the newest version (3.7.13.4-4+b1).
gr-osmosdr is already the newest version (0.1.4-14+b7).
libhackrf-dev is already the newest version (2018.01.1-2).
libitpp-dev is already the newest version (4.3.1-9).
libpcap-dev is already the newest version (1.8.1-6).
libuhd-dev is already the newest version (3.13.1.0-3).
pkg-config is already the newest version (0.29-6).
python-numpy is already the newest version (1:1.16.2-1).
python-requests is already the newest version (2.21.0-1).
python-waitress is already the newest version (1.2.0~b2-2).
swig is already the newest version (3.0.12-2).
librtlsdr-dev is already the newest version (0.6-1+rpt1).
The following package was automatically installed and is no longer required:
rpi.gpio-common
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-- The CXX compiler identification is GNU 8.3.0
-- The C compiler identification is GNU 8.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Checking for module 'gnuradio-runtime'
-- Found gnuradio-runtime, version 3.7.13
-- Found GNURADIO_RUNTIME: /usr/lib/arm-linux-gnueabihf/libgnuradio-runtime.so
-- Checking for module 'cppunit'
-- Found cppunit, version 1.14.0
-- Found CPPUNIT: /usr/lib/arm-linux-gnueabihf/libcppunit.so;dl
-- Found SWIG: /usr/bin/swig3.0 (found version "3.0.12")
-- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython2.7.so (found suitable version "2.7.16", minimum required is "2")
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.16", minimum required is "2")
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen dot
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/UseSWIG.cmake:564 (message):
Policy CMP0078 is not set. Run "cmake --help-policy CMP0078" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
cmake/Modules/GrSwig.cmake:159 (SWIG_ADD_LIBRARY)
op25/gr-op25/swig/CMakeLists.txt:42 (GR_SWIG_MAKE)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Build type not specified: defaulting to release.
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- AMBE Tone Synthesis Enabled
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/UseSWIG.cmake:564 (message):
Policy CMP0078 is not set. Run "cmake --help-policy CMP0078" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
cmake/Modules/GrSwig.cmake:159 (SWIG_ADD_LIBRARY)
op25/gr-op25_repeater/swig/CMakeLists.txt:42 (GR_SWIG_MAKE)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/op25/build
Scanning dependencies of target gnuradio-op25

Scanning dependencies of target _op25_repeater_swig_doc_tag
[ 92%] Building CXX object op25/gr-op25_repeater/swig/CMakeFiles/_op25_repeater_swig_doc_tag.dir/_op25_repeater_swig_doc_tag.cpp.o
[ 93%] Linking CXX executable _op25_repeater_swig_doc_tag
[ 93%] Built target _op25_repeater_swig_doc_tag
Scanning dependencies of target op25_repeater_swig_swig_compilation
[ 94%] Generating doxygen xml for op25_repeater_swig_doc docs
[ 95%] Generating op25_repeater_swig_doc.i
[ 96%] Generating op25_repeater_swig.tag
[ 96%] Swig compile op25_repeater_swig.i for python
[ 96%] Built target op25_repeater_swig_swig_compilation
Scanning dependencies of target _op25_repeater_swig
[ 97%] Building CXX object op25/gr-op25_repeater/swig/CMakeFiles/_op25_repeater_swig.dir/CMakeFiles/_op25_repeater_swig.dir/op25_repeater_swigPYTHON_wrap.cxx.o
^C^Cmake[2]: *** [op25/gr-op25_repeater/swig/CMakeFiles/_op25_repeater_swig.dir/build.make:63: op25/gr-op25_repeater/swig/CMakeFiles/_op25_repeater_swig.dir/CMakeFiles/_op25_repeater_swig.dir/op25_repeater_swigPYTHON_wrap.cxx.o] Interrupt
^Cmake[1]: *** [CMakeFiles/Makefile2:1030: op25/gr-op25_repeater/swig/CMakeFiles/_op25_repeater_swig.dir/all] Interrupt
make: *** [Makefile:130: all] Interrupt
 

zapman987

Member
Premium Subscriber
Joined
Jan 16, 2014
Messages
292
Location
nc, recently moved to jax, FL
I dont see any issues with packages which is what I would check first. Maybe reinstall Raspian as well (assuming thats what you are running for OS.

Hows your CPU look during this? Most of us are running this on a 3B, so Id be a little concerned since a 3A is underspec'ed.

Worst off, Boat is on from time to time. Id bet hes probably seen this a million times in his sleep ;)
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,338
Location
Talbot Co, MD
Compiling on a Pi is sloooow. I usually start it running and then let it go unattended.
That said, one time when I thought I was being clever I redirected the install.sh output to a file and it "hung" only for me to discover that it was waiting for me to press "y" to answer a prompt. Not sure that's anything related to what we have here, but I would leave it running for longer and see if it ever finishes.
 

maus92

Member
Premium Subscriber
Joined
Jun 23, 2004
Messages
8,039
Location
The OP
I had a new installation on a Pi 4 fail last week if it means anything - haven't tried to reinstall yet. The install on a Pi 3 B+ last year went off without a hitch.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,338
Location
Talbot Co, MD
I had a new installation on a Pi 4 fail last week if it means anything - haven't tried to reinstall yet. The install on a Pi 3 B+ last year went off without a hitch.
Haven't had a chance to explore the Pi4 yet. What was the error?
 

maus92

Member
Premium Subscriber
Joined
Jun 23, 2004
Messages
8,039
Location
The OP
Froze - could be a thermal issue because these Pi 4 boards run hot and a case / heat sinks were not installed
 

sallen07

Member
Premium Subscriber
Joined
Dec 22, 2013
Messages
1,176
Location
Rochester, NY
I recall this being the second instance of someone saying a Pi4 install froze.

I replaced one of my 3+ boxes with a 4 a week or so ago and had no issues with the installation, and OP25 runs great on it. One thing to note is that I *do* have a fan on the CPU ....
 

zraith

Newbie
Premium Subscriber
Joined
Jun 4, 2012
Messages
2
All those ^C makes it look like you were hitting CTRL+C to send a signal interrupt.
If you aren't hitting ctrl+c, then I would guess the system is throwing an interrupt.
Check the last few lines of 'dmesg' for warnings and errors.
 
S

simpilo

Guest
looks like Make was interrupting on CMAKE errors. That's why I did a full removal of Cmake 3.13.3 then downloaded the tarball of Cmake 3.10.3 and built from source. Worked well after that.
A)Complete removal of Cmake 3.13.** in synaptics package manager then
B) Download the official tarball https://cmake.org/files/v3.10/cmake-3.10.3.tar.gz
or https://github.com/Kitware/CMake/releases/download/v3.10.3/cmake-3.10.3.tar.gz
C) to build Cmake 3.10.3 from source
extract the tarball
cd into the extracted folder *
sudo ./booststrap
sudo cmake ..
sudo make
sudo make install
sudo ldconfig
D) Verify you did it right with
cmake -version

Then cd to you op25 build folder
cd op25/build
rm -rf CMakeCache.txt
make clean

cd back to op25 folder try ./install.sh again
cd op25

* Note that the instructions say to sudo ./bootstrap && cmake .. && make. Debian and Ubuntu doesn't like that so do each command consecutively.


Edit: keep forgetting linux is case sensitive
 
Last edited:
S

simpilo

Guest
revised:

C) to build Cmake 3.10.3 from source
extract the tarball
cd into the extracted folder *
sudo ./booststrap
sudo make
sudo make install
sudo ldconfig

Edit: cmake .. isnt used...sorry for the error on my part. I put it their out of habit.
 
Status
Not open for further replies.
Top