I pulled and wanted to build emacs from the master branch, I have a build from january so it's no harm, just thought this information would be useful bug report. Building --with-modules on Fedora25.

Loading emacs-lisp/macroexp...
Loading cus-face...
Loading faces...
Loading button...
Loading loaddefs.el (source)...
Symbol's function definition is void: cl-defgeneric
Makefile:546: recipe for target 'emacs' failed
make[1]: *** [emacs] Error 255
make[1]: Leaving directory '/usr/local/src/emacs/src'
Makefile:414: recipe for target 'src' failed
make: *** [src] Error 2
[hlolli@localhost emacs]$ git branch
* master
[hlolli@localhost emacs]$ git remote show origin
* remote origin
  Fetch URL: git://git.savannah.gnu.org/emacs.git
  Push  URL: git://git.savannah.gnu.org/emacs.git