It seems that it can’t find libxml anymore. I’m not quite sure whether brew provides libxml by it’s own but I also have libxml-dev installed via apt (so it should find at least that one).
brew doctor claims that everything should be working fine.
The error message is
magick/magick.c:90:29: fatal error: libxml/parser.h: No such file or directory.