| Summary: | [Tools][GTK][WPE] generate-bundle: include the graphics libraries also on the sysdeps bundle with install script | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> | ||||
| Component: | Tools / Tests | Assignee: | Diego Pino <dpino> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bugs-noreply, max, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://github.com/web-platform-tests/wpt/issues/40901 | ||||||
| Attachments: |
|
||||||
|
Description
Carlos Alberto Lopez Perez
2023-08-21 16:53:25 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16908 Committed 267186@main (2e99fa3f861b): <https://commits.webkit.org/267186@main> Reviewed commits have been landed. Closing PR #16908 and removing active labels. Created attachment 467440 [details] debian 11 vs 12 looks like https://github.com/WebKit/WebKit/commit/2e99fa3f861b9ab48569aa970498ab63b5db8ba9 broke Debian 12 builds. We are now executing "self._get_mesa_dri_drivers()" in != self._syslibs == "bundle-all" mode. This internally will do "pkg-config --variable=libdir dri" which on Debian 12 returns nothing, since mesa-common-dev has no libdir in the dri.pc anymore. See the pic. We then get this on our build bots: Traceback (most recent call last): File "/home/pwuser/webkit/Tools/Scripts/generate-bundle", line 916, in <module> sys.exit(main()) ^^^^^^ File "/home/pwuser/webkit/Tools/Scripts/generate-bundle", line 911, in main bundle_file_path = bundle_creator.create() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pwuser/webkit/Tools/Scripts/generate-bundle", line 337, in create self._create_bundle(bundle_binary) File "/home/pwuser/webkit/Tools/Scripts/generate-bundle", line 686, in _create_bundle objects_to_copy.extend(self._get_mesa_libraries()) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pwuser/webkit/Tools/Scripts/generate-bundle", line 487, in _get_mesa_libraries lib_dir_dri = self._get_pkg_config_var('dri', 'libdir') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pwuser/webkit/Tools/Scripts/generate-bundle", line 415, in _get_pkg_config_var raise RuntimeError('The pkg-config entry for %s is not a directory: %s' % (var_name, var_value)) RuntimeError: The pkg-config entry for libdir is not a directory: Please try install the package mesa-common-dev via 'apt-get install' (In reply to Carlos Alberto Lopez Perez from comment #5) > Please try install the package mesa-common-dev via 'apt-get install' Ups sorry, forget that comment. I see you already have it installed but is defining the libdir variable I see the issue, thanks for reporting it. Re-opening for pull request https://github.com/webkit/webkit/pull/17116 Committed 267404@main (8124fd9a748e): <https://commits.webkit.org/267404@main> Reviewed commits have been landed. Closing PR #17116 and removing active labels. |