I have been getting a build error the last couple of days probably due to upstream commits to Xorg.wrap on 2021-03-25:
Installing hw/xfree86/Xorg.wrap to ./xorg-server-git/src/fakeinstall/usr/lib
'./xorg-server-git/src/fakeinstall/usr/lib/Xorg.wrap': Unable to set owner 0 and group 0: Operation not permitted, ignoring...
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/mesonbuild/mesonmain.py", line 132, in run
return options.run_func(options)
File "/usr/lib/python3.9/site-packages/mesonbuild/minstall.py", line 702, in run
installer.do_install(datafilename)
File "/usr/lib/python3.9/site-packages/mesonbuild/minstall.py", line 503, in do_install
self.install_targets(d, dm, destdir, fullprefix)
File "/usr/lib/python3.9/site-packages/mesonbuild/minstall.py", line 656, in install_targets
self.fix_rpath(outname, t.rpath_dirs_to_remove, install_rpath, final_path,
File "/usr/lib/python3.9/site-packages/mesonbuild/minstall.py", line 322, in fix_rpath
depfixer.fix_rpath(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/mesonbuild/scripts/depfixer.py", line 468, in fix_rpath
fix_elf(fname, rpath_dirs_to_remove, new_rpath, verbose)
File "/usr/lib/python3.9/site-packages/mesonbuild/scripts/depfixer.py", line 369, in fix_elf
with Elf(fname, verbose) as e:
File "/usr/lib/python3.9/site-packages/mesonbuild/scripts/depfixer.py", line 123, in __init__
self.bf = open(bfile, 'r+b')
PermissionError: [Errno 13] Permission denied: './xorg-server-git/src/fakeinstall/usr/lib/Xorg.wrap'
Exception ignored in: <function Elf.__del__ at 0x7f2b88463d30>
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/mesonbuild/scripts/depfixer.py", line 140, in __del__
if self.bf:
AttributeError: 'Elf' object has no attribute 'bf'
FAILED: meson-install
/usr/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
yurikoles commented on 2022-03-18 01:04 (UTC)
check()function was added, if unit tests fail, you may ignore them by appending--nochecktomakepkg.yurikoles commented on 2019-05-29 15:00 (UTC)
PRs are welcome: https://github.com/yurikoles-aur/xorg-server-git