Skip to content

Instantly share code, notes, and snippets.

Jun Aruga junaruga

Block or report user

Report or block junaruga

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View fedora-rawhide-aarch64.cfg
$ 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'
View mock_fedora_aarch64_log
$ 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
View rubygem-pg bulid.log
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
@junaruga
junaruga / run.log
Created Apr 7, 2019
junaruga/qemu-user-static:register log
View run.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'
View markdown test
Multi lines code.
```
code 1
code 2
```
Citation test.
> citation 1
View rubygem-coderay.spec.1.1.2
# Generated from coderay-1.1.2.gem by gem2rpm -*- rpm-spec -*-
%global gem_name coderay
Name: rubygem-%{gem_name}
Version: 1.1.2
Release: 1%{?dist}
Summary: Fast syntax highlighting for selected languages
License: MIT
URL: http://coderay.rubychan.de
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
View product-listings-manager_install.log
$ git clone git@github.com:release-engineering/product-listings-manager.git
$ cd product-listings-manager
$ sudo dnf -y install postgresql-devel krb5-devel rpm-devel gcc python-devel
$ sh install_repeatedly.sh
Processing /home/jaruga/git/product-listings-manager
Collecting Flask (from product-listings-manager==0.2.0)
Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl
Collecting Flask-XML-RPC (from product-listings-manager==0.2.0)
Using cached https://files.pythonhosted.org/packages/d7/04/8ae1f839415f2f674565c973cf27c586c0380da2fa4738e50cdb8150d1aa/Flask-XML-RPC-0.1.2.tar.gz
View install_repeatedly.sh
#!/bin/sh
set -e
for i in $(seq 2); do
test -d venv && rm -rf venv
python3 -m venv ./venv
source venv/bin/activate
time pip install .
deactivate
View jruby_9.1.16_errno_constants_sort.txt
:E2BIG
:EACCES
:EADDRINUSE
:EADDRNOTAVAIL
:EAFNOSUPPORT
:EAGAIN
:EALREADY
:EBADF
:EBADMSG
:EBUSY
View ruby_2.5.1_errno_constants_sort.txt
:E2BIG
:EACCES
:EADDRINUSE
:EADDRNOTAVAIL
:EADV
:EAFNOSUPPORT
:EAGAIN
:EALREADY
:EAUTH
:EBADE
You can’t perform that action at this time.