librep: rebuild unused