Bug 110221 - build error with meson
Summary: build error with meson
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: All Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-22 09:28 UTC by Fabio Pedretti
Modified: 2019-03-22 19:09 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.