Which electrical box to use for old-work outdoor light fixture and vinyl siding mounting block?
Use a mounting block with a built-in box

The simplest solution to this problem is to use a siding mounting block with a builtin pancake box, such as an Arlington 8141 (the correct part number depends on the lap depth of your siding, the 8141 is what's used with a 1/2" lap) or equivalent.