Skip to content

Instantly share code, notes, and snippets.

@junaruga
junaruga / run.log
Created April 7, 2019 16:47
junaruga/qemu-user-static:register log
$ cat run.log
+ QEMU_BIN_DIR=/usr/bin
+ '[' '!' -d /proc/sys/fs/binfmt_misc ]
+ '[' '!' -f /proc/sys/fs/binfmt_misc/register ]
+ mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
+ '[' --reset '=' --reset ]
+ shift
+ find /proc/sys/fs/binfmt_misc -type f -name 'qemu-*' -exec sh -c 'echo -1 > {}' ';'
+ exec /qemu-binfmt-conf.sh --qemu-suffix -static '--qemu-path=/usr/bin'
+ qemu_target_list='i386 i486 alpha arm armeb sparc32plus ppc ppc64 ppc64le m68k mips mipsel mipsn32 mipsn32el mips64 mips64el sh4 sh4eb s390x aarch64 aarch64_be hppa riscv32 riscv64 xtensa xtensaeb microblaze microblazeel or1k x86_64'
Mock Version: 1.3.4
Mock Version: 1.3.4
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-pg.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ '}chrootPath='/mnt/build/mock/rhel-8.1.0-build-4914975-3232615/root'gid=135user='mockbuild'timeout=86400logger=<mockbuild.trace_decorator.getLog object at 0x7fffeb03b2d0>printOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-pg.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ '} and shell False
$ mock -r fedora-rawhide-aarch64 --forcearch=aarch64 --scrub=all
INFO: mock.py version 1.4.16 starting (python version = 3.7.3)...
Start: init plugins
INFO: selinux disabled
Finish: init plugins
Start: run
Start: scrub ['all']
INFO: scrubbing everything for fedora-rawhide-aarch64
Finish: scrub ['all']
Finish: run
$ cat /etc/mock/fedora-rawhide-aarch64.cfg
config_opts['root'] = 'fedora-rawhide-aarch64'
config_opts['target_arch'] = 'aarch64'
config_opts['legal_host_arches'] = ('aarch64',)
# config_opts['module_enable'] = ['list', 'of', 'modules']
# config_opts['module_install'] = ['module1/profile', 'module2/profile']
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
config_opts['dist'] = 'rawhide' # only useful for --resultdir variable subst
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['releasever'] = '31'
@junaruga
junaruga / bbmap
Last active November 30, 2019 20:42
bbmap
$ uname -m
x86_64
$ free -mh
total used free shared buff/cache available
Mem: 7.5Gi 1.4Gi 4.9Gi 215Mi 1.2Gi 5.6Gi
Swap: 7.5Gi 3.1Gi 4.4Gi
$ bbmap.sh --version
java -Djava.library.path=/home/root/local/bbmap/jni/ -ea -Xmx1124m -cp /home/root/local/bbmap/current/ align2.BBMap build=1 overwrite=true fastareadlen=500 --version
+ mkdir test/build
+ pushd test/build
~/build/BUILD/simde-fe43fdd6a1da24f0d6fb3f7339a3139719310729/test/build ~/build/BUILD/simde-fe43fdd6a1da24f0d6fb3f7339a3139719310729
+ cmake ..
-- The C compiler identification is GNU 10.0.1
-- The CXX compiler identification is GNU 10.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
+ gcc --version
gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1)
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ g++ --version
g++ (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1)
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ clang --version
clang version 10.0.0 (Fedora 10.0.0-0.11.rc6.fc33)
Target: powerpc64le-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
+ clang++ --version
clang version 10.0.0 (Fedora 10.0.0-0.11.rc6.fc33)
Target: powerpc64le-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
+ clang --version
clang version 10.0.0 (Fedora 10.0.0-0.11.rc6.fc33)
Target: armv7l-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
+ clang++ --version
clang version 10.0.0 (Fedora 10.0.0-0.11.rc6.fc33)
Target: armv7l-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
+ gcc --version
gcc (GCC) 10.0.1 20200328 (Red Hat 10.0.1-0.11)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ g++ --version
g++ (GCC) 10.0.1 20200328 (Red Hat 10.0.1-0.11)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.