raspberrypi/openocd

Unable to build openocd

maaakit opened this issue · 1 comments

I'm trying to build openocd on fresh repository clone. Bootstrap script fails as follows:

marcin@marcin-VirtualBox:~/pico$ sudo apt install make libtool pkg-config autoconf automake texinfo 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
make is already the newest version (4.3-4.1build1).
libtool is already the newest version (2.4.7-7).
pkg-config is already the newest version (1.8.1-2).
autoconf is already the newest version (2.71-3).
automake is already the newest version (1:1.16.5-1.3).
texinfo is already the newest version (7.0.3-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
marcin@marcin-VirtualBox:~/pico$ git clone https://github.com/raspberrypi/openocd.git --branch picoprobe --depth=1 --no-single-branch
Cloning into 'openocd'...
remote: Enumerating objects: 6009, done.
remote: Counting objects: 100% (6009/6009), done.
remote: Compressing objects: 100% (2891/2891), done.
remote: Total 6009 (delta 3988), reused 4606 (delta 3049), pack-reused 0
Receiving objects: 100% (6009/6009), 5.41 MiB | 13.58 MiB/s, done.
Resolving deltas: 100% (3988/3988), done.
marcin@marcin-VirtualBox:~/pico$ cd openocd
marcin@marcin-VirtualBox:~/pico/openocd$ ./bootstrap 
bash: ./bootstrap: cannot execute: required file not found

Your usage of --branch picoprobe indicates that you must be following very out-of-date instructions? You might want to try the instructions in the latest version of https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf (latest version of that PDF currently says build-date: 2024-02-02 on page 1).