LINUX.ORG.RU

Сообщения DMITRY

 

Ошибка при запуске SmartSteamEmu в Wine

prime-run wine SmartSteamLoader_x64.exe
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
002c:fixme:ver:GetCurrentPackageId (00007FFFFE2FFEB0 0000000000000000): stub
0034:fixme:ver:GetCurrentPackageId (00007FFFFE2FFEB0 0000000000000000): stub
00fc:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.7.2" not implemented
00fc:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.7.2" not implemented
00fc:fixme:seh:fpe_handler untested SIMD exception: 0x6. Might not work correctly
wine: Unhandled exception 0xc00002b5 in thread fc at address 7A2BDB8C (thread 00fc), starting debugger...
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
0124:fixme:dbghelp:elf_search_auxv can't find symbol in module
00fc:fixme:seh:fpe_handler untested SIMD exception: 0x6. Might not work correctly
0124:fixme:ver:GetCurrentPackageId (008AFEAC 00000000): stub
012c:fixme:ver:GetCurrentPackageId (00007FFFFE2FFEB0 0000000000000000): stub
00d4:fixme:ver:GetCurrentPackageId (00007FFFFE2FFEB0 0000000000000000): stub

Пишет про дотнет 472, но его установка лишь порождает новые ошибки. Запускаю из той же директории, где лежит программа.

При запуске через протон 7.0:

wineserver: using server-side synchronization.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
00dc:err:xrandr:xrandr14_get_adapters Failed to get adapters
00d4:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.7.2" not implemented
00d4:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.7.2" not implemented
00d4:fixme:seh:fpe_handler untested SIMD exception: 0x6. Might not work correctly

=================================================================
        Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
wine: Unhandled exception 0xc00002b5 in thread d4 at address 1024C85C (thread 00d4), starting debugger...
Unhandled exception: 0xc00002b5 in 32-bit code (0x1024c85c).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:1024c85c ESP:0086f3a0 EBP:0086f404 EFLAGS:00010283(  R- --  I S - - -C)
 EAX:00000020 EBX:00000020 ECX:00000020 EDX:00000000
 ESI:00003ee0 EDI:00000004
Stack dump:
0x0086f3a0:  00010000 7ffeffff 00000000 00000008
0x0086f3b0:  f98d728b 404428a2 103c794c 00000001
0x0086f3c0:  00000000 40cf7000 00000000 43300000
0x0086f3d0:  000000d0 0086f4bc 1027a2bc 0086f3e0
0x0086f3e0:  00000000 407f7000 00010000 7ffeffff
0x0086f3f0:  000000ff 00000008 00000000 00000000
Backtrace:
=>0 0x1024c85c MonoFixupExe+0xecf1c() in libmono-2.0-x86 (0x0086f404)
  1 0x1024d010 MonoFixupExe+0xed6d0() in libmono-2.0-x86 (0x0086f4bc)
  2 0x1022c2b3 MonoFixupExe+0xcc973() in libmono-2.0-x86 (0x0086f608)
  3 0x67c47cad CallFunctionShim+0x6c0d() in mscoree (0x0086fa68)
  4 0x67c49ec4 CallFunctionShim+0x8e24() in mscoree (0x0086ff28)
  5 0x7b62ebd0 ActivateActCtx+0x24040() in kernel32 (0x0086ff48)
  6 0x7bc5d517 A_SHAFinal+0x3ce37() in ntdll (0x0086ff5c)
  7 0x7bc5dcc0 A_SHAFinal+0x3d5e0() in ntdll (0x0086ffec)
0x1024c85c libmono-2.0-x86+0x24c85c: repne divps        %xmm1,%xmm0
Modules:
Module  Address                 Debug info      Name (48 modules)
PE      00400000-0066e000       Deferred        arma3launcher
PE      00de0000-0171a000       Deferred        shell32
PE      02340000-023e9000       Deferred        urlmon
PE      02410000-024d8000       Deferred        winmm
PE      024e0000-024e8000       Deferred        api-ms-win-crt-heap-l1-1-0
PE      024f0000-024f9000       Deferred        api-ms-win-crt-runtime-l1-1-0
PE      02500000-02508000       Deferred        api-ms-win-crt-utility-l1-1-0
PE      10000000-103ee000       Export          libmono-2.0-x86
PE      61740000-61784000       Deferred        advapi32
PE      61940000-619cd000       Deferred        wininet
PE      61f00000-61f09000       Deferred        api-ms-win-crt-convert-l1-1-0
PE      61f80000-61f8b000       Deferred        api-ms-win-crt-math-l1-1-0
PE      62d40000-62d47000       Deferred        api-ms-win-crt-environment-l1-1-0
PE      62fc0000-6304e000       Deferred        rpcrt4
PE      63480000-6348d000       Deferred        version
PE      63700000-6394a000       Deferred        msxml3
PE      63bc0000-63bda000       Deferred        shcore
PE      64a40000-64a94000       Deferred        shlwapi
PE      64dc0000-64dc8000       Deferred        api-ms-win-crt-conio-l1-1-0
PE      64ec0000-64fef000       Deferred        oleaut32
PE      65d40000-65d48000       Deferred        api-ms-win-crt-filesystem-l1-1-0
PE      66240000-66258000       Deferred        bcrypt
PE      66600000-66607000       Deferred        api-ms-win-crt-locale-l1-1-0
PE      66740000-66751000       Deferred        rtworkq
PE      66b00000-66b3e000       Deferred        win32u
PE      67c40000-67c80000       Export          mscoree
PE      68500000-6855a000       Deferred        combase
PE      6a040000-6a062000       Deferred        msacm32
PE      6a280000-6a32e000       Deferred        msvcrt
PE      6a400000-6a533000       Deferred        ole32
PE      6b0c0000-6b0c7000       Deferred        api-ms-win-crt-process-l1-1-0
PE      6b7c0000-6b7c9000       Deferred        api-ms-win-crt-stdio-l1-1-0
PE      6bc00000-6bc2c000       Deferred        sechost
PE      6bcc0000-6bd41000       Deferred        setupapi
PE      6c9c0000-6ca46000       Deferred        gdi32
PE      6cf40000-6cf47000       Deferred        api-ms-win-crt-time-l1-1-0
PE      6d780000-6d7a9000       Deferred        ws2_32
PE      6ed00000-6ef41000       Deferred        user32
PE      6fa80000-6faea000       Deferred        dbghelp
PE      6ff00000-6ff09000       Deferred        api-ms-win-crt-string-l1-1-0
PE      702c0000-702d7000       Deferred        api-ms-win-crt-private-l1-1-0
PE      70940000-70960000       Deferred        mpr
PE      70b40000-70c1c000       Deferred        ucrtbase
PE      71200000-7121c000       Deferred        imm32
PE      7b000000-7b0ee000       Deferred        kernelbase
PE      7b600000-7b81b000       Export          kernel32
PE      7bc00000-7bca9000       Export          ntdll
PE      7e130000-7e134000       Deferred        winex11
Threads:
process  tid      prio (all id:s are in hex)
00000020 start.exe
        00000024    0
00000030 services.exe
        00000034    0
        00000038    0
        00000044    0
        00000048    0
        00000064    0
        00000074    0
        00000094    0
        000000ac    0
        000000f4    0
0000003c winedevice.exe
        00000040    0
        0000004c    0
        00000050    0
        00000054    0
        00000058    0
        000000b8    0
0000005c winedevice.exe
        00000060    0
        00000068    0
        0000006c    0
        00000070    0
        00000078    0
        0000007c    0
        00000080    0
        00000088    0
0000008c plugplay.exe
        00000090    0
        00000098    0
        0000009c    0
        000000a0    0
000000a4 svchost.exe
        000000a8    0
        000000b0    0
        000000b4    0
000000bc conhost.exe
        000000c0    0
000000c4 SmartSteamLoader_x64.exe
        000000c8    0
        000000cc    0
000000d0 (D) C:\Games\Arma 3\Arma 3\arma3launcher.exe
        000000d4    0 <==
        00000128    0
000000d8 explorer.exe
        000000dc    0
        000000e0    0
        000000e4    0
000000ec rpcss.exe
        000000f0    0
        000000f8    0
        000000fc    0
        00000100    0
        00000104    0
        00000108    0
        0000010c    0
00000110 tabtip.exe
        00000114    0
        00000118    0
        0000011c    0
System information:
    Wine build: wine-7.0
    Platform: i386 (WOW64)
    Version: Windows 10
    Host system: Linux
    Host version: 6.6.0

Лог разных версий протона/вайна отличается, но ошибка «Unhandled exception» везде есть

Примечание: сама игра, без эмулятора стим, запускается нормально, но с ограничениями из-за отсутствия этого самого стима.

 

DMITRY
()

Есть ли игры которым нужен gstreamer в Wine?

У вайна есть опциональная зависимость - gstreamer, в том числе - 32-битный. Выкинув его (32-битный) я бы смог выкинуть половину 32-битных либ. Вопрос - могут ли из за этого возникнуть проблемы? Под вайном гоняю только игры.

 ,

DMITRY
()

Far Cry New Dawn не запускается

/mnt/sda1/FarCryND/drive_c/Games/Far Cry New Dawn/bin$ wine FarCryNewDawn.exe 
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.20 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
006c:fixme:imm:ImeSetActiveContext (0x41750, 0): stub
006c:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000041750): stub
002c:fixme:imm:ImeSetActiveContext (0x40e60, 1): stub
002c:fixme:imm:ImmReleaseContext (0000000000010058, 0000000000040E60): stub
wine: configuration in L"/mnt/sda1/FarCryND" has been updated.
wine: Call from 000000007BC2D3D8 to unimplemented function ntdll.dll.RtlGetCurrentUmsThread, aborting
wine: Unimplemented function ntdll.dll.RtlGetCurrentUmsThread called at address 000000007BC2D3D8 (thread 0134), starting debugger...
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
Unhandled exception: unimplemented function ntdll.dll.RtlGetCurrentUmsThread called in 64-bit code (0x000000007bc2d3d8
).
013c:fixme:dbghelp:elf_search_auxv can't find symbol in module
Register dump:
 rip:000000007bc2d3d8 rsp:000000000011fd00 rbp:0000000000000000 eflags:00000206 (   - --  I   - -P- )
 rax:0000000180000100 rbx:000000000011fd20 rcx:000000000011fd20 rdx:000000014000a92a
 rsi:0000000000000000 rdi:0000000041797200  r8:000000014000142d  r9:0000000000000001 r10:00000000005e1780
 r11:000000000011fd80 r12:0000000000000000 r13:0000000000000000 r14:000000007b60e204 r15:000000007b600000
Stack dump:
0x000000000011fd00:  000000000011fd20 0000000000000000
0x000000000011fd10:  0000000040006660 00000000709c3ce0
0x000000000011fd20:  0000000080000100 0000000000000000
0x000000000011fd30:  000000007bc2d3d8 0000000000000002
0x000000000011fd40:  000000004000a950 000000004000a92a
0x000000000011fd50:  00000000709e00a0 0000000040002112
0x000000000011fd60:  00000000709e00a0 0000000040006660
0x000000000011fd70:  00000000001a0018 0000000040023c00
0x000000000011fd80:  0000000000000068 0000000000000000
0x000000000011fd90:  0000000000142ce0 0000000000142c80
0x000000000011fda0:  0000000000000000 0000000000000000
0x000000000011fdb0:  0000000000000000 0000000000000000
Backtrace:
=>0 0x000000007bc2d3d8 stub_entry_point+0x48(dll=<is not available>, name=<is not available>, ret_addr=<is not availab
le>) [Z:\usr\src\packages\BUILD\dlls\ntdll\loader.c:341] in ntdll (0x0000000000000000)
  1 0x000000014000142d in farcrynewdawn (+0x142c) (0x0000000000000000)
  2 0x000000014000168f in farcrynewdawn (+0x168e) (0x0000000000000000)
  3 0x000000007b62c689 BaseThreadInitThunk+0x8(unknown=<is not available>, entry=<is not available>, arg=<is not avail
able>) [Z:\usr\src\packages\BUILD\dlls\kernel32\thread.c:61] in kernel32 (0x0000000000000000)
  4 0x000000007bc58663 RtlUserThreadStart+0x82(entry=000000014000105F, arg=0000000067FF0000) [Z:\usr\src\packages\BUIL
D\dlls\ntdll\thread.c:241] in ntdll (0x0000000000000000)
0x000000007bc2d3d8 stub_entry_point+0x48 [Z:\usr\src\packages\BUILD\dlls\ntdll\loader.c:341] in ntdll: jmp      0x0000
00007bc2d3d0 stub_entry_point+0x40
Unable to access file 'Z:\usr\src\packages\BUILD\dlls\ntdll\loader.c'
Modules:
Module  Address                                 Debug info      Name (26 modules)
PE              61d00000-        61d0f000       Deferred        api-ms-win-crt-convert-l1-1-0
PE              61d80000-        61d90000       Deferred        api-ms-win-crt-math-l1-1-0
PE              63540000-        6354f000       Deferred        api-ms-win-crt-runtime-l1-1-0
PE              66400000-        6640d000       Deferred        api-ms-win-crt-locale-l1-1-0
PE              6aa80000-        6aa8d000       Deferred        api-ms-win-core-fibers-l1-1-1
PE              6b5c0000-        6b5cf000       Deferred        api-ms-win-crt-stdio-l1-1-0
PE              6c800000-        6c80e000       Deferred        api-ms-win-crt-heap-l1-1-0
PE              6dc80000-        6dc8e000       Deferred        api-ms-win-core-synch-l1-2-0
PE              6fd00000-        6fd0f000       Deferred        api-ms-win-crt-string-l1-1-0
PE              70940000-        70c05000       Deferred        ucrtbase
PE              7b000000-        7b316000       Deferred        kernelbase
PE              7b600000-        7b91d000       Dwarf-2         kernel32
PE              7bc00000-        7be76000       Dwarf-2         ntdll
ELF             7d000000-        7d005000       Deferred        <wine-loader>
PE             140000000-       140028000       Export          farcrynewdawn
PE             180000000-       180017000       Deferred        vcruntime140
ELF         7faba5ee8000-    7faba5f02000       Deferred        libgcc_s.so.1
ELF         7faba601b000-    7faba6192000       Dwarf           libwine.so.1
ELF         7faba6805000-    7faba6830000       Deferred        liblzma.so.5
ELF         7faba6830000-    7faba6914000       Deferred        libm.so.6
ELF         7faba6914000-    7faba692f000       Deferred        libunwind.so.8
ELF         7faba692f000-    7faba6934000       Deferred        librt.so.1
ELF         7faba6934000-    7faba69f3000       Deferred        ntdll.so
ELF         7faba69f6000-    7faba6c1e000       Deferred        libc.so.6
ELF         7faba6c1e000-    7faba6c23000       Deferred        libdl.so.2
ELF         7faba6c43000-    7faba6c7a000       Deferred        ld-linux-x86-64.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000020 start.exe
        00000024    0
00000038 services.exe
        ["C:\windows\system32\services.exe"]
        0000003c    0
        00000040    0
        0000004c    0
        00000050    0
        00000070    0
        000000a0    0
        000000c0    0
        000000c4    0
        000000e4    0
00000044 winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000048    0
        00000054    0
        00000058    0
        0000005c    0
        000000d0    0
00000060 winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000064    0
        00000074    0
        00000078    0
        0000007c    0
        00000084    0
        00000088    0
        0000008c    0
00000068 explorer.exe
        [C:\windows\system32\explorer.exe /desktop]
        0000006c    0
        0000009c    0
        000000b8    0
00000090 plugplay.exe
        [C:\windows\system32\plugplay.exe]
        00000094    0
        000000a4    0
        000000a8    0
        000000ac    0
000000b0 svchost.exe
        [C:\windows\system32\svchost.exe -k LocalServiceNetworkRestricted]
        000000b4    0
        000000c8    0
        000000cc    0
000000dc rpcss.exe
        [C:\windows\system32\rpcss.exe]
        000000e0    0
        000000e8    0
        000000ec    0
        000000f0    0
        000000f4    0
        000000f8    0
00000128 conhost.exe
        ["C:\windows\system32\conhost.exe" --unix --width 118 --height 42 --server 0xc]
        0000012c    0
00000130 (D) C:\Games\Far Cry New Dawn\bin\FarCryNewDawn.exe
        ["C:\Games\Far Cry New Dawn\bin\FarCryNewDawn.exe" ]
        00000134    0 <==
System information:
    Wine build: wine-6.20 (Staging)
    Platform: x86_64
    Version: Windows 10
    Host system: Linux
    Host version: 5.14.1

Но тут https://appdb.winehq.org/objectManager.php?sClass=application&iId=19343 - запустился

https://www.protondb.com/app/939960 protondb тоже

Что не так? что за ntdll.dll.RtlGetCurrentUmsThread отсутствующий?

 

DMITRY
()

Оптимизация компилятора

Очень часто здесь говорится, в основном в контексте обсуждения gentoo, что при сборке можно получить значительную оптимизацию, но это не -Ofast -march=native и ее нужно уметь готовить.

Однако везде говорится что -Ofast -march=native вполне достаточно, все остальное - лишнее, а иногда и вредное

Так вот - что значит «уметь готовить» оптимизации?

P.S. Всем спасибо за советы, буду изучать

 ,

DMITRY
()

nodejs неправильно обрабатывает относительные пути

собрал nodejs в LFS

# npm --version
internal/modules/cjs/loader.js:888
  throw err;
  ^

Error: Cannot find module '../lib/utils/unsupported.js'
Require stack:
- /usr/lib/node_modules/npm/bin/npm-cli.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
    at Function.Module._load (internal/modules/cjs/loader.js:730:27)
    at Module.require (internal/modules/cjs/loader.js:957:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at /usr/lib/node_modules/npm/bin/npm-cli.js:19:21
    at Object.<anonymous> (/usr/lib/node_modules/npm/bin/npm-cli.js:155:3)
    at Module._compile (internal/modules/cjs/loader.js:1068:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:933:32)
    at Function.Module._load (internal/modules/cjs/loader.js:774:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/usr/lib/node_modules/npm/bin/npm-cli.js' ]
}

При использовании бинарника с сайта node все работает, но мне бинарники не нужны

‘/usr/lib/node_modules/npm/bin/../lib/utils/unsupported.js’ существует

# node --version
v14.17.0

Собираю с

./configure --prefix=/usr                  \
            --shared-cares                 \
            --shared-libuv                 \
            --shared-openssl               \
            --shared-nghttp2               \
            --shared-zlib                  \
            --with-intl=system-icu     

тесты не проходит по той же ошибке

 , ,

DMITRY
()

Возможно ли встроить пропириетарный драйвр nvidia в ядро?

хотелось бы поставить его в ядре как =y и полностью выключить поддержу модулей. Но как это сделать?

и еще смущает размер этого модуля (под 40 мб)

 , ,

DMITRY
()

ошибка компиляции wine

при сборке proton во время компиляции 32 бит wine-proton происходит следующая ошибка

gcc -m32 -mstackrealign -m32 -c -o bcrypt_main.o ../../../../proton/wine/dlls/bcrypt/bcrypt_main.c -I. \
  -I../../../../proton/wine/dlls/bcrypt -I../../include -I../../../../proton/wine/include \
  -D__WINESRC__ -D_REENTRANT -fno-PIC -fasynchronous-unwind-tables -Wall -pipe -fcf-protection=none \
  -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
  -Wignored-qualifiers -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
  -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 \
  -gstrict-dwarf -fno-omit-frame-pointer -I/mnt/sda1/pron-bld/build/obj-tools32/include -g -O2 -march=nocona -mtune=core-avx2 -mfpmath=sse -fwrapv -fno-strict-aliasing -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c: In function ‘get_dh_property’:
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:698:17: error: ‘const union <anonymous>’ has no member named ‘a’
  698 |     if (!(key->u.a.flags & KEY_FLAG_FINALIZED)) return STATUS_INVALID_HANDLE;
      |                 ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:700:60: error: ‘const union <anonymous>’ has no member named ‘a’
  700 |     data_size = sizeof(BCRYPT_DH_PARAMETER_HEADER) + key->u.a.bitlen / 8 * 2;
      |                                                            ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:713:28: error: ‘const union <anonymous>’ has no member named ‘a’
  713 |     h->cbKeyLength = key->u.a.bitlen / 8;
      |                            ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:714:48: error: ‘const union <anonymous>’ has no member named ‘a’
  714 |     memcpy( h + 1, (BCRYPT_DH_KEY_BLOB *)key->u.a.pubkey + 1, h->cbKeyLength * 2);
      |                                                ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c: In function ‘BCryptFinalizeKeyPair’:
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:1659:15: error: ‘union <anonymous>’ has no member named ‘a’
 1659 |         key->u.a.flags |= KEY_FLAG_FINALIZED;
      |               ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c: In function ‘BCryptImportKeyPair’:
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:1746:36: error: ‘union <anonymous>’ has no member named ‘a’
 1746 |         ((struct key *)*ret_key)->u.a.flags |= KEY_FLAG_FINALIZED;
      |                                    ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c: In function ‘BCryptSetProperty’:
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:1864:79: error: ‘union <anonymous>’ has no member named ‘a’
 1864 |                 ULONG param_size = sizeof(BCRYPT_DH_PARAMETER_HEADER) + key->u.a.bitlen / 8 * 2;
      |                                                                               ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:1866:27: error: ‘union <anonymous>’ has no member named ‘a’
 1866 |                 if (key->u.a.flags & KEY_FLAG_FINALIZED)
      |                           ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:1872:52: error: ‘union <anonymous>’ has no member named ‘a’
 1872 |                         || h->cbKeyLength != key->u.a.bitlen / 8)
      |                                                    ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:1875:52: error: ‘union <anonymous>’ has no member named ‘a’
 1875 |                 memcpy((BCRYPT_DH_KEY_BLOB *)key->u.a.pubkey + 1, h + 1, h->cbKeyLength * 2);
      |                                                    ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:1876:23: error: ‘union <anonymous>’ has no member named ‘a’
 1876 |                 key->u.a.flags |= KEY_FLAG_DH_PARAMS_SET;
      |                       ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c: In function ‘BCryptSecretAgreement’:
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:2053:21: error: ‘union <anonymous>’ has no member named ‘a’
 2053 |     if (!(privkey->u.a.flags & pubkey->u.a.flags & KEY_FLAG_FINALIZED)) return STATUS_INVALID_PARAMETER;
      |                     ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:2053:41: error: ‘union <anonymous>’ has no member named ‘a’
 2053 |     if (!(privkey->u.a.flags & pubkey->u.a.flags & KEY_FLAG_FINALIZED)) return STATUS_INVALID_PARAMETER;
      |                                         ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:2054:19: error: ‘union <anonymous>’ has no member named ‘a’
 2054 |     if (privkey->u.a.bitlen != pubkey->u.a.bitlen) return STATUS_INVALID_PARAMETER;
      |                   ^
../../../../proton/wine/dlls/bcrypt/bcrypt_main.c:2054:41: error: ‘union <anonymous>’ has no member named ‘a’
 2054 |     if (privkey->u.a.bitlen != pubkey->u.a.bitlen) return STATUS_INVALID_PARAMETER;
      |                                         ^
make[3]: *** [Makefile:191: bcrypt_main.o] Ошибка 1
make[3]: выход из каталога «/mnt/sda1/pron-bld/build/obj-wine32/dlls/bcrypt»
make[2]: *** [Makefile:11515: dlls/bcrypt] Ошибка 2
make[2]: выход из каталога «/mnt/sda1/pron-bld/build/obj-wine32»
make[1]: *** [../proton/build/makefile_base.mak:1306: wine32-intermediate] Ошибка 2
make[1]: выход из каталога «/mnt/sda1/pron-bld/build»
make: *** [../proton/build/makefile_base.mak:17: nested_make] Ошибка 2

возможно не стоят какие-то i386-dev либы, может что то еще

дополнительно: ubuntu 21.04 никаких vagrant и докеров не использую, просто создал отдельного юзера, выполнил команды из vagrantfile и запустил vagrant-user-setup.sh, потом make

еще заметил что вроде в других вайнах (5.0 6.0 6.4) этой функции с ошибкой вроде нет

 , , ,

DMITRY
()

черный экран Xorg в lfs с пропириетарным драйвером nvidia и amdgpu

Xorg в lfs не запускается с пропириетарным драйвером нвидии. startx = черный экран, но при этом открывающимся xterm можно набирать команды отправляя их вывод в фаил. de пока не собрано, только twm.

видеокарта - gtx 1650 mobile + vega 8

долго включал/выключал модесетинг - или тож самое или оно вроде запускается, но на экране продолжает отображаться консоль. копировал и с убунты какието конфиги, переустанавлилвал дрова,месу,xorg - все бестолку

X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[   123.462] Build Operating System: Linux 5.8.17-custom+ x86_64 
[   123.462] Current Operating System: Linux user-Nitro-AN515-43 5.11.6 #3 SMP Sat Mar 20 17:14:54 MSK 2021 x86_64
[   123.462] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.11.6 root=/dev/nvme0n1p3 ro nvidia-drm.modeset=1
[   123.463] Current version of pixman: 0.40.0
[   123.467] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Mar 21 18:39:41 2021
[   123.469] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   123.470] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   123.470] (==) ServerLayout "layout"
[   123.470] (==) No screen section available. Using defaults.
[   123.470] (**) |-->Screen "Default Screen Section" (0)
[   123.470] (**) |   |-->Monitor "<default monitor>"
[   123.471] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   123.471] (==) Automatically adding devices
[   123.471] (==) Automatically enabling devices
[   123.471] (==) Automatically adding GPU devices
[   123.471] (==) Max clients allowed: 256, resource mask: 0x1fffff
кусок со шрифтами удалил
[   123.471] (==) ModulePath set to "/usr/lib/xorg/modules"
[   123.471] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   123.471] (II) Loader magic: 0x65bcc0
[   123.471] (II) Module ABI versions:
[   123.471] 	X.Org ANSI C Emulation: 0.4
[   123.471] 	X.Org Video Driver: 24.1
[   123.471] 	X.Org XInput driver : 24.1
[   123.471] 	X.Org Server Extension : 10.0
[   123.471] (++) using VT number 1

