Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335706 - sci-libs/gdal-1.7.2: threads USE flag has no effect
Summary: sci-libs/gdal-1.7.2: threads USE flag has no effect
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-09-02 18:16 UTC by Brian Claywell
Modified: 2010-09-11 14:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Claywell 2010-09-02 18:16:55 UTC
The sci-libs/gdal-1.7.2 ebuild advertises the threads USE flag, but regardless of its setting, configure always reports that thread support is disabled even if pthread is available. Examination of the ebuild reveals that $(use_with threads) is missing in the econf arguments.

Reproducible: Always

Steps to Reproduce:
1. Emerge sci-libs/gdal-1.7.2 with threads USE flag enabled.
2. 
3.

Actual Results:  
checking whether we should include thread/mutex support... thread safe support disabled.
...
  enable pthread support:    no

Expected Results:  
checking for pthread_create in -lpthread... yes
checking for PTHREAD_MUTEX_RECURSIVE... yes
...
  enable pthread support:    yes
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2010-09-11 14:55:03 UTC
Fixed. Thanks for reporting.