Yup, same errors ... lots of "wl "and "marshal" undefined references.
Here's just a small sample:

2022-08-18 17:03:57.646 :: /usr/include/wayland-client-protocol.h:1038:13:
error: use of undeclared identifier 'wl_proxy_marshal_flags'


2022-08-18 17:03:57.646 ::         callback =
wl_proxy_marshal_flags((struct wl_proxy *) wl_display,


2022-08-18 17:03:57.646 ::                    ^


2022-08-18 17:03:57.646 :: /usr/include/wayland-client-protocol.h:1062:13:
error: use of undeclared identifier 'wl_proxy_marshal_flags'


2022-08-18 17:03:57.646 ::         registry =
wl_proxy_marshal_flags((struct wl_proxy *) wl_display,


2022-08-18 17:03:57.646 ::                    ^


2022-08-18 17:03:57.646 :: /usr/include/wayland-client-protocol.h:1175:7:
error: use of undeclared identifier 'wl_proxy_marshal_flags'


2022-08-18 17:03:57.646 ::         id = wl_proxy_marshal_flags((struct
wl_proxy *) wl_registry,


2022-08-18 17:03:57.646 ::              ^


2022-08-18 17:03:57.646 :: /usr/include/wayland-client-protocol.h:1291:7:
error: use of undeclared identifier 'wl_proxy_marshal_flags'


2022-08-18 17:03:57.646 ::         id = wl_proxy_marshal_flags((struct
wl_proxy *) wl_compositor,


2022-08-18 17:03:57.647 ::              ^


2022-08-18 17:03:57.647 :: /usr/include/wayland-client-protocol.h:1307:7:
error: use of undeclared identifier 'wl_proxy_marshal_flags'


2022-08-18 17:03:57.647 ::         id = wl_proxy_marshal_flags((struct
wl_proxy *) wl_compositor,


2022-08-18 17:03:57.647 ::              ^


2022-08-18 17:03:57.647 :: /usr/include/wayland-client-protocol.h:1371:7:
error: use of undeclared identifier 'wl_proxy_marshal_flags'


2022-08-18 17:03:57.647 ::         id = wl_proxy_marshal_flags((struct
wl_proxy *) wl_shm_pool,


2022-08-18 17:03:57.647 ::              ^


On Thu, Aug 18, 2022 at 1:04 PM Robert Day <robert....@canonical.com> wrote:

> That's what I did, but that's also when I got the errors I included in my
> previous comment. I'm rebuilding just to make sure those errors are
> reproducible.
>
> On Thu, Aug 18, 2022 at 12:45 PM Nathan Teodosio <
> 1986...@bugs.launchpad.net> wrote:
>
>> > but that appears to be because this newer gnome does not supply such
>> an executable; there is no "pkg-config" under
>> /snap/gnome-42-2204/current/usr/bin/, as I assume there must have been
>> under gnome-3-38.
>>
>> Oh, so this time pkg-config in build-packages could solve it? Probably
>> you will have to remove the pkg_config line from args.gn, though.
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> 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
>>
>>

-- 
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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to