pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40206: www/nvu w pkgsrc modular xorg compile errors (NetBSD 4)
>Number: 40206
>Category: pkg
>Synopsis: www/nvu w pkgsrc modular xorg compile errors (NetBSD 4)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 17 14:55:00 +0000 2008
>Originator: Robert Elz
>Release: NetBSD 4.0_STABLE (pkgsrc current within past 6 hours)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
www/nvu appears to not support pkgsrc modular xorg
(maybe not in-tree modular xorg either, cannot test
that one at the minute).
It builds fine with XFree86 (exact same nvu, exact same
underlying system, exact same buld method, , but with XFree86
installed form the release sets and no X11_TYPE setting at
all in mk.comf).
>How-To-Repeat:
Use X11_TYPE=modular and (perhaps) NetBSD 4.0, but
without the release X sets installed. I use pkg_comp
with libkver but I doubt that's relevant. NetBSD 4
probably isn't relevant either.
Building www/nvu (pkg_comp build www/nvu) reeults in
make[2]: Entering directory
`/pkg_comp/obj/pkgsrc/www/nvu/4x/mozilla/widget/src/gtkxtbin'
gtkxtbin.c
cc -o gtkxtbin.o -c -DOSTYPE=\"NetBSD4\" -DOSARCH=\"NetBSD\" -D_IMPL_NS_WIDGET
-DUSE_XIM -I../../../dist/include/gtkxtbin -I../../../dist/include
-I/pkg_comp/obj/pkgsrc/www/nvu/4x/mozilla/dist/include/nspr -I. -fPIC
-DPIC -I/usr/pkg/include/libIDL-2.0 -I/usr/pkg/include -I/usr/include -Wall -W
-Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -O2
-I/usr/pkg/include -I/usr/include -Dunix -pthread -pipe -DDEBUG -D_DEBUG
-DDEBUG_root -DTRACING -g -I/usr/pkg/include/gtk-1.2
-I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include
-I/usr/pkg/include/libIDL-2.0 -I/usr/pkg/include -I/usr/include -include
../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/gtkxtbin.pp gtkxtbin.c
In file included from
/pkg_comp/obj/pkgsrc/www/nvu/4x/.buildlink/include/gtk-1.2/gdk/gdktypes.h:33,
from
/pkg_comp/obj/pkgsrc/www/nvu/4x/.buildlink/include/gtk-1.2/gdk/gdk.h:31,
from
/pkg_comp/obj/pkgsrc/www/nvu/4x/.buildlink/include/gtk-1.2/gtk/gtkwidget.h:30,
from gtkxtbin.h:43,
from gtkxtbin.c:45:
/pkg_comp/obj/pkgsrc/www/nvu/4x/.buildlink/include/glib/glib-1.2/glib.h:1316:23:
warning: ISO C does not permit named variadic macros
/pkg_comp/obj/pkgsrc/www/nvu/4x/.buildlink/include/glib/glib-1.2/glib.h:1319:25:
warning: ISO C does not permit named variadic macros
/pkg_comp/obj/pkgsrc/www/nvu/4x/.buildlink/include/glib/glib-1.2/glib.h:1322:26:
warning: ISO C does not permit named variadic macros
/pkg_comp/obj/pkgsrc/www/nvu/4x/.buildlink/include/glib/glib-1.2/glib.h:1325:25:
warning: ISO C does not permit named variadic macros
In file included from gtkxtbin.c:45:
gtkxtbin.h:44:27: error: X11/Intrinsic.h: No such file or directory
In file included from gtkxtbin.c:45:
gtkxtbin.h:71: error: expected specifier-qualifier-list before 'Widget'
gtkxtbin.h:84: error: expected declaration specifiers or '...' before 'String'
gtkxtbin.h:93: error: expected specifier-qualifier-list before 'XtTranslations'
gtkxtbin.h:97: warning: struct has no members
gtkxtbin.h:100: error: expected specifier-qualifier-list before 'Widget'
gtkxtbin.h:129: warning: struct has no members
gtkxtbin.c:60:23: error: X11/Shell.h: No such file or directory
gtkxtbin.c:62:28: error: X11/StringDefs.h: No such file or directory
gtkxtbin.c:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
gtkxtbin.c: In function 'xt_event_prepare':
gtkxtbin.c:93: warning: ISO C forbids braced-groups within expressions
gtkxtbin.c:95: warning: ISO C forbids braced-groups within expressions
gtkxtbin.c: In function 'xt_event_check':
gtkxtbin.c:105: warning: ISO C forbids braced-groups within expressions
gtkxtbin.c:112: warning: ISO C forbids braced-groups within expressions
gtkxtbin.c:117: warning: ISO C forbids braced-groups within expressions
gtkxtbin.c: In function 'xt_event_dispatch':
gtkxtbin.c:128: error: 'XtAppContext' undeclared (first use in this function)
gtkxtbin.c:128: error: (Each undeclared identifier is reported only once
gtkxtbin.c:128: error: for each function it appears in.)
gtkxtbin.c:128: error: expected ';' before 'ac'
gtkxtbin.c:129: warning: ISO C90 forbids mixed declarations and code
gtkxtbin.c:132: error: 'ac' undeclared (first use in this function)
and a lot more errors, but after failing to find a
base X11 include file, compilation errors are what I'd
expecvt (why doesn't gcc just error out when it fails to
find include files, I wonder, rather than producing all this
noise...)
>Fix:
Either find an xorg replacement for Intrinsic.h or find out
why xorg's version of that was not found, or whatever went
wrong - perhaps een just missing dependedencies (this build
would have started with a fairly empty sandbox, almost
nothing installed - though I have seen the same error in
a build that would have been after lots of earlier builds which
should have installed most of the needed X libraries and headers)
Home |
Main Index |
Thread Index |
Old Index