[   123.472] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   123.473] (II) xfree86: Adding drm device (/dev/dri/card1)
[   123.473] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 10 paused 0
[   123.473] (II) xfree86: Adding drm device (/dev/dri/card0)
[   123.474] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   123.475] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[   123.475] (**) OutputClass "Nvidia Prime" ModulePath extended to "/lib/nvidia/xorg,/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[   123.475] (**) OutputClass "Nvidia Prime" setting /dev/dri/card1 as PrimaryGPU
[   123.477] (--) PCI:*(1@0:0:0) 10de:1f91:1025:142a rev 161, Mem @ 0xc1000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00003000/128
[   123.477] (--) PCI: (5@0:0:0) 1002:15d8:1025:1366 rev 194, Mem @ 0xb0000000/268435456, 0xc0000000/2097152, 0xc2600000/524288, I/O @ 0x00001000/256
[   123.477] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   123.477] (II) LoadModule: "glx"
[   123.478] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   123.478] (II) Module glx: vendor="X.Org Foundation"
[   123.478] 	compiled for 1.20.10, module version = 1.0.0
[   123.478] 	ABI class: X.Org Server Extension, version 10.0
[   123.478] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[   123.478] 	loading driver: nvidia
[   123.478] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[   123.478] 	loading driver: nvidia
[   123.478] (II) Applying OutputClass "Nvidia Prime" to /dev/dri/card1
[   123.478] 	loading driver: nvidia
[   123.478] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[   123.478] 	loading driver: nvidia
[   123.478] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[   123.478] 	loading driver: amdgpu
[   123.478] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[   123.478] 	loading driver: amdgpu
[   123.478] (==) Matched nvidia as autoconfigured driver 0
[   123.478] (==) Matched nouveau as autoconfigured driver 1
[   123.478] (==) Matched nv as autoconfigured driver 2
[   123.478] (==) Matched amdgpu as autoconfigured driver 3
[   123.478] (==) Matched ati as autoconfigured driver 4
[   123.479] (==) Matched modesetting as autoconfigured driver 5
[   123.479] (==) Matched fbdev as autoconfigured driver 6
[   123.479] (==) Matched vesa as autoconfigured driver 7
[   123.479] (==) Assigned the driver to the xf86ConfigLayout
[   123.479] (II) LoadModule: "nvidia"
[   123.479] (II) Loading /lib/nvidia/xorg/nvidia_drv.so
[   123.479] (II) Module nvidia: vendor="NVIDIA Corporation"
[   123.479] 	compiled for 1.6.99.901, module version = 1.0.0
[   123.479] 	Module class: X.Org Video Driver
[   123.479] (II) LoadModule: "nouveau"
[   123.479] (WW) Warning, couldn't open module nouveau
[   123.479] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   123.479] (II) LoadModule: "nv"
[   123.479] (WW) Warning, couldn't open module nv
[   123.479] (EE) Failed to load module "nv" (module does not exist, 0)
[   123.479] (II) LoadModule: "amdgpu"
[   123.479] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[   123.479] (II) Module amdgpu: vendor="X.Org Foundation"
[   123.479] 	compiled for 1.20.8, module version = 19.1.0
[   123.479] 	Module class: X.Org Video Driver
[   123.479] 	ABI class: X.Org Video Driver, version 24.1
[   123.479] (II) LoadModule: "ati"
[   123.479] (WW) Warning, couldn't open module ati
[   123.479] (EE) Failed to load module "ati" (module does not exist, 0)
[   123.479] (II) LoadModule: "modesetting"
[   123.479] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   123.480] (II) Module modesetting: vendor="X.Org Foundation"
[   123.480] 	compiled for 1.20.10, module version = 1.20.10
[   123.480] 	Module class: X.Org Video Driver
[   123.480] 	ABI class: X.Org Video Driver, version 24.1
[   123.480] (II) LoadModule: "fbdev"
[   123.480] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   123.480] (II) Module fbdev: vendor="X.Org Foundation"
[   123.480] 	compiled for 1.20.1, module version = 0.5.0
[   123.480] 	Module class: X.Org Video Driver
[   123.480] 	ABI class: X.Org Video Driver, version 24.0
[   123.480] (II) LoadModule: "vesa"
[   123.480] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   123.480] (II) Module vesa: vendor="X.Org Foundation"
[   123.480] 	compiled for 1.20.8, module version = 2.5.0
[   123.480] 	Module class: X.Org Video Driver
[   123.480] 	ABI class: X.Org Video Driver, version 24.1
[   123.480] (II) NVIDIA dlloader X Driver  460.67  Thu Mar 11 00:09:07 UTC 2021
[   123.480] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   123.480] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[   123.480] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   123.480] (II) FBDEV: driver for framebuffer: fbdev
[   123.480] (II) VESA: driver for VESA chipsets: vesa
[   123.480] (II) systemd-logind: releasing fd for 226:1
[   123.480] (II) Loading sub module "fb"
[   123.480] (II) LoadModule: "fb"
[   123.480] (II) Loading /usr/lib/xorg/modules/libfb.so
[   123.481] (II) Module fb: vendor="X.Org Foundation"
[   123.481] 	compiled for 1.20.10, module version = 1.0.0
[   123.481] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   123.481] (II) Loading sub module "wfb"
[   123.481] (II) LoadModule: "wfb"
[   123.481] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   123.481] (II) Module wfb: vendor="X.Org Foundation"
[   123.481] 	compiled for 1.20.10, module version = 1.0.0
[   123.481] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   123.481] (II) Loading sub module "ramdac"
[   123.481] (II) LoadModule: "ramdac"
[   123.481] (II) Module "ramdac" already built-in
[   123.481] (WW) Falling back to old probe method for modesetting
[   123.482] (WW) Falling back to old probe method for fbdev
[   123.482] (II) Loading sub module "fbdevhw"
[   123.482] (II) LoadModule: "fbdevhw"
[   123.482] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   123.482] (II) Module fbdevhw: vendor="X.Org Foundation"
[   123.482] 	compiled for 1.20.10, module version = 0.0.2
[   123.482] 	ABI class: X.Org Video Driver, version 24.1
[   123.485] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   123.485] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   123.485] (==) NVIDIA(0): RGB weight 888
[   123.485] (==) NVIDIA(0): Default visual is TrueColor
[   123.486] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   123.486] (**) Option "AllowNVIDIAGpuScreens"
[   123.486] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[   123.486] (II) Applying OutputClass "Nvidia Prime" options to /dev/dri/card1
[   123.486] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[   123.486] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   123.486] (**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
[   123.486] (**) NVIDIA(0): Enabling 2D acceleration
[   123.486] (**) NVIDIA(0): ConnectedMonitor string: "DFP"
[   123.486] (II) Loading sub module "glxserver_nvidia"
[   123.486] (II) LoadModule: "glxserver_nvidia"
[   123.486] (II) Loading /lib/nvidia/xorg/libglxserver_nvidia.so
[   123.491] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   123.491] 	compiled for 1.6.99.901, module version = 1.0.0
[   123.491] 	Module class: X.Org Server Extension
[   123.491] (II) NVIDIA GLX Module  460.67  Thu Mar 11 00:06:44 UTC 2021
[   123.491] (II) NVIDIA: The X server supports PRIME Render Offload.
[   123.492] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1650 (TU117-A) at PCI:1:0:0 (GPU-0)
[   123.492] (--) NVIDIA(0): Memory: 4194304 kBytes
[   123.492] (--) NVIDIA(0): VideoBIOS: 90.17.3d.00.80
[   123.492] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   123.492] (II) NVIDIA(0): Validated MetaModes:
[   123.492] (II) NVIDIA(0):     "NULL"
[   123.492] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[   123.492] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[   123.492] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[   123.493] (==) AMDGPU(G0): Depth 24, (--) framebuffer bpp 32
[   123.493] (II) AMDGPU(G0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[   123.493] (==) AMDGPU(G0): Default visual is TrueColor
[   123.493] (==) AMDGPU(G0): RGB weight 888
[   123.493] (II) AMDGPU(G0): Using 8 bits per RGB (8 bit DAC)
[   123.493] (--) AMDGPU(G0): Chipset: "AMD Radeon(TM) Vega 8 Graphics" (ChipID = 0x15d8)
[   123.493] (II) Loading sub module "fb"
[   123.493] (II) LoadModule: "fb"
[   123.493] (II) Loading /usr/lib/xorg/modules/libfb.so
[   123.493] (II) Module fb: vendor="X.Org Foundation"
[   123.493] 	compiled for 1.20.10, module version = 1.0.0
[   123.493] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   123.493] (II) Loading sub module "dri2"
[   123.493] (II) LoadModule: "dri2"
[   123.493] (II) Module "dri2" already built-in
[   123.530] (II) Loading sub module "glamoregl"
[   123.530] (II) LoadModule: "glamoregl"
[   123.531] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   123.534] (II) Module glamoregl: vendor="X.Org Foundation"
[   123.534] 	compiled for 1.20.10, module version = 1.0.1
[   123.534] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   123.540] (EE) AMDGPU(G0): eglGetDisplay() failed
[   123.540] (EE) AMDGPU(G0): glamor detected, failed to initialize EGL.
[   123.540] (WW) AMDGPU(G0): amdgpu_glamor_pre_init returned FALSE, using ShadowFB
[   123.540] (II) Loading sub module "shadow"
[   123.540] (II) LoadModule: "shadow"
[   123.540] (II) Loading /usr/lib/xorg/modules/libshadow.so
[   123.540] (II) Module shadow: vendor="X.Org Foundation"
[   123.540] 	compiled for 1.20.10, module version = 1.1.0
[   123.540] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   123.540] (II) AMDGPU(G0): Output HDMI-A-1-0 has no monitor section
[   123.540] (II) AMDGPU(G0): Output eDP-1-0 has no monitor section
[   123.558] (II) AMDGPU(G0): EDID for output HDMI-A-1-0
[   123.559] (II) AMDGPU(G0): EDID for output eDP-1-0
[   123.559] (II) AMDGPU(G0): Manufacturer: BOE  Model: 818  Serial#: 0
[   123.559] (II) AMDGPU(G0): Year: 2018  Week: 32
[   123.559] (II) AMDGPU(G0): EDID Version: 1.4
[   123.559] (II) AMDGPU(G0): Digital Display Input
[   123.559] (II) AMDGPU(G0): 8 bits per channel
[   123.559] (II) AMDGPU(G0): Digital interface is DisplayPort
[   123.559] (II) AMDGPU(G0): Max Image Size [cm]: horiz.: 34  vert.: 19
[   123.559] (II) AMDGPU(G0): Gamma: 2.20
[   123.559] (II) AMDGPU(G0): No DPMS capabilities specified
[   123.559] (II) AMDGPU(G0): Supported color encodings: RGB 4:4:4 
[   123.559] (II) AMDGPU(G0): First detailed timing is preferred mode
[   123.559] (II) AMDGPU(G0): Preferred mode is native pixel format and refresh rate
[   123.559] (II) AMDGPU(G0): redX: 0.585 redY: 0.363   greenX: 0.350 greenY: 0.579
[   123.559] (II) AMDGPU(G0): blueX: 0.162 blueY: 0.143   whiteX: 0.312 whiteY: 0.328
[   123.559] (II) AMDGPU(G0): Manufacturer's mask: 0
[   123.559] (II) AMDGPU(G0): Supported detailed timing:
[   123.559] (II) AMDGPU(G0): clock: 152.5 MHz   Image Size:  344 x 194 mm
[   123.559] (II) AMDGPU(G0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2230 h_border: 0
[   123.559] (II) AMDGPU(G0): v_active: 1080  v_sync: 1083  v_sync_end 1089 v_blanking: 1140 v_border: 0
[   123.559] (II) AMDGPU(G0):  BOE CQ
[   123.559] (II) AMDGPU(G0):  NV156FHM-N48
[   123.559] (II) AMDGPU(G0): EDID (in hex):
[   123.559] (II) AMDGPU(G0): 	00ffffffffffff0009e5180800000000
[   123.559] (II) AMDGPU(G0): 	201c0104a522137802c9a0955d599429
[   123.559] (II) AMDGPU(G0): 	24505400000001010101010101010101
[   123.559] (II) AMDGPU(G0): 	010101010101953b803671383c403020
[   123.559] (II) AMDGPU(G0): 	360058c21000001a0000000000000000
[   123.559] (II) AMDGPU(G0): 	00000000000000000000000000fe0042
[   123.559] (II) AMDGPU(G0): 	4f452043510a202020202020000000fe
[   123.559] (II) AMDGPU(G0): 	004e5631353646484d2d4e34380a0049
[   123.559] (II) AMDGPU(G0): Printing probed modes for output eDP-1-0
[   123.559] (II) AMDGPU(G0): Modeline "1920x1080"x60.0  152.53  1920 1968 2000 2230  1080 1083 1089 1140 +hsync -vsync (68.4 kHz eP)
[   123.559] (II) AMDGPU(G0): Modeline "1680x1050"x60.0  152.53  1680 1968 2000 2230  1050 1083 1089 1140 +hsync -vsync (68.4 kHz e)
[   123.559] (II) AMDGPU(G0): Modeline "1280x1024"x60.0  152.53  1280 1968 2000 2230  1024 1083 1089 1140 +hsync -vsync (68.4 kHz e)
[   123.559] (II) AMDGPU(G0): Modeline "1440x900"x60.0  152.53  1440 1968 2000 2230  900 1083 1089 1140 +hsync -vsync (68.4 kHz e)
[   123.559] (II) AMDGPU(G0): Modeline "1280x800"x60.0  152.53  1280 1968 2000 2230  800 1083 1089 1140 +hsync -vsync (68.4 kHz e)
[   123.559] (II) AMDGPU(G0): Modeline "1280x720"x60.0  152.53  1280 1968 2000 2230  720 1083 1089 1140 +hsync -vsync (68.4 kHz e)
[   123.559] (II) AMDGPU(G0): Modeline "1024x768"x60.0  152.53  1024 1968 2000 2230  768 1083 1089 1140 +hsync -vsync (68.4 kHz e)
[   123.559] (II) AMDGPU(G0): Modeline "800x600"x60.0  152.53  800 1968 2000 2230  600 1083 1089 1140 +hsync -vsync (68.4 kHz e)
[   123.559] (II) AMDGPU(G0): Modeline "640x480"x60.0  152.53  640 1968 2000 2230  480 1083 1089 1140 +hsync -vsync (68.4 kHz e)
[   123.559] (II) AMDGPU(G0): mem size init: gart size :bf6cc000 vram size: s:7e00b000 visible:7e00b000
[   123.559] (==) AMDGPU(G0): DPI set to (96, 96)
[   123.559] (==) AMDGPU(G0): Using gamma correction (1.0, 1.0, 1.0)
[   123.559] (II) Loading sub module "ramdac"
[   123.559] (II) LoadModule: "ramdac"
[   123.559] (II) Module "ramdac" already built-in
[   123.559] (II) UnloadModule: "modesetting"
[   123.559] (II) Unloading modesetting
[   123.559] (II) UnloadModule: "fbdev"
[   123.559] (II) Unloading fbdev
[   123.559] (II) UnloadSubModule: "fbdevhw"
[   123.559] (II) Unloading fbdevhw
[   123.559] (II) UnloadModule: "vesa"
[   123.560] (II) Unloading vesa
[   123.560] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[   123.560] (II) NVIDIA:     access.
[   123.576] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   123.576] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   123.576] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   123.576] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   123.576] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   123.576] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   123.576] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   123.576] (II) NVIDIA(0):     Config Options in the README.
[   123.602] (II) NVIDIA(0): Setting mode "NULL"
[   123.607] (==) NVIDIA(0): Disabling shared memory pixmaps
[   123.607] (==) NVIDIA(0): Backing store enabled
[   123.607] (==) NVIDIA(0): Silken mouse enabled
[   123.608] (==) NVIDIA(0): DPMS enabled
[   123.608] (WW) NVIDIA(0): Option "IgnoreDisplayDevices" is not used
[   123.608] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[   123.608] (II) Loading sub module "dri2"
[   123.608] (II) LoadModule: "dri2"
[   123.608] (II) Module "dri2" already built-in
[   123.608] (II) NVIDIA(0): [DRI2] Setup complete
[   123.608] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   123.608] (II) AMDGPU(G0): Front buffer pitch: 4096 bytes
[   123.608] (==) AMDGPU(G0): Backing store enabled
[   123.608] (WW) AMDGPU(G0): Direct rendering disabled
[   123.608] (II) AMDGPU(G0): 2D and 3D acceleration disabled
[   123.608] (==) AMDGPU(G0): DPMS enabled
[   123.608] (==) AMDGPU(G0): Silken mouse enabled
[   123.625] (II) Initializing extension Generic Event Extension
[   123.625] (II) Initializing extension SHAPE
[   123.625] (II) Initializing extension MIT-SHM
[   123.625] (II) Initializing extension XInputExtension
[   123.625] (II) Initializing extension XTEST
[   123.625] (II) Initializing extension BIG-REQUESTS
[   123.625] (II) Initializing extension SYNC
[   123.625] (II) Initializing extension XKEYBOARD
[   123.625] (II) Initializing extension XC-MISC
[   123.625] (II) Initializing extension XFIXES
[   123.625] (II) Initializing extension RENDER
[   123.625] (II) Initializing extension RANDR
[   123.625] (II) Initializing extension COMPOSITE
[   123.625] (II) Initializing extension DAMAGE
[   123.625] (II) Initializing extension MIT-SCREEN-SAVER
[   123.625] (II) Initializing extension DOUBLE-BUFFER
[   123.625] (II) Initializing extension RECORD
[   123.625] (II) Initializing extension DPMS
[   123.625] (II) Initializing extension Present
[   123.625] (II) Initializing extension DRI3
[   123.625] (II) Initializing extension X-Resource
[   123.625] (II) Initializing extension XVideo
[   123.625] (II) Initializing extension XVideo-MotionCompensation
[   123.625] (II) Initializing extension GLX
[   123.625] (II) Initializing extension GLX
[   123.625] (II) Indirect GLX disabled.
[   123.625] (II) GLX: Another vendor is already registered for screen 0
[   123.625] (II) Initializing extension XFree86-VidModeExtension
[   123.625] (II) Initializing extension XFree86-DGA
[   123.625] (II) Initializing extension XFree86-DRI
[   123.625] (II) Initializing extension DRI2
[   123.625] (II) Initializing extension NV-GLX
[   123.625] (II) Initializing extension NV-CONTROL
удалил связанный с вводом кусок
[   127.038] (II) NVIDIA(GPU-0): Deleting GPU-0
[   127.038] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[   127.038] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[   127.038] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
[   127.039] (II) Server terminated successfully (0). Closing log file.

