OP25 Trying To Update OP25 Osmocom Version

CanesFan95

Analog already is interoperable.
Joined
Feb 14, 2008
Messages
3,264
Location
FL
I'm running Ubuntu 20.04.4 LTS inside of VMWare Workstation 16 on a Windows 10 PC. I installed the Osmocom version over 2 years ago and want to update it. I believe these are the right commands:

cd op25
git pull
./rebuild.sh

But running git pull gives an error:

1734842776692.png

So I was just wondering if anyone has advice how to update it. Thanks.
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,040
Location
NE Wisconsin
I installed the Osmocom version over 2 years ago and want to update it. I believe these are the right commands:

cd op25
git pull
./rebuild.sh

For the record, rebuild.sh is a part of the Boatbod OP25 suite and does not exist as part of the current Osmocom repository.

But running git pull gives an error:

View attachment 174911

It appears from the list of python applications bombing out that your Osmocom build is perhaps from the previous version that existed
prior June 2021 when a completely new version was released. It this truly is the case, then you'll either need to start with a fresh VM
or perform a complete uninstallation of op25 and start over.

Before proceeding with a fresh build, determine the GNU Radio version that is/will be installed on your Linux distro.

IE: app list | grep gnuradio-dev See example output below.

(1) gnuradio-dev/focal,now 3.8.1.0~rc1-2build2 amd64
(2) gnuradio-dev/jammy,now 3.10.1.1-2 amd64

Carefully read and understand the README, README-gr3.9, and README-gr3.8.patch files outlining instructions pertaining to the
correct procedures for your installed GNU Radio version. Play close attention to terminal output as op25 builds for important steps or
installation options. Once the build is complete, go to the /apps folder and review README-July-2021.
 
Last edited:

boatbod

Member
Joined
Mar 3, 2007
Messages
3,422
Location
Talbot Co, MD
I'm running Ubuntu 20.04.4 LTS inside of VMWare Workstation 16 on a Windows 10 PC. I installed the Osmocom version over 2 years ago and want to update it. I believe these are the right commands:

cd op25
git pull
./rebuild.sh

But running git pull gives an error:

So I was just wondering if anyone has advice how to update it. Thanks.
The error pertains to version-controlled files having been locally edited, and thus no longer able to be automatically updated by git. The simple solution is to go back to the top level directory (using "git checkout .") and clear the local changes, but beware this may have other implications. You may be better off starting with a whole fresh directory and starting over with git clone.

As wgbecks noted, you do need to ascertain whether you are using gnuradio-3.8 or gnuradio-3.10 because there are different steps to take to get op25 working in each situation.
 

CanesFan95

Analog already is interoperable.
Joined
Feb 14, 2008
Messages
3,264
Location
FL
Ok, thanks. This will be harder than I thought. I may just opt to do a new WM machine.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,422
Location
Talbot Co, MD
Ok, thanks. This will be harder than I thought. I may just opt to do a new WM machine.
It's been a long time since I looked at the osmocom version, but back when I last did, the gr310 patches were overlaid directly onto the version controlled source files. The problem with that approach (vs using a separate git branch) is that once you run the patches you cannot pull any git updates without resetting the sources.

All you really need to do though, is move the op25 directory and clone a new one. No need to pull a whole new VM unless you really want to.
Code:
cd ~/op25/build
sudo make uninstall
cd ~
mv op25 op25.old
Then git clone like you would for a fresh install.
 
Top