LINUX.ORG.RU

Сообщения teod0r

 

Как сделать, чтобы ядро не засоряло текущий терминал сообщениями dmesg?

 , ,

Бывает, находишься в терминале, хочешь что-то набрать, и БАЦ: сообщения ядра — раздражает.
Как запретить ядру linux выводить сообщения в текущий открытый терминал?
Вроде как, заметил такое поведение тока в голом tty, в иксовых, вроде, нет такого.

Перемещено hobbit из general

teod0r
()

Ищу нормальный ChatGPT online сервис

 

Какими онлайн ChatCPT сервисами вы пользуетесь?
Интересуют бесплатные, без необходимости иметь смартфон, без гугл-аккаунта, не через телеграмм.

teod0r
()

Почему неправильное количество сообщений по тегу?

 ,

По тегу searx написано, что там 6 сообщений, но в реальности там только 5.
cast maxcom.

teod0r
()

Почему-то в инстансах searx'а перестаёт искать через google

 ,

Кто-нибудь использует searx? Классная штука.
Но почему-то в каждом инстансе через какое-то время отваливается поиск гуглом, просто не выдаёт результатов. Проверяю в других инстансах: гугл работает, переезжаю на новый инстанс где работает, через какое-то время отваливается. Перепробовал уже несколько инстансов.

teod0r
()

Не получается загрузиться с флешки на ноуте Lenovo G505S

 , , ,

По совету ЛОРовцев приобрёл данный ноутбук.
Пока использую Legacy BIOS, на coreboot пока переезжать не планирую (по крайней мере пока не будет исправлено повышенная температура при использовании coreboot).

Не получается загрузиться с USB-флешки.
Флешка рабочая, на другом компе с неё грузится.
USB разъём рабочий. На ноуте сейчас стоит винда 10-ка, грузится с SSD.

Пробовал на флешке сначала сделать GPT (всё как надо, ef02, все дела). На другом более старом компе с обычным старым BIOS (не Legacy) грузится с неё; на G505S — не зрузится. Погуглил, везде пишут, что Legacy BIOS'ы не поддерживают GPT, подумал «ладно, и обычного MBR хватит». Но ноут и с флешки с DOS Partition Table не грузит — просто флешки нет в списке загрузочных дисков в Boot Menu (с другого компа с этой флешки грузит).
В биосе Boot Mode выставлено в Legacy Support (не UEFI), Boot Priority — Legacy First (не UEFI), USB Boot — Enabled, USB Legacy — Enabled.

Почему с USB нельзя грузиться? cast SakuraKun.

teod0r
()

Не собирается статический llvm

 

Собираю llvm-8.0.1, указываю -D LLVM_BUILD_STATIC=1 — ошибка:

[1592/1828] Linking CXX executable bin/lli
FAILED: bin/lli 
: && /other/bin/g++ -O2 -march=x86-64 -mmmx -msse -msse2 -mfpmath=sse -mlzcnt -mpopcnt -msahf -mno-sse4 -mno-sse4.1 -mno-shstk    -Wa,-mamd64,-O2,--strip-local-absolute -Wl,--no-omagic,--relax -pthread -pipe -Wall   -fdiagnostics-color=auto -fprofile-correction -fstack-clash-protection -fstack-protector-strong -fstack-protector-all  -fdevirtualize-speculatively  -fipa-cp-clone  -fira-loop-pressure   -floop-interchange  -floop-unroll-and-jam  -fpredictive-commoning  -fsched-spec-load  -fsplit-paths  -fstdarg-opt  -ftree-loop-distribution  -ftree-partial-pre    -fvariable-expansion-in-unroller  -fweb  -D_GLIBCXX_ASSERTIONS -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++1y -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -march=x86-64 -mmmx -msse -msse2 -mfpmath=sse -mlzcnt -mpopcnt -msahf -mno-sse4 -mno-sse4.1 -mno-shstk    -Wa,-mamd64,-O2,--strip-local-absolute -Wl,--no-omagic,--relax -pthread -pipe -Wall   -fdiagnostics-color=auto -fprofile-correction -fstack-clash-protection -fstack-protector-strong -fstack-protector-all  -fdevirtualize-speculatively  -fipa-cp-clone  -fira-loop-pressure   -floop-interchange  -floop-unroll-and-jam  -fpredictive-commoning  -fsched-spec-load  -fsplit-paths  -fstdarg-opt  -ftree-loop-distribution  -ftree-partial-pre    -fvariable-expansion-in-unroller  -fweb  -D_GLIBCXX_ASSERTIONS -O2 -pthread -znoexecstack -znow -zseparate-code -zstart-stop-visibility=hidden -zrelro -static -Wl,-allow-shlib-undefined   -Wl,--export-dynamic  -Wl,-rpath-link,/w/t/src/build/./lib  -Wl,-O3 -Wl,--gc-sections tools/lli/CMakeFiles/lli.dir/lli.cpp.o -o bin/lli  -Wl,-rpath,"\$ORIGIN/../lib"  lib/libLLVMCodeGen.a  lib/libLLVMCore.a  lib/libLLVMExecutionEngine.a  lib/libLLVMIRReader.a  lib/libLLVMInterpreter.a  lib/libLLVMMC.a  lib/libLLVMMCJIT.a  lib/libLLVMObject.a  lib/libLLVMOrcJIT.a  lib/libLLVMRuntimeDyld.a  lib/libLLVMSelectionDAG.a  lib/libLLVMSupport.a  lib/libLLVMTarget.a  lib/libLLVMTransformUtils.a  lib/libLLVMX86CodeGen.a  lib/libLLVMX86AsmParser.a  lib/libLLVMX86AsmPrinter.a  lib/libLLVMX86Desc.a  lib/libLLVMX86Disassembler.a  lib/libLLVMX86Info.a  lib/libLLVMX86Utils.a  lib/libLLVMAsmParser.a  /usr/lib/libffi.so  lib/libLLVMExecutionEngine.a  lib/libLLVMRuntimeDyld.a  lib/libLLVMSelectionDAG.a  lib/libLLVMAsmPrinter.a  lib/libLLVMGlobalISel.a  lib/libLLVMCodeGen.a  lib/libLLVMBitWriter.a  lib/libLLVMScalarOpts.a  lib/libLLVMAggressiveInstCombine.a  lib/libLLVMInstCombine.a  lib/libLLVMTarget.a  lib/libLLVMTransformUtils.a  lib/libLLVMAnalysis.a  lib/libLLVMProfileData.a  lib/libLLVMObject.a  lib/libLLVMBitReader.a  lib/libLLVMCore.a  lib/libLLVMX86AsmPrinter.a  lib/libLLVMX86Utils.a  lib/libLLVMMCParser.a  lib/libLLVMMCDisassembler.a  lib/libLLVMMC.a  lib/libLLVMBinaryFormat.a  lib/libLLVMDebugInfoCodeView.a  lib/libLLVMDebugInfoMSF.a  lib/libLLVMSupport.a  -lz  -lrt  -ldl  -lncursesw  -lm  lib/libLLVMDemangle.a && :
/usr/bin/ld: attempted static link of dynamic object `/usr/lib/libffi.so'
collect2: error: ld returned 1 exit status
Пробовал указывать
-D LLVM_BUILD_SHARED_LIBS=0
-D LLVM_BUILD_LLVM_DYLIB=0
-D LLVM_LINK_LLVM_DYLIB=0
-- то же самое.

Как собрать LLVM статически (нужно для старой версии mes'ы)?

Перемещено hobbit из general

teod0r
()

Объединить 2 sed

 ,

Есть код:

prt-cache "$mode" "$@" --test "${ignore[@]}" "${install_root[@]}" 2>"$DEV/null" \
    | sed -nr '/^-- Packages (in|u|r)/,/^($|\*)/p' \
        | sed '/^\($\|--\|\*\)/d'
Как 2 sed'а объединить в одну команду?
Пример вывода prt-get:
> prt-get update bash openssh --test
*** prt-cache: test mode

-- Packages updated
bash
openssh

prt-get: updated successfully

*** prt-cache: test mode end
Нужно оставлять только строки
bash
openssh

teod0r
()

Что за чертовщина теперь с mount?

 ,

# grep /usr/src /etc/fstab 
src /usr/src/ tmpfs rw,async,noatime,noauto,nodev,nosuid,nouser,mode=755
# mount /usr/src
mount: /usr/src: can't find in /etc/fstab.

# mount src /usr/src -t tmpfs — а так монтирует.
Помню, обновлял util-linux. Баг? Раньше всё нормально было.

teod0r
()

Обрезает заголовки похожих тем

 

Внизу топика, где похожие темы справа обрезает заголовки похожих тем, если масштаб 120% или более.
https://ibb.co/CWGL1jm
Шрифты тоже не стандартные. Последний фаерфокс.
cast maxcom

teod0r
()

непонятность при сборке libclc. странная ошибка

 ,

Не собирается libckc:

-- The CXX compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
LLVM version: 15.0.6
LLVM system libs: 
LLVM libs: -lLLVM-15
LLVM libdir: /usr/lib
LLVM bindir: /usr/bin
LLVM ld flags: -L/usr/lib
LLVM cxx flags: -I/usr/include;-std=c++14;;;-fno-exceptions;-D_GNU_SOURCE;-D__STDC_CONSTANT_MACROS;-D__STDC_FORMAT_MACROS;-D__STDC_LIMIT_MACROS;-fno-rtti;-fno-exceptions

clang: /usr/bin/clang
llvm-as: /usr/bin/llvm-as
llvm-link: /usr/bin/llvm-link
opt: /usr/bin/opt
llvm-spirv: LLVM_SPIRV-NOTFOUND

CMake Error at CMakeLists.txt:119 (message):
  SPIR-V targets requested, but spirv-tools is not installed



-- Configuring incomplete, errors occurred!
See also "/w/t/src/libclc-15.0.6.src/build/CMakeFiles/CMakeOutput.log"

CMakeLists.txt:119:
if( "spirv-mesa3d-" IN_LIST LIBCLC_TARGETS_TO_BUILD OR "spirv64-mesa3d-
" IN_LIST LIBCLC_TARGETS_TO_BUILD )
        if( NOT LLVM_SPIRV )
                message( FATAL_ERROR "SPIR-V targets requested, but spirv-tools is not installed" )
        endif()
endif()

Конфиг сборки:
mkdir build
cd build

 cmake  \
     -S ..
     -B .
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DLLVM_CONFIG=/usr/bin/llvm-config \
     -DARCH='r600;amdgcn' \
     -DLIBCLC_TARGETS_TO_BUILD='r600--;amdgcn--;amdgcn--amdhsa' \
     -DLLVM_CXX_FLAGS:STRING="$CXXFLAGS" \

 make
 make DESTDIR="$PKG" install

Почему он хочет LLVM_SPIRV, когда он мне не нужен?

Перемещено hobbit из general

teod0r
()

Что значит запись 0.0.0.0 0.0.0.0 в /etc/hosts?

 ,

Что значит запись 0.0.0.0 0.0.0.0 в /etc/hosts?
Или 0.0.0.0 0.0.0.0.someaddress.com?

teod0r
()

для сборки старой mesa нужен старый meson

 , ,

Так получилось, что нужно собрать старую месу (19.2.8) из-за старого железа.
Ругается и выдаёт ошибку, что используется слишком новая версия meson'а:

The Meson build system
Version: 1.0.0
Source dir: /w/t/src/mesa-19.2.8
Build dir: /w/t/src/build
Build type: native build
Program python3 found: YES (/usr/bin/python3)
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Project name: mesa
Project version: 19.2.8
C compiler for the host machine: cc (gcc 12.2.0 "cc (CRUX-x86_64-multilib) 12.2.0")
C linker for the host machine: cc ld.bfd 2.39
C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (CRUX-x86_64-multilib) 12.2.0")
C++ linker for the host machine: c++ ld.bfd 2.39
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program pkg-config found: YES (/usr/bin/pkg-config)
Found pkg-config: /usr/bin/pkg-config (1.9.3)
Run-time dependency vdpau found: YES 1.5
Run-time dependency xvmc found: YES 1.0.13
Run-time dependency xv found: YES 1.0.12
Run-time dependency libva found: YES 1.17.0
Program python3 found: YES (/usr/bin/python3)
Fetching value of define "ETIME" : 62 
Checking for function "bswap32" : YES 
Checking for function "bswap64" : YES 
Checking for function "clz" : YES 
Checking for function "clzll" : YES 
Checking for function "ctz" : YES 
Checking for function "expect" : YES 
Checking for function "ffs" : YES 
Checking for function "ffsll" : YES 
Checking for function "popcount" : YES 
Checking for function "popcountll" : YES 
Checking for function "unreachable" : YES 
Checking if "__attribute__((const))" compiles: YES 
Checking if "__attribute__((flatten))" compiles: YES 
Checking if "__attribute__((malloc))" compiles: YES 
Checking if "__attribute__((pure))" compiles: YES 
Checking if "__attribute__((unused))" compiles: YES 
Checking if "__attribute__((warn_unused_result))" compiles: YES 
Checking if "__attribute__((weak))" compiles: YES 
Checking if "__attribute__((format(...)))" compiles: YES 
Checking if "__attribute__((packed))" compiles: YES 
Checking if "__attribute__((returns_nonnull))" compiles: YES 
Checking if "__attribute__((visibility(...)))" compiles: YES 
Checking if "__attribute__((alias(...)))" compiles: YES 
Checking if "__attribute__((__noreturn__))" compiles: YES 
Checking if "__uint128_t" compiles: YES 
Compiler for C supports arguments -Werror=implicit-function-declaration: YES 
Compiler for C supports arguments -Werror=missing-prototypes: YES 
Compiler for C supports arguments -Werror=return-type: YES 
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES 
Compiler for C supports arguments -Werror=format: YES 
Compiler for C supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Wno-missing-field-initializers: YES 
Compiler for C supports arguments -Wno-format-truncation: YES 
Compiler for C supports arguments -fno-math-errno: YES 
Compiler for C supports arguments -fno-trapping-math: YES 
Compiler for C supports arguments -Qunused-arguments: NO 
Compiler for C supports arguments -fvisibility=hidden: YES 
Compiler for C++ supports arguments -Werror=return-type: YES 
Compiler for C++ supports arguments -Werror=format: YES 
Compiler for C++ supports arguments -Wformat-security: YES 
Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES 
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES 
Compiler for C++ supports arguments -Wno-format-truncation: YES 
Compiler for C++ supports arguments -fno-math-errno: YES 
Compiler for C++ supports arguments -fno-trapping-math: YES 
Compiler for C++ supports arguments -Qunused-arguments: NO 
Compiler for C supports arguments -Wno-override-init: YES 
Compiler for C supports arguments -Wno-initializer-overrides: NO 
Compiler for C++ supports arguments -fvisibility=hidden: YES 
Compiler for C supports arguments -Werror=pointer-arith: YES 
Compiler for C++ supports arguments -Werror=pointer-arith: YES 
Compiler for C supports arguments -Werror=vla: YES 
Compiler for C++ supports arguments -Werror=vla: YES 
Checking if "GCC atomic builtins" compiles: YES 
Checking if "GCC atomic builtins required -latomic" : links: YES 
Checking if "GCC 64bit atomics" with dependency : links: YES 
Header "sys/sysmacros.h" has symbol "major" : YES 
Checking if "xlocale.h" compiles: NO 
Checking if "sys/sysctl.h" compiles: NO 
Checking if "linux/futex.h" compiles: YES 
Checking if "endian.h" compiles: YES 
Checking if "dlfcn.h" compiles: YES 
Checking if "execinfo.h" compiles: YES 
Checking if "sys/shm.h" compiles: YES 
Checking if "cet.h" compiles: YES 
Checking for function "strtof" : YES 
Checking for function "mkostemp" : YES 
Checking for function "posix_memalign" : YES 
Checking for function "timespec_get" : YES 
Checking for function "memfd_create" : YES 
Checking for function "random_r" : YES 
Checking for function "flock" : YES 
Header "errno.h" has symbol "program_invocation_name" : YES 
Checking if "strtod has locale support" : links: YES 
Checking if "Bsymbolic" : links: YES 
Checking if "gc-sections" : links: YES 
Checking if "version-script" : links: YES 
Checking if "dynamic-list" : links: YES 
Checking for function "dlopen" : YES 
Checking for function "dladdr" with dependency : YES 
Checking for function "dl_iterate_phdr" : YES 
Checking for function "clock_gettime" : YES 
Run-time dependency zlib found: YES 1.2.13
Run-time dependency threads found: YES
Checking for function "pthread_setaffinity_np" with dependency threads: YES 
Checking for function "pthread_setaffinity_np" with dependency threads: NO 
Run-time dependency expat found: YES 2.5.0
Library m found: YES
Message: libdrm 2.4.99 needed because amdgpu has the highest requirement
Run-time dependency libdrm_amdgpu found: YES 2.4.114
Run-time dependency libdrm_radeon found: YES 2.4.114
Run-time dependency libdrm found: YES 2.4.114
llvm-config found: YES (/usr/bin/llvm-config) 15.0.6
Run-time dependency LLVM (modules: amdgpu, asmparser, bitreader, bitwriter, engine, ipo, mcdisassembler, mcjit, native) found: YES 15.0.6
Run-time dependency libelf found: YES 0.188
Run-time dependency libglvnd found: YES 1.6.0
Program bison found: YES (/usr/bin/bison)
Program flex found: YES (/usr/bin/flex)
Run-time dependency x11 found: YES 1.8.3
Run-time dependency xext found: YES 1.3.5
Run-time dependency xdamage found: YES 1.1.6
Run-time dependency xfixes found: YES 6.0.0
Run-time dependency xcb-glx found: YES 1.15
Run-time dependency xcb found: YES 1.15
Run-time dependency x11-xcb found: YES 1.8.3
Run-time dependency xcb-dri2 found: YES 1.15
Run-time dependency xcb-dri3 found: YES 1.15
Run-time dependency xcb-present found: YES 1.15
Run-time dependency xcb-sync found: YES 1.15
Run-time dependency xshmfence found: YES 1.3.2
Run-time dependency glproto found: YES 1.4.17
Run-time dependency dri2proto found: YES 2.8
Run-time dependency xxf86vm found: YES 1.1.5
Run-time dependency xcb-xfixes found: YES 1.15
Run-time dependency xcb-randr found: YES 1.15
Run-time dependency xrandr found: YES 1.5.3
Library sensors found: YES
Program nm found: YES (/usr/bin/nm)
Program symbols-check.py found: YES (/usr/bin/env python /w/t/src/mesa-19.2.8/bin/symbols-check.py)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
mesa-19.2.8/src/mesa/drivers/dri/meson.build:77: WARNING: Project targets '>= 0.46' but uses feature introduced in '0.50.0': Python module path method.
Checking for function "mincore" : YES 
mesa-19.2.8/src/gallium/targets/dri/meson.build:110: WARNING: Project targets '>= 0.46' but uses feature introduced in '0.50.0': Python module path method.
mesa-19.2.8/src/gallium/targets/vdpau/meson.build:74: WARNING: Project targets '>= 0.46' but uses feature introduced in '0.50.0': Python module path method.
mesa-19.2.8/src/gallium/targets/xvmc/meson.build:63: WARNING: Project targets '>= 0.46' but uses feature introduced in '0.50.0': Python module path method.
mesa-19.2.8/src/gallium/targets/va/meson.build:68: WARNING: Project targets '>= 0.46' but uses feature introduced in '0.50.0': Python module path method.
Configuring xa_tracker.h using configuration
Message: Configuration summary:
        
        prefix:          /usr
        libdir:          lib
        includedir:      include
        
        OpenGL:          yes (ES1: yes ES2: yes)
        
        OSMesa:          libOSMesa(Gallium)
        
        DRI platform:    drm
        DRI drivers:     r200
        DRI driver dir:  /usr/lib/dri
        
        GLX:             DRI-based
        
        EGL:             yes
        EGL drivers:     builtin:egl_dri2 builtin:egl_dri3
        GBM:             yes
        EGL/Vulkan/VL platforms:   drm x11
        
        Vulkan drivers:  amd
        Vulkan ICD dir:  share/vulkan/icd.d
        
        llvm:            yes
        llvm-version:    15.0.6
        
        Gallium drivers: r600 radeonsi svga swrast
        Gallium st:      mesa xa xvmc xvmc vdpau va nine
        HUD lmsensors:   yes
        
        Shared-glapi:    yes

Build targets in project: 139
WARNING: Project specifies a minimum meson_version '>= 0.46' but uses features which were added in newer versions:
 * 0.50.0: {'Python module path method'}
NOTICE: Future-deprecated features used:
 * 0.47.0: {'build_always arg in custom_target'}
 * 0.55.0: {'ExternalProgram.path'}
 * 0.56.0: {'dependency.get_configtool_variable', 'meson.source_root'}

mesa 19.2.8

  User defined options
    buildtype        : plain
    prefix           : /usr
    sysconfdir       : /etc
    wrap_mode        : nodownload
    b_lto            : false
    b_pie            : true
    dri-drivers      : r200
    dri3             : true
    egl              : true
    gallium-drivers  : r600,radeonsi,svga,swrast
    gallium-extra-hud: true
    gallium-nine     : true
    gallium-omx      : disabled
    gallium-va       : true
    gallium-vdpau    : true
    gallium-xa       : true
    gallium-xvmc     : true
    gbm              : true
    gles1            : true
    gles2            : true
    glvnd            : true
    glx              : dri
    glx-direct       : true
    libunwind        : false
    llvm             : true
    lmsensors        : true
    opengl           : true
    osmesa           : gallium
    platforms        : drm,x11
    shared-glapi     : true
    shared-llvm      : true
    tools            : glsl,nir
    valgrind         : false
    vulkan-drivers   : amd

Found ninja-1.11.1 at /usr/bin/ninja
+ meson compile -C build -j4
ninja: Entering directory `/w/t/src/build'
[1/1679] Compiling C object src/libglsl_util.a.p/mesa_program_symbol_table.c.o
[2/1679] Compiling C object src/libglsl_util.a.p/mesa_main_extensions_table.c.o
[3/1679] Generating src/git_sha1.h with a custom command
[4/1679] Compiling C object src/libglsl_util.a.p/mesa_main_imports.c.o
[5/1679] Generating src/util/xmlpool/xmlpool_options.h with a custom command
Warning: language 'ca' not found.
Warning: language 'es' not found.
Warning: language 'de' not found.
Warning: language 'nl' not found.
Warning: language 'sv' not found.
Warning: language 'fr' not found.
[6/1679] Compiling C object src/libglsl_util.a.p/mesa_program_prog_parameter.c.o
../mesa-19.2.8/src/mesa/program/prog_parameter.c:412:50: warning: argument 2 of type 'const gl_state_index16[5]' {aka 'const short int[5]'} with mismatched bound [-Warray-parameter=]
  412 |                           const gl_state_index16 stateTokens[STATE_LENGTH])
      |                           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../mesa-19.2.8/src/mesa/program/prog_parameter.c:36:
../mesa-19.2.8/src/mesa/program/prog_parameter.h:174:50: note: previously declared as 'const gl_state_index16[]' {aka 'const short int[]'}
  174 |                           const gl_state_index16 stateTokens[]);
      |                           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
[7/1679] Compiling C object src/libglsl_util.a.p/mesa_program_dummy_errors.c.o
[8/1679] Linking static target src/libglsl_util.a
[9/1679] Compiling C object src/util/libmesa_util.a.p/bitscan.c.o
[10/1679] Compiling C object src/util/libmesa_util.a.p/anon_file.c.o
[11/1679] Compiling C object src/util/libmesa_util.a.p/build_id.c.o
[12/1679] Compiling C object src/util/libmesa_util.a.p/crc32.c.o
[13/1679] Compiling C object src/util/libmesa_util.a.p/dag.c.o
[14/1679] Compiling C object src/util/libmesa_util.a.p/fast_idiv_by_const.c.o
[15/1679] Compiling C object src/util/libmesa_util.a.p/debug.c.o
[16/1679] Compiling C object src/util/libmesa_util.a.p/half_float.c.o
[17/1679] Compiling C object src/util/libmesa_util.a.p/mesa-sha1.c.o
[18/1679] Compiling C object src/util/libmesa_util.a.p/os_time.c.o
[19/1679] Compiling C object src/util/libmesa_util.a.p/disk_cache.c.o
[20/1679] Compiling C object src/util/libmesa_util.a.p/os_file.c.o
[21/1679] Compiling C object src/util/libmesa_util.a.p/os_misc.c.o
[22/1679] Compiling C object src/util/libmesa_util.a.p/u_process.c.o
[23/1679] Compiling C object src/util/libmesa_util.a.p/hash_table.c.o
[24/1679] Compiling C object src/util/libmesa_util.a.p/rand_xor.c.o
[25/1679] Compiling C object src/util/libmesa_util.a.p/sha1_sha1.c.o
[26/1679] Compiling C object src/util/libmesa_util.a.p/rb_tree.c.o
[27/1679] Compiling C object src/util/libmesa_util.a.p/ralloc.c.o
[28/1679] Compiling C object src/util/libmesa_util.a.p/set.c.o
[29/1679] Compiling C object src/util/libmesa_util.a.p/slab.c.o
[30/1679] Compiling C object src/util/libmesa_util.a.p/string_buffer.c.o
[31/1679] Compiling C object src/util/libmesa_util.a.p/register_allocate.c.o
[32/1679] Compiling C object src/util/libmesa_util.a.p/u_atomic.c.o
[33/1679] Compiling C object src/util/libmesa_util.a.p/strtod.c.o
[34/1679] Compiling C object src/util/libmesa_util.a.p/rgtc.c.o
[35/1679] Compiling C object src/util/libmesa_util.a.p/u_vector.c.o
[36/1679] Compiling C object src/util/libmesa_util.a.p/u_math.c.o
[37/1679] Compiling C object src/util/libmesa_util.a.p/u_queue.c.o
[38/1679] Compiling C object src/util/libmesa_util.a.p/u_cpu_detect.c.o
[39/1679] Compiling C object src/util/libmesa_util.a.p/u_debug.c.o
[40/1679] Compiling C object src/util/libmesa_util.a.p/vma.c.o
[41/1679] Generating src/mapi/glapi/gen/glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output)
FAILED: src/mapi/glapi/gen/glapi_mapi_tmp.h 
/usr/bin/meson --internal exe --capture src/mapi/glapi/gen/glapi_mapi_tmp.h -- /usr/bin/python3 ../mesa-19.2.8/src/mapi/mapi_abi.py --printer glapi ../mesa-19.2.8/src/mapi/glapi/gen/gl_and_es_API.xml
--- stderr ---
Traceback (most recent call last):
  File "/w/t/src/build/../mesa-19.2.8/src/mapi/mapi_abi.py", line 674, in <module>
    main()
  File "/w/t/src/build/../mesa-19.2.8/src/mapi/mapi_abi.py", line 667, in main
    entries = abi_parse_xml(filename)
  File "/w/t/src/build/../mesa-19.2.8/src/mapi/mapi_abi.py", line 140, in abi_parse_xml
    api = gl_XML.parse_GL_API(xml, glX_XML.glx_item_factory())
  File "/w/t/src/build/../mesa-19.2.8/src/mapi/glapi/gen/gl_XML.py", line 44, in parse_GL_API
    api.parse_file( file_name )
  File "/w/t/src/build/../mesa-19.2.8/src/mapi/glapi/gen/gl_XML.py", line 858, in parse_file
    self.process_element(file_name, doc)
  File "/w/t/src/build/../mesa-19.2.8/src/mapi/glapi/gen/gl_XML.py", line 864, in process_element
    self.process_OpenGLAPI(file_name, element)
  File "/w/t/src/build/../mesa-19.2.8/src/mapi/glapi/gen/gl_XML.py", line 869, in process_OpenGLAPI
    for child in element.getchildren():
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'

