pkgsrc-Bugs archive

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

pkg/30537: graphics/MesaLib pthread usage



>Number:         30537
>Category:       pkg
>Synopsis:       graphics/MesaLib pthread usage
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 16 09:58:00 +0000 2005
>Originator:     Krister Walfridsson
>Release:        pkgsrc as of Jun 16 2005
>Organization:
        
>Environment:
        
        
System: NetBSD homeworld.netbsd.org 1.6.2_STABLE NetBSD 1.6.2_STABLE (tmp) #0: 
Thu Apr 15 06:12:56 UTC 2004 gendalia%ivanova.netbsd.org@localhost:/tmp i386
Architecture: i386
Machine: i386
>Description:
The graphics/MesaLib does not have any dependencies on pthreads, but
the linking of libGL.so does add -lpthread.  This makes libtool
add --lpthread in .la file, with the result that all packages
linking to libGL.so need to add an explicit dependency on pthread,
even if they don't use threads.

I think the -lpthread should be removed -- no pthreads .h files
are available during the build, so the package cannot be using
any thread functionality?  Otherwise a proper pthread dependency
should be added to the package (and its buildlink3.mk)

>How-To-Repeat:
        
>Fix:
        

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index