A compound having Formula I: or a pharmaceutically acceptable salt or solvate thereof, wherein: B is selected from the group consisting of: R 1 is selected from the group consisting of optionally substituted aryl, optionally substituted heteroaryl, and -N(H)R 3 ; Q 1 is =CH- and Q 2 is -N=; or Q 1 is =N- and Q 2 is -CH=; or Q 1 is =N- and Q 2 is -N=; R 3 is selected from the group consisting of optionally substituted aryl and optionally substituted heteroaryl; X is selected from the group consisting of -C(=O)N(R 2a )-, -CH 2 N(R 2b )-, -CH 2 O-, -N(R 2c )-, -O-, and -CH 2 -; wherein the nitrogen atom of -C(=O)N(R 2a )- and -CH 2 N(R 2b )- is attached to L, and the oxygen atom of -CH 2 O- is attached to L; L is selected from the group consisting of alkylenyl, heteroalkylenyl, and -(CH 2 ) m -W-(CH 2 ) n -; W is selected from the group consisting of optionally substituted phenylenyl, optionally substituted 5-membered heteroarylenyl, and optionally substituted 6-membered heteroarylenyl; m is 0, 1, 2, 3, 4, 5, 6, or 7; n is 0, 1, 2, 3, 4, 5, 6, 7, or 8; Y is selected from the group consisting of -C≡C-, -CH 2 -, -O-, -N(R 2d )-, -C(=O)N(R 2e )-, - N(R 2f )C(=O)CH 2 O-, and -N(R 2g )C(=O)CH 2 N(R 2h )-; or Y is absent; wherein the carboxamide nitrogen atom of -N(R 2f )C(=O)CH 2 O- and -N(R 2g )C(=O)CH 2N (R 2h )-, and the carbon atom of -C(=O)N(R 2e )- is attached to L; R 2a , R 2b , R 2c , R 2d , R 2e , R 2f , R 2g , and R 2h are each independently selected from the group consisting of hydrogen and C 1-4 alkyl; Z is selected from the group consisting of -CH 2 and -C(=O)-; and R 5 is selected from the group consisting of hydrogen and fluoro, with the proviso that Y is absent when B is B-2. B is selected from the group consisting of: R 1 is selected from the group consisting of optionally substituted aryl, optionally substituted heteroaryl, and -N(H)R 3 ; Q 1 is =CH- and Q 2 is -N=; or Q 1 is =N- and Q 2 is -CH=; or Q 1 is =N- and Q 2 is -N=; R 3 is selected from the group consisting of optionally substituted aryl and optionally substituted heteroaryl; X is selected from the group consisting of -C(=O)N(R 2a )-, -CH 2 N(R 2b )-, -CH 2 O-, -N(R 2c )-, -O-, and -CH 2 -; wherein the nitrogen atom of -C(=O)N(R 2a )- and -CH 2 N(R 2b )- is attached to L, and the oxygen atom of -CH 2 O- is attached to L; L is selected from the group consisting of alkylenyl, heteroalkylenyl, and -(CH 2 ) m -W-(CH 2 ) n -; W is selected from the group consisting of optionally substituted phenylenyl, optionally substituted 5-membered heteroarylenyl, and optionally substituted 6-membered heteroarylenyl; m is 0, 1, 2, 3, 4, 5, 6, or 7; n is 0, 1, 2, 3, 4, 5, 6, 7, or 8; Y is selected from the group consisting of -C≡C-, -CH 2 -, -O-, -N(R 2d )-, -C(=O)N(R 2e )-, - N(R 2f )C(=O)CH 2 O-, and -N(R 2g )C(=O)CH 2 N(R 2h )-; or Y is absent; wherein the carboxamide nitrogen atom of -N(R 2f )C(=O)CH 2 O- and -N(R 2g )C(=O)CH 2N (R 2h )-, and the carbon atom of -C(=O)N(R 2e )- is attached to L; R 2a , R 2b , R 2c , R 2d , R 2e , R 2f , R 2g , and R 2h are each independently selected from the group consisting of hydrogen and C 1-4 alkyl; Z is selected from the group consisting of -CH 2 and -C(=O)-; and R 5 is selected from the group consisting of hydrogen and fluoro, with the proviso that Y is absent when B is B-2. <EOS>