Ok, thanks.

On Fri, Aug 19, 2022 at 8:10 AM Nathan Teodosio <1986...@bugs.launchpad.net>
wrote:

> > Perhaps one should create a core 22 branch where I can submit my
> changes.
>
> I think that is only possible with a team. See if you can push to
> https://code.launchpad.net/~chromium-core22/+git/chromium-core22. If
> yes, just force push your current work to it.
>
> --
> 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