The devel package of imap (4.7-5) doesn't have a default owner of root.
This would effect if someone try to rebuild this package using other login
than root. All the devel files would have the same owner/group as the one
who build the package.
The imap package itself has a default owner of root
Verified fixed in 4.7c2-2.