From owner-freebsd-gnome@freebsd.org Thu Sep 1 16:44:14 2016 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4937EBCC95C for ; Thu, 1 Sep 2016 16:44:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 326E3F10 for ; Thu, 1 Sep 2016 16:44:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 31B12BCC95A; Thu, 1 Sep 2016 16:44:14 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2EDD7BCC959 for ; Thu, 1 Sep 2016 16:44:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E7F1F0F for ; Thu, 1 Sep 2016 16:44:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u81GiDMC020119 for ; Thu, 1 Sep 2016 16:44:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 212310] devel/gconf2: Error messages with trailing garbage when uninstalling devel/gnome-vfs Date: Thu, 01 Sep 2016 16:44:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: t@tobik.me X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2016 16:44:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212310 Bug ID: 212310 Summary: devel/gconf2: Error messages with trailing garbage when uninstalling devel/gnome-vfs Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: t@tobik.me CC: tijl@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org TWIMC When uninstalling gnome-vfs pkg runs its pkg-deinstall script which in turn invokes gconftool-2 which gives these error messages with a bunch of traili= ng garbage when LANG=3Den_US.UTF-8: I/O warning : failed to load external entity "/usr/local/etc/gconf/schemas/desktop_default_applications.schemas" Failed to open `/usr/local/etc/gconf/schemas/desktop_default_applications.schemas': No such file or director=C3=B8=C3=A0=C3=BF=C3=BF=C3=BF I/O warning : failed to load external entity "/usr/local/etc/gconf/schemas/desktop_gnome_url_handlers.schemas" Failed to open `/usr/local/etc/gconf/schemas/desktop_gnome_url_handlers.schemas': No such = file or directo=C3=A1=C3=BF=C3=BF=C3=BF I/O warning : failed to load external entity "/usr/local/etc/gconf/schemas/system_dns_sd.schemas" Failed to open `/usr/local/etc/gconf/schemas/system_dns_sd.schemas': No such file or directo=C3=A1=C3=BF=C3=BF=C3=BF I/O warning : failed to load external entity "/usr/local/etc/gconf/schemas/system_http_proxy.schemas" Failed to open `/usr/local/etc/gconf/schemas/system_http_proxy.schemas': No such file or directo=C3=A1=C3=BF=C3=BF=C3=BF I/O warning : failed to load external entity "/usr/local/etc/gconf/schemas/system_smb.schemas" Failed to open `/usr/local/etc/gconf/schemas/system_smb.schemas': No such f= ile or director=C3=A1=C3=BF=C3=BF=C3=BF I noticed this on my FreeBSD 10.3 desktop, but it's reproducible in a fresh FreeBSD 11.0-RC2 VM too. gnome-vfs version is 2.24.4_4. glib version is 2.46.2_2. gconf2 version is 3.2.6_4. How to reproduce: 1. pkg install gnome-vfs 2. env -i PATH=3D/bin:/usr/bin:/usr/local/bin:/usr/local/sbin LANG=3Den_US.= UTF-8 pkg remove gnome-vfs With LANG=3DC or LANG=3Den_US.ISO8859-15 everything looks ok. I've managed to come up with this minimal example: #include #include #include #include #define GETTEXT_PACKAGE "GConf2" #define GCONF_LOCALE_DIR "/usr/locale/share/locale" int main() { /* This is the sequence of calls gconftool-2 makes... */ setlocale(LC_ALL, ""); bindtextdomain(GETTEXT_PACKAGE,GCONF_LOCALE_DIR); textdomain(GETTEXT_PACKAGE); g_thread_init (NULL); bindtextdomain (GETTEXT_PACKAGE, GCONF_LOCALE_DIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); g_printerr("%s\n", g_strerror(ENOENT)); return 1; } Compile and run with: cc main.c `pkgconf --libs --cflags glib-2.0 gthread-2.0` && env -i LANG=3Den_US.UTF-8 ./a.out --=20 You are receiving this mail because: You are the assignee for the bug.=