[42/1679] Compiling C object src/util/libxmlconfig.a.p/xmlconfig.c.o
[43/1679] Generating src/mapi/glapi/gen/enums.c with a custom command (wrapped by meson to capture output)
[44/1679] Generating src/util/format_srgb with a custom command (wrapped by meson to capture output)
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /w/t/src/build -j 4
Подскажите, как быть? Можно пропатчить месу, или придётся ещё старый meson устанавливать?
Помогите!

teod0r
()

Не могу найти исходники libclc

 

Нагуглил libclc-16.0.0_pre20221226.ebuild. А исходники не могу найти, весь гугл перерыл.
Помогите пожалуйста найти. Там ведь в ебилде source не указан нигде, так ведь?

teod0r
()

Просчитать BUILD_DEPENDENCIES для набора портов

 , , , ,

Собрал LFS. Хочу его в CRUX превратить.
Дошло до сборки core в чрутовом LFS.
Как просчитать BUILD DEPENDENCIES, если CRUX'овый PM просчитывает только RUN DEPENDENCIES?
есть https://www.linuxfromscratch.org/lfs/view/development/appendices/dependencies...
Осложняет всё разделение на "Installation depends on" и "Must be installed before".
Как получить список, в какой BUILD последовательности должны собираться пакеты из core?
Там в LFS hints есть пара тем про зависимости
https://www.linuxfromscratch.org/hints/downloads/files/dependency.txt
https://www.linuxfromscratch.org/hints/downloads/files/blfs-deps.txt
, но оно 2003-2004 годов, и я не понял как оно работает.
cast undef.

teod0r
()

Почему такая ошибка cp?

 

Делаю от пользователя lfs: cp -a /dir/1/* /dir/2/ — на симлинках выдаёт ошибку:

/bin/cp: failed to preserve ownership for /dir/2/some_lib.so: Operation not supported
Не симлинки копирует без ошибок. От рута ошибки нет. Ошибка именно когда задействован ключ --preserve=ownership. Права на директорию drwxr-xr-x 5 lfs lfs 4096 ...
На файлы права такие же.
Симлинки всё-равно копируются, не смотря на ошибку, просто код возврата 1.
В чём может быть дело?

teod0r
()

Хотел почту сменить

 

Хотел почту сменить, которая сейчас у меня в профиле больше не работает. Отправлял 2 раза запрос — не приходит.

teod0r
()

как победить эту гадость?

 , , ,

Некоторые пакеты (glib, libdrm) при компиляции во время стадии конфигурирования пытаются записать в /root/.cmake/...
Например libdrm:

...
PermissionError: [Errno 13] Permission denied: '/root/.cmake/packages/atomic_ops'
...
WARNING: failed to process netrc file: [Errno 13] Permission denied: '/root/.netrc'.
...
ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue with your build environment.
glib пытается создать /root/.cmake/packages/bash-completion.
Как это вырубить?

teod0r
()

Как скомпилять grep с pcre2?

 , , ,

Во время configure grep: configure: error: pcre support not available но, установлен pcre2 С pcre2 реально собрать, или тока pcre?

teod0r
()

Как сделать, чтобы архив начинался с определённой директории?

 

Делаю

tar cf ttt.tar.xz /dir1/dir2/dir3
Как сделать чтобы в архив попала только dir3? т.е. чтоб архив начинался с неё. Наверное, глупый вопрос, и уже неоднократно отвечали, но я вот не нашёл ответа

teod0r
()

Посоветуйте аниме, не сериал

 ,

Посоветуйте аниме, не сериал, полнометражку. Какую-нибудь фантастику, cyberpunk... ghost in the shell смотрел.

teod0r
()

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