Total synthesis of (±)-alopecuridine and its biomimetic transformation into (±)-sieboldine A.