The present invention relates to a process for the preparation of a compound of formula (I), or a pharmaceutically acceptable salt or solvate thereof, where: Ring B is a monocyclic aromatic group; the present invention relates to a
halogen-containing compound optionally substituted by one or more substituents selected from the group consisting of
halogen, CN, OH,
alkyl, haloalkyl, cycloalkyl, halocycloalkyl, hydroxycycloalkyl, O-cycloalkyl, alkoxy, haloalkoxy, heterocycloalkyl, O-heterocycloalkyl,
aryl, heteroaryl, O-
aryl, NHCO-alkenyl, NHCO-
aryl,-(CH2) q-O-heteroaryl, CONH-aryl, aryloxy-
alkyl, O-aralkyl, and CO2-
alkyl, wherein the aryl, heteroaryl, heterocycloalkyl, O-cycloalkyl, NHCO-aryl,-(CH2) q-O-heteroaryl, CONH-aryl, aryloxy-alkyl, O-aralkyl, and O-aryl groups are each optionally further independently selected from the group consisting of
halogen, alkyl, haloalkyl, alkoxy, NHCO-alkyl, NR < 13 > R < 13 > ', SO2-alkyl, CN, hydroxyalkyl, CONR < 14 > R < 14 >', alkyl-NR < 15 > R < 15 > ', heterocycloalkyl, alkyl-heterocycloalkyl, alkyl-cycloalkyl, wherein, in the latter group, the cycloalkyl is optionally further substituted by one or more halogen, haloalkyl, alkyl or alkoxy groups, and wherein, in the latter group, the cycloalkyl is optionally further substituted by one or more halogen, haloalkyl, alkyl or alkoxy groups, and wherein, in the latter group, the alkyl is optionally further substituted by one or more halogen, haloalkyl, alkyl or alkoxy groups; m is an integer from 0 to 3; p and q are each independently 0 to 3; y is CR10R10 ', wherein R10 and R10' are each independently selected from the group consisting of H, F, alkyl, and haloalkyl; ra and Rb are each independently selected from H and alkyl; r6 is selected from H, alkyl, cycloalkyl and hydroxyalkyl; the present invention relates to a process for the preparation of a compound of formula (I) wherein B is as defined above, and R13, R13 ', R14, R14', R15, R15 ', and R16 are each independently selected from H, alkyl, haloalkyl, and alkoxyalkyl, comprising the steps of: (i) treating a compound of formula (IV) with a compound of formula (V) to form a compound of formula (III) wherein B in formula (IV) is as defined above, R21 in formula (V) is phenyl optionally substituted by 1 to 5
fluorine atoms; and (ii) treating the compound of formula (III) with a compound of formula (II) in which Y, Ra, Rb and R6 are as described above, or a pharmaceutically acceptable salt thereof, to form a compound of formula (I). Other aspects of the invention also relate to intermediates useful in said processes.