A concise and modular synthesis of pyranicin.