Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2013 21:02:17 +0400
From:      awarecons <awarecons@gmail.com>
To:        ports@freebsd.org, ports-bugs@freebsd.org
Subject:   lang/perl5.14 GNU PThread mult. ISSUEs
Message-ID:  <CACGq7x2Uvm121opWGGKnia6Sko6v%2B72mNtfCA5j0p1tf8hdiow@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
uname: FreeBSD 9.0-RELEASE

How to reproduce:

compile, guess any 5.[12-16], perl with GNU PThread support and try,
for e.g., portmaster x11/kde4 or x11/gnome2 with maximum ports
involved/chosen (to enlarge test coverage). Try to use clang, gcc 4.2
(default) and 4.6.3 (gcc 4.7&4.8 seem to be excessively errorneous),
some of the error-bunch:

print/py-cups [1.9.62] cupsmodule.c: pthread.h:293:42
typedef redefinition with diff. types 'int' vs 'struct pthread_rwlockattr *'
:294,285,286,288,289,290,291,292...:42

devel/kdebindings4-python-crosspython: error can't find pth.h, pthread.h

devel/py-sip[4.13.2.1] can't find pth.h
siplib.c:20: .../include/python2.7/python.h:166:17: error: pth.h: No
such file or directory
(.../siplib/Makefile: strange path for sip.h: /usr/local/in instead of
/include/ or /usr/local/include/python2.7 even?)
hardconf-ed gcc usage (not ready for clang?)

devel/py-qt4-designer[4.9.1] wrong .../include/pth detection (can't find pth.h)
incompat. types & functions mult. errors.

multimedia/libquicktime [1.2.4_4]: mult. pthread.h conflict types in
lqt_codecinfo.c

multimedia/mjpegtools [2.0.0_4]: mult. pthread.h conflict types in macroblock.cc

multimedia/libxine [1.2.2_1]: mult. pthread.h conflict types in xine.c

graphics/gstreamer-plugins-opencv: /usr/include/signal.1:71:5 confl.
types for "pthread_kill -> libgstopencv_la_motioncells_wrapper.lo"
(all: clang3.1, gcc 4.2/4.6)

graphics/py/cairo
pthread.h typedef redefinition with diff. types

audio/gstreamer-plugins-soundtouch [0.10.23,3]
pthread.h typedef redefinition with diff. types

audio/gstreamer-plugins-taglib [0.10.31,3]
pthread.h typedef redefinition with diff. types in gstid3v2mux.lo

net/libvncserver[0.9.9_2] pthread.h usage: no (Present But Can't Be Compiled)

polish/libgadu [1.11.2,1]
pthread.h typedef redefinition with diff. types in resolver.c

net/libosip [2-3.6.0]
pthread.h typedef redefinition with diff. types in ict_fsm.c

devel/nspr[4.9.4]
pthread.h typedef redefinition with diff. types

x11/gnome-desktop[2.32.1_2]
pthread.h typedef redefinition with diff. types

x11/gnome-menus[2.30.5]: ld can't find -lpth error
GThread_Error: pthread-posix.c:line 141 Function not implemented

x11-toolkits/libwnck[2.30.6_1]
pthread.h typedef redefinition with diff. types

and more over...)) especially various py-bindings-ports.

When perl5.14 is compiled without GNU PThread - no such errors, is it
normal to GNU PThread, just wonder??..

Thank you in advance and luck.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACGq7x2Uvm121opWGGKnia6Sko6v%2B72mNtfCA5j0p1tf8hdiow>