Just deleting that line seemed to allow the build to progress further, but now I have a slew of errors; I'll post a snippet here, then must run off but will be back in a bit:
2022-08-18 14:42:14.617 :: In file included from
../../third_party/angle/src/gpu_info_util/SystemInfo_vulkan.cpp:10:
2022-08-18 14:42:14.617 :: In file included from
../../third_party/angle/src/gpu_info_util/SystemInfo_vulkan.h:12:
2022-08-18 14:42:14.617 :: In file included from
../../third_party/angle/src/common/vulkan/vulkan_icd.h:15:
2022-08-18 14:42:14.617 :: In file included from
../../third_party/angle/src/common/vulkan/vk_headers.h:14:
2022-08-18 14:42:14.617 :: In file included from
../../third_party/angle/src/third_party/volk/volk.h:50:
2022-08-18 14:42:14.617 :: In file included from
../../third_party/vulkan-deps/vulkan-headers/src/include/vulkan/vulkan.h:41:
2022-08-18 14:42:14.617 :: In file included from
../../third_party/wayland/src/src/wayland-client.h:40:
2022-08-18 14:42:14.617 :: /usr/include/wayland-client-protocol.h:1038:13:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.618 :: callback = wl_proxy_marshal_flags((struct
wl_proxy *) wl_display,
2022-08-18 14:42:14.618 :: ^
2022-08-18 14:42:14.618 :: /usr/include/wayland-client-protocol.h:1062:13:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.618 :: registry = wl_proxy_marshal_flags((struct
wl_proxy *) wl_display,
2022-08-18 14:42:14.618 :: ^
2022-08-18 14:42:14.618 :: /usr/include/wayland-client-protocol.h:1175:7:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.618 :: id = wl_proxy_marshal_flags((struct wl_proxy
*) wl_registry,
2022-08-18 14:42:14.618 :: ^
2022-08-18 14:42:14.618 :: /usr/include/wayland-client-protocol.h:1291:7:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.618 :: id = wl_proxy_marshal_flags((struct wl_proxy
*) wl_compositor,
2022-08-18 14:42:14.618 :: ^
2022-08-18 14:42:14.618 :: /usr/include/wayland-client-protocol.h:1307:7:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.618 :: id = wl_proxy_marshal_flags((struct wl_proxy
*) wl_compositor,
2022-08-18 14:42:14.618 :: ^
2022-08-18 14:42:14.618 :: /usr/include/wayland-client-protocol.h:1371:7:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.618 :: id = wl_proxy_marshal_flags((struct wl_proxy
*) wl_shm_pool,
2022-08-18 14:42:14.618 :: ^
2022-08-18 14:42:14.618 :: /usr/include/wayland-client-protocol.h:1390:87:
error: use of undeclared identifier 'WL_MARSHAL_FLAG_DESTROY'
2022-08-18 14:42:14.618 :: WL_SHM_POOL_DESTROY, NULL,
wl_proxy_get_version((struct wl_proxy *) wl_shm_pool),
WL_MARSHAL_FLAG_DESTROY);
2022-08-18 14:42:14.618 ::
^
2022-08-18 14:42:14.619 :: /usr/include/wayland-client-protocol.h:1404:2:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.619 :: wl_proxy_marshal_flags((struct wl_proxy *)
wl_shm_pool,
2022-08-18 14:42:14.619 :: ^
2022-08-18 14:42:14.619 :: /usr/include/wayland-client-protocol.h:1932:7:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.619 :: id = wl_proxy_marshal_flags((struct wl_proxy
*) wl_shm,
2022-08-18 14:42:14.619 :: ^
2022-08-18 14:42:14.619 :: /usr/include/wayland-client-protocol.h:2018:83:
error: use of undeclared identifier 'WL_MARSHAL_FLAG_DESTROY'
2022-08-18 14:42:14.619 :: WL_BUFFER_DESTROY, NULL,
wl_proxy_get_version((struct wl_proxy *) wl_buffer), WL_MARSHAL_FLAG_DESTROY);
2022-08-18 14:42:14.619 ::
^
2022-08-18 14:42:14.619 :: /usr/include/wayland-client-protocol.h:2211:2:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.619 :: wl_proxy_marshal_flags((struct wl_proxy *)
wl_data_offer,
2022-08-18 14:42:14.619 :: ^
2022-08-18 14:42:14.619 :: /usr/include/wayland-client-protocol.h:2237:2:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.619 :: wl_proxy_marshal_flags((struct wl_proxy *)
wl_data_offer,
2022-08-18 14:42:14.619 :: ^
2022-08-18 14:42:14.619 :: /usr/include/wayland-client-protocol.h:2250:91:
error: use of undeclared identifier 'WL_MARSHAL_FLAG_DESTROY'
2022-08-18 14:42:14.619 :: WL_DATA_OFFER_DESTROY,
NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_offer),
WL_MARSHAL_FLAG_DESTROY);
2022-08-18 14:42:14.619 ::
^
2022-08-18 14:42:14.619 :: /usr/include/wayland-client-protocol.h:2274:2:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.619 :: wl_proxy_marshal_flags((struct wl_proxy *)
wl_data_offer,
2022-08-18 14:42:14.619 :: ^
2022-08-18 14:42:14.619 :: /usr/include/wayland-client-protocol.h:2316:2:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.619 :: wl_proxy_marshal_flags((struct wl_proxy *)
wl_data_offer,
2022-08-18 14:42:14.619 :: ^
2022-08-18 14:42:14.619 :: /usr/include/wayland-client-protocol.h:2541:2:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.619 :: wl_proxy_marshal_flags((struct wl_proxy *)
wl_data_source,
2022-08-18 14:42:14.619 :: ^
2022-08-18 14:42:14.619 :: /usr/include/wayland-client-protocol.h:2554:93:
error: use of undeclared identifier 'WL_MARSHAL_FLAG_DESTROY'
2022-08-18 14:42:14.619 :: WL_DATA_SOURCE_DESTROY,
NULL, wl_proxy_get_version((struct wl_proxy *) wl_data_source),
WL_MARSHAL_FLAG_DESTROY);
2022-08-18 14:42:14.619 ::
^
2022-08-18 14:42:14.619 :: /usr/include/wayland-client-protocol.h:2577:2:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.620 :: wl_proxy_marshal_flags((struct wl_proxy *)
wl_data_source,
2022-08-18 14:42:14.620 :: ^
2022-08-18 14:42:14.620 :: /usr/include/wayland-client-protocol.h:2812:2:
error: use of undeclared identifier 'wl_proxy_marshal_flags'
2022-08-18 14:42:14.620 :: wl_proxy_marshal_flags((struct wl_proxy *)
wl_data_device,
2022-08-18 14:42:14.620 :: ^
2022-08-18 14:42:14.620 :: fatal error: too many errors emitted, stopping now
[-ferror-limit=]
2022-08-18 14:42:14.620 :: 20 errors generated.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1986925
Title:
[snap] Trying to build chromium snap for core22: pkg-config fails.
Status in chromium-browser package in Ubuntu:
New
Bug description:
I checked out the "dev" branch of chromium-browser from launchpad and
did what seemed necessary to update snapcraft.yaml to build with
snapcraft 7 for core22. The only change of any significance was to
change the extension from "gnome-3-38" to the core22-specific "gnome"
extension. I started the build and it ran for quite some time (in a
persistent 22.04 LXD container) until:
2022-08-18 09:11:00.869 :: + OUT=out/Release
2022-08-18 09:11:00.869 :: + mkdir -p out/Release
2022-08-18 09:11:00.888 :: + cp
/root/snaps/snap-from-source/stage/build/args.gn out/Release/
2022-08-18 09:11:00.922 :: + '[' amd64 = armhf ']'
2022-08-18 09:11:00.922 :: + '[' amd64 = armhf ']'
2022-08-18 09:11:00.922 :: + cd /usr/lib/x86_64-linux-gnu/pkgconfig
2022-08-18 09:11:00.922 :: + ln -s libdrm.pc libdrm-uninstalled.pc
2022-08-18 09:11:00.935 :: + cd -
2022-08-18 09:11:00.935 :: /root/snaps/snap-from-source/parts/chromium/build
2022-08-18 09:11:00.935 :: + out/Release/gn gen out/Release
2022-08-18 09:11:07.112 :: ERROR at
//build/config/linux/pkg_config.gni:104:17: Script returned non-zero exit code.
2022-08-18 09:11:07.112 :: pkgresult = exec_script(pkg_config_script,
args, "value")
2022-08-18 09:11:07.113 :: ^----------
2022-08-18 09:11:07.113 :: Current dir:
/root/snaps/snap-from-source/parts/chromium/build/out/Release/
2022-08-18 09:11:07.113 :: Command: python3
/root/snaps/snap-from-source/parts/chromium/build/build/config/linux/pkg-config.py
-p /snap/gnome-3-38-2004/current/usr/bin/pkg-config x11-xcb
2022-08-18 09:11:07.113 :: Returned 1.
2022-08-18 09:11:07.113 :: stderr:
2022-08-18 09:11:07.113 ::
2022-08-18 09:11:07.113 :: Could not run pkg-config.
2022-08-18 09:11:07.113 ::
2022-08-18 09:11:07.113 :: See
//third_party/swiftshader/src/Vulkan/BUILD.gn:69:5: whence it was called.
2022-08-18 09:11:07.113 :: pkg_config("x11-xcb") {
2022-08-18 09:11:07.113 :: ^----------------------
2022-08-18 09:11:07.114 :: See //BUILD.gn:529:7: which caused the file to be
included.
2022-08-18 09:11:07.114 ::
"//third_party/swiftshader/src/Vulkan:swiftshader_libvulkan",
2022-08-18 09:11:07.114 ::
^-----------------------------------------------------------
2022-08-18 09:11:07.243 'override-build' in part 'chromium' failed with code
1.
Review the scriptlet and make sure it's correct.
I verified that the pkg-config utility is installed in the container;
I can only suspect that this error is related to switching to the
core22 gnome extension. I am open to suggestions.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1986925/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp

