Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395527 - media-libs/mesa-7.11.2 - USE=osmesa sets incorrect configure flag
Summary: media-libs/mesa-7.11.2 - USE=osmesa sets incorrect configure flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-21 11:54 UTC by Philippe Marti
Modified: 2011-12-21 18:06 UTC (History)
0 users

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 Philippe Marti 2011-12-21 11:54:45 UTC
Activating the osmesa useflag does not set the right configure flag and no libOSMesa library is compiled.

Reproducible: Always

Steps to Reproduce:
1.Set the osmesa useflag
2.reemerge mesa
3.
Actual Results:  
Relevant part of configure output:

Driver:          dri
        OSMesa:          no
        DRI drivers:     swrast i810 i915 i965
        DRI driver dir:  ${libdir}/dri
        Use XCB:         yes
        Shared dricore:  no


Expected Results:  
Relevant part of configure output:

        Driver:          dri
        OSMesa:          libOSMesa
        DRI drivers:     swrast i810 i915 i965
        DRI driver dir:  ${libdir}/dri
        Use XCB:         yes
        Shared dricore:  no


I believe there is a typo in the configure command. It uses "--enable-osmesa" while "--enable-gl-osmesa" should be used.
Comment 1 Matt Turner gentoo-dev 2011-12-21 18:06:51 UTC
Interesting. 7.11 uses --enable-gl-osmesa, but git uses --enable-osmesa.

~/projects/mesa $ ./configure --help | grep -i osmesa
  --enable-osmesa         enable OSMesa library [default=auto]
  --with-osmesa-bits=BITS OSMesa channel bits and library name: 8, 16, 32

Fixed. Thanks for the report.