Skip to content

Instantly share code, notes, and snippets.

View kraj's full-sized avatar
🙂
peace

Khem Raj kraj

🙂
peace
View GitHub Profile
@kraj
kraj / stdin
Created February 5, 2026 04:51
stdin
ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freerdp3/3.22.0/temp/log.do_configure.200113
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-connectivity/openssl/openssl_3.5.5.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-core/glibc/glibc_2.42.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-core/zlib/zlib_1.3.1.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-devtools/cmake/cmake-native_4.2.2.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_15.2.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-devto
@kraj
kraj / a.patch
Created January 6, 2026 02:30
a.patch
diff --git a/clang/include/clang/Basic/OffloadArch.h b/clang/include/clang/Basic/OffloadArch.h
index ea665b1f49e0..b7d6e00f628e 100644
--- a/clang/include/clang/Basic/OffloadArch.h
+++ b/clang/include/clang/Basic/OffloadArch.h
@@ -16,7 +16,7 @@ class StringRef;
namespace clang {
enum class OffloadArch {
- UNUSED,
+ UNUSED_,
@kraj
kraj / mntbyoemasterbuildtmpworkx86_64-linuxmesa-native25.3.1templog.do_compile.7145
Created January 6, 2026 01:44
/mnt/b/yoe/master/build/tmp/work/x86_64-linux/mesa-native/25.3.1/temp/log.do_compile.7145
This file has been truncated, but you can view the full file.
DEBUG: Executing shell function do_compile
@kraj
kraj / mntbyoemasterbuildtmpworkcortexa57-yoe-linuxmenulibre2.4.0templog.do_install.111816
Created January 5, 2026 02:11
/mnt/b/yoe/master/build/tmp/work/cortexa57-yoe-linux/menulibre/2.4.0/temp/log.do_install.111816
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-core/glibc/glibc_2.43.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/clang/clang-cross_git.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/clang/compiler-rt_git.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/clang/libcxx_git.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_15.2.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/python/python3_3.13.9.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.44.4.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembe
@kraj
kraj / stdin
Last active November 20, 2025 19:37
stdin
❯ cat sort.txt
ata
at_keyboard
kraj@apollo ~/tests
❯ LC_COLLATE=en_US.UTF-8 sort sort.txt
ata
at_keyboard
kraj@apollo ~/tests
@kraj
kraj / mntbyoemasterbuildtmpworkriscv64imafdc-yoe-linuxpython3-orjson3.11.3templog.do_compile
Created November 18, 2025 17:24
/mnt/b/yoe/master/build/tmp/work/riscv64imafdc-yoe-linux/python3-orjson/3.11.3/temp/log.do_compile
DEBUG: Executing shell function do_compile
* Getting build dependencies for wheel...
* Building wheel...
Running `maturin pep517 build-wheel -i /mnt/b/yoe/master/build/tmp/work/riscv64imafdc-yoe-linux/python3-orjson/3.11.3/recipe-sysroot-native/usr/bin/nativepython3 --compatibility off`
📦 Including license file `LICENSE-APACHE`
📦 Including license file `LICENSE-MIT`
🍹 Building a mixed python/rust project
🔗 Found pyo3-ffi bindings
🐍 Found CPython 3.13
Compiling target-lexicon v0.13.2
@kraj
kraj / mntbyoemasterbuildtmpworkcortexa55-yoe-linuxrust1.90.0templog.do_install.19844
Created October 18, 2025 17:48
/mnt/b/yoe/master/build/tmp/work/cortexa55-yoe-linux/rust/1.90.0/temp/log.do_install.19844
This file has been truncated, but you can view the full file.
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-core/glibc/glibc_2.42.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/clang/clang-cross_git.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/clang/compiler-rt_git.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/clang/libcxx_git.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/clang/llvm_git.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_15.2.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', '/mnt/b/yoe/master/sources/openembedded-core/meta/recipes-devtools/rust/libstd-rs_1.90.0.bb:do_populate_sysroot', 'virtual:native:/mnt/b/yoe/master/sources/open
// preadv_pwritev_test.c
// run like below
// strace -ff -vv -o trace.log -e trace=pread64,preadv,pwrite64,pwritev ./a.out
#define _GNU_SOURCE
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/uio.h>
<?xml version="1.0"?>
<!--
# SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES.
# All rights reserved.
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
#
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
# property and proprietary rights in and to this material, related
# documentation and any modifications thereto. Any use, reproduction,
# Basic cgroup support:
CONFIG_CGROUPS=y
# Cgroups v2 (unified hierarchy):
CONFIG_CGROUP_UNIFIED_HIERARCHY=y
# CPU controller (includes cpuset in v2):