If it's air in the system, rapidly pumping a few times should get you brakes. If rapid pumping doesn't help, I strongly suspect master (could be plugged port between reservoir and piston or failed piston seal). The solution for all master problems is just replace though so specific failure mode...