libbladerf2.dirs: usr/lib: not found

Having issues with the site, hardware, source code, or any other issues?
Post Reply
rdb9878
Posts: 1
Joined: Thu Oct 07, 2021 7:01 am

libbladerf2.dirs: usr/lib: not found

Post by rdb9878 »

I'm trying to build bladerf from source on x86, Windows WSL ubuntu. It gets pretty far into the build, but then I get these messages:

Code: Select all

   dh_installdirs
        install -d debian/libbladerf2
/mnt/c/r/dump1090fa/bladeRF/debian/libbladerf2.dirs: 1: usr/lib: not found
dh_installdirs: warning: debian/libbladerf2.dirs is marked executable but does not appear to an executable config.
dh_installdirs: warning:
dh_installdirs: warning: If debian/libbladerf2.dirs is intended to be an executable config file, please ensure it can
dh_installdirs: warning: be run as a stand-alone script/program (e.g. "./debian/libbladerf2.dirs")
dh_installdirs: warning: Otherwise, please remove the executable bit from the file (e.g. chmod -x "debian/libbladerf2.dirs")
dh_installdirs: warning:
dh_installdirs: warning: Please see "Executable debhelper config files" in debhelper(7) for more information.
dh_installdirs: warning:
dh_installdirs: error: debian/libbladerf2.dirs (executable config) returned exit code 127
make: *** [debian/rules:47: binary] Error 255
dpkg-buildpackage: error: sudo debian/rules binary subprocess returned exit status 2
I tried the chmod suggestion, but it did not help. Any ideas?
Post Reply