Preparation of 3-ethynylaniline

3-Ethynylaniline is the building block from which the ethynylphenylamino group of erlotinib, a lung-cancer drug, is derived. Small terminal alkynes such as acetylene are gases that are difficult to handle, and protected equivalents are used instead.
2-Methylbut-3-yn-2-ol, a cheap liquid made from acetone and acetylene, is coupled with 3-bromoaniline by the Sonogashira reaction. On heating the product with NaOH, the addition of acetone to the acetylide is reversed (a retro-Favorskii reaction) and the terminal alkyne is released.
The Favorskii reaction (Alexei Favorskii, early twentieth century) is the addition of a terminal alkyne to an aldehyde or ketone in the presence of a strong base (KOH): the base forms the acetylide, which adds to the carbonyl to give a propargylic alcohol. This is how 2-methylbut-3-yn-2-ol is made from acetylene and acetone. It is an equilibrium: at high temperature and with base, the alkoxide expels the acetylide and regenerates the ketone (retro-Favorskii), and since acetone is volatile and distils off, the equilibrium shifts towards the free alkyne. The 2-hydroxyprop-2-yl group thus acts as a protecting group for the terminal alkyne. It should not be confused with the Favorskii rearrangement of α-haloketones.