NetBSD Problem Report #48032

From www@NetBSD.org  Tue Jul  9 06:48:23 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2E84571968
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  9 Jul 2013 06:48:23 +0000 (UTC)
Message-Id: <20130709064820.E98E671971@mollari.NetBSD.org>
Date: Tue,  9 Jul 2013 06:48:20 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: graphics/gnuplot, documentation build failure
X-Send-Pr-Version: www-1.0

>Number:         48032
>Category:       pkg
>Synopsis:       graphics/gnuplot, documentation build failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 09 06:50:00 +0000 2013
>Closed-Date:    Tue Jul 09 08:51:00 +0000 2013
>Last-Modified:  Tue Jul 09 08:55:00 +0000 2013
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Generating gnuplot.info in graphics/gnuplot does not work. On NetBSD, this is non-fatal, the package builds and installs just fine. On Solaris, packaging is interrupted.


NetBSD:

gmake[1]: Entering directory `/usr/pkgsrc/graphics/gnuplot/work/gnuplot-4.6.3/docs'
../mkinstalldirs /usr/pkgsrc/graphics/gnuplot/work/.destdir/usr/pkg/share/gnuplot/4.6
/usr/bin/install -c -o root -g wheel -m 644 gnuplot.gih /usr/pkgsrc/graphics/gnuplot/work/.destdir/usr/pkg/share/gnuplot/4.6/gnuplot.gih
/usr/pkgsrc/graphics/gnuplot/work/.tools/bin/makeinfo -I. ./gnuplot.texi --no-split --output=gnuplot.info
Creating texinfo and eldoc strings file
No emacs found - cannot create texinfo file
Creating texinfo and eldoc strings file
No emacs found - cannot create texinfo file


Solaris:

gmake[1]: Entering directory `/pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/gnuplot-4.6.3/docs'
../mkinstalldirs /pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/.destdir/usr/pkgsrc/20130422/share/gnuplot/4.6
/usr/pkgsrc/20130422/bin/install-sh -c -o pkgsrc -g software -m 644 gnuplot.gih /pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/.destdir/usr/pkgsrc/20130422/share/gnuplot/4.6/gnuplot.gih
/pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/.tools/bin/makeinfo -I. ./gnuplot.texi --no-split --output=gnuplot.info
./gnuplot.texi:9205: warning: @ref should not appear in @uref
./gnuplot.texi:17653: raising the section level of @subsubsection which is too low
gmake[1]: *** [gnuplot.info] Error 1
gmake[1]: Leaving directory `/pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/gnuplot-4.6.3/docs'
gmake: *** [install-recursive] Error 1
*** Error code 2


On both platforms, emacs24-24.3nb4 is installed from pkgsrc. The same release of gnuplot did install a few weeks ago, so the root cause is probably somewhere else (probably makeinfo for Solaris, on NetBSD this behavior is probably older). gnuplot.info was not installed in the last successful build on Solaris, either.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: joern.clausen@uni-bielefeld.de
Cc: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Subject: Re: pkg/48032: graphics/gnuplot, documentation build failure
Date: Tue, 9 Jul 2013 10:26:24 +0200

 --x+6KMIRAuhnl3hBn
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline

 On Tue, Jul 09, 2013 at 06:50:00AM +0000, joern.clausen@uni-bielefeld.de wrote:
 > >Synopsis:       graphics/gnuplot, documentation build failure
 > gmake[1]: Entering directory `/pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/gnuplot-4.6.3/docs'
 > ../mkinstalldirs /pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/.destdir/usr/pkgsrc/20130422/share/gnuplot/4.6
 > /usr/pkgsrc/20130422/bin/install-sh -c -o pkgsrc -g software -m 644 gnuplot.gih /pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/.destdir/usr/pkgsrc/20130422/share/gnuplot/4.6/gnuplot.gih
 > /pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/.tools/bin/makeinfo -I. ./gnuplot.texi --no-split --output=gnuplot.info
 > ./gnuplot.texi:9205: warning: @ref should not appear in @uref
 > ./gnuplot.texi:17653: raising the section level of @subsubsection which is too low

 I suspect the texinfo update.
 Can you try the attached diff? It's just a guess though.

 You could also try to investigate why it's even rebuilt -- on NetBSD,
 the info file from the tarball is used.
  Thomas

 --x+6KMIRAuhnl3hBn
 Content-Type: application/x-texinfo
 Content-Disposition: attachment; filename="patch-docs_gnuplot.texi"
 Content-Transfer-Encoding: quoted-printable

 $NetBSD$=0A=0A--- docs/gnuplot.texi.orig	2013-04-12 17:26:15.000000000 +000=
 0=0A+++ docs/gnuplot.texi=0A@@ -17564,6 +17564,7 @@ if/else statements.  Se=
 e `if`.=0A =0A @node complete_list_of_terminals,  , Terminal_types, Termina=
 l_types=0A @section complete list of terminals=0A+@subsection output format=
 s=0A =0A @c ?complete list of terminals=0A @cindex terminal=0A
 --x+6KMIRAuhnl3hBn--

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Subject: Re: pkg/48032: graphics/gnuplot, documentation build failure
Date: Tue, 09 Jul 2013 10:43:44 +0200

 > I suspect the texinfo update.
 > Can you try the attached diff? It's just a guess though.

 There is still a warning, but the error is gone. And the same 
 emacs-related warning is shown:

 gmake[1]: Entering directory 
 `/pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/gnuplot-4.6.3/docs'
 ../mkinstalldirs 
 /pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/.destdir/usr/pkgsrc/20130422/share/gnuplot/4.6
 /usr/pkgsrc/20130422/bin/install-sh -c -o pkgsrc -g software -m 644 
 gnuplot.gih 
 /pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/.destdir/usr/pkgsrc/20130422/share/gnuplot/4.6/gnuplot.gih
 /pkgsrc/source/pkgsrc/graphics/gnuplot/work.pkgsrc-i86/.tools/bin/makeinfo 
 -I. ./gnuplot.texi --no-split --output=gnuplot.info
 ./gnuplot.texi:9205: warning: @ref should not appear in @uref
 Creating texinfo and eldoc strings file
 No emacs found - cannot create texinfo file
 Creating texinfo and eldoc strings file
 No emacs found - cannot create texinfo file

 In other words: The package now behaves exactly like on NetBSD, i.e. it 
 builds and installs.

 Thanks!

 -- 
   Jörn Clausen                             joern.clausen@uni-bielefeld.de
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 09 Jul 2013 08:51:00 +0000
State-Changed-Why:
Fixed, thanks for testing!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48032 CVS commit: pkgsrc/graphics/gnuplot
Date: Tue, 9 Jul 2013 08:50:34 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Tue Jul  9 08:50:34 UTC 2013

 Modified Files:
 	pkgsrc/graphics/gnuplot: distinfo
 Added Files:
 	pkgsrc/graphics/gnuplot/patches: patch-docs_gnuplot.texi

 Log Message:
 Fix build issue with texinfo-5.1, as reported by Jörn Clausen
 in PR 48032. More complete fix already scheduled for next release
 upstream, see http://sourceforge.net/p/gnuplot/bugs/1226/


 To generate a diff of this commit:
 cvs rdiff -u -r1.22 -r1.23 pkgsrc/graphics/gnuplot/distinfo
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/graphics/gnuplot/patches/patch-docs_gnuplot.texi

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

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