-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[openssl] Build error on x64-linux #39271
Comments
Please fix this issue, It affects many packages like openssl enabled libevent. |
Duplicated of #37687, I don't have a machine to reproduce this issue.
I wonder if this error is related to permissions? |
rt_sigprocmask(SIG_SETMASK, [], ~[KILL STOP RTMIN RT_1], 8) = 0
execve("/usr/bin/ln", ["ln", "-sf", "../../src/nssl-3.3.1-6a4778eae7."..., "./apps"], 0x7fffc351c418 /* 56 vars */) = 0
brk(NULL) = 0x7fffec2a7000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffff3b785f0) = -1 EINVAL (Invalid argument)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe7adb30000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 6
newfstatat(6, "", {st_mode=S_IFREG|0644, st_size=19603, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 19603, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7fe7adb33000
close(6) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 6
read(6, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\237\2\0\0\0\0\0"..., 832) = 832
pread64(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(6, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0"..., 48, 848) = 48
pread64(6, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\302\211\332Pq\2439\235\350\223\322\257\201\326\243\f"..., 68, 896) = 68
newfstatat(6, "", {st_mode=S_IFREG|0755, st_size=2220400, ...}, AT_EMPTY_PATH) = 0
pread64(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
mmap(NULL, 2264656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7fe7ad8c0000
mprotect(0x7fe7ad8e8000, 2023424, PROT_NONE) = 0
mmap(0x7fe7ad8e8000, 1658880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x28000) = 0x7fe7ad8e8000
mmap(0x7fe7ada7d000, 360448, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x1bd000) = 0x7fe7ada7d000
mmap(0x7fe7adad6000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x215000) = 0x7fe7adad6000
mmap(0x7fe7adadc000, 52816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fe7adadc000
close(6) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe7ad8b0000
arch_prctl(ARCH_SET_FS, 0x7fe7ad8b0740) = 0
set_tid_address(0x7fe7ad8b0a10) = 17152
set_robust_list(0x7fe7ad8b0a20, 24) = 0
rseq(0x7fe7ad8b10e0, 0x20, 0, 0x53053053) = -1 ENOSYS (Function not implemented)
mprotect(0x7fe7adad6000, 16384, PROT_READ) = 0
mprotect(0x7fe7adb46000, 4096, PROT_READ) = 0
mprotect(0x7fe7adb28000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=8192*1024}) = 0
munmap(0x7fe7adb33000, 19603) = 0
getrandom("\x35\x83\xd1\xf2\xc2\x7e\xdc\xe1", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x7fffec2a7000
brk(0x7fffec2c8000) = 0x7fffec2c8000
symlinkat("../../src/nssl-3.3.1-6a4778eae7.clean/apps/openssl.cnf", AT_FDCWD, "./apps") = -1 EISDIR (Is a directory)
newfstatat(AT_FDCWD, "./apps", {st_mode=S_IFDIR|0777, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
write(2, "ln: ", 4) = 4
write(2, "./apps: cannot overwrite directo"..., 34) = 34
write(2, "\n", 1) = 1
lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
close(0) = 0
close(1) = 0
close(2) = 0
exit_group(1) = ?
+++ exited with 1 +++
Now, i see one error: |
On my home computer (also a WSL), it worked.. I trace install process, I get this information: rt_sigprocmask(SIG_SETMASK, [], ~[KILL STOP RTMIN RT_1], 8) = 0
execve("/usr/bin/ln", ["ln", "-sf", "../../src/nssl-3.3.1-6a4778eae7."..., "./apps"], 0x5571f7f68428 /* 56 vars */) = 0
brk(NULL) = 0x56419533c000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffcde02ca90) = -1 EINVAL (Invalid argument)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb344f59000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 6
newfstatat(6, "", {st_mode=S_IFREG|0644, st_size=33227, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 33227, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7fb344f50000
close(6) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 6
read(6, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\237\2\0\0\0\0\0"..., 832) = 832
pread64(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(6, "\4\0\0\0 \0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0"..., 48, 848) = 48
pread64(6, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0i8\235HZ\227\223\333\350s\360\352,\223\340."..., 68, 896) = 68
newfstatat(6, "", {st_mode=S_IFREG|0644, st_size=2216304, ...}, AT_EMPTY_PATH) = 0
pread64(6, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
mmap(NULL, 2260560, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7fb344d28000
mmap(0x7fb344d50000, 1658880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x28000) = 0x7fb344d50000
mmap(0x7fb344ee5000, 360448, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x1bd000) = 0x7fb344ee5000
mmap(0x7fb344f3d000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x214000) = 0x7fb344f3d000
mmap(0x7fb344f43000, 52816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb344f43000
close(6) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb344d25000
arch_prctl(ARCH_SET_FS, 0x7fb344d25740) = 0
set_tid_address(0x7fb344d25a10) = 9128
set_robust_list(0x7fb344d25a20, 24) = 0
rseq(0x7fb344d260e0, 0x20, 0, 0x53053053) = 0
mprotect(0x7fb344f3d000, 16384, PROT_READ) = 0
mprotect(0x564193d6e000, 4096, PROT_READ) = 0
mprotect(0x7fb344f93000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7fb344f50000, 33227) = 0
getrandom("\x05\x80\x22\xb9\x63\x68\xf7\xa8", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x56419533c000
brk(0x56419535d000) = 0x56419535d000
symlinkat("../../src/nssl-3.3.1-6a4778eae7.clean/apps/openssl.cnf", AT_FDCWD, "./apps") = -1 EEXIST (File exists)
openat(AT_FDCWD, "./apps", O_RDONLY|O_PATH|O_DIRECTORY) = 6
symlinkat("../../src/nssl-3.3.1-6a4778eae7.clean/apps/openssl.cnf", 6, "openssl.cnf") = 0
lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
close(0) = 0
close(1) = 0
close(2) = 0
exit_group(0) = ?
+++ exited with 0 +++
keynote: |
Package: openssl:[email protected]
Host Environment
vcpkg-scripts version: f007eb1 2024-06-12 (7 hours ago)
To Reproduce
vcpkg install openssl
Failure logs
/mnt/d/vcpkg/buildtrees/openssl/build-x64-linux-dbg-err.log
/mnt/d/vcpkg/buildtrees/openssl/build-x64-linux-dbg-out.log
The text was updated successfully, but these errors were encountered: