I try to square the joists up as much as possible. I usually take measurements from both the longest walls and ridge beam and try to square off those, so that any boarding is square to the joists. Then if the gable is out i can just add an extra joist to catch ply/ plasterboards etc. The last big roof i worked on was about 30 mtrs long and the main roof was put on by people who didn't know what they were doing. The ridge beam was out of level by about 70 or 80 mm i think, which caused the rafters ( metal web joists) to protrude past the inner wall too much at one end causing me an issue with the box gutter. Because the joists were not squared up properly too when installed, every sheet of ply on the roof had to be cut to suit each joist.