FR 3036 then VY 1178 at Barcelona
Krakow → Barcelona → Porto
Timetable, Barcelona time
20:00FR 3036 from Krakow at the gate
13:00VY 1178 to Porto leaves the gate
17 h apart on the timetable, overnight
VY 1178 leaves 17 h after FR 3036 arrives on the timetable: more than half a day, so not a connection we count.