The following used to work in TeX Live 2015 compiled with LuaLaTeX, but does not work in TeX Live 2016:
\documentclass{minimal}
\usepackage{grffile} % Extended file name support for graphics
\usepackage[final]{pdfpages}
\begin{document}
\includepdf[landscape,nup=1x2,trim=2.25cm 2.5cm 2.25cm 2cm,pages=-]{cours algèbre.pdf}
\end{document}
The error message is:
Package luatex.def Error: File `cours algèbre.pdf' not found.
However, it works with PDFLaTeX and XeLaTeX! (For PDFLaTeX this is quite surprising as I have not specified anywhere that my source encoding is UTF-8.)
The reason I used LuaLaTeX initially was that it produced a slightly smaller PDF than XeLaTeX and twice smaller PDF than PDFLaTeX.
Here is a minimal example, with \includegraphics instead of \includepdf, which also compiles with PDFLaTeX and XeLaTeX, but not with LuaLaTeX:
\documentclass{article}
\usepackage{grffile} % Extended file name support for graphics
\usepackage{graphics}
\begin{document}
\includegraphics{a b.pdf}
\end{document}
I am using TeX Live on Mac OS.
Update 2020-03-02
At least with TeX Live 2019, grffile package is no longer needed, file names with spaces work without it.
"quotes help? – Steven B. Segletes Aug 30 '16 at 11:31algèbre.pdf, it compiles ok. – Alexey Aug 30 '16 at 11:57minimalfor examples. – cfr Aug 30 '16 at 12:12\GPT@IfFileExistshas changed, it no longer checks for\pdf@filesizeand so breaks grffile. @DavidCarlisle. – Ulrike Fischer Aug 30 '16 at 12:16minimalwith something. – Alexey Aug 30 '16 at 12:22minimalis not designed for minimal examples and can cause spurious errors. Even if you know that it is OK in this particular case because you've read the code and know that what it doesn't do doesn't matter here, using it in examples is a bad idea as less experienced users will, naturally enough, assume it is a class designed for typesetting minimal examples, which it certainly is not. There is a Q&A specifically about this if you search. I am not claiming it is causing the problem you are asking about, but that there are independent reasons not to use it. – cfr Aug 30 '16 at 14:37minimaldocument class can cause spurious errors, i have added a minimal examples witharticledocument class. My first example was not a minimal example but just a close reproduction of my source that worked with TL-2015 but not with TL-2016. – Alexey Sep 02 '16 at 09:32