Pissing into wind

(v.) To be attempting to solve a problem with absolutely no success at all. Pushing shit up hill

Definition link