find_module_symvers failing
I just checked out new master with Jamie's updated symvers discovery code. Testing this x2boot2 on llodts0.ligo-la.caltech.edu (4.19.67-cs). However when doing the first build, it can't find Module.symvers for mbuf, gpstime. Manually running the '/sbin/dkms status -m *' works fine
controls@x2boot2:/var/lib/dkms/mbuf/4.0.0~dev1/4.19.67-cs/x86_64$ sudo /sbin/dkms status -m mbuf
mbuf, 4.0.0~dev1, 4.19.67-cs, x86_64: installed
controls@x2boot2:/var/lib/dkms/mbuf/4.0.0~dev1/4.19.67-cs/x86_64$ sudo /sbin/dkms status -m gpstime
gpstime, 4.0.0~dev1, 4.19.67-cs, x86_64: installed
Inspecting the Makefile show that find_module_symvers is run for discovery. Trying it manually, I found
controls@x2boot2:/opt/rtcds/rtscore/release/src/epics/util$ ./find_module_symvers mbuf
Traceback (most recent call last):
File "./find_module_symvers", line 15, in <module>
capture_output=True, text=True,
File "/usr/lib/python3.7/subprocess.py", line 472, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'dkms': 'dkms'
This machine has the older mbuf, gpstime package with the Module.symvers installed where they are expected. Does one have to be running a newer version of these packages?