A giant cloud of smoke rose over the town of San Roque near Gibraltar in southern Spain on Tuesday following a fire at a chemical factory in a nearby industrial estate.