First, we need update piglit to latest version from git. There `cmake install` available, so please use it. also if I'm using /usr/bin/piglit-run test/sanity.py ~/tmp I'm getting error about libraries not found. If we're using chrpath we should put libs to libdir and do ldconfig in %post, %postun stages. This is very critical to get working piglit and providing service to track regressions in mesa, because now we updating mesa frequently.
Created attachment 975730 [details] ls -lR of ~/build/BUILDROOT where the package installation tree builds (In reply to Igor Gnatenko from comment #0) > There `cmake install` available, so please use it. Except (see the log) ... make install is completely broken (cmake is a tool just for generating Makefiles, you run regular make on those). When I run make install DESTDIR=$RPM_BUILD_ROOT I get what's attached ... it is absolutely inappropriate to install arch-dependent material in /usr/lib/, which is exactly what those Makefiles do, because nobody thought about multilib. I'll investigate that.
Created attachment 975731 [details] crash of quick test
piglit-1-0.21.20150103GIT4adb082.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/piglit-1-0.21.20150103GIT4adb082.el7
piglit-1-0.21.20150103GIT4adb082.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/piglit-1-0.21.20150103GIT4adb082.fc20
piglit-1-0.21.20150103GIT4adb082.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/piglit-1-0.21.20150103GIT4adb082.fc21
Package piglit-1-0.21.20150103GIT4adb082.el7: * should fix your issue, * was pushed to the Fedora EPEL 7 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing piglit-1-0.21.20150103GIT4adb082.el7' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-0145/piglit-1-0.21.20150103GIT4adb082.el7 then log in and leave karma (feedback).
piglit-1-0.21.20150103GIT4adb082.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
piglit-1-0.21.20150103GIT4adb082.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
piglit-1-0.21.20150103GIT4adb082.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.