Created attachment 244977 [details] Log from failed configuration. When rebuilding all my ports with poudriere after upgrade, multimedia/libx264 fail in configure. As can be seen in the attached logfile from workdir it is probably due to a mismatch of expected names of compiler warning options and what options gcc12 provides.
Out of curiosity, do you see any improvments having PGO enabled?
Never really noticed any improvements, on the other hand I never really looked for them or measured. The PGO flag is just there in the poudriere make.conf because it doesn't hurt, and as an ex gentooer I couldn't resist:D
After some testing, it turns out that it is the PGO option that causes the errors. Disabling PGO makes poudriere fetch the prebuilt libx264. Disabling OPENCL makes poudriere successfully rebuild libx264. So I updated the title to better reflect what the issue is. I am not in any particular need for the PGO option (I just set it globally because its there :). And now firefox, thunderbird and ffmpeg builds properly, so I am am OK with how things are.
libx264 do not have any PGO option so I believe you wanted to mean PGO for multimedia/x264. Am I correct?
I think it has the PGO option indirectly from multimedia/x264, so the answer is yes: ❯ pkg options|grep PGO libx264 - PGO: on The makefile contains --------------------------- MASTERDIR= ${.CURDIR}/../x264 and --------------------------- pre-build: .include "${MASTERDIR}/Makefile"
No problem. Will fix the commit tomorrow.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d26aa987ba6a52e0a7b295128008a9f0af96e2b8 commit d26aa987ba6a52e0a7b295128008a9f0af96e2b8 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-09-28 19:55:09 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-09-29 06:02:01 +0000 multimedia/{lib}x264: Fix build with PGO - Pet portclippy PR: 273904 Reported by: sven.a.jonsson@bahnhof.se multimedia/x264/Makefile | 51 ++++++++++++++++++++++-------------------------- 1 file changed, 23 insertions(+), 28 deletions(-)