Given the error, I suspect the current patch relies on headers that were previously included by poppler. It seems as of poppler-0.88, this no longer holds. The error says adding '#include <memory>' to both files in texlive-core-2020-poppler087.patch should make things work, but that's not true - I'm not sure if the problem is '-std=' or if there's another header using the name. Though, there's a problem ahead. It seems that the mail one of the devs here sent early April has resulted in the upstream doing the "adult" thing and removing support support for poppler. Well, for a definition of "adult"...
please attach te buildlog.
Created attachment 642768 [details] build log ...just so we're on the same page: this build log is already after I've added '#include <memory>' lines to the patch.
I am unable to reproduce this.
Oh you refer to this probably? https://github.com/TeX-Live/texlive-source/commit/5cc2db7d41d50988edda4656379a39953ca0bd6c#diff-140124e08da4b2ab89d542d25e16e505
well, if if matters: app-text/poppler-0.88.0-r1 sys-libs/glibc-2.30-r8 sys-devel/gcc-8.3.0-r1 most suspicious seems to be gcc - I'll check it out. And obviously I was referring to that commit.
I mean I'm not sure how genuine was the offer of cooperation some of the poppler team repeated on January (on the mailing list) - reading it gives me a bad feeling about it, still it doesn't seem texlive team made any real attempt to reach out either.
OK, I've figured it out: it seems I've had an old workaround from the time c++14 wasn't the default for gcc. My bad. Still, at least a note about the poppler situation has been passed.