Pharmacology

A patient who was given primaquine develops dark coloured urine one day after administration of the drug. The likely diagnosis is -