Skip to content

Instantly share code, notes, and snippets.

@nwg-piotr
Created September 5, 2022 06:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nwg-piotr/1fe7694a99210b71b28f9a7e32027364 to your computer and use it in GitHub Desktop.
Save nwg-piotr/1fe7694a99210b71b28f9a7e32027364 to your computer and use it in GitHub Desktop.
update gtklock -> 1.3.5
$ LC_ALL=C baph -u
[sudo] password for piotr:
:: Synchronizing package databases...
core 156.2 KiB 56.8 KiB/s 00:03 [--------------------------------------------------------] 100%
extra 1844.6 KiB 363 KiB/s 00:05 [--------------------------------------------------------] 100%
community 6.9 MiB 1055 KiB/s 00:07 [--------------------------------------------------------] 100%
multilib 175.9 KiB 121 KiB/s 00:01 [--------------------------------------------------------] 100%
archlabs 13.8 KiB 28.8 KiB/s 00:00 [--------------------------------------------------------] 100%
DEB_Arch_Extra 5.9 KiB 25.0 KiB/s 00:00 [--------------------------------------------------------] 100%
:: Starting full system upgrade...
there is nothing to do
:: Synchronizing AUR package versions...
:: Starting AUR package upgrade...
Packages (2) gtklock-1.3.5-1 gtklock-userinfo-module-1.3.5-1
:: Proceed with package upgrade? [Y/n]
:: Cloning gtklock package repo...
Cloning into 'gtklock'...
remote: Enumerating objects: 52, done.
remote: Counting objects: 100% (52/52), done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 52 (delta 16), reused 52 (delta 16), pack-reused 0
Receiving objects: 100% (52/52), 7.51 KiB | 7.51 MiB/s, done.
Resolving deltas: 100% (16/16), done.
==> Making package: gtklock 1.3.5-1 (Mon Sep 5 08:21:07 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (1) scdoc-1.11.2-4
Total Installed Size: 0.03 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [--------------------------------------------------------] 100%
(1/1) checking package integrity [--------------------------------------------------------] 100%
(1/1) loading package files [--------------------------------------------------------] 100%
(1/1) checking for file conflicts [--------------------------------------------------------] 100%
(1/1) checking available disk space [--------------------------------------------------------] 100%
:: Processing package changes...
(1/1) installing scdoc [--------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
-> Downloading v1.3.5.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 53977 0 53977 0 0 93012 0 --:--:-- --:--:-- --:--:-- 93012
==> Validating source files with sha256sums...
v1.3.5.tar.gz ... Passed
==> Extracting sources...
-> Extracting v1.3.5.tar.gz with bsdtar
==> Starting build()...
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c11 -DPREFIX=/usr -Iinclude -I/usr/include/security -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-layer-shell -pthread -c -o gtklock.o src/gtklock.c
wayland-scanner private-code wayland/wlr-input-inhibitor-unstable-v1.xml wlr-input-inhibitor-unstable-v1-client-protocol.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c11 -DPREFIX=/usr -Iinclude -I/usr/include/security -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-layer-shell -pthread -c -o wlr-input-inhibitor-unstable-v1-client-protocol.o wlr-input-inhibitor-unstable-v1-client-protocol.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c11 -DPREFIX=/usr -Iinclude -I/usr/include/security -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-layer-shell -pthread -c -o auth.o src/auth.c
src/auth.c: In function 'auth_pw_check':
src/auth.c:128:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result]
128 | freopen("/dev/null", "r", stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/auth.c: In function 'send_msg':
src/auth.c:33:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | write(fd, &len, sizeof(size_t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/auth.c:34:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
34 | write(fd, msg, len);
| ^~~~~~~~~~~~~~~~~~~
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c11 -DPREFIX=/usr -Iinclude -I/usr/include/security -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-layer-shell -pthread -c -o config.o src/config.c
wayland-scanner client-header wayland/wlr-input-inhibitor-unstable-v1.xml include/wlr-input-inhibitor-unstable-v1-client-protocol.h
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c11 -DPREFIX=/usr -Iinclude -I/usr/include/security -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-layer-shell -pthread -c -o input-inhibitor.o src/input-inhibitor.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c11 -DPREFIX=/usr -Iinclude -I/usr/include/security -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-layer-shell -pthread -c -o module.o src/module.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c11 -DPREFIX=/usr -Iinclude -I/usr/include/security -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-layer-shell -pthread -c -o source.o src/source.c
src/source.c: In function 'daemonize':
src/source.c:185:9: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result]
185 | freopen("/dev/null", "r", stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/source.c:186:9: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result]
186 | freopen("/dev/null", "w", stdout);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/source.c:187:9: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result]
187 | freopen("/dev/null", "w", stderr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c11 -DPREFIX=/usr -Iinclude -I/usr/include/security -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-layer-shell -pthread -c -o util.o src/util.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c11 -DPREFIX=/usr -Iinclude -I/usr/include/security -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-layer-shell -pthread -c -o window.o src/window.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c11 -DPREFIX=/usr -Iinclude -I/usr/include/security -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/gtk-layer-shell -pthread -c -o xdg.o src/xdg.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now gtklock.o wlr-input-inhibitor-unstable-v1-client-protocol.o auth.o config.o input-inhibitor.o module.o source.o util.o window.o xdg.o -Wl,--export-dynamic -lpam -lwayland-client -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgtk-layer-shell -lgmodule-2.0 -pthread -lglib-2.0 -o gtklock
scdoc < man/gtklock.1.scd > gtklock.1
rm wlr-input-inhibitor-unstable-v1-client-protocol.c
==> Entering fakeroot environment...
==> Starting package()...
install -d /home/piotr/.cache/baph/builds/gtklock/pkg/gtklock//usr/bin
install gtklock /home/piotr/.cache/baph/builds/gtklock/pkg/gtklock//usr/bin/gtklock
install -d /home/piotr/.cache/baph/builds/gtklock/pkg/gtklock//etc/pam.d
install -m644 pam/gtklock /home/piotr/.cache/baph/builds/gtklock/pkg/gtklock//etc/pam.d/gtklock
install -d /home/piotr/.cache/baph/builds/gtklock/pkg/gtklock//usr/share/man/man1
install -m644 gtklock.1 /home/piotr/.cache/baph/builds/gtklock/pkg/gtklock//usr/share/man/man1/gtklock.1
==> 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 "gtklock"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: gtklock 1.3.5-1 (Mon Sep 5 08:21:19 2022)
==> Removing installed dependencies...
checking dependencies...
Packages (1) scdoc-1.11.2-4
Total Removed Size: 0.03 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/1) removing scdoc [--------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Installing package gtklock with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing gtklock (1.3.5-1) breaks dependency 'gtklock=1.3.4' required by gtklock-userinfo-module
==> WARNING: Failed to install built package(s).
==> Cleaning up...
:: Cloning gtklock-userinfo-module package repo...
Cloning into 'gtklock-userinfo-module'...
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 19 (delta 5), reused 19 (delta 5), pack-reused 0
Receiving objects: 100% (19/19), done.
Resolving deltas: 100% (5/5), done.
==> Making package: gtklock-userinfo-module 1.3.5-1 (Mon Sep 5 08:21:24 2022)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: gtklock=1.3.5
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> gtklock=1.3.5
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment