[Bug 191744] devel/pth: pthread.h conflicts with system pthread.h
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191744 Jung-uk Kim j...@freebsd.org changed: What|Removed |Added Summary|lang/python27 mutliple |devel/pth: pthread.h |errors in several ports |conflicts with system |python2.7/pthread.h:294:42: |pthread.h |error: typedef redefinition | |with different types| |('struct pthread_rwlock_st | |*' vs 'struct | |pthread_rwlock *') | -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to freebsd-python-unsubscr...@freebsd.org
[Bug 191744] devel/pth: pthread.h conflicts with system pthread.h
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191744 --- Comment #13 from Jung-uk Kim j...@freebsd.org --- (In reply to Marcus von Appen from comment #12) In that case, Python2.7 should be rebuilt without the PTH option enabled. Yes, that is a known workaround. Maybe we should remove the option from lang/python*. I don't really see any benefit from it. -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to freebsd-python-unsubscr...@freebsd.org
[Bug 191744] devel/pth: pthread.h conflicts with system pthread.h
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191744 --- Comment #14 from Jung-uk Kim j...@freebsd.org --- It looked at the problem more carefully. This issue is little complicated. Basically, sys/types.h includes sys/_pthreadtypes.h per POSIX since r146824. http://svnweb.freebsd.org/changeset/base/146824 Unfortunately, devel/pth tries to override the pthread types defined in sys/_pthreadtypes.h via its own pthread.h. If sys/types.h is also included, these types get redefined. Unfortunately, this problem is really hard to avoid. -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to freebsd-python-unsubscr...@freebsd.org