Subject: pkg/34020: Inkscape fails to build on NetBSD 3.0/i386
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <oster@cs.usask.ca>
List: pkgsrc-bugs
Date: 07/17/2006 18:25:00
>Number: 34020
>Category: pkg
>Synopsis: Inkscape fails to build on NetBSD 3.0/i386
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 17 18:25:00 +0000 2006
>Originator: oster@cs.usask.ca
>Release: NetBSD 3.0
>Organization:
>Environment:
NetBSD gonzo 3.0 NetBSD 3.0 (GONZO) #1: Fri Mar 17 09:11:54 CST 2006 oster@gonzo:/u1/builds/build94/src/sys/arch/i386/compile/GONZO i386
Architecture: i386
Machine: i386
>Description:
Attempt to build inkscape on NetBSD 3.0/i386. Watch it keel over,
unhappy that it can't find log2() (which exists in -current, but not
in 3.0):
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/freetype2 -I/usr/pkg/include -pthread -DORBIT2=1 -I/usr/pkg/include/gnome-vfs-2.0 -I/usr/pkg/lib/gnome-vfs-2.0/include -I/usr/pkg/include/bonobo-activation-2.0 -I/usr/pkg/include/libbonobo-2.0 -I/usr/pkg/include/gconf/2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/orbit-2.0 -DXTHREADS -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -DPOTRACE=\"potrace\" -pthread -I/usr/pkg/include/gdkmm-2.4 -I/usr/pkg/lib/gdkmm-2.4/include -I/usr/pkg/include/glibmm-2.4 -I/usr/pkg/lib/glibmm-2.4/include -I/usr/pkg/include/pangomm-1.4 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/sigc++-2.0 -I/usr/pkg/lib/sigc++-2.0/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/gtkmm-2.4 -I/usr/pkg/lib/gtkmm-2.4/in
clude -I/usr/pkg/include/atkmm-1.6 -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/libxml2 -I/usr/pkg/include/gtkspell-2.0 -I../cxxtest -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O2 -pipe -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -MT trace/potrace/inkscape-potrace.o -MD -MP -MF "trace/potrace/.deps/inkscape-potrace.Tpo" \
-c -o trace/potrace/inkscape-potrace.o `test -f 'trace/potrace/inkscape-potrace.cpp' || echo './'`trace/potrace/inkscape-potrace.cpp; \
then mv -f "trace/potrace/.deps/inkscape-potrace.Tpo" "trace/potrace/.deps/inkscape-potrace.Po"; \
else rm -f "trace/potrace/.deps/inkscape-potrace.Tpo"; exit 1; \
fi
trace/potrace/inkscape-potrace.cpp: In function `IndexedMap*
Inkscape::Trace::Potrace::filterIndexed(Inkscape::Trace::Potrace::PotraceTracingEngine&,
GdkPixbuf*)':
trace/potrace/inkscape-potrace.cpp:289: error: `log2' undeclared (first use
this function)
trace/potrace/inkscape-potrace.cpp:289: error: (Each undeclared identifier is
reported only once for each function it appears in.)
gmake[2]: *** [trace/potrace/inkscape-potrace.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/graphics/inkscape/work.gonzo/inkscape-0.44/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/graphics/inkscape/work.gonzo/inkscape-0.44'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/graphics/inkscape
gonzo>
>How-To-Repeat:
On a NetBSD 3.0/i386 box do:
cd /usr/pkgsrc/graphics/inkscape
make package
>Fix:
Please.