pkgsrc-Bugs archive

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

pkg/49986: print/xdvik fails to build on NetBSD-6.1.5/amd64



>Number:         49986
>Category:       pkg
>Synopsis:       print/xdvik fails to build on NetBSD-6.1.5/amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 18 19:30:00 +0000 2015
>Originator:     Greg Oster
>Release:        NetBSD 6.1.5_PATCH
>Organization:
>Environment:
System: NetBSD mickey 6.1.5_PATCH NetBSD 6.1.5_PATCH (QUAD) #0: Mon Apr 6 08:39:39 CST 2015 oster@quad:/u1/builds/build261/src/obj/amd64/u1/builds/build261/src/sys/arch/amd64/compile/QUAD amd64
Architecture: x86_64
Machine: amd64
>Description:

When building print/xdvik, the following error is encountered:

...
depbase=`echo x_util.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I.  -I./gui -DPS_GS -I/usr/pkg/lib -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include   -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -MT x_util.o -MD -MP -MF $depbase.Tpo -c -o x_util.o x_util.c && mv -f $depbase.Tpo $depbase.Po
depbase=`echo xdvi.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I.  -I./gui -DPS_GS -I/usr/pkg/lib -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include   -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -MT xdvi.o -MD -MP -MF $depbase.Tpo -c -o xdvi.o xdvi.c && mv -f $depbase.Tpo $depbase.Po
xdvi.c: In function 'xi2_init_valuators':
xdvi.c:2138:30: error: 'XIScrollClass' undeclared (first use in this function)
xdvi.c:2138:30: note: each undeclared identifier is reported only once for each function it appears in
xdvi.c:2139:3: error: 'XIScrollClassInfo' undeclared (first use in this function)
xdvi.c:2139:22: error: 'scroll' undeclared (first use in this function)
xdvi.c:2139:51: error: expected expression before ')' token
xdvi.c:2141:30: error: 'XIScrollTypeVertical' undeclared (first use in this function)
xdvi.c:2146:35: error: 'XIScrollTypeHorizontal' undeclared (first use in this function)
*** Error code 1

I'm lead to believe this is something to do with using the X11 bits that
ship with NetBSD, as opposed to using the 'modular' X11 bits from pkgsrc.

>How-To-Repeat:

  Use X11 from xsrc, and then:
  
   cd /usr/pkgsrc/print/xdvik
   make package

>Fix:
  please. thanks.
  



Home | Main Index | Thread Index | Old Index