glxinfo говорит OpenGL version string: 4.6.0 NVIDIA 460.67

nvidia-smi

| NVIDIA-SMI 460.67       Driver Version: 460.67       CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 1650    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   51C    P8     1W /  N/A |      8MiB /  3914MiB |      0%      Default |
|                               |                      |                  N/A |

| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       399      G   /usr/libexec/Xorg                   8MiB |

 , ,

DMITRY
()

ошибка линковки cbindgen

при сборке Cbindgen-0.15.0 в blfs выдает:

root [ /sources/cbindgen-0.15.0 ]# cargo build --release
   Compiling proc-macro2 v1.0.21
   Compiling libc v0.2.77
   Compiling syn v1.0.41
   Compiling getrandom v0.1.15
   Compiling serde_derive v1.0.116
   Compiling serde v1.0.116
   Compiling ryu v1.0.5
   Compiling bitflags v1.2.1
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.0.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.1.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.10.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.11.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.12.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.13.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.14.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.15.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.2.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.3.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.4.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.5.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.6.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.7.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.8.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.build_script_build.8sl2aqo7-cgu.9.rcgu.o" "-o" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f" "/sources/cbindgen-0.15.0/target/release/build/getrandom-78972862c7f4793f/build_script_build-78972862c7f4793f.16dyastae9ubq23m.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/sources/cbindgen-0.15.0/target/release/deps" "-L" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f484aa6eb0db3aec.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fd7ce1db81bd1670.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9f18046c75084a11.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1a5d4f619eaec707.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a06a5b2af1dc3f11.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-263a91b4cac8832e.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-4ff7db0018d39318.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-055170efec07394d.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-ce4d920c08eaf329.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-079e90aa9ee7ae93.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-c2911e51d2bc32f0.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-20a027e679a930e8.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-cd4ea6b6f53878f9.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9de1a409441fbdd5.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-d4adf81a33c45493.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-781f645f090477f9.rlib" "-Wl,--end-group" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-52f23afd4f4a3a72.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
  = note: /usr/bin/ld: /opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f484aa6eb0db3aec.rlib: error adding symbols: archive has no index; run ranlib to add one
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `getrandom`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.0.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.1.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.10.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.11.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.12.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.13.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.14.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.15.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.2.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.3.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.4.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.5.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.6.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.7.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.8.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.build_script_build.56juy270-cgu.9.rcgu.o" "-o" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c" "/sources/cbindgen-0.15.0/target/release/build/ryu-82a4a090d953cf8c/build_script_build-82a4a090d953cf8c.ymyjg0xozgnpr9.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/sources/cbindgen-0.15.0/target/release/deps" "-L" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f484aa6eb0db3aec.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fd7ce1db81bd1670.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9f18046c75084a11.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1a5d4f619eaec707.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a06a5b2af1dc3f11.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-263a91b4cac8832e.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-4ff7db0018d39318.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-055170efec07394d.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-ce4d920c08eaf329.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-079e90aa9ee7ae93.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-c2911e51d2bc32f0.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-20a027e679a930e8.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-cd4ea6b6f53878f9.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9de1a409441fbdd5.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-d4adf81a33c45493.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-781f645f090477f9.rlib" "-Wl,--end-group" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-52f23afd4f4a3a72.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
  = note: /usr/bin/ld: /opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f484aa6eb0db3aec.rlib: error adding symbols: archive has no index; run ranlib to add one
          collect2: error: ld returned 1 exit status
          

пришлось убрать повторяющиеся куски так был слишком большой размер
          

error: aborting due to previous error

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.0.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.1.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.10.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.11.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.12.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.13.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.14.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.15.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.2.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.3.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.4.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.5.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.6.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.7.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.8.rcgu.o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.build_script_build.bui9rw49-cgu.9.rcgu.o" "-o" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6" "/sources/cbindgen-0.15.0/target/release/build/libc-544f3524767e1cc6/build_script_build-544f3524767e1cc6.553mqdahq9y6vlpb.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/sources/cbindgen-0.15.0/target/release/deps" "-L" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f484aa6eb0db3aec.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fd7ce1db81bd1670.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9f18046c75084a11.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-1a5d4f619eaec707.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a06a5b2af1dc3f11.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-263a91b4cac8832e.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-4ff7db0018d39318.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-055170efec07394d.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-ce4d920c08eaf329.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-079e90aa9ee7ae93.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-c2911e51d2bc32f0.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-20a027e679a930e8.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-cd4ea6b6f53878f9.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9de1a409441fbdd5.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-d4adf81a33c45493.rlib" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-781f645f090477f9.rlib" "-Wl,--end-group" "/opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-52f23afd4f4a3a72.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
  = note: /usr/bin/ld: /opt/rustc-1.47.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-f484aa6eb0db3aec.rlib: error adding symbols: archive has no index; run ranlib to add one
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: build failed

rustc 1.47.0 установлен

пробовал:ldconfig, переустановка binutils, танцы с бубном(что именно не помню)

 , ,

DMITRY
()

не работает wi fi в blfs

в blfs не работает wifi, как при использовании networkmanager так и при systemd-networkd. проводной интернет работает.firmware (ath10k) вроде закинул. конфиги скопировал с ubuntu. во всех случаях найденных в интернете линк(wlp4s0) не поднимается, а у меня как я понял он отсутствует. весь dmesg не прикладываю так как слишком большой но вот интересный кусок:

[    0.749868] Initializing XFRM netlink socket
[    0.751104] NET: Registered protocol family 10
[    0.752507] Segment Routing with IPv6
[    0.752598] hdaudio hdaudioC0D0: Unable to bind the codec
[    0.754569] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.755829] NET: Registered protocol family 17
[    0.756983] Key type dns_resolver registered
[    0.763036] hdaudio hdaudioC1D0: Unable to bind the codec
[    0.771287] microcode: CPU0: patch_level=0x08108109
[    0.772469] microcode: CPU1: patch_level=0x08108109
[    0.773597] microcode: CPU2: patch_level=0x08108109
[    0.774565] microcode: CPU3: patch_level=0x08108109
[    0.775668] microcode: CPU4: patch_level=0x08108109
[    0.776786] microcode: CPU5: patch_level=0x08108109
[    0.777820] microcode: CPU6: patch_level=0x08108109
[    0.778520] microcode: CPU7: patch_level=0x08108109
[    0.779236] microcode: Microcode Update Driver: v2.2.
[    0.779238] IPI shorthand broadcast: enabled
[    0.780619] sched_clock: Marking stable (780032120, 580649)->(826082483, -45469714)
[    0.781387] registered taskstats version 1
[    0.782093] Loading compiled-in X.509 certificates
[    0.782837] pstore: Using crash dump compression: deflate
[    0.783711] PM:   Magic number: 12:713:775
[    0.784422] misc fuse: hash matches
[    0.785144] printk: console [netcon0] enabled
[    0.785832] netconsole: network logging started
[    0.804235] acpi_cpufreq: overriding BIOS provided _PSD data
[    0.805103] ath10k_pci 0000:04:00.0: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA6174/hw3.0: -2
[    0.806067] ath10k_pci 0000:04:00.0: could not fetch firmware files (-2)
[    0.806203] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    0.807003] ath10k_pci 0000:04:00.0: could not probe fw (-2)
[    0.808305] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    0.809856] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    0.810889] cfg80211: failed to load regulatory.db
[    0.811213] ALSA device list:
[    0.813136]   No soundcards found.
[    1.021357] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.027377] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.028984] ata1.00: ATA-10: WDC WD10SPSX-00A6WT0, 01.01A01, max UDMA/133
[    1.029987] ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[    1.031643] ata1.00: configured for UDMA/133

(звук упомянутый в нем также неработает)

lspci -k

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
	Subsystem: Acer Incorporated [ALI] Device 1366
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
	Subsystem: Acer Incorporated [ALI] Device 1366
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
	Kernel driver in use: pcieport
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
	Kernel driver in use: pcieport
00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
	Kernel driver in use: pcieport
00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
	Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
	Kernel driver in use: pcieport
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B
	Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
	Subsystem: Acer Incorporated [ALI] Device 1366
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: Acer Incorporated [ALI] Device 1366
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
	Subsystem: Acer Incorporated [ALI] Device 142a
02:00.0 Non-Volatile memory controller: SK hynix BC501 NVMe Solid State Drive 512GB
	Subsystem: SK hynix Device 0000
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 25)
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: r8169
04:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
	Subsystem: Lite-On Communications Inc Device 0807
	Kernel driver in use: ath10k_pci
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c2)
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: amdgpu
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: snd_hda_intel
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
	Subsystem: Acer Incorporated [ALI] Device 1366
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: xhci_hcd
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: xhci_hcd
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: snd_hda_intel
06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
	Subsystem: Acer Incorporated [ALI] Device 1366
	Kernel driver in use: ahci

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:97:98:9f:35:84 brd ff:ff:ff:ff:ff:ff
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0

ip link (ubuntu)

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:97:98:9f:35:84 brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether 80:30:49:00:e9:2b brd ff:ff:ff:ff:ff:ff
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:8e:db:44 brd ff:ff:ff:ff:ff:ff
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN mode DEFAULT group default qlen 1000
    link/ether 52:54:00:8e:db:44 brd ff:ff:ff:ff:ff:ff

почему в blfs отстствует wlp4s0 и как его добавить?

с /lib/firmware чего только не делал, не помогло даже полное копирование ее из ubuntu

 ,

DMITRY
()

некомпилируеться libsoup

при компиляции libsoup в blfs выдает

root [ /sources/libsoup-2.72.0/build ]# ninja
[1/48] Linking target libsoup/libsoup-2.4.so.1.11.0
FAILED: libsoup/libsoup-2.4.so.1.11.0 
cc  -o libsoup/libsoup-2.4.so.1.11.0 libsoup/libsoup-2.4.so.1.11.0.p/meson-generated_.._soup-resources.c.o libsoup/libsoup-2.4.so.1.11.0.p/meson-generated_.._soup-enum-types.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-address.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-auth.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-auth-basic.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-auth-digest.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-auth-ntlm.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-auth-negotiate.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-auth-domain.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-auth-domain-basic.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-auth-domain-digest.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-auth-manager.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-body-input-stream.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-body-output-stream.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-cache.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-cache-client-input-stream.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-cache-input-stream.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-client-input-stream.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-connection.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-connection-auth.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-content-decoder.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-content-processor.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-content-sniffer.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-content-sniffer-stream.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-converter-wrapper.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-cookie.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-cookie-jar.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-cookie-jar-db.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-cookie-jar-text.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-date.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-directory-input-stream.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-filter-input-stream.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-form.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-hsts-enforcer.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-hsts-enforcer-db.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-hsts-policy.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-headers.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-init.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-io-stream.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-logger.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-message.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-message-body.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-message-client-io.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-message-headers.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-message-io.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-message-queue.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-message-server-io.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-method.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-misc.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-multipart.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-multipart-input-stream.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-password-manager.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-path-map.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-proxy-resolver.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-proxy-resolver-default.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-proxy-resolver-wrapper.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-proxy-uri-resolver.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-request.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-request-data.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-request-file.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-request-http.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-requester.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-server.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-session.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-session-async.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-session-feature.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-session-sync.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-socket.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-socket-properties.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-status.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-tld.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-uri.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-value-utils.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-version.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-websocket.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-websocket-connection.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-websocket-extension.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-websocket-extension-deflate.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-websocket-extension-manager.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-xmlrpc.c.o libsoup/libsoup-2.4.so.1.11.0.p/soup-xmlrpc-old.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libsoup-2.4.so.1 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -O3 -march=native /usr/lib/libsysprof-capture-4.a /usr/lib/libglib-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgio-2.0.so /usr/lib/libxml2.so /usr/lib/libsqlite3.so /usr/lib/libpsl.so /usr/lib/libz.so -Wl,--end-group
/usr/bin/ld: /usr/lib/libsysprof-capture-4.a(sysprof-collector.c.o): в функции «collector_init_cb»:
(.text+0x13): неопределённая ссылка на «pthread_key_create»
/usr/bin/ld: (.text+0x29): неопределённая ссылка на «pthread_key_create»
/usr/bin/ld: /usr/lib/libsysprof-capture-4.a(sysprof-collector.c.o): в функции «sysprof_collector_get.part.0»:
(.text+0x122): неопределённая ссылка на «pthread_setspecific»
/usr/bin/ld: (.text+0x25c): неопределённая ссылка на «pthread_getspecific»
/usr/bin/ld: (.text+0x278): неопределённая ссылка на «pthread_setspecific»
/usr/bin/ld: (.text+0x2e6): неопределённая ссылка на «pthread_setspecific»
/usr/bin/ld: /usr/lib/libsysprof-capture-4.a(sysprof-collector.c.o): в функции «sysprof_collector_init»:
(.text+0x6a3): неопределённая ссылка на «pthread_once»
/usr/bin/ld: /usr/lib/libsysprof-capture-4.a(sysprof-collector.c.o): в функции «sysprof_collector_allocate»:
(.text+0x6fd): неопределённая ссылка на «pthread_getspecific»
/usr/bin/ld: (.text+0x877): неопределённая ссылка на «pthread_getspecific»
/usr/bin/ld: /usr/lib/libsysprof-capture-4.a(sysprof-collector.c.o): в функции «sysprof_collector_sample»:
(.text+0x8e3): неопределённая ссылка на «pthread_getspecific»
/usr/bin/ld: (.text+0xa47): неопределённая ссылка на «pthread_getspecific»
/usr/bin/ld: /usr/lib/libsysprof-capture-4.a(sysprof-collector.c.o): в функции «sysprof_collector_mark»:
(.text+0xab4): неопределённая ссылка на «pthread_getspecific»
/usr/bin/ld: /usr/lib/libsysprof-capture-4.a(sysprof-collector.c.o):(.text+0xc07): далее есть ещё неопределённые ссылки на «pthread_getspecific»
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
[4/48] Compiling C object tests/websocket-test.p/websocket-test.c.o
ninja: build stopped: subcommand failed.

версии все пакетов последнии, libsoup-2.72.0 собираю с помощью mkdir build && cd build &&

meson –prefix=/usr -Dvapi=enabled .. && ninja под chroot.

glib-networking-2.66.0, libpsl-0.21.1, libxml2-2.9.10 SQLite-3.33.0 gobject-introspection-1.66.1, sysprof-3.38.1 Vala-0.50.1 cURL-7.73.0 MIT Kerberos V5-1.18.2 установлены

пробовал: удалить и заново распаковать исходники,переустановить sysprof, выполнить ldconfig

p.s. если написал не в тот раздел прошу извинить

 , ,

DMITRY
()

RSS подписка на новые темы