NetBSD Problem Report #55503
From www@netbsd.org Mon Jul 20 15:07:12 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 72A2E1A9213
for <gnats-bugs@gnats.NetBSD.org>; Mon, 20 Jul 2020 15:07:12 +0000 (UTC)
Message-Id: <20200720150711.9801E1A9217@mollari.NetBSD.org>
Date: Mon, 20 Jul 2020 15:07:11 +0000 (UTC)
From: jaypatelani@gmail.com
Reply-To: jaypatelani@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Mate Desktop shared object "libintl.so.8" missing Xorg crash
X-Send-Pr-Version: www-1.0
>Number: 55503
>Category: pkg
>Synopsis: Mate Desktop shared object "libintl.so.8" missing Xorg crash
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gutteridge
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 20 15:10:00 +0000 2020
>Closed-Date: Sat Sep 05 12:35:33 +0000 2020
>Last-Modified: Sat Sep 05 12:35:33 +0000 2020
>Originator: Jay Patel
>Release: NetBSD 9.0, pkgin 20.5.1 (using SQLite 3.26.0)
>Organization:
unitedbsd.com
>Environment:
NetBSD unitedbsd.com 9.0 NetBSD 9.0 (GENERIC) #4: Wed Mar 11 20:45:28 IST 2020 root@unitedbsd.com:/usr/src/sys/arch/amd64/compile/obj/GENERIC amd64
>Description:
Mate Desktop environment(1.24.0) doesn't start on fresh NetBSD release install.
>How-To-Repeat:
1.Install pkgin
2.pkgin install mate
3.startx [exec ck-launch-session dbus-launch --exit-with-session mate-session >> .xinitrc]
>Fix:
install gettext-lib-0.20.2
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->youri
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Tue, 21 Jul 2020 00:05:26 +0000
Responsible-Changed-Why:
Youri, can you please give it a look?
(over to MAINTAINER)
From: david@gutteridge.ca
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/55503 (Mate Desktop shared object "libintl.so.8" missing Xorg
crash)
Date: Tue, 21 Jul 2020 01:07:52 -0400
As a quick pass through this, it appears this issue was introduced by
meta-pkgs/mate/Makefile.common r. 1.10; in other words, the update to
1.24.0, which is where MATE migrated from intltools to gettext, and as
the comment says, "fails without GNU msgfmt". gettext-tools becomes a
tool dependency for every MATE package, which makes gettext-libs
available in the build environment as well, which MATE packages then
link against, but gettext-libs is never declared as a run-time
dependency, so binary packages are broken. I don't think the intent
was to link against gettext-libs, it was just to have GNU msgfmt
available as a tool?
We end up with this state, probably not what we want:
$ ldd /usr/pkg/bin/mate-session | grep libintl
-lintl.1 => /usr/lib/libintl.so.1
-lintl.8 => /usr/pkg/lib/libintl.so.8
Someone else may want to jump in here and decide if this is an issue
with what USE_BUILTIN.gettext does, or could be expressed in a
different way that avoids this problem. (I'm rather time-constrained,
and am not $MAINTAINER nor the committer here.)
Dave
State-Changed-From-To: open->analyzed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Tue, 18 Aug 2020 23:17:05 +0000
State-Changed-Why:
I've looked into this, and the fix seems pretty simple. I'm doing another round of testing.
Responsible-Changed-From-To: youri->gutteridge
Responsible-Changed-By: gutteridge@NetBSD.org
Responsible-Changed-When: Mon, 24 Aug 2020 04:38:07 +0000
Responsible-Changed-Why:
I'll handle this one. I've tested a fix and will deal with any fallout.
From: "David H. Gutteridge" <gutteridge@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/55503 CVS commit: pkgsrc
Date: Mon, 24 Aug 2020 04:41:43 +0000
Module Name: pkgsrc
Committed By: gutteridge
Date: Mon Aug 24 04:41:43 UTC 2020
Modified Files:
pkgsrc/archivers/engrampa: Makefile
pkgsrc/audio/libmatemixer: Makefile
pkgsrc/devel/mate-common: Makefile
pkgsrc/editors/pluma: Makefile
pkgsrc/graphics/eom: Makefile
pkgsrc/graphics/mate-backgrounds: Makefile
pkgsrc/graphics/mate-icon-theme: Makefile
pkgsrc/graphics/mate-icon-theme-faenza: Makefile
pkgsrc/graphics/mate-themes: Makefile
pkgsrc/meta-pkgs/mate: Makefile Makefile.common
pkgsrc/misc/libmateweather: Makefile
pkgsrc/misc/mate-calc: Makefile
pkgsrc/misc/mate-utils: Makefile
pkgsrc/multimedia/mate-media: Makefile
pkgsrc/net/mate-user-share: Makefile
pkgsrc/print/atril: Makefile
pkgsrc/security/mate-polkit: Makefile
pkgsrc/sysutils/caja: Makefile
pkgsrc/sysutils/caja-dropbox: Makefile
pkgsrc/sysutils/caja-extensions: Makefile
pkgsrc/sysutils/mate-notification-daemon: Makefile
pkgsrc/sysutils/mate-power-manager: Makefile
pkgsrc/sysutils/mate-sensors-applet: Makefile
pkgsrc/sysutils/mate-system-monitor: Makefile
pkgsrc/wm/marco: Makefile
pkgsrc/wm/mate-netbook: Makefile
pkgsrc/x11/libmatekbd: Makefile
pkgsrc/x11/mate-applets: Makefile
pkgsrc/x11/mate-control-center: Makefile
pkgsrc/x11/mate-desktop: Makefile
pkgsrc/x11/mate-indicator-applet: Makefile
pkgsrc/x11/mate-menus: Makefile
pkgsrc/x11/mate-panel: Makefile
pkgsrc/x11/mate-screensaver: Makefile
pkgsrc/x11/mate-session-manager: Makefile
pkgsrc/x11/mate-settings-daemon: Makefile
pkgsrc/x11/mate-terminal: Makefile
pkgsrc/x11/mozo: Makefile
Log Message:
mate*: remove unintentional linkage against pkgsrc gettext-libs
As of 1.24, MATE requires GNU-specific msgfmt features. meta-pkgs/mate/
Makefile.common r. 1.10 expressed this tool dependency using
USE_BUILTIN.gettext=no, but this exposed pkgsrc gettext-libs in the
build environment as well, which some MATE packages then linked
against, but gettext-libs didn't end up being declared as a run-time
dependency, so binary package installations were broken (with the
workaround of manually installing the undeclared gettext-libs
dependency). Express this dependency differently, so GNU msgfmt is
used as a tool without exposing pkgsrc gettext-libs.
(The pkgsrc tooling infrastruture could be altered to provide a
distinct "gmsgfmt" tool, same with "gxgettext", and perhaps others.
Here I'm just immediately concerned with fixing this packaging issue.)
Addresses PR pkg/55503 by Jay Patel.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/archivers/engrampa/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/audio/libmatemixer/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/mate-common/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/editors/pluma/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/graphics/eom/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/graphics/mate-backgrounds/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/graphics/mate-icon-theme/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/graphics/mate-icon-theme-faenza/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/graphics/mate-themes/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/meta-pkgs/mate/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/meta-pkgs/mate/Makefile.common
cvs rdiff -u -r1.30 -r1.31 pkgsrc/misc/libmateweather/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/misc/mate-calc/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/misc/mate-utils/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/multimedia/mate-media/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/net/mate-user-share/Makefile
cvs rdiff -u -r1.60 -r1.61 pkgsrc/print/atril/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/security/mate-polkit/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/sysutils/caja/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/sysutils/caja-dropbox/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/sysutils/caja-extensions/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/sysutils/mate-notification-daemon/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/sysutils/mate-power-manager/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/sysutils/mate-sensors-applet/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/sysutils/mate-system-monitor/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/wm/marco/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/wm/mate-netbook/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/x11/libmatekbd/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/x11/mate-applets/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/x11/mate-control-center/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/x11/mate-desktop/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/x11/mate-indicator-applet/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/x11/mate-menus/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/x11/mate-panel/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/x11/mate-screensaver/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/x11/mate-session-manager/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/x11/mate-settings-daemon/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/x11/mate-terminal/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/x11/mozo/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: analyzed->feedback
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Mon, 24 Aug 2020 04:50:21 +0000
State-Changed-Why:
Please advise if this addresses the issue for you? (It worked for me.)
From: Jay Patel <jaypatel.ani@gmail.com>
To: gnats-bugs@netbsd.org
Cc: gutteridge@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/55503 (Mate Desktop shared object "libintl.so.8" missing Xorg crash)
Date: Sat, 5 Sep 2020 14:37:22 +0530
--000000000000ed172405ae8d5033
Content-Type: text/plain; charset="UTF-8"
Hello,
Thanks for fixing PR. It solves issue for me.
Regards,
Jay
On Mon, 24 Aug, 2020, 10:20 am , <gutteridge@netbsd.org> wrote:
> Synopsis: Mate Desktop shared object "libintl.so.8" missing Xorg crash
>
> State-Changed-From-To: analyzed->feedback
> State-Changed-By: gutteridge@NetBSD.org
> State-Changed-When: Mon, 24 Aug 2020 04:50:21 +0000
> State-Changed-Why:
> Please advise if this addresses the issue for you? (It worked for me.)
>
>
>
--000000000000ed172405ae8d5033
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto">Hello,<div dir=3D"auto"><br></div><div dir=3D"auto">Thank=
s for fixing PR. It solves issue for me.</div><div dir=3D"auto"><br></div><=
div dir=3D"auto">Regards,</div><div dir=3D"auto">Jay</div></div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, 24 Aug, 2=
020, 10:20 am , <<a href=3D"mailto:gutteridge@netbsd.org">gutteridge@net=
bsd.org</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Synopsis: Ma=
te Desktop shared object "libintl.so.8" missing Xorg crash<br>
<br>
State-Changed-From-To: analyzed->feedback<br>
State-Changed-By: gutteridge@NetBSD.org<br>
State-Changed-When: Mon, 24 Aug 2020 04:50:21 +0000<br>
State-Changed-Why:<br>
Please advise if this addresses the issue for you? (It worked for me.)<br>
<br>
<br>
</blockquote></div>
--000000000000ed172405ae8d5033--
State-Changed-From-To: feedback->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Sat, 05 Sep 2020 12:35:33 +0000
State-Changed-Why:
Issue resolved, thanks for reporting and testing this.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.