The carpenter initially has 8 x 5 = <<8*5=40>>40 blocks of wood.
So he still lacks 80 - 40 = <<80-40=40>>40 blocks of wood.
Therefore he still needs 40 / 5 = <<40/5=8>>8 logs of wood.
#### 8