[Bug 94969] build fails because install-data-local doesn't follow $DESTDIR

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 16 15:04:36 UTC 2016


            Bug ID: 94969
           Summary: build fails because install-data-local doesn't follow
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/Vulkan/intel
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: lonewolf at xs4all.nl
        QA Contact: intel-3d-bugs at lists.freedesktop.org

When trying to build mesa master using --with-vulkan-drivers=intel (fakeroot

make DESTDIR="${srcdir}/fakeinstall" install fails.

Making install in vulkan
make[3]: Entering directory
make  install-recursive
make[4]: Entering directory
Making install in .
make[5]: Entering directory
make[6]: Entering directory
/usr/bin/install -c -m 644 -D ./intel_icd.json /etc/vulkan/icd.d/intel_icd.json
/usr/bin/install: cannot create directory '/etc/vulkan': Permission denied
Makefile:1989: recipe for target 'install-data-local' failed
make[6]: *** [install-data-local] Error 1
make[6]: *** Waiting for unfinished jobs....

The culprit appears to be in src/intel/vulkan/Makefile.am :
$(INSTALL_DATA) -D $(srcdir)/intel_icd.json

I'm currently building with 
$(INSTALL_DATA) -D $(srcdir)/intel_icd.json

Build is succesfull using that line, but i can't do runtime tests due to lack
of needed hardware (only amd gpus here) .

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160416/f7d1a1af/attachment.html>

More information about the intel-3d-bugs mailing list