pkgsrc-Bugs archive

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

pkg/42038: security/putty-devel compile errors (missing include files) NetBSD 4.0/i386



>Number:         42038
>Category:       pkg
>Synopsis:       security/putty-devel compile errors (missing include files) 
>NetBSD 4.0/i386
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 10 12:20:03 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   pkgsrc current (2009-09-09)
>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:
        security/putty-devel file unix/gtkcols.c fails to find include
        files gdk/gdk.h and gtk/gtkcontainer.h leading (I assume) to
        the many syntax errors detected in an include file that is found
        (../unix/gtkcols.h) and in gtkcols.c itself.

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets and
        sources installed (except the x* sets, I use pkgsrc modular xorg).
        This gives a stable (unchanging) fairly pure NetBSD 4.0 release
        environment in which to build packages.   I kind of doubt that any
        of that is rleevant to this problem.

        In that environment (starting iwth essentially nothing in /usr/pkg
        inside the sandbox, and nothing relevant I can think of in
        /etc/mk.conf) a build of security/putty-devel results in ...

pkg-config: not found
gtk-config: not found
cc  -O2 -DHAVE_NO_SETRESUID -DIPV6 -DOMIT_UTMP -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/include/krb5 -O2 -Wall 
-Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/ 
-I../macosx/  -D _FILE_OFFSET_BITS=64 -I/usr/include/gssapi -I/usr/include/krb5 
 -c ../unix/gtkcols.c
In file included from ../unix/gtkcols.c:5:
../unix/gtkcols.h:10:21: error: gdk/gdk.h: No such file or directory
../unix/gtkcols.h:11:30: error: gtk/gtkcontainer.h: No such file or directory
In file included from ../unix/gtkcols.c:5:
../unix/gtkcols.h:29: error: expected specifier-qualifier-list before 
'GtkContainer'
../unix/gtkcols.h:37: error: expected specifier-qualifier-list before 
'GtkContainerClass'
../unix/gtkcols.h:42: error: expected specifier-qualifier-list before 
'GtkWidget'
../unix/gtkcols.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'columns_get_type'
../unix/gtkcols.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
../unix/gtkcols.h:52: error: expected declaration specifiers or '...' before 
'gint'
cc1: warnings being treated as errors
../unix/gtkcols.h:52: warning: type defaults to 'int' in declaration of 'gint'
../unix/gtkcols.h:52: error: expected ';', ',' or ')' before '*' token
../unix/gtkcols.h:53: error: expected declaration specifiers or '...' before 
'GtkWidget'
../unix/gtkcols.h:54: error: expected declaration specifiers or '...' before 
'gint'
../unix/gtkcols.h:54: error: expected declaration specifiers or '...' before 
'gint'
../unix/gtkcols.h:55: error: expected declaration specifiers or '...' before 
'GtkWidget'
../unix/gtkcols.h:56: error: expected declaration specifiers or '...' before 
'GtkWidget'
../unix/gtkcols.c:6:21: error: gtk/gtk.h: No such file or directory
../unix/gtkcols.c:10: error: expected ')' before '*' token
../unix/gtkcols.c:11: error: expected ')' before '*' token
../unix/gtkcols.c:12:23: error: missing binary operator before token "("
../unix/gtkcols.c:16: error: expected ')' before '*' token
../unix/gtkcols.c:17: error: expected ')' before '*' token
../unix/gtkcols.c:18: error: expected ')' before '*' token
../unix/gtkcols.c:20:23: error: missing binary operator before token "("
../unix/gtkcols.c:23: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'columns_child_type'
../unix/gtkcols.c:24: error: expected ')' before '*' token

        [ and many more errors of a similar nature ]

        Before building, this package installed gtk2+-2.16.6nb2
        (nothing else I can immediately see in the build log that
        might be responsible for the missing include files).

>Fix:



Home | Main Index | Thread Index | Old Index