NetBSD Problem Report #46511

From www@NetBSD.org  Fri Jun  1 10:47:13 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 32D5463B88D
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  1 Jun 2012 10:47:13 +0000 (UTC)
Message-Id: <20120601104711.7925863B882@www.NetBSD.org>
Date: Fri,  1 Jun 2012 10:47:11 +0000 (UTC)
From: noud4@home.nl
Reply-To: noud4@home.nl
To: gnats-bugs@NetBSD.org
Subject: math/gnumeric and gnumeric110 miss psiconv dependency, so do not build
X-Send-Pr-Version: www-1.0

>Number:         46511
>Category:       pkg
>Synopsis:       math/gnumeric and gnumeric110 miss psiconv dependency, so do not build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 01 10:50:00 +0000 2012
>Closed-Date:    Sat Jun 02 07:11:27 +0000 2012
>Last-Modified:  Sat Jun 02 07:15:07 +0000 2012
>Originator:     Noud de Brouwer
>Release:        6.99.4
>Organization:
-none-
>Environment:
NetBSD 10.0.2.17 6.99.4 NetBSD 6.99.4 (MONOLITHIC) #0: Wed Apr 18 09:37:46 UTC 2012  mickey55@10.0.2.17:/obj-src/sys/arch/i386/compile/MONOLITHIC i386
>Description:
Both math/gnumeric and gnumeric110 miss psiconv dependency, so do not build. And i am unaware any other dependency that should bring psiconv with it to the gnumeric pkg builds.

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DGNOMELOCALEDIR=\"/usr/pkg/share/locale\" -I../../src -D_REENTRANT -pthread -I/obj/math/gnumeric/work/.buildlink/include/libgoffice-0.6 -I/obj/math/gnumeric/work/.buildlink/include/glib/glib-2.0 -I/obj/math/gnumeric/work/.buildlink/lib/glib-2.0/include -I/obj/math/gnumeric/work/.buildlink/include/libgsf-1 -I/obj/math/gnumeric/work/.buildlink/include/libxml2 -I/obj/math/gnumeric/work/.buildlink/include/gtk-2.0 -I/obj/math/gnumeric/work/.buildlink/include/libglade-2.0 -I/obj/math/gnumeric/work/.buildlink/include/libart-2.0 -I/obj/math/gnumeric/work/.buildlink/include/cairo -I/obj/math/gnumeric/work/.buildlink/include/pango-1.0 -I/obj/math/gnumeric/work/.buildlink/include -I/obj/math/gnumeric/work/.buildlink/lib/gtk-2.0/include -I/obj/math/gnumeric/work/.buildlink/include/atk-1.0 -I/obj/math/gnumeric/work/.buildlink/include/gdk-pixbuf-2.0 -I/obj/math/gnumeric/work/.buildlink/include/glib/gio-unix-2.0/ -I/obj/math/gnumeric/work/
 .buildlink/include/pixman-1 -I/obj/math/gnumeric/work/.buildlink/include/freetype2 -I/obj/math/gnumeric/work/.buildlink/include/libpng15 -O2 -Wall -Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested-externs -Wmissing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-pointer-sign -MT psiconv-read.lo -MD -MP -MF .deps/psiconv-read.Tpo -c psiconv-read.c  -fPIC -DPIC -o .libs/psiconv-read.o
psiconv-read.c:53:27: fatal error: psiconv/parse.h: No such file or directory
compilation terminated.
gmake[3]: *** [psiconv-read.lo] Error 1
gmake[3]: Leaving directory `/obj/math/gnumeric/work/gnumeric-1.8.4/plugins/psiconv'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/obj/math/gnumeric/work/gnumeric-1.8.4/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/obj/math/gnumeric/work/gnumeric-1.8.4'
gmake: *** [all] Error 2
*** Error code 2
>How-To-Repeat:
cd math/gnumeric && make
and
cd math/gnumeric110 && make
>Fix:
math/gnumeric:

--- Makefile.orig	2012-06-01 10:52:17.000000000 +0000
+++ Makefile	2012-06-01 13:35:42.000000000 +0000
@@ -28,6 +28,8 @@
 .include "../../lang/python/application.mk"
 .include "../../devel/py-gobject/buildlink3.mk"

+.include "../../converters/psiconv/buildlink3.mk"
+
 # XXX: that version's not in pkgsrc yet
 #BUILDLINK_API_DEPENDS.libgda+=	libgda>=3.1.1
 #.include "../../databases/libgda/buildlink3.mk"

math/gnumeric110:

--- Makefile.orig	2012-06-01 11:51:48.000000000 +0000
+++ Makefile	2012-06-01 11:52:59.000000000 +0000
@@ -34,6 +34,8 @@

 #CONFIGURE_ARGS+=	--with-gnome

+.include "../../converters/psiconv/buildlink3.mk"
+
 .include "../../devel/glib2/schemas.mk"
 # XXX: that version's not in pkgsrc yet
 #BUILDLINK_API_DEPENDS.libgda+=	libgda>=3.1.1

>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/46511: math/gnumeric and gnumeric110 miss psiconv
 dependency, so do not build
Date: Fri, 1 Jun 2012 12:54:04 +0200

 On Fri, Jun 01, 2012 at 10:50:00AM +0000, noud4@home.nl wrote:
 > Both math/gnumeric and gnumeric110 miss psiconv dependency, so do not build. And i am unaware any other dependency that should bring psiconv with it to the gnumeric pkg builds.

 I guess they only don't build when you have psiconv installed. Could
 you make it optional or do you think it's a good standard dependency?
  Thomas

From: Noud de Brouwer <noud4@home.nl>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/46511: math/gnumeric and gnumeric110 miss psiconv
 dependency, so do not build
Date: Fri, 01 Jun 2012 13:54:25 +0000

 On Fri, 2012-06-01 at 10:55 +0000, Thomas Klausner wrote:
 >  I guess they only don't build when you have psiconv installed. Could
 >  you make it optional or do you think it's a good standard dependency?

 Spot-on right, it's an opt-out configuration feature
 and should never be a standard dependency.
 This has to be an option indeed,
 so new options.mk and patch to Makefile.

 options.mk:

 # $NetBSD$

 PKG_OPTIONS_VAR=	PKG_OPTIONS.gnumeric
 PKG_SUPPORTED_OPTIONS=	psiconv

 .include "../../mk/bsd.options.mk"

 .if !empty(PKG_OPTIONS:Mpsiconv)
 .include "../../converters/psiconv/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=	--without-psiconv
 .endif

 Makefile patch:

 --- Makefile.orig	2012-06-01 10:52:17.000000000 +0000
 +++ Makefile	2012-06-01 16:00:16.000000000 +0000
 @@ -28,6 +28,8 @@
  .include "../../lang/python/application.mk"
  .include "../../devel/py-gobject/buildlink3.mk"

 +.include "options.mk"
 +
  # XXX: that version's not in pkgsrc yet
  #BUILDLINK_API_DEPENDS.libgda+=	libgda>=3.1.1
  #.include "../../databases/libgda/buildlink3.mk"

 Same goes for gnumeric110.

 (what did happen was i did build gnumeric,
 then all in converters, then failed update gnumeric.)

 Noud

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 02 Jun 2012 07:11:27 +0000
State-Changed-Why:
Committed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46511 CVS commit: pkgsrc/math/gnumeric
Date: Sat, 2 Jun 2012 07:10:53 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Sat Jun  2 07:10:53 UTC 2012

 Modified Files:
 	pkgsrc/math/gnumeric: Makefile
 Added Files:
 	pkgsrc/math/gnumeric: options.mk

 Log Message:
 Add an option for psiconv support, and turn it off by default.
 Fixes PR 46511 by Nouod de Brouwer.

 Set LICENSE while here.


 To generate a diff of this commit:
 cvs rdiff -u -r1.155 -r1.156 pkgsrc/math/gnumeric/Makefile
 cvs rdiff -u -r0 -r1.1 pkgsrc/math/gnumeric/options.mk

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

From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46511 CVS commit: pkgsrc/math/gnumeric110
Date: Sat, 2 Jun 2012 07:11:09 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Sat Jun  2 07:11:09 UTC 2012

 Modified Files:
 	pkgsrc/math/gnumeric110: Makefile
 Added Files:
 	pkgsrc/math/gnumeric110: options.mk

 Log Message:
 Add an option for psiconv support, and turn it off by default.
 Fixes PR 46511 by Nouod de Brouwer (using his patch).


 To generate a diff of this commit:
 cvs rdiff -u -r1.33 -r1.34 pkgsrc/math/gnumeric110/Makefile
 cvs rdiff -u -r0 -r1.1 pkgsrc/math/gnumeric110/options.mk

 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.