[Bug 250668] www/chromium needs devel/gsettings-desktop-schemas

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 02 Jan 2023 13:09:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250668

Graham Perrin <grahamperrin@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chromium@FreeBSD.org,
                   |                            |grahamperrin@freebsd.org
                URL|                            |https://www.freshports.org/
                   |                            |www/chromium/
             Status|New                         |Closed
           Severity|Affects Some People         |Affects Only Me
           Keywords|                            |crash
           Assignee|chromium@FreeBSD.org        |grahamperrin@freebsd.org
         Resolution|---                         |Unable to Reproduce

--- Comment #1 from Graham Perrin <grahamperrin@freebsd.org> ---
<https://www.freshports.org/www/chromium/#requiredlib>

> libgtk-3.so : x11-toolkits/gtk30

<https://www.freshports.org/x11-toolkits/gtk30/#requiredrun>

> gsettings-desktop-schemas>=0 : devel/gsettings-desktop-schemas

<https://cgit.freebsd.org/ports/tree/www/chromium/Makefile>

> USE_GNOME=	atk dconf gdkpixbuf2 glib20 gtk30 libxml2 libxslt

The gtk30 part of that line was added more than five years ago:
<https://github.com/freebsd/freebsd-ports/commit/8d28aa8db0c717bef863b7a7630f48cf3870ffb1#diff-0d6c905a8689ea7cf05ed41e3f5c6af8a2b09103c6f54c1fd7499ffd2a803b3cR68>. 

----

(In reply to Flemming Jacobsen from comment #0)

> … When doing 'save image as', chrome crashed. I tracked this down 
> to the package gsettings-desktop-schemas not being installed. …

Not reproducible here; no crash. 

After the test, I allowed reinstallation of the package: 

root@fuji:~ # pkg info -x chromium 
chromium-108.0.5359.124
root@fuji:~ # pkg check -d
Checking all packages: 100%
glib-networking has a missing dependency: gsettings-desktop-schemas
gtk3 has a missing dependency: gsettings-desktop-schemas
gtk4 has a missing dependency: gsettings-desktop-schemas
plasma5-kde-gtk-config has a missing dependency: gsettings-desktop-schemas

>>> Missing package dependencies were detected.
>>> Found 1 issue(s) in the package database.

The following packages will be installed:

New packages to be INSTALLED:
        gsettings-desktop-schemas: 42.0 [FreeBSD]

Number of packages to be installed: 1

The process will require 5 MiB more space.
605 KiB to be downloaded.

>>> Try to fix the missing dependencies? [y/N]: y
[1/1] Fetching gsettings-desktop-schemas-42.0.pkg: 100%  605 KiB 620.0kB/s   
00:01    
Checking integrity... done (0 conflicting)
[1/1167] Installing gsettings-desktop-schemas-42.0...
[1/1167] Extracting gsettings-desktop-schemas-42.0: 100%
Compiling glib schemas
>>> Summary of actions performed:

gsettings-desktop-schemas dependency has been fixed

>>> Missing dependencies were fixed successfully.
root@fuji:~ # freebsd-version -kru ; uname -aKU
13.1-RELEASE-p3
13.1-RELEASE-p3
13.1-RELEASE-p5
FreeBSD fuji 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64 1301000
1301000
root@fuji:~ # pkg -vv | grep -e url -e enabled -e priority
    url             :
"pkg+http://pkg0.bme.freebsd.org/FreeBSD:13:amd64/latest",
    enabled         : yes,
    priority        : 4,
    url             :
"file:///usr/local/poudriere/data/packages/thirteen-default",
    enabled         : yes,
    priority        : 3
root@fuji:~ #

-- 
You are receiving this mail because:
You are on the CC list for the bug.