Thousands of migrants from poor and war-torn countries traveling toward northern Europe face a long,