Scheme 1: Reagent and conditions: a) HCl, NaNO2; b) CH2(CN)2, Na acetate, aqueous ethanol, 0°C, 2 h; c) Phenyl hydrazine, glacial acetic acid, DMF, reflux, 10 h.