pkgsrc-Users archive

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

pinentry won't build with gtk2 option



The failure happens on 4.0 and -current.

if cc -DHAVE_CONFIG_H -I. -I. -I..  -D_POSIX_THREAD_SAFE_FUNCTIONS 
-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo 
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12 
-I/usr/pkg/include/pixman-1   -I../secmem -I../pinentry  -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -Wall  -O2 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -Wall -Wcast-align -Wshadow 
-Wstrict-prototypes -MT gtksecentry.o -MD -MP -MF ".deps/gtksecentry.Tpo" -c -o 
gtksecentry.o gtksecentry.c;  then mv -f ".deps/gtksecentry.Tpo" 
".deps/gtksecentry.Po"; else rm -f ".deps/gtksecentry.Tpo"; exit 1; fi
In file included from 
/usr/pkgsrc/security/pinentry/work/.buildlink/include/gtk-2.0/gtk/gtkactiongroup.h:34,
                 from 
/usr/pkgsrc/security/pinentry/work/.buildlink/include/gtk-2.0/gtk/gtk.h:38,
                 from gtksecentry.c:40:
/usr/pkgsrc/security/pinentry/work/.buildlink/include/gtk-2.0/gtk/gtkitemfactory.h:50:
 warning: function declaration isn't a prototype
gtksecentry.c:274: error: conflicting types for 'g_malloc'
/usr/pkgsrc/security/pinentry/work/.buildlink/include/glib/glib-2.0/glib/gmem.h:47:
 error: previous declaration of 'g_malloc' was here
gtksecentry.c:292: error: conflicting types for 'g_malloc0'
/usr/pkgsrc/security/pinentry/work/.buildlink/include/glib/glib-2.0/glib/gmem.h:48:
 error: previous declaration of 'g_malloc0' was here
gtksecentry.c:312: error: conflicting types for 'g_realloc'
/usr/pkgsrc/security/pinentry/work/.buildlink/include/glib/glib-2.0/glib/gmem.h:50:
 error: previous declaration of 'g_realloc' was here
gtksecentry.c: In function 'get_cursor_time':
gtksecentry.c:3213: warning: declaration of 'time' shadows a global declaration
/usr/include/time.h:99: warning: shadowed declaration is here
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/pinentry/work/pinentry-0.7.2/gtk+-2
*** Error code 1



                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index