Bug 110221

Summary: build error with meson
Product: Mesa Reporter: Fabio Pedretti <pedretti.fabio>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: baker.dylan.c
Version: git   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Fabio Pedretti 2019-03-22 09:28:40 UTC
Since a couple days I am getting this build error:

Installing /<<PKGBUILDDIR>>/src/gbm/main/gbm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include
Installing /<<PKGBUILDDIR>>/src/gallium/state_trackers/xa/xa_composite.h to /<<PKGBUILDDIR>>/debian/tmp/usr/includeTraceback (most recent call last):
  File "/<<PKGBUILDDIR>>/bin/install_megadrivers.py", line 74, in <module>
    main()
  File "/<<PKGBUILDDIR>>/bin/install_megadrivers.py", line 48, in main
    shutil.copy(args.megadriver, master)
  File "/usr/lib/python3.7/shutil.py", line 245, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.7/shutil.py", line 121, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/usr/lib/x86_64-linux-gnu/dri/libmesa_dri_drivers.so'

Full build log here:
https://launchpadlibrarian.net/416086344/buildlog_ubuntu-disco-amd64.mesa_19.1~git1903220730.1d996e~oibaf~d_BUILDING.txt.gz
Comment 1 Fabio Pedretti 2019-03-22 09:32:24 UTC
Likely addressed by this:
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/505
Comment 2 Dylan Baker 2019-03-22 17:46:09 UTC
Indeed, that is the bug I introduced trying to fix 110211, and 404 should fix it. I'll be merging that MR shortly.
Comment 3 Dylan Baker 2019-03-22 19:09:51 UTC
Should be fixed in master now

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.