pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/26587: print/libgnomeprintui can't find headers



>Number:         26587
>Category:       pkg
>Synopsis:       print/libgnomeprintui can't find headers
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 07 19:17:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Cesar Catrian C.
>Release:        NetBSD 2.0_BETA i386
>Organization:
>Environment:


System: NetBSD 2.0_BETA (SAT) #0: Mon Jul  5 09:46:12 CLT 2004
        
cetrox%core.cjc.cl@localhost:/home/cetrox/src/src/sys/arch/i386/compile/obj/SAT



>Description:


This is the output:

 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../libgnomeprintui 
-DWE_ARE_LIBGNOMEPRINT_INTERNALS -I/home/ce
trox/src/pkgsrc/print/libgnomeprintui/work.core/.buildlink/include/gtk-2.0 
-I/home/cetrox/src/pkgsrc/print/libgno
meprintui/work.core/.buildlink/lib/gtk-2.0/include 
-I/home/cetrox/src/pkgsrc/print/libgnomeprintui/work.core/.bui
ldlink/include 
-I/home/cetrox/src/pkgsrc/print/libgnomeprintui/work.core/.x11-buildlink/include
 -I/usr/pkg/packag
es/atk-1.6.1/include/atk-1.0 -I/usr/pkg/packages/pango-1.4.0/include/pango-1.0 
-I/usr/pkg/packages/Xft2-2.1.2nb2/
include -I/usr/pkg/packages/freetype2-2.1.9/include/freetype2 
-I/usr/pkg/packages/freetype2-2.1.9/include -I/usr/
pkg/packages/fontconfig-2.2.95/include 
-I/usr/pkg/packages/glib2-2.4.5/include/glib/glib-2.0 -I/usr/pkg/packages/
glib2-2.4.5/lib/glib-2.0/include 
-I/home/cetrox/src/pkgsrc/print/libgnomeprintui/work.core/.buildlink/include/lib
gnomeprint-2.2 
-I/home/cetrox/src/pkgsrc/print/libgnomeprintui/work.core/.buildlink/include/libart-2.0
 -I/usr/pkg
/packages/libxml2-2.6.11nb1/include/libxml2 
-I/home/cetrox/src/pkgsrc/print/libgnomeprintui/work.core/.buildlink/
include/libgnomecanvas-2.0 -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED 
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOM
ELOCALEDIR=\"/usr/pkg/share/locale\" -DBINDIR=\"/usr/pkg/bin\" 
-DDATADIR=\"/usr/pkg/share\" -I/usr/pkg/packages/a
tk-1.6.1/include -I/usr/pkg/packages/Xrandr-1.0.2/include 
-I/usr/pkg/packages/libbonobo-2.6.2/include -I/usr/pkg/
packages/ORBit2-2.10.3/include -I/usr/pkg/packages/popt-1.7nb4/include 
-I/usr/pkg/packages/libIDL-0.8.3nb1/includ
e -I/usr/pkg/packages/pango-1.4.0/include 
-I/usr/pkg/packages/glib2-2.4.5/include -I/usr/pkg/packages/expat-1.95.
7/include -I/usr/pkg/packages/png-1.2.5nb6/include 
-I/usr/pkg/packages/tiff-3.6.1nb2/include -I/usr/pkg/packages/
jpeg-6bnb1/include -I/usr/pkg/packages/libxml2-2.6.11nb1/include -O2 -Wall 
-Wmissing-prototypes -Wnested-externs 
-Wpointer-arith -Wno-sign-compare -c gpa-widget.c -MT gpa-widget.lo -MD -MP -MF 
.deps/gpa-widget.TPlo  -fPIC -DPI
C -o .libs/gpa-widget.o
In file included from gpa-widget.c:27:
gpa-widget.h:35:46: libgnomeprint/gnome-print-config.h: No such file or 
directory
gpa-widget.h:36:44: libgnomeprint/private/gpa-node.h: No such file or directory
-- undefined functions ...

The right path would be: 
#include <libgnomeprint-2.2/libgnomeprint/gnome-print-config.h>
#include <libgnomeprint-2.2/libgnomeprint/private/gpa-node.h>



>How-To-Repeat:


make at print/gnomeprintui


>Fix:


I am not sure, maybe the build process got wrong paths, something broken at 
bsd.pkg.mk
Anyways, I can build it with this patch:

--- libgnomeprintui/gpaui/gpa-widget.h.orig     2004-08-07 14:27:37.000000000 
-0400
+++ libgnomeprintui/gpaui/gpa-widget.h  2004-08-07 14:28:47.000000000 -0400
@@ -32,8 +32,8 @@
 G_BEGIN_DECLS
 
 #include <gtk/gtkbin.h>
-#include <libgnomeprint/gnome-print-config.h>
-#include <libgnomeprint/private/gpa-node.h>
+#include <libgnomeprint-2.2/libgnomeprint/gnome-print-config.h>
+#include <libgnomeprint-2.2/libgnomeprint/private/gpa-node.h>
 
 #define GPA_TYPE_WIDGET         (gpa_widget_get_type ())
 #define GPA_WIDGET(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), 
GPA_TYPE_WIDGET, GPAWidget))



>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index