hi
Damp in the boot is a common problem, water usually leaks in above the rear lights and can cause lot of problems with electronics in the boot
the EPB is very sensitive to low batteries, so if the battery is low, first thing on cold mornings, battery voltage can drop causing problems with the EPB module, if voltage is low it goes out with a fault, which be reset by either disconnecting the battery or unplugging the epb module itself, same as disconnecting the battery but with out the pain of putting radio code in and resetting all windows.
most common faults are stiff cables, stiff calipers or worn epb motor/gear inside and sometime fail epb reed switch, the park brake is quite complicated how it works, it monitors voltage and current of the motor moving in both ways, it gets pulses as it moves, so when you calibrate it after disconnecting the battery it learns, brake on position and brake off position, learns how long it took to get there and how much load it took, so if any of these change significantly it brings a fault up, most commonly cause by low battery voltages
if you plug in with Jaguar IDS/SDD it talks to all the modules on the car, checking the EPB module with give you a fault code and reason of the fault.
you can also manually operate the epb motor if you handy with car electricals, have a look here https://www.youtube.com/watch?v=8xebdRYwtjE
cheers
Joe