[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 06/21] Add information how to fix common build error on Windows in
|
From: |
Thomas Huth |
|
Subject: |
[PULL 06/21] Add information how to fix common build error on Windows in symlink-install-tree |
|
Date: |
Mon, 15 May 2023 15:02:18 +0200 |
From: Mateusz Krawczuk <mat.krawczuk@gmail.com>
By default, Windows doesn't allow to create soft links for user account
and only administrator is allowed to do this. To fix this problem you have
to raise your permissions or enable Developer Mode, which available since
Windows 10. Additional explanation when build fails will allow developer
to fix the problem on his computer faster.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1386
Signed-off-by: Mateusz Krawczuk <mat.krawczuk@gmail.com>
Message-Id: <20230504211101.1386-1-mat.krawczuk@gmail.com>
[thuth: Drop the hunk with the white space changes]
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
scripts/symlink-install-tree.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/symlink-install-tree.py b/scripts/symlink-install-tree.py
index 67cb86dd52..8ed97e3c94 100644
--- a/scripts/symlink-install-tree.py
+++ b/scripts/symlink-install-tree.py
@@ -28,5 +28,8 @@ def destdir_join(d1: str, d2: str) -> str:
os.symlink(source, bundle_dest)
except BaseException as e:
if not isinstance(e, OSError) or e.errno != errno.EEXIST:
+ if os.name == 'nt':
+ print('Please enable Developer Mode to support soft link '
+ 'without Administrator permission')
print(f'error making symbolic link {dest}', file=sys.stderr)
raise e
--
2.31.1
- [PULL 03/21] net: stream: test reconnect option with an unix socket, (continued)
- [PULL 03/21] net: stream: test reconnect option with an unix socket, Thomas Huth, 2023/05/15
- [PULL 01/21] tests/avocado/virtio-gpu: Fix the URLs of the test_virtio_vga_virgl test, Thomas Huth, 2023/05/15
- [PULL 16/21] hw/net: Move xilinx_ethlite.c to the target-independent source set, Thomas Huth, 2023/05/15
- [PULL 14/21] cpu: Introduce a wrapper for being able to use TARGET_NAME in common code, Thomas Huth, 2023/05/15
- [PULL 08/21] tests/lcitool: Add mtools and xorriso and remove genisoimage as dependencies, Thomas Huth, 2023/05/15
- [PULL 05/21] hw/pci-bridge: Fix release ordering by embedding PCIBridgeWindows within PCIBridge, Thomas Huth, 2023/05/15
- [PULL 21/21] tests/tcg/s390x: Test EXECUTE of relative branches, Thomas Huth, 2023/05/15
- [PULL 18/21] tests/tcg/multiarch: Make the system memory test work on big-endian, Thomas Huth, 2023/05/15
- [PULL 11/21] docs/devel: remind developers to run CI container pipeline when updating images, Thomas Huth, 2023/05/15
- [PULL 10/21] s390x/pv: Fix spurious warning with asynchronous teardown, Thomas Huth, 2023/05/15
- [PULL 06/21] Add information how to fix common build error on Windows in symlink-install-tree,
Thomas Huth <=
- [PULL 19/21] tests/tcg/s390x: Enable the multiarch system tests, Thomas Huth, 2023/05/15
- [PULL 09/21] util/async-teardown: wire up query-command-line-options, Thomas Huth, 2023/05/15
- [PULL 15/21] hw/core: Move machine-qmp-cmds.c into the target independent source set, Thomas Huth, 2023/05/15
- [PULL 07/21] tests: libvirt-ci: Update to commit 'c8971e90ac' to pull in mformat and xorriso, Thomas Huth, 2023/05/15
- [PULL 04/21] tests/qtest: replace qmp_discard_response with qtest_qmp_assert_success, Thomas Huth, 2023/05/15
- [PULL 13/21] hw/core: Use a callback for target specific query-cpus-fast information, Thomas Huth, 2023/05/15
- [PULL 12/21] docs/about/emulation: fix typo, Thomas Huth, 2023/05/15
- [PULL 17/21] s390x/tcg: Fix LDER instruction format, Thomas Huth, 2023/05/15
- [PULL 20/21] target/s390x: Fix EXECUTE of relative branches, Thomas Huth, 2023/05/15
- Re: [PULL 00/21] Tests, docs, s390x and misc patches, Richard Henderson, 2023/05/15