[Bug 210969] Mk/Uses/gnome.mk: gconftool-2 --makefile-uninstall-rule cannot find the schema files on package deinstall phase

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 05 Jun 2021 18:51:24 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210969

--- Comment #3 from commit-hook_at_FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=956fbfa5003e34db2d2b1985e20073a397e697e8

commit 956fbfa5003e34db2d2b1985e20073a397e697e8
Author:     Alexey Dokuchaev <danfe_at_FreeBSD.org>
AuthorDate: 2021-06-05 18:46:58 +0000
Commit:     Alexey Dokuchaev <danfe_at_FreeBSD.org>
CommitDate: 2021-06-05 18:47:45 +0000

    Mk/Uses/gnome.mk: fix gconftool-2 --makefile-unistall-rule call time

    Previously, for ports with GCONF_SCHEMAS, `gnome-post-gconf-schemas'
    target would add a _at_postunexec rule which was invoked *after* those
    files would be removed upon deinstallation, resulting in errors:

      I/O warning : failed to load external entity ".../$some.schemas"
      Failed to open `.../$some.schemas': No such file or directory

    Change it to _at_preunexec so that `gconftool-2 --makefile-unistall-rule'
    command would get called while those files still exist.

    PR:             210969
    Timeout from:   gnome (~5 years)

 Mk/Uses/gnome.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Sat Jun 05 2021 - 18:51:24 UTC

Original text of this message