Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glib: disable FAM support since 2.70.2 #3768

Merged
merged 4 commits into from
Jan 26, 2022
Merged

Conversation

WhiredPlanck
Copy link
Member

@WhiredPlanck WhiredPlanck commented Jan 24, 2022

Topic Description

This pull request is to disable GLib's FAM (File system monitoring) support.

The original reason for this change is that the current FAM support in GLib breaks Firefox's WebExtensions threads with new new GLibC (version 2.34) and make various addons cannot work properly.

We discussed for this, and then found that Fedora has disabled GLib's FAM support since version 2.67, explaining as follows:

FAM support in GLib requires Gamin component, which has various issues
and is unmaintained for years. GLib is the only component that requires
it in RHEL. So let's do not build the optional glib2-fam subpackage on
RHEL so Gamin can be dropped out from there. I am not doing the same
change for Fedora as there are more components that require Gamin. So
the subpackage can be held there yet for some time. The only reason why
this change hasn't been done earlier is the fact that FAM support was
needed for DConf functionality when the home directory is on NFS. But
this shouldn't be a problem nowadays thanks to the following commit:
https://gitlab.gnome.org/GNOME/glib/-/commit/7427bb71.

So finally according to the result of Community's discussions, we decide to disable FAM support in GLib since 2.70.2 to make the world better.

In addition, this PR will make following adjustments to GLib:

  • Disable debugging for its code is not suitable for a production
  • Disable SELinux support for all (distribution policy)
  • Enable sysprof (capture) support for Stable (package requirement)
  • Build all default libraries (GIO modules) for Stable (distribution policy)

Package(s) Affected

glib

Security Update?

No

Test Build(s) Done

Primary Architectures

  • AMD64 amd64
  • AArch64 arm64

Secondary Architectures

Architectural progress for "secondary," or experimental ports does not impede on merging of this topic.

  • Loongson 3 loongson3
  • PowerPC 64-bit (Little Endian) ppc64el

Update(s) Uploaded to Stable

Primary Architectures

  • AMD64 amd64
  • AArch64 arm64

Secondary Architectures

Architectural progress for "secondary," or experimental ports does not impede on merging of this topic.

  • Loongson 3 loongson3
  • PowerPC 64-bit (Little Endian) ppc64el

- Drop `gamin` to get ready for disabling FAM support
- Add necessary PKGDEPs and BUILDDEPs
- Switch Python 2 to Python 3
- Disable FAM support for its various issues persist for years
- (Fedora) Disable debugging for its code is not suitable for a production
- Disable SELinux support for all
- Enable sysprof (capture) support for Stable
- Build all default libraries (GIO modules) for Stable
@WhiredPlanck WhiredPlanck self-assigned this Jan 24, 2022
@WhiredPlanck WhiredPlanck added the bug Topic/issue involves a bug label Jan 24, 2022
@WhiredPlanck WhiredPlanck requested review from MingcongBai, liushuyu and cthbleachbit and removed request for MingcongBai and liushuyu January 24, 2022 09:50
@WhiredPlanck
Copy link
Member Author

LGTM on AMD64

@WhiredPlanck WhiredPlanck merged commit a69de4f into stable Jan 26, 2022
@WhiredPlanck WhiredPlanck deleted the glib-2.70.2-disable-fam branch January 26, 2022 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Topic/issue involves a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants