Bug 1373302 - Several demos fail due to missing shaders
Summary: Several demos fail due to missing shaders
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: mesa-demos
Version: 7.3
Hardware: All
OS: All
medium
medium
Target Milestone: rc
: ---
Assignee: Adam Jackson
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 1373299
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-05 22:48 UTC by Yaakov Selkowitz
Modified: 2020-12-15 07:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1373299
Environment:
Last Closed: 2020-12-15 07:45:29 UTC
Target Upstream Version:


Attachments (Terms of Use)
patch for rhel-7.3 dist-git (10.91 KB, patch)
2016-09-05 22:59 UTC, Yaakov Selkowitz
no flags Details | Diff

Description Yaakov Selkowitz 2016-09-05 22:48:00 UTC
Same applies to mesa-demos-8.2.0 in RHEL 7.

+++ This bug was initially created as a clone of Bug #1373299 +++

Description of problem:
A number of mesa-demos do not have their shader files installed, causing them to crash when attempting to run them, e.g.:

$ /usr/lib64/mesa/blinking-teapot # or brick, or bump, or...
Unable to open shader file blinking-teapot.vert
Unable to open shader file blinking-teapot.frag
blinking-teapot: shaderutil.c:192: LinkShaders3: Assertion `vertShader || fragShader' failed.
Aborted (core dumped)

Version-Release number of selected component (if applicable):
mesa-demos-8.3.0-3.fc24.x86_64

Additional info:
A source patch is available here, which requires a subsequent autoreconf:

https://raw.githubusercontent.com/cygwinports/mesa-demos/master/8.3.0-glsl-system-data.patch

--- Additional comment from Yaakov Selkowitz on 2016-09-05 18:46:30 EDT ---

In fact, due to not being listed in EXTRA_DIST, a number of shader files are not even in the official tarball.  Using a git snapshot of the tag is required to completely fix this.

Patch forthcoming.

Comment 1 Yaakov Selkowitz 2016-09-05 22:59:49 UTC
Created attachment 1198023 [details]
patch for rhel-7.3 dist-git

Note that this requires using a cgit tarball for the sources, as some are 
missing in EXTRA_DIST and therefore not included in the 'make dist' tarball.

Successful brew scratch build:

https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=11702793

Comment 3 RHEL Program Management 2020-12-15 07:45:29 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.