Bug 25224 - pth-1.3.7 hides /usr/include/pthread.h
Summary: pth-1.3.7 hides /usr/include/pthread.h
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-20 07:40 UTC by behanna
Modified: 2001-06-06 16:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description behanna 2001-02-20 07:40:01 UTC
The GNU Portable Threads port (/usr/ports/devel/pth) installs the
header file /usr/local/include/pthread.h, which in some circumstances
hides /usr/include/pthread.h, causing spectacular build failures (e.g.,
in xmms).  The subsequent build failures die at link time, choking on
undefined symbols such as "__pthread_read" or "__pthread_select", which
are defined in /usr/local/include/pthread.h as installed by GNU Pth.

Fix: 

Do not install the GNU Portable Threads package on any system that has
native pthreads support (i.e., mark GNU Portable Threads as broken for
4.x and 5.x systems).
How-To-Repeat: Install the GNU Portable Threads package on a 4.2-STABLE box and try
to build the latest xmms or freeamp ports.
Comment 1 DougB 2001-04-25 09:09:57 UTC
	Can the maintainer comment on this one please?

Thanks,

Doug
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2001-06-06 15:58:25 UTC
State Changed
From-To: open->closed

I've reverted the maintainership of this port to ports@FreeBSD.org, so 
others can look at it if they wish.  The ports has been updated to 1.4.0 
since the original request, but the namespace conflict remains. 

I don't believe the solution proposed here (marking it broken for 4.x and 5.x) 
is appropriate, since pth is considerably different from the base system 
threads - if anyone has ideas about fixing the conflict, including updating 
any dependent ports, please file a new PR.