NetBSD Problem Report #52860
From www@NetBSD.org Sun Dec 24 23:03:18 2017
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 AC20A7A1A0
for <gnats-bugs@gnats.NetBSD.org>; Sun, 24 Dec 2017 23:03:18 +0000 (UTC)
Message-Id: <20171224230317.9A2BC7A1EF@mollari.NetBSD.org>
Date: Sun, 24 Dec 2017 23:03:17 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: math/gnumeric112 build fails
X-Send-Pr-Version: www-1.0
>Number: 52860
>Category: pkg
>Synopsis: math/gnumeric112 build fails
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 24 23:05:00 +0000 2017
>Closed-Date: Tue Dec 26 16:48:14 +0000 2017
>Last-Modified: Tue Dec 26 16:50:00 +0000 2017
>Originator: John D. Baker
>Release: NetBSD/amd64-8.0_BETA, pkgsrc-HEAD (pre-pkgsrc-2017Q4)
>Organization:
>Environment:
>Description:
Building "math/gnumeric112" fails with:
[...]
GEN cs/
Warning: Could not merge de translation for msgid:
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this <ulink type="help" url="ghelp:fdl">link</ulink> or in the file COPYING-DOCS distributed with this manual.
Warning: Could not merge cs translation for msgid:
The chapters of this version of the <application>Gnumeric</application> manual are organized as follows: <_:itemizedlist-1/>
Warning: Could not merge cs translation for msgid:
Both the <guimenu>Edit</guimenu> menu and the context menu have an extra menu entry called <guimenuitem>Paste Special...</guimenuitem> which can be used during a cut and paste operation to selectively transfer some of the original cell contents or to alter the contents in specific ways. This option allows the transfer of only the cell contents, only the cell formats or only the calculated values of the cells. The transferred contents can also be mathematically combined with the current contents of cells in the new location. Alternatively, the selection can be transposed. See <xref linkend="sect-movecopy-pastespecial"/> for more information on the <guimenuitem>Paste Special...</guimenuitem> command.
Warning: Could not merge cs translation for msgid:
An existing spreadsheet file can be opened in several ways. If the file has an icon on the desktop, this icon can be clicked or double-clicked with the mouse button. Similarly, if a file manager, such as the <application>Nautilus</application> file manager, lists the file, then the file name can be clicked and opened. If <application>Gnumeric</application> is already opened, a file can be opened by clicking on the <guimenu>File</guimenu> and selecting the <guimenuitem>Open</guimenuitem> menu item. Alternatively, the "Open file" button on the toolbar, <inlinemediaobject> <imageobject> <imagedata fileref="figures/button-open.png" format="PNG"/> </imageobject> <textobject> <phrase>An image of the "Open File" button.</phrase> </textobject> </inlinemediaobject>, can be used or the <keycap>F3</keycap> key clicked. All three of these open the <interface>Open File</interface> dialog. You can then select the spreadsheet file you wish to open. <application>Gnumeric</application> can open many
different types of spreadsheet file formats.
Warning: Could not merge cs translation for msgid:
To finish the function, close the parenthesis. The cell should now show =sum(B1:C2). Press enter and the formula is entered.
Warning: Could not merge cs translation for msgid:
This tab allows you to choose the border for the selected cells. You can select one of many border styles (none, single line, double line,...) and colors. You can also have different borders on different sides of the cell. <_:figure-1/> To choose a border for a cell or a selection, select border style and color in the right side of the tab and click on the buttons corresponding to the sides of the cells in the left side of the tab. In addition to the buttons for left, right, top, and bottom sides, you also have buttons for drawing diagonal and reverse diagonal of the cell. (Strictly speaking, these cannot be called borders, but it is natural to put them in this tab.) The lowest row of buttons contains buttons <guibutton>None</guibutton> and <guibutton>Outline</guibutton>. Clicking on <guibutton>None</guibutton> removes all borders from the cell; clicking on <guibutton>Outline</guibutton> puts border on all sides of the cell or selection.
Error: Could not merge translations:
'ascii' codec can't decode byte 0xc2 in position 97: ordinal not in range(128)
Makefile:1408: recipe for target 'cs/cs.stamp' failed
gmake[2]: *** [cs/cs.stamp] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/d0/build/pkgsrc/math/gnumeric112/work/gnumeric-1.12.36/doc'
Makefile:662: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/d0/build/pkgsrc/math/gnumeric112/work/gnumeric-1.12.36'
Makefile:519: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
Stop.
make[1]: stopped in /d0/nbsd/pkgsrc/math/gnumeric112
*** Error code 1
Stop.
make: stopped in /d0/nbsd/pkgsrc/math/gnumeric112
Also seen in bulk builds of pkgsrc-HEAD beginning with:
http://mail-index.netbsd.org/pkgsrc-bulk/2017/10/07/msg014942.html
>How-To-Repeat:
Attempt to build "math/gnumeric112" after the update to 1.12.35 or
1.12.36 (pkgsrc-HEAD as of the date of this PR).
>Fix:
>Release-Note:
>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52860: math/gnumeric112 build fails
Date: Tue, 26 Dec 2017 08:38:58 -0600 (CST)
I couldn't see the byte about which the build complained in any of the
"${WRKSRC}/doc/cs/*" files.
Noticing the "de/de.stamp" and "es/es.stamp" files were still zero length,
but updated to the current date/time, I simply used:
$ touch ${WRKSRC}/doc/cs/cs.stamp
and re-started the build. It completed. I don't need those message
translations, so if they're busted it won't affect me.
While it would be nice for the build to complete on its own, I at least
have a workaround.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/52860: math/gnumeric112 build fails
Date: Tue, 26 Dec 2017 16:27:04 +0100
On Tue, Dec 26, 2017 at 02:40:01PM +0000, John D. Baker wrote:
> The following reply was made to PR pkg/52860; it has been noted by GNATS.
>
> From: "John D. Baker" <jdbaker@mylinuxisp.com>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: pkg/52860: math/gnumeric112 build fails
> Date: Tue, 26 Dec 2017 08:38:58 -0600 (CST)
>
> I couldn't see the byte about which the build complained in any of the
> "${WRKSRC}/doc/cs/*" files.
>
> Noticing the "de/de.stamp" and "es/es.stamp" files were still zero length,
> but updated to the current date/time, I simply used:
>
> $ touch ${WRKSRC}/doc/cs/cs.stamp
>
> and re-started the build. It completed. I don't need those message
> translations, so if they're busted it won't affect me.
>
> While it would be nice for the build to complete on its own, I at least
> have a workaround.
I tried adding this to a 'post-extract' target, but it wasn't
sufficient. Perhaps your aborted first try left behind some target
files that were good enough for make(1) on the second try, but the
stamp file alone isn't it.
Thomas
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52860: math/gnumeric112 build fails
Date: Tue, 26 Dec 2017 10:20:29 -0600 (CST)
On Tue, 26 Dec 2017, Thomas Klausner wrote:
> I tried adding this to a 'post-extract' target, but it wasn't
> sufficient. Perhaps your aborted first try left behind some target
> files that were good enough for make(1) on the second try, but the
> stamp file alone isn't it.
I should have said that there was a "${WRKSRC}/doc/cs/cs.mo" file
generated, similar to "de/de.mo" and "es/es.mo", so all that was
needed was to touch the "cs.stamp" file. No clue if the "cs.mo" file
is complete, however.
I noticed in the "cs/cs.po" file a number of "0x8A" bytes and recall some
issue with UTF-8 changes in another package (relating to O-umlaut) having
to do with needing to parse comments. Apparently these don't cause issue,
but the claim of a "0xC2" byte someplace I didn't see.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 26 Dec 2017 16:48:14 +0000
State-Changed-Why:
Worked around by disabling the cs translation for now.
There are upstream bugs with both gnumeric and itstool, so hopefully
one or the other will fix it and we can revert this.
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/52860 CVS commit: pkgsrc/math/gnumeric112
Date: Tue, 26 Dec 2017 16:45:41 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Tue Dec 26 16:45:41 UTC 2017
Modified Files:
pkgsrc/math/gnumeric112: Makefile PLIST distinfo
Added Files:
pkgsrc/math/gnumeric112/patches: patch-doc_Makefile.in
Log Message:
gnumeric: update to 1.12.36nb1.
Disable cs translation to fix build despite broken itstool 2.0.4
(see https://github.com/itstool/itstool/issues/22)
Addresses PR 52860 by John D. Baker.
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/math/gnumeric112/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/gnumeric112/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/math/gnumeric112/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/gnumeric112/patches/patch-doc_Makefile.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>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.