NetBSD Problem Report #39805

From kre@munnari.OZ.AU  Sun Oct 26 09:47:11 2008
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 1F7B463B11D
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 26 Oct 2008 09:47:11 +0000 (UTC)
Message-Id: <200810260947.m9Q9l1mG006411@jade.coe.psu.ac.th>
Date: Sun, 26 Oct 2008 16:47:01 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: net/dcsharp has msgid errors (NetBSD 3.0)
X-Send-Pr-Version: 3.95

>Number:         39805
>Category:       pkg
>Synopsis:       net/dcsharp has msgid errors (NetBSD 3.0)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 26 09:50:00 +0000 2008
>Closed-Date:    Sat Jan 30 14:53:15 +0000 2010
>Last-Modified:  Sat Jan 30 14:53:15 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE (3.0 Release, pkgsrc current today)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
	net/dcsharp looks as if it needs a newer version of
	gettext than is included in the base 3.0 system.

	It also looks as if dcsharp is aging - I have no idea if
	there's a newer version but from some of the warnings
	produced, it is possible that gtk won't support it the
	way it is much longer.

>How-To-Repeat:
	Use a NetBSD 3.0 system (don't know yet if same problem occurs
	in newer systems) - I use pkg_comp with libkver to similate that
	environment - using NetBSD 3.0 release sets.

	Attempt to build net/dcsharp - expect to see (amongst other lines
	I deleted here - long compilation commands and such that aren't
	really relevant) ...   Other dependencies would have been found
	earlier (I cut the build log after someething else it needed
	just finished compiling and installing correctly).

=> Returning to build of dcsharp-0.11.1nb3
=> Full dependency mono>=2.0: found mono-2.0nb1
=> Full dependency desktop-file-utils>=0.10nb1: NOT found
=> Verifying bin-install for ../../sysutils/desktop-file-utils
===> Binary install for desktop-file-utils>=0.10nb1
=> Installing desktop-file-utils>=0.10nb1 from /pkg_comp/packages/All
desktop-file-utils-0.15 successfully installed.
=> Returning to build of dcsharp-0.11.1nb3
===> Overriding tools for dcsharp-0.11.1nb3
===> Extracting for dcsharp-0.11.1nb3
===> Patching for dcsharp-0.11.1nb3
=> Applying pkgsrc patches for dcsharp-0.11.1nb3
===> Creating toolchain wrappers for dcsharp-0.11.1nb3
===> Building for dcsharp-0.11.1nb3
scons: Reading SConscript files ...
PKGSRC-WARNING: Something is trying to run the c compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
PKGSRC-WARNING: Something is trying to run the c compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
Checking for pkg-config... yes
Setting umask to 022 (was 022)

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/pkg_comp/obj/pkgsrc/net/dcsharp/default/dcsharp-0.11.1/base/SConscript", line 22, in ?
Checking for gtk-sharp-2.0 >= 2.6... yes
Checking for gtk-sharp-2.0 >= 2.10... yes
Checking for glade-sharp-2.0 >= 2.6... yes
Checking for gnome-sharp-2.0 >= 2.6... yes
Checking for ndesk-dbus-1.0 >= 0.4... yes
Checking for ndesk-dbus-glib-1.0 >= 0.3... yes
Checking for notify-sharp >= 0.4... no

 * Using system ndesk-dbus: yes
 * Using system notify-sharp: no
 * Using Gtk+ 2.10 widgets: yes
 * GNOME integration: yes

PKGSRC-WARNING: Something is trying to run the c compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
scons: done reading SConscript files.
scons: Building targets ...
gtk/src/ConnectionStatusbar.cs(39,25): warning CS0612: `Gtk.Tooltips' is obsolete
gtk/src/AboutDialog.cs(28,25): warning CS0618: `Gtk.AboutDialog.Name' is obsolete: `Use ProgramName instead'
gtk/src/Main.cs(47,25): warning CS0618: `Mono.GetOptions.Options' is obsolete: `This class is being obsoleted, please use NDesk.Options instead (http://ndesk.org/options)'
gtk/src/Util.cs(133,58): warning CS0612: `Gnome.Vfs.Mime.TypeFromName(string)' is obsolete
gtk/src/Controller.cs(59,37): warning CS0618: `NDesk.DBus.Connection.Register(string, NDesk.DBus.ObjectPath, object)' is obsolete: `Use the overload of Register() which does not take a bus_name parameter'
Compilation succeeded - 13 warning(s)
parse_env(["bin/dcsharp"], ["bin/dcsharp.in"])
parse_env(["bin/dcsharp.desktop"], ["bin/dcsharp.desktop.in"])
msgfmt gtk/po/de.po -o gtk/po/locale/de/LC_MESSAGES/dcsharp.mo
gtk/po/de.po:93: keyword "msgid_plural" unknown
gtk/po/de.po:92: missing `msgstr' section
gtk/po/de.po:93: parse error
gtk/po/de.po:100: keyword "msgid_plural" unknown
gtk/po/de.po:99: missing `msgstr' section
gtk/po/de.po:100: parse error
gtk/po/de.po:159: keyword "msgid_plural" unknown
gtk/po/de.po:158: missing `msgstr' section
gtk/po/de.po:159: parse error
gtk/po/de.po:202: keyword "msgid_plural" unknown
gtk/po/de.po:201: missing `msgstr' section
gtk/po/de.po:202: parse error
gtk/po/de.po:529: keyword "msgid_plural" unknown
gtk/po/de.po:528: missing `msgstr' section
gtk/po/de.po:529: parse error
gtk/po/de.po:536: keyword "msgid_plural" unknown
gtk/po/de.po:535: missing `msgstr' section
gtk/po/de.po:536: parse error
gtk/po/de.po:560: keyword "msgid_plural" unknown
gtk/po/de.po:559: missing `msgstr' section
too many errors, aborting
scons: *** [gtk/po/locale/de/LC_MESSAGES/dcsharp.mo] Error 1
scons: building terminated because of errors.
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/net/dcsharp
WARNING: *** Please consider adding c to USE_LANGUAGES in the package Makefile.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/dcsharp
*** Error code 1

Stop.

>Fix:
	I assume this need's pkgsrc's gettext on NetBSD 3.0,
	but I'm not sure of the correct magic to achieve that.

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/39805: net/dcsharp has msgid errors (NetBSD 3.0)
Date: Sun, 26 Oct 2008 19:13:51 +0900

 On Sun, 26 Oct 2008 18:50:00 +0900, <kre@munnari.oz.au> wrote:

 > msgfmt gtk/po/de.po -o gtk/po/locale/de/LC_MESSAGES/dcsharp.mo
 > gtk/po/de.po:93: keyword "msgid_plural" unknown
 > gtk/po/de.po:92: missing `msgstr' section
 > gtk/po/de.po:93: parse error

 Adding  "msgfmt" to USE_TOOLS should fix this problem.
 Can you confirm it?

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/39805: net/dcsharp has msgid errors (NetBSD 3.0) 
Date: Sun, 26 Oct 2008 20:30:50 +0700

     Date:        Sun, 26 Oct 2008 10:15:06 +0000 (UTC)
     From:        "OBATA Akio" <obache@NetBSD.org>
     Message-ID:  <20081026101506.32F7F63B11D@narn.NetBSD.org>

   |  Adding  "msgfmt" to USE_TOOLS should fix this problem.
   |  Can you confirm it?

 I can test it, but no, it doesn't fix it.   I'm not sure why
 yet, the tools wrapper for msgfmt is getting built (with the
 USE_TOOLS+= msgfmt line added to the Makefile) but doesn't
 seem to be being executed - it may have something to do with
 the way that msgfmt is being run (but if PATH is correctly being
 set as it should be, the tools version should be being found -
 I think, I know nothing of the language this is written in.)

 I'll continue looking (as somewhat of a background task) unless
 I get some other suggestions to try.

 Thanks for suggesting this, I knew there was some simple thing to
 fix this kind of problem in most cases.

 kre

From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39805 CVS commit: pkgsrc/net/dcsharp
Date: Fri, 31 Oct 2008 12:00:04 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Fri Oct 31 12:00:04 UTC 2008

 Modified Files:
 	pkgsrc/net/dcsharp: Makefile

 Log Message:
 Need msgfmt to build, added to USE_TOOLS.
 (But not sufficient to fix PR 39805 though).


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 pkgsrc/net/dcsharp/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/39805: net/dcsharp has msgid errors (NetBSD 3.0)
Date: Sat, 30 Jan 2010 21:46:55 +0700

 NetBSD 3 is no longer supported, and I have just confirmed that this
 builds correctly for me on NetBSD 4.0, so I think this PR can close.

 Thanks,

 kre

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 30 Jan 2010 14:53:15 +0000
State-Changed-Why:
Submitter reports problem is fixed, thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.