Subject: pkg/18594: news/gtk2-pan does not build
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@menta.net>
List: netbsd-bugs
Date: 10/09/2002 12:11:08
>Number:         18594
>Category:       pkg
>Synopsis:       news/gtk2-pan does not build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 09 03:07:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Julio Merino
>Release:        NetBSD 1.6I
>Organization:
HispaBSD
>Environment:
	
	
System: NetBSD darkstar.local 1.6I NetBSD 1.6I (DARKSTAR) #4: Tue Oct 8 12:48:01 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
	The package news/gtk2-pan fails to build because some header conflicts.
	I've tried updating pkgsrc but it still fails.

	Here is a partial log:

Script started on Wed Oct  9 10:41:17 2002
$ make ; exit
=> Checksum OK for pan-0.13.0.tar.bz2.
work.i386 -> /var/build/obj/pkgsrc/news/gtk2-pan/work.i386
===> Extracting for pan-0.13.0
===> Required installed package libiconv>=1.8: libiconv-1.8 found
===> Required installed package gtkspell>=2.0.2: gtkspell-2.0.2 found
===> Required installed package libpspell>=0.12.2nb1: libpspell-0.12.2nb1 found
===> Required installed package gtk2+>=2.0.6nb1: gtk2+-2.0.6nb2 found
===> Required installed package atk>=1.0.3nb2: atk-1.0.3nb2 found
===> Required installed package glib2>=2.0.6nb1: glib2-2.0.6nb1 found
===> Required installed package ptl>=2.1.7: ptl-2.1.8 found
===> Required installed package pango>=1.0.4nb1: pango-1.0.4nb1 found
===> Required installed package jpeg-6b: jpeg-6b found
===> Required installed package png>=1.2.4: png-1.2.4 found
===> Required installed package tiff>=3.5.4: tiff-3.5.7 found
===> Required installed package libxml2>=2.4.24nb1: libxml2-2.4.24nb1 found
===> Required installed package perl>=5.0: perl-5.6.1nb7 found
===> Required installed package x11-links>=0.8: x11-links-0.8 found
===> Required installed package pkgconfig-[0-9]*: pkgconfig-0.13.0 found
===> Patching for pan-0.13.0
===> Applying NetBSD patches for pan-0.13.0
===> Buildlinking for pan-0.13.0
===> Configuring for pan-0.13.0
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for intltool >= 0.21... 0.22 found
checking for perl... /usr/pkg/bin/perl
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i386--netbsdelf-gcc... ptlgcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether ptlgcc accepts -g... yes
checking dependency style of ptlgcc... gcc
checking for fchmod... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for strerror in -lcposix... no
checking for i386--netbsdelf-gcc... (cached) ptlgcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether ptlgcc accepts -g... (cached) yes
checking dependency style of ptlgcc... (cached) gcc
checking how to run the C preprocessor... ptlgcc -E
checking for gawk... (cached) awk
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether make sets ${MAKE}... (cached) yes
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ssize_t... yes
checking for ptlgcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  ca cs da de el en_GB es et fi fr ga gl hu it ja ko lt no nl pl pt pt_BR ru sk sl sp sr sv tr uk zh_CN
checking for bind_textdomain_codeset... no
checking for bind_textdomain_codeset in -lintl... no
checking for pkg-config... /usr/pkg/bin/pkg-config
checking for glib-2.0 >= 2.0.4
                        gobject-2.0 >= 2.0.4
                        gthread-2.0 >= 2.0.4... yes
checking GLIB_CFLAGS... -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include  
checking GLIB_LIBS... -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv  
checking for gtk+-2.0 >= 2.0.5... yes
checking GTK_CFLAGS... -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/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include  
checking GTK_LIBS... -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv  
checking for libxml-2.0 >= 2.4.22... yes
checking XML_CFLAGS... -I/usr/pkg/include/libxml2 -I/usr/pkg/include  
checking XML_LIBS... -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 -lz -lm  
try_gtkspell auto
trying gtkspell
checking for gtkspell-2.0 = 2.0.0... yes
checking GTKSPELL_CFLAGS... -I/usr/pkg/include/gtkspell-2.0 -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/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include  
checking GTKSPELL_LIBS... -Wl,-R/usr/pkg/lib -Wl,--export-dynamic -L/usr/pkg/lib -lgtkspell -lpspell -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv  
checking build system type... i386-unknown-netbsdelf1.6I
checking host system type... i386--netbsdelf
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... /bin/sh: Can't open ./config.rpath
done
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking preferred charset formats for system iconv... found
checking for timezone variable... yes
checking for ANSI C header files... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for isblank... yes
checking for mmap... yes
checking for munmap... (cached) yes
checking for msync... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pan.spec
config.status: creating po/Makefile.in
config.status: creating pan/Makefile
config.status: creating pan/base/Makefile
config.status: creating pan/filters/Makefile
config.status: creating pan/rules/Makefile
config.status: creating pan/identities/Makefile
config.status: creating pan/dialogs/Makefile
config.status: creating pan/xpm/Makefile
config.status: creating gmime/Makefile
config.status: creating docs/Makefile
config.status: creating tests/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/data/messages/Makefile
config.status: creating tests/data/messages/cache/Makefile
config.status: creating tests/data/tmp/Makefile
config.status: creating tests/data/save/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing depfiles commands
config.status: executing default-2 commands


Configuration:

	Source code location:	.
	Compiler:		ptlgcc
	GtkSpell enabled:       yes


===> Building for pan-0.13.0

[log stripped]

source='smtp.c' object='smtp.o' libtool=no  depfile='.deps/smtp.Po' tmpdepfile='.deps/smtp.TPo'  depmode=gcc /bin/sh ../depcomp  ptlgcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -DG_LOG_DOMAIN=\"pan\"  -DGNOMELOCALEDIR=\""/usr/pkg/share/locale"\"  -DLOCALEDIR=\"/usr/pkg/share/locale\"    -I/usr/pkg/include/gtkspell-2.0 -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/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include  -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/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include  -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include  -I/usr/pkg/include/libxml2 -I/usr/pkg/include    -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/pkg/PTL/include   -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/pkg/PTL/include  -I/usr/pkg/include -I/usr/X11R6/include -O2 -I. -c `test -f 'smtp.c' || echo './'`smtp.c
source='sockets.c' object='sockets.o' libtool=no  depfile='.deps/sockets.Po' tmpdepfile='.deps/sockets.TPo'  depmode=gcc /bin/sh ../depcomp  ptlgcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -DG_LOG_DOMAIN=\"pan\"  -DGNOMELOCALEDIR=\""/usr/pkg/share/locale"\"  -DLOCALEDIR=\"/usr/pkg/share/locale\"    -I/usr/pkg/include/gtkspell-2.0 -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/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include  -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/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include  -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include  -I/usr/pkg/include/libxml2 -I/usr/pkg/include    -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/pkg/PTL/include   -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/pkg/PTL/include  -I/usr/pkg/include -I/usr/X11R6/include -O2 -I. -c `test -f 'sockets.c' || echo './'`sockets.c
In file included from /usr/pkg/PTL/include/signal.h:33,
                 from sockets.c:35:
/usr/pkg/include/pthread.h:275: conflicting types for `pthread_t'
/usr/pkg/PTL/include/sys/types.h:79: previous declaration of `pthread_t'
/usr/pkg/include/pthread.h:276: conflicting types for `pthread_attr_t'
/usr/pkg/PTL/include/sys/types.h:83: previous declaration of `pthread_attr_t'
/usr/pkg/include/pthread.h:277: redefinition of `pthread_key_t'
/usr/pkg/PTL/include/sys/types.h:173: `pthread_key_t' previously declared here
/usr/pkg/include/pthread.h:278: conflicting types for `pthread_once_t'
/usr/pkg/PTL/include/sys/types.h:167: previous declaration of `pthread_once_t'
/usr/pkg/include/pthread.h:279: conflicting types for `pthread_mutexattr_t'
/usr/pkg/PTL/include/sys/types.h:93: previous declaration of `pthread_mutexattr_t'
/usr/pkg/include/pthread.h:280: conflicting types for `pthread_mutex_t'
/usr/pkg/PTL/include/sys/types.h:122: previous declaration of `pthread_mutex_t'
/usr/pkg/include/pthread.h:281: conflicting types for `pthread_condattr_t'
/usr/pkg/PTL/include/sys/types.h:143: previous declaration of `pthread_condattr_t'
/usr/pkg/include/pthread.h:282: conflicting types for `pthread_cond_t'
/usr/pkg/PTL/include/sys/types.h:154: previous declaration of `pthread_cond_t'
*** Error code 1

Stop.
make: stopped in /var/build/obj/pkgsrc/news/gtk2-pan/work.i386/pan-0.13.0/pan
*** Error code 1

Script done on Wed Oct  9 10:48:52 2002
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: