US city declares emergency over warehouse fire