Forming collars by compressing a fluid or a yieldable or resilient mass in the tube