Friday, July 04, 2025

Re: Cannot build x11/qt5/qtwebengine

On 2025/07/04 08:36, Theo Buehler wrote:
> On Thu, Jul 03, 2025 at 11:07:38PM -0600, Maximo Pech wrote:
> > Hi, I'm lost with this one, it fails with the error below, any help
> > would be appreciated.
>
> Not sure why you're building this monster yourself...
>
> > ../../../../src/3rdparty/chromium/services/resource_coordinator/public/cpp/memory_instrumentation/os_metrics_linux.cc:8:10:
> > fatal error: 'sys/prctl.h' file not found 8 | #include
> > <sys/prctl.h> | ^~~~~~~~~~~~~ 1 error generated. ninja:
> > build stopped: subcommand failed. *** Error 1 in src/core
> > (Makefile.gn_run:418 'run_ninja') *** Error 2 in src/core (Makefile:85
> > 'sub-gn_run-pro-make_first')
>
> Seems some patches weren't applied correctly. The port's
>
> patches/patch-src_3rdparty_chromium_services_resource_coordinator_public_cpp_memory_instrumentation_os_metrics_linux_cc
>
> should knock that #include out.

Perhaps the ports tree came from an older version of ports.tar.gz from
before the missing files were fixed..

No comments:

Post a Comment