Skip to content

Instantly share code, notes, and snippets.

@jakec-dev
Last active August 2, 2021 07:04
Show Gist options
  • Save jakec-dev/e52fd5bb652b30b2cf0061863a8964ac to your computer and use it in GitHub Desktop.
Save jakec-dev/e52fd5bb652b30b2cf0061863a8964ac to your computer and use it in GitHub Desktop.
wyrd-git errors
:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo Make:2] ocaml-4.12.0-1 camlp4-4.12+1-1
[Aur:1] wyrd-git-20210419.5872ee0-1
==> Remove make dependencies after install? [y/N] n
1 wyrd-git (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/jake/.cache/yay/wyrd-git
:: Downloaded PKGBUILD (1/1): wyrd-git
1 wyrd-git (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: wyrd-git
resolving dependencies...
looking for conflicting packages...
Packages (2) camlp4-4.12+1-1 ocaml-4.12.0-1
Total Installed Size: 455.64 MiB
:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring [################################################] 100%
(2/2) checking package integrity [################################################] 100%
(2/2) loading package files [################################################] 100%
(2/2) checking for file conflicts [################################################] 100%
(2/2) checking available disk space [################################################] 100%
:: Processing package changes...
(1/2) installing ocaml [################################################] 100%
Optional dependencies for ocaml
ncurses: advanced ncurses features [installed]
tk: advanced tk features
(2/2) installing camlp4 [################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) pkglist.hook
==> Making package: wyrd-git 20210419.5872ee0-1 (Mon 02 Aug 2021 04:47:23 PM AEST)
==> Retrieving sources...
-> Cloning wyrd git repo...
Cloning into bare repository '/home/jake/.cache/yay/wyrd-git/wyrd'...
remote: Enumerating objects: 200, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 200 (delta 24), reused 25 (delta 9), pack-reused 149
Receiving objects: 100% (200/200), 603.66 KiB | 2.60 MiB/s, done.
Resolving deltas: 100% (68/68), done.
==> Validating source files with md5sums...
wyrd ... Skipped
-> ocaml not satisfied, flushing install queue
==> Making package: wyrd-git 20210419.5872ee0-1 (Mon 02 Aug 2021 04:47:26 PM AEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating wyrd git repo...
Fetching origin
==> Validating source files with md5sums...
wyrd ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of wyrd git repo...
Cloning into 'wyrd'...
done.
==> Starting pkgver()...
==> Updated version: wyrd-git 20210419.e363b38-1
==> Sources are ready.
==> Making package: wyrd-git 20210419.e363b38-1 (Mon 02 Aug 2021 04:47:29 PM AEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
configure.ac:205: warning: AC_OUTPUT should be used without arguments.
configure.ac:205: You should run autoupdate.
checking for ocamlc... ocamlc
ocaml version is 4.12.0
ocaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking ocamlopt version... ok
checking for ocamlc.opt... ocamlc.opt
checking ocamlc.opt version... ok
checking for ocamlopt.opt... ocamlopt.opt
checking ocamlc.opt version... ok
checking for ocamldep... ocamldep
checking for ocamllex... ocamllex
checking for ocamllex.opt... ocamllex.opt
checking for ocamlyacc... ocamlyacc
checking platform... not Win32
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for remind... /usr/bin/remind
checking remind version... 03.03.07
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install.ml
=== configuring in curses (/home/jake/.cache/yay/wyrd-git/src/wyrd/curses)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--exec-prefix=/usr' '--sysconfdir=/etc' '--enable-utf8' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' '--enable-widec' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for working ncurses library... found in -lncurses
checking for term.h... found in <term.h>
checking for wide character support in ncurses library... yes
checking for resizeterm... yes
checking for resize_term... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.ml
config.status: creating config.h
ocamlc.opt -c locale_wrap.c
make -C curses byte opt && touch .stamp_built_curses
make[1]: Entering directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
make[2]: Entering directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
ocamldep curses.mli > ._bcdi/curses.di
ocamldep -pp "gcc -x c -E " curses.ml > ._d/curses.d
ocamldep keys.ml > ._d/keys.d
ocamlc -c -cc "gcc" -ccopt "-fPIC -g -Wall -DHAVE_CONFIG_H \
-DPIC \
-o ml_curses.o " ml_curses.c
In file included from ml_curses.c:216:
functions.c: In function ‘mlcurses_color_content’:
functions.c:161:19: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
161 | BEG1 short x,y,z; if(color_content(Int_val(aa),&x,&y,&z)==ERR)
| ^~
ml_curses.c:70:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
70 | { CAMLlocal1(ret); AWB(ret); \
| ^
functions.c:162:13: note: in expansion of macro ‘r_int_int_int’
162 | x=y=z=-1; r_int_int_int(x,y,z); END
| ^~~~~~~~~~~~~
functions.c: In function ‘mlcurses_unctrl’:
functions.c:596:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
596 | ML1(unctrl,string,chtype)
| ^~~~~~
ml_curses.c:77:15: note: in definition of macro ‘r_string’
77 | { char *ret=f; \
| ^
functions.c:596:1: note: in expansion of macro ‘ML1’
596 | ML1(unctrl,string,chtype)
| ^~~
functions.c: In function ‘mlcurses_keyname’:
functions.c:597:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
597 | ML1(keyname,string,int)
| ^~~~~~~
ml_curses.c:77:15: note: in definition of macro ‘r_string’
77 | { char *ret=f; \
| ^
functions.c:597:1: note: in expansion of macro ‘ML1’
597 | ML1(keyname,string,int)
| ^~~
ar rcs libcurses_stubs.a ml_curses.o
ocamlc -c keys.ml
ocamlc -c curses.mli
ocamlc -c -pp "gcc -x c -E " curses.ml
ocamlmklib \
-o curses_stubs ml_curses.o -lncurses \
ocamlc -a -dllib dllcurses_stubs.so -custom -ccopt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -cclib -lcurses_stubs -cclib -lncurses -o curses.cma keys.cmo curses.cmo
make[2]: Leaving directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
sed \
-e 's/@PACKAGE@/curses/' \
-e 's/@VERSION@/1.0.3/' \
-e 's/@CURSES@/ncurses/' \
< META.in > META
ranlib *.a
make[2]: Entering directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
ocamldep -native curses.mli > ._ncdi/curses.di
make[2]: 'libcurses_stubs.a' is up to date.
ocamlopt -c keys.ml
ocamlopt -c -pp "gcc -x c -E " curses.ml
ocamlopt -a -ccopt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -cclib -lcurses_stubs -cclib -lncurses -o curses.cmxa keys.cmx curses.cmx
make[2]: Leaving directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
ranlib *.a
make[1]: Leaving directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string install.ml
echo "let version = \""1.4.7"\"" > version.ml
echo "let date = \""`date`"\"" >> version.ml
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string version.ml
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string utility.ml
File "utility.ml", line 359, characters 12-25:
359 | new_bytes.[i] <- s.[byte_pos + i]
^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.set
Use Bytes.set/BytesLabels.set instead.
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string rcfile.ml
File "rcfile.ml", line 34, characters 20-38:
34 | let compare = Pervasives.compare
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "rcfile.ml", line 246, characters 30-46:
246 | let uc_main_key = String.uppercase main_key in
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.uppercase
Use String.uppercase_ascii/StringLabels.uppercase_ascii instead.
File "rcfile.ml", line 263, characters 30-46:
263 | let uc_main_key = String.uppercase main_key in
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.uppercase
Use String.uppercase_ascii/StringLabels.uppercase_ascii instead.
File "rcfile.ml", line 493, characters 27-42:
493 | (Failure "int_of_string") -> config_failwith "Expected octal digits after \"\\\""
^^^^^^^^^^^^^^^
Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
this constructor's arguments. They are only for information
and may change in future versions. (See manual section 9.5)
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string time_lang.ml
File "time_lang.ml", line 516, characters 30-46:
516 | let new_element = String.lowercase (Str.matched_group 1 event_s) in
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "time_lang.ml", line 544, characters 30-46:
544 | let new_element = String.lowercase (Str.matched_group 1 event_s) in
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string interface.ml
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string cal.ml
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string remind.ml
File "remind.ml", line 34, characters 24-42:
34 | let compare i j = Pervasives.compare i j
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string interface_draw.ml
File "interface_draw.ml", line 34, characters 7-25:
34 | ~- (Pervasives.compare line1.tl_start line2.tl_start)
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string interface_main.ml
File "interface_main.ml", line 1084, characters 36-54:
1084 | let sorted_list = List.fast_sort Pervasives.compare !bindings in
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "interface_main.ml", line 1932, characters 46-59:
1932 | with Failure _ | Invalid_argument "char_of_int" ->
^^^^^^^^^^^^^
Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
this constructor's arguments. They are only for information
and may change in future versions. (See manual section 9.5)
ocamlc.opt -c -pp camlp4o -g -I ./curses -unsafe-string locale.mli
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string locale.ml
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string main.ml
ocamlopt.opt -pp camlp4o -g -I ./curses -unsafe-string -o wyrd.opt curses/curses.cmxa locale_wrap.o str.cmxa unix.cmxa install.cmx version.cmx utility.cmx rcfile.cmx time_lang.cmx interface.cmx cal.cmx remind.cmx interface_draw.cmx interface_main.cmx locale.cmx main.cmx
rm -f wyrd && ln -s wyrd.opt wyrd
==> Entering fakeroot environment...
==> Starting package()...
mkdir -p /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/bin
mkdir -p /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///etc
mkdir -p /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/share/man/man1
mkdir -p /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/share/man/man5
/usr/bin/install -c -m 644 wyrdrc /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///etc
/usr/bin/install -c -m 644 doc/wyrd.1 /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/share/man/man1/wyrd.1
/usr/bin/install -c -m 644 doc/wyrdrc.5 /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/share/man/man5/wyrdrc.5
/usr/bin/install -c -m 755 wyrd.opt /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/bin
mv /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/bin/wyrd.opt /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/bin/wyrd
==> 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 "wyrd-git"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: wyrd-git 20210419.e363b38-1 (Mon 02 Aug 2021 04:47:34 PM AEST)
==> Cleaning up...
-> Found git repo: github.com/Perdu/wyrd.git
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) wyrd-git-20210419.e363b38-1
Total Installed Size: 1.92 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 wyrd-git [################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) pkglist.hook
~ > yay -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Searching databases for updates...
:: Searching AUR for updates...
-> dracula-gtk-theme: local (2021.06.30-1) is newer than AUR (v2.0-1)
-> Missing AUR Packages: i3-swallow
:: 1 Packages to upgrade.
1 aur/wyrd-git 20210419.e363b38-1 -> 20210419.5872ee0-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==>
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] wyrd-git-20210419.5872ee0-1
1 wyrd-git (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: PKGBUILD up to date, Skipping (1/1): wyrd-git
1 wyrd-git (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: wyrd-git
:: Starting full system upgrade...
there is nothing to do
==> Making package: wyrd-git 20210419.5872ee0-1 (Mon 02 Aug 2021 04:52:36 PM AEST)
==> Retrieving sources...
-> Updating wyrd git repo...
Fetching origin
==> Validating source files with md5sums...
wyrd ... Skipped
==> Making package: wyrd-git 20210419.5872ee0-1 (Mon 02 Aug 2021 04:52:38 PM AEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating wyrd git repo...
Fetching origin
==> Validating source files with md5sums...
wyrd ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of wyrd git repo...
Cloning into 'wyrd'...
done.
==> Starting pkgver()...
==> Updated version: wyrd-git 20210419.e363b38-1
==> Sources are ready.
==> Making package: wyrd-git 20210419.e363b38-1 (Mon 02 Aug 2021 04:52:42 PM AEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Sources are ready.
-> wyrd-git-20210419.e363b38-1 already made -- skipping build
-> Found git repo: github.com/Perdu/wyrd.git
loading packages...
warning: wyrd-git-20210419.e363b38-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) wyrd-git-20210419.e363b38-1
Total Installed Size: 1.92 MiB
Net Upgrade Size: 0.00 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) reinstalling wyrd-git [################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
~ > yay -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Searching databases for updates...
:: Searching AUR for updates...
-> dracula-gtk-theme: local (2021.06.30-1) is newer than AUR (v2.0-1)
-> Missing AUR Packages: i3-swallow
:: 1 Packages to upgrade.
1 aur/wyrd-git 20210419.e363b38-1 -> 20210419.5872ee0-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==>
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] wyrd-git-20210419.5872ee0-1
1 wyrd-git (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/jake/.cache/yay/wyrd-git
:: Downloaded PKGBUILD (1/1): wyrd-git
1 wyrd-git (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: wyrd-git
:: Starting full system upgrade...
there is nothing to do
==> Making package: wyrd-git 20210419.5872ee0-1 (Mon 02 Aug 2021 04:54:01 PM AEST)
==> Retrieving sources...
-> Cloning wyrd git repo...
Cloning into bare repository '/home/jake/.cache/yay/wyrd-git/wyrd'...
remote: Enumerating objects: 200, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 200 (delta 24), reused 25 (delta 9), pack-reused 149
Receiving objects: 100% (200/200), 603.66 KiB | 4.47 MiB/s, done.
Resolving deltas: 100% (68/68), done.
==> Validating source files with md5sums...
wyrd ... Skipped
==> Making package: wyrd-git 20210419.5872ee0-1 (Mon 02 Aug 2021 04:54:05 PM AEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating wyrd git repo...
Fetching origin
==> Validating source files with md5sums...
wyrd ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of wyrd git repo...
Cloning into 'wyrd'...
done.
==> Starting pkgver()...
==> Updated version: wyrd-git 20210419.e363b38-1
==> Sources are ready.
==> Making package: wyrd-git 20210419.e363b38-1 (Mon 02 Aug 2021 04:54:08 PM AEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
configure.ac:205: warning: AC_OUTPUT should be used without arguments.
configure.ac:205: You should run autoupdate.
checking for ocamlc... ocamlc
ocaml version is 4.12.0
ocaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking ocamlopt version... ok
checking for ocamlc.opt... ocamlc.opt
checking ocamlc.opt version... ok
checking for ocamlopt.opt... ocamlopt.opt
checking ocamlc.opt version... ok
checking for ocamldep... ocamldep
checking for ocamllex... ocamllex
checking for ocamllex.opt... ocamllex.opt
checking for ocamlyacc... ocamlyacc
checking platform... not Win32
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for remind... /usr/bin/remind
checking remind version... 03.03.07
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install.ml
=== configuring in curses (/home/jake/.cache/yay/wyrd-git/src/wyrd/curses)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--exec-prefix=/usr' '--sysconfdir=/etc' '--enable-utf8' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' '--enable-widec' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for working ncurses library... found in -lncurses
checking for term.h... found in <term.h>
checking for wide character support in ncurses library... yes
checking for resizeterm... yes
checking for resize_term... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.ml
config.status: creating config.h
ocamlc.opt -c locale_wrap.c
make -C curses byte opt && touch .stamp_built_curses
make[1]: Entering directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
make[2]: Entering directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
ocamldep curses.mli > ._bcdi/curses.di
ocamldep -pp "gcc -x c -E " curses.ml > ._d/curses.d
ocamldep keys.ml > ._d/keys.d
ocamlc -c -cc "gcc" -ccopt "-fPIC -g -Wall -DHAVE_CONFIG_H \
-DPIC \
-o ml_curses.o " ml_curses.c
In file included from ml_curses.c:216:
functions.c: In function ‘mlcurses_color_content’:
functions.c:161:19: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
161 | BEG1 short x,y,z; if(color_content(Int_val(aa),&x,&y,&z)==ERR)
| ^~
ml_curses.c:70:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
70 | { CAMLlocal1(ret); AWB(ret); \
| ^
functions.c:162:13: note: in expansion of macro ‘r_int_int_int’
162 | x=y=z=-1; r_int_int_int(x,y,z); END
| ^~~~~~~~~~~~~
functions.c: In function ‘mlcurses_unctrl’:
functions.c:596:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
596 | ML1(unctrl,string,chtype)
| ^~~~~~
ml_curses.c:77:15: note: in definition of macro ‘r_string’
77 | { char *ret=f; \
| ^
functions.c:596:1: note: in expansion of macro ‘ML1’
596 | ML1(unctrl,string,chtype)
| ^~~
functions.c: In function ‘mlcurses_keyname’:
functions.c:597:5: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
597 | ML1(keyname,string,int)
| ^~~~~~~
ml_curses.c:77:15: note: in definition of macro ‘r_string’
77 | { char *ret=f; \
| ^
functions.c:597:1: note: in expansion of macro ‘ML1’
597 | ML1(keyname,string,int)
| ^~~
ar rcs libcurses_stubs.a ml_curses.o
ocamlc -c keys.ml
ocamlc -c curses.mli
ocamlc -c -pp "gcc -x c -E " curses.ml
ocamlmklib \
-o curses_stubs ml_curses.o -lncurses \
ocamlc -a -dllib dllcurses_stubs.so -custom -ccopt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -cclib -lcurses_stubs -cclib -lncurses -o curses.cma keys.cmo curses.cmo
make[2]: Leaving directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
sed \
-e 's/@PACKAGE@/curses/' \
-e 's/@VERSION@/1.0.3/' \
-e 's/@CURSES@/ncurses/' \
< META.in > META
ranlib *.a
make[2]: Entering directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
ocamldep -native curses.mli > ._ncdi/curses.di
make[2]: 'libcurses_stubs.a' is up to date.
ocamlopt -c keys.ml
ocamlopt -c -pp "gcc -x c -E " curses.ml
ocamlopt -a -ccopt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -cclib -lcurses_stubs -cclib -lncurses -o curses.cmxa keys.cmx curses.cmx
make[2]: Leaving directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
ranlib *.a
make[1]: Leaving directory '/home/jake/.cache/yay/wyrd-git/src/wyrd/curses'
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string install.ml
echo "let version = \""1.4.7"\"" > version.ml
echo "let date = \""`date`"\"" >> version.ml
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string version.ml
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string utility.ml
File "utility.ml", line 359, characters 12-25:
359 | new_bytes.[i] <- s.[byte_pos + i]
^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.set
Use Bytes.set/BytesLabels.set instead.
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string rcfile.ml
File "rcfile.ml", line 34, characters 20-38:
34 | let compare = Pervasives.compare
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "rcfile.ml", line 246, characters 30-46:
246 | let uc_main_key = String.uppercase main_key in
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.uppercase
Use String.uppercase_ascii/StringLabels.uppercase_ascii instead.
File "rcfile.ml", line 263, characters 30-46:
263 | let uc_main_key = String.uppercase main_key in
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.uppercase
Use String.uppercase_ascii/StringLabels.uppercase_ascii instead.
File "rcfile.ml", line 493, characters 27-42:
493 | (Failure "int_of_string") -> config_failwith "Expected octal digits after \"\\\""
^^^^^^^^^^^^^^^
Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
this constructor's arguments. They are only for information
and may change in future versions. (See manual section 9.5)
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string time_lang.ml
File "time_lang.ml", line 516, characters 30-46:
516 | let new_element = String.lowercase (Str.matched_group 1 event_s) in
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
File "time_lang.ml", line 544, characters 30-46:
544 | let new_element = String.lowercase (Str.matched_group 1 event_s) in
^^^^^^^^^^^^^^^^
Alert deprecated: Stdlib.String.lowercase
Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string interface.ml
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string cal.ml
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string remind.ml
File "remind.ml", line 34, characters 24-42:
34 | let compare i j = Pervasives.compare i j
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string interface_draw.ml
File "interface_draw.ml", line 34, characters 7-25:
34 | ~- (Pervasives.compare line1.tl_start line2.tl_start)
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string interface_main.ml
File "interface_main.ml", line 1084, characters 36-54:
1084 | let sorted_list = List.fast_sort Pervasives.compare !bindings in
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "interface_main.ml", line 1932, characters 46-59:
1932 | with Failure _ | Invalid_argument "char_of_int" ->
^^^^^^^^^^^^^
Warning 52 [fragile-literal-pattern]: Code should not depend on the actual values of
this constructor's arguments. They are only for information
and may change in future versions. (See manual section 9.5)
ocamlc.opt -c -pp camlp4o -g -I ./curses -unsafe-string locale.mli
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string locale.ml
ocamlopt.opt -c -pp camlp4o -g -I ./curses -unsafe-string main.ml
ocamlopt.opt -pp camlp4o -g -I ./curses -unsafe-string -o wyrd.opt curses/curses.cmxa locale_wrap.o str.cmxa unix.cmxa install.cmx version.cmx utility.cmx rcfile.cmx time_lang.cmx interface.cmx cal.cmx remind.cmx interface_draw.cmx interface_main.cmx locale.cmx main.cmx
rm -f wyrd && ln -s wyrd.opt wyrd
==> Entering fakeroot environment...
==> Starting package()...
mkdir -p /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/bin
mkdir -p /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///etc
mkdir -p /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/share/man/man1
mkdir -p /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/share/man/man5
/usr/bin/install -c -m 644 wyrdrc /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///etc
/usr/bin/install -c -m 644 doc/wyrd.1 /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/share/man/man1/wyrd.1
/usr/bin/install -c -m 644 doc/wyrdrc.5 /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/share/man/man5/wyrdrc.5
/usr/bin/install -c -m 755 wyrd.opt /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/bin
mv /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/bin/wyrd.opt /home/jake/.cache/yay/wyrd-git/pkg/wyrd-git///usr/bin/wyrd
==> 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 "wyrd-git"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: wyrd-git 20210419.e363b38-1 (Mon 02 Aug 2021 04:54:13 PM AEST)
==> Cleaning up...
-> Found git repo: github.com/Perdu/wyrd.git
loading packages...
warning: wyrd-git-20210419.e363b38-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) wyrd-git-20210419.e363b38-1
Total Installed Size: 1.92 MiB
Net Upgrade Size: 0.00 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) reinstalling wyrd-git [################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
~ > yay -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Searching databases for updates...
:: Searching AUR for updates...
-> dracula-gtk-theme: local (2021.06.30-1) is newer than AUR (v2.0-1)
-> Missing AUR Packages: i3-swallow
:: 1 Packages to upgrade.
1 aur/wyrd-git 20210419.e363b38-1 -> 20210419.5872ee0-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==> 1
:: Starting full system upgrade...
there is nothing to do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment