Skip to content

Instantly share code, notes, and snippets.

@GamePlayer-8
Created August 15, 2023 08:21
Show Gist options
  • Save GamePlayer-8/9bbf48444305622c6e82737b1db4a84e to your computer and use it in GitHub Desktop.
Save GamePlayer-8/9bbf48444305622c6e82737b1db4a84e to your computer and use it in GitHub Desktop.
Yay build log
STEP 1/10: FROM archlinux
STEP 2/10: RUN useradd yay
--> 9979f3485cab
STEP 3/10: RUN mkdir /home/yay && chown -R yay:yay /home/yay
--> 1fc81fd0c69e
STEP 4/10: RUN pacman -Syu --noconfirm go git base-devel sudo
:: Synchronizing package databases...
core downloading...
extra downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (58) Old Version New Version Net Change Download Size
core/audit 3.1.1-1 3.1.2-1 0.01 MiB
core/autoconf 2.71-4 2.20 MiB
core/automake 1.16.5-2 1.57 MiB
core/binutils 2.41-3 40.87 MiB
core/bison 3.8.2-6 2.54 MiB
core/ca-certificates-mozilla 3.91-1 3.92-1 0.04 MiB
core/curl 8.2.0-2 8.2.1-1 0.00 MiB
core/db 6.2.32-1 7.16 MiB
core/db5.3 5.3.28-2 7.31 MiB
core/debugedit 5.0-5 0.10 MiB 0.04 MiB
core/device-mapper 2.03.21-1 2.03.22-1 0.00 MiB
core/diffutils 3.10-1 1.48 MiB
core/fakeroot 1.32.1-1 0.13 MiB 0.07 MiB
core/file 5.44-3 5.45-1 0.25 MiB
core/flex 2.6.4-5 0.93 MiB
core/gc 8.2.4-1 0.75 MiB 0.18 MiB
core/gcc 13.2.1-3 184.16 MiB 2.00 MiB
core/gcc-libs 13.1.1-2 13.2.1-3 0.02 MiB
core/glibc 2.37-3 2.38-2 1.84 MiB
core/gmp 6.2.1-2 6.3.0-1 0.02 MiB
core/gnutls 3.8.0-1 3.8.1-1 0.11 MiB 2.75 MiB
core/groff 1.23.0-3 9.68 MiB
core/guile 3.0.9-1 52.98 MiB
core/jansson 2.14-2 0.18 MiB 0.05 MiB
core/less 1:633-1 1:643-1 0.00 MiB 0.13 MiB
core/libarchive 3.7.0-2 3.7.1-1 0.00 MiB
core/libelf 0.189-1 0.189-3 0.00 MiB
core/libisl 0.26-1 5.71 MiB
core/libldap 2.6.4-2 2.6.6-1 0.00 MiB
core/libmpc 1.3.1-1 0.17 MiB 0.08 MiB
core/libnftnl 1.2.5-1 1.2.6-1 0.00 MiB
core/libsecret 0.20.5-2 0.21.0-1 -0.02 MiB 0.18 MiB
extra/libsysprof-capture 3.48.0-2 3.48.0-4 0.00 MiB 0.04 MiB
core/libtool 2.4.7+4+g1ec8fa28-6 2.22 MiB
core/libxml2 2.11.4-1 2.11.5-1 0.00 MiB
core/licenses 20220125-2 20230729-1 0.00 MiB 0.07 MiB
core/linux-api-headers 6.3-1 6.4-1 0.03 MiB
core/m4 1.4.19-3 0.47 MiB
core/make 4.4.1-2 1.67 MiB
core/mpfr 4.2.0.p12-1 4.2.0.p12-3 0.00 MiB
core/openssl 3.1.1-1 3.1.2-1 -0.75 MiB
core/patch 2.7.6-10 0.18 MiB
core/perl 5.38.0-1 75.91 MiB
extra/perl-error 0.17029-5 0.04 MiB 0.02 MiB
extra/perl-mailtools 2.21-7 0.10 MiB 0.06 MiB
extra/perl-timedate 2.33-5 0.08 MiB 0.03 MiB
core/pkgconf 1.8.1-1 0.16 MiB
core/systemd 253.7-1 254.1-1 0.91 MiB
core/systemd-libs 253.7-1 254.1-1 0.13 MiB
core/systemd-sysvcompat 253.7-1 254.1-1 0.00 MiB
core/tar 1.34-2 1.35-1 -0.07 MiB
core/texinfo 7.0.3-1 9.43 MiB
core/which 2.21-6 0.03 MiB 0.02 MiB
core/xz 5.4.3-1 5.4.4-1 0.03 MiB
core/base-devel 1-1 0.00 MiB 0.00 MiB
extra/git 2.41.0-2 25.81 MiB
extra/go 2:1.21.0-1 201.62 MiB
core/sudo 1.9.14.p3-1 7.41 MiB
Total Download Size: 5.73 MiB
Total Installed Size: 920.72 MiB
Net Upgrade Size: 645.66 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
gcc-13.2.1-3-x86_64 downloading...
gnutls-3.8.1-1-x86_64 downloading...
gc-8.2.4-1-x86_64 downloading...
libsecret-0.21.0-1-x86_64 downloading...
less-1:643-1-x86_64 downloading...
libmpc-1.3.1-1-x86_64 downloading...
fakeroot-1.32.1-1-x86_64 downloading...
licenses-20230729-1-any downloading...
perl-mailtools-2.21-7-any downloading...
jansson-2.14-2-x86_64 downloading...
libsysprof-capture-3.48.0-4-x86_64 downloading...
debugedit-5.0-5-x86_64 downloading...
perl-timedate-2.33-5-any downloading...
perl-error-0.17029-5-any downloading...
which-2.21-6-x86_64 downloading...
base-devel-1-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing go...
upgrading linux-api-headers...
upgrading glibc...
Generating locales...
Generation complete.
upgrading openssl...
upgrading gcc-libs...
upgrading gmp...
upgrading libldap...
upgrading audit...
upgrading xz...
upgrading systemd-libs...
upgrading ca-certificates-mozilla...
upgrading curl...
installing db5.3...
installing db...
installing perl...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
tk: gitk and git gui
perl-libwww: git svn
perl-term-readkey: git svn and interactive.singlekey setting
perl-io-socket-ssl: git send-email TLS support
perl-authen-sasl: git send-email TLS support
perl-mediawiki-api: git mediawiki support
perl-datetime-format-iso8601: git mediawiki support
perl-lwp-protocol-https: git mediawiki https support
perl-cgi: gitweb (web interface) support
python: git svn & git p4
subversion: git svn
org.freedesktop.secrets: keyring credential helper
libsecret: libsecret credential helper [installed]
installing m4...
installing diffutils...
upgrading mpfr...
installing autoconf...
installing automake...
installing jansson...
upgrading libelf...
installing binutils...
Optional dependencies for binutils
debuginfod: for debuginfod server/client functionality
upgrading libxml2...
installing bison...
installing debugedit...
upgrading file...
installing fakeroot...
installing flex...
installing libmpc...
installing libisl...
installing gcc...
Optional dependencies for gcc
lib32-gcc-libs: for generating code for 32-bit ABI
installing groff...
Optional dependencies for groff
netpbm: for use together with man -H command interaction in browsers
psutils: for use together with man -H command interaction in browsers
libxaw: for gxditview
perl-file-homedir: for use with glilypond
upgrading tar...
installing libtool...
installing gc...
installing guile...
installing make...
installing patch...
Optional dependencies for patch
ed: for patch -e functionality
installing pkgconf...
installing sudo...
upgrading less...
installing texinfo...
Optional dependencies for texinfo
perl-archive-zip: EPUB file output via texi2any
installing which...
upgrading libarchive...
upgrading gnutls...
upgrading libsysprof-capture...
upgrading libsecret...
installing base-devel...
upgrading device-mapper...
upgrading libnftnl...
upgrading licenses...
upgrading systemd...
Creating group 'git' with GID 974.
Creating user 'git' (git daemon user) with UID 974 and GID 974.
Creating group 'systemd-journal-upload' with GID 973.
Creating user 'systemd-journal-upload' (systemd Journal Upload) with UID 973 and GID 973.
upgrading systemd-sysvcompat...
:: Running post-transaction hooks...
( 1/11) Creating system user accounts...
( 2/11) Updating journal message catalog...
( 3/11) Reloading system manager configuration...
Skipped: Current root is not booted.
( 4/11) Updating udev hardware database...
( 5/11) Applying kernel sysctl settings...
Skipped: Current root is not booted.
( 6/11) Creating temporary files...
/usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
All rules containing unresolvable specifiers will be skipped.
( 7/11) Reloading device manager configuration...
Skipped: Device manager is not running.
( 8/11) Arming ConditionNeedsUpdate...
( 9/11) Rebuilding certificate stores...
(10/11) Reloading system bus configuration...
Skipped: Current root is not booted.
(11/11) Warn about old perl modules
--> 8720bc26d09a
STEP 5/10: RUN echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers && usermod -aG wheel yay
--> eb3e5576cb90
STEP 6/10: USER yay
--> 5d7950925b6e
STEP 7/10: WORKDIR /home/yay
--> 51d20ffb3d31
STEP 8/10: RUN git clone https://aur.archlinux.org/yay.git
Cloning into 'yay'...
--> 52b5e5320406
STEP 9/10: RUN cd yay && makepkg -si --noconfirm
==> Making package: yay 12.1.2-1 (Tue Aug 15 08:13:21 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading yay-12.1.2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 448k 100 448k 0 0 139k 0 0:00:03 0:00:03 --:--:-- 179k
==> Validating source files with sha256sums...
yay-12.1.2.tar.gz ... Passed
==> Extracting sources...
-> Extracting yay-12.1.2.tar.gz with bsdtar
==> Starting build()...
go build -trimpath -mod=readonly -modcacherw -ldflags '-X "main.yayVersion=12.1.2" -X "main.localePath=/usr/share/locale/" -linkmode=external' -buildmode=pie -o yay
go: downloading github.com/Jguer/aur v1.2.3
go: downloading github.com/Jguer/votar v1.0.0
go: downloading github.com/Jguer/go-alpm/v2 v2.2.1
go: downloading github.com/Morganamilo/go-srcinfo v1.0.0
go: downloading github.com/deckarep/golang-set/v2 v2.3.0
go: downloading github.com/leonelquinteros/gotext v1.5.2
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/Morganamilo/go-pacmanconf v0.0.0-20210502114700-cff030e927a5
go: downloading github.com/adrg/strutil v0.3.0
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading golang.org/x/term v0.10.0
go: downloading golang.org/x/sys v0.10.0
go: downloading golang.org/x/text v0.11.0
go: downloading github.com/itchyny/gojq v0.12.13
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/ohler55/ojg v1.19.1
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading github.com/itchyny/timefmt-go v0.1.5
==> Entering fakeroot environment...
==> Starting package()...
msgfmt po/ca.po -o po/ca.mo
msgfmt po/cs.po -o po/cs.mo
msgfmt po/de.po -o po/de.mo
msgfmt po/en.po -o po/en.mo
msgfmt po/es.po -o po/es.mo
msgfmt po/eu.po -o po/eu.mo
msgfmt po/fr_FR.po -o po/fr_FR.mo
msgfmt po/he.po -o po/he.mo
msgfmt po/id.po -o po/id.mo
msgfmt po/it_IT.po -o po/it_IT.mo
msgfmt po/ja.po -o po/ja.mo
msgfmt po/ko.po -o po/ko.mo
msgfmt po/pl_PL.po -o po/pl_PL.mo
msgfmt po/pt_BR.po -o po/pt_BR.mo
msgfmt po/pt.po -o po/pt.mo
msgfmt po/ru_RU.po -o po/ru_RU.mo
msgfmt po/ru.po -o po/ru.mo
msgfmt po/sv.po -o po/sv.mo
msgfmt po/tr.po -o po/tr.mo
msgfmt po/uk.po -o po/uk.mo
msgfmt po/zh_CN.po -o po/zh_CN.mo
msgfmt po/zh_TW.po -o po/zh_TW.mo
install -Dm755 yay /home/yay/yay/pkg/yay/usr/bin/yay
install -Dm644 doc/yay.8 /home/yay/yay/pkg/yay/usr/share/man/man8/yay.8
install -Dm644 completions/bash /home/yay/yay/pkg/yay/usr/share/bash-completion/completions/yay
install -Dm644 completions/zsh /home/yay/yay/pkg/yay/usr/share/zsh/site-functions/_yay
install -Dm644 completions/fish /home/yay/yay/pkg/yay/usr/share/fish/vendor_completions.d/yay.fish
for lang in ca cs de en es eu fr_FR he id it_IT ja ko pl_PL pt_BR pt ru_RU ru sv tr uk zh_CN zh_TW; do \
install -Dm644 po/${lang}.mo /home/yay/yay/pkg/yay/usr/share/locale/$lang/LC_MESSAGES/yay.mo; \
done
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "yay"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: yay 12.1.2-1 (Tue Aug 15 08:15:38 2023)
==> Installing package yay with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
Package (1) New Version Net Change
yay 12.1.2-1 9.12 MiB
Total Installed Size: 9.12 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing yay...
Optional dependencies for yay
sudo: privilege elevation [installed]
doas: privilege elevation
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
--> 2a51ff818245
STEP 10/10: CMD ["yay"]
COMMIT archlinux/yay
--> 39ddad8e90d3
Successfully tagged localhost/archlinux/yay:latest
39ddad8e90d31ef8687c53a8a06494a2ed4cf3f3e9282021ae8f31dcf697ab1f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment