Packaging oniguruma

oniguruma is a regular expression library written in C. It is a dependency of bat. It provides several build systems, but we’ll use the GNU configure build system (as does the official package).

If you want to follow along, run this:

rm -r srcpkgs/oniguruma*
sed -i /oniguruma/d common/shlibs

Gathering info

The following information is taken from oniguruma’s GitHub repo: https://github.com/kkos/oniguruma

  • latest version: 6.9.9

    oniguruma version

  • build_style: gnu-configure

  • short_desc: Multi-charset regular expressions library

  • license: BSD-2-Clause

  • homepage: https://github.com/kkos/oniguruma

  • distfiles: oniguruma provides custom archives, but they are not prebuilt:

    oniguruma archive

    When that happens, the custom archives should be preferred.

    The link is https://github.com/kkos/oniguruma/releases/download/v6.9.9/onig-6.9.9.tar.gz

    This link includes ${version} twice, so it has to be substituted twice:

    Bad

    distfiles="https://github.com/kkos/oniguruma/releases/download/v6.9.9/onig-${version}.tar.gz"

    Good

    distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"

A word about subpackages

A package can have subpackages. This is useful to for example separate large documentation from a program.

But this feature is used the most for -devel packages. All libraries usually provide (at least) two packages: the main package and a -devel package.

The main package contains the core (shared) library. It is needed for programs which depend on this library.

The -devel package contains development files needed to compile projects that depend on the library. It includes extra symbolic links to the shared library, static libraries, pkg-config files, CMake files, header files and more.

The -devel package should always depend on the main package. Installing the -devel package should install both.

This is how officially packaged oniguruma does it:

> xbps-query -Rf oniguruma
/usr/lib/libonig.so.5.4.0
/usr/share/licenses/oniguruma/COPYING
/usr/lib/libonig.so.5 -> /usr/lib/libonig.so.5.4.0
> xbps-query -Rf oniguruma-devel
/usr/bin/onig-config
/usr/include/oniggnu.h
/usr/include/onigposix.h
/usr/include/oniguruma.h
/usr/lib/libonig.a
/usr/lib/pkgconfig/oniguruma.pc
/usr/lib/libonig.so -> /usr/lib/libonig.so.5.4.0

Here you can see onig-config, which is a shell script used for development, you can see header files, a static library, pkg-config file and an unversioned symbolic link.

Creating the template

We can use xnew to create the template and fill out what we know. The -devel subpackage can be specified as the second argument of xnew:

xnew oniguruma oniguruma-devel

You’ll see this:

# Template file for 'oniguruma'
pkgname=oniguruma
version=
revision=1
#archs="i686 x86_64"
#build_wrksrc=
build_style=gnu-configure
#configure_args=""
#make_build_args=""
#make_install_args=""
#conf_files=""
#make_dirs="/var/log/dir 0755 root root"
hostmakedepends=""
makedepends=""
depends=""
short_desc=""
maintainer="meator <meator.dev@gmail.com>"
license="GPL-3.0-or-later"
homepage=""
#changelog=""
distfiles=""
checksum=badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb

oniguruma-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/share/man/man3
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}

Subpackages are defined with the <subpackage name>_package() function. As you can see, it depends on the “parent” package oniguruma. xnew has detected that the -devel package is a development package and it has prefilled short_desc and the pkg_install() function.

The pkg_install() function makes heavy use of the vmove xbps-src helper. It moves <file> to $DESTDIR/<file>. These two are equivalent:

vmove usr/include
mv usr/include $DESTDIR/usr/include

xnew prefill it with things that should generally appear in a -devel package.

Here is the filled-out template:

# Template file for 'oniguruma'
pkgname=oniguruma
version=6.9.9
revision=1
build_style=gnu-configure
hostmakedepends=""
makedepends=""
depends=""
short_desc="Multi-charset regular expressions library"
maintainer="meator <meator.dev@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/kkos/oniguruma"
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
checksum=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf

oniguruma-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/share/man/man3
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}

Let’s try building it:

=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
x86_64-repodata: [1808KB 0%] 163MB/s ETA: 00m00s
x86_64-repodata: [1808KB 7%] 301KB/s ETA: 00m13s
x86_64-repodata: [1808KB 28%] 361KB/s ETA: 00m05s
x86_64-repodata: [1808KB 43%] 323KB/s ETA: 00m03s
x86_64-repodata: [1808KB 73%] 390KB/s ETA: 00m01s
x86_64-repodata: [1808KB 80%] 308KB/s ETA: 00m01s
x86_64-repodata: [1808KB 91%] 297KB/s ETA: 00m00s
x86_64-repodata: 1808KB [avg rate: 326KB/s]
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
x86_64-repodata: [848KB 0%] 163MB/s ETA: 00m00s
x86_64-repodata: [848KB 28%] 559KB/s ETA: 00m02s
x86_64-repodata: [848KB 98%] 584KB/s ETA: 00m00s
x86_64-repodata: 848KB [avg rate: 595KB/s]
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
x86_64-repodata: [680KB 0%] 95MB/s ETA: 00m00s
x86_64-repodata: 680KB [avg rate: 16GB/s]
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> oniguruma-6.9.9_1: removing autodeps, please wait...
=> oniguruma-6.9.9_1: building with [gnu-configure] for x86_64...
   [runtime] oniguruma-6.9.9_1: found (https://repo-default.voidlinux.org/current)
=> oniguruma-6.9.9_1: running do-fetch hook: 00-distfiles ...
=> oniguruma-6.9.9_1: running do-extract hook: 00-distfiles ...
=> oniguruma-6.9.9_1: extracting distfile(s), please wait...
=> oniguruma-6.9.9_1: running do-patch hook: 00-patches ...
=> oniguruma-6.9.9_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> oniguruma-6.9.9_1: running pre-configure hook: 01-override-config ...
=> oniguruma-6.9.9_1: running pre-configure hook: 02-script-wrapper ...
=> oniguruma-6.9.9_1: running do_configure ...
checking for a BSD-compatible install... /builddir/.xbps-oniguruma/wrappers/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-unknown-linux-gnu-gcc... cc
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 cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for x86_64-unknown-linux-gnu-file... no
checking for file... file
checking for x86_64-unknown-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-unknown-linux-gnu-ar... ar
checking for archiver @FILE support... @
checking for x86_64-unknown-linux-gnu-strip... strip
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking command to parse nm output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-unknown-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make sets $(MAKE)... (cached) yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/times.h... yes
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of void*... 8
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating sample/Makefile
config.status: creating onig-config
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
=> oniguruma-6.9.9_1: running pre-build hook: 02-script-wrapper ...
=> oniguruma-6.9.9_1: running do_build ...
Making all in src
make[1]: Entering directory '/builddir/oniguruma-6.9.9/src'
make  all-am
make[2]: Entering directory '/builddir/oniguruma-6.9.9/src'
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c -o regparse.lo regparse.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c -o regcomp.lo regcomp.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c -o regexec.lo regexec.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c -o regenc.lo regenc.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c  -fPIC -DPIC -o .libs/regexec.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c regenc.c  -fPIC -DPIC -o .libs/regenc.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c regparse.c  -fPIC -DPIC -o .libs/regparse.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c  -fPIC -DPIC -o .libs/regcomp.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c regenc.c -o regenc.o >/dev/null 2>&1
mv -f .deps/regenc.Tpo .deps/regenc.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c -o regerror.lo regerror.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c regerror.c  -fPIC -DPIC -o .libs/regerror.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c regerror.c -o regerror.o >/dev/null 2>&1
mv -f .deps/regerror.Tpo .deps/regerror.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regext.lo -MD -MP -MF .deps/regext.Tpo -c -o regext.lo regext.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regext.lo -MD -MP -MF .deps/regext.Tpo -c regext.c  -fPIC -DPIC -o .libs/regext.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regext.lo -MD -MP -MF .deps/regext.Tpo -c regext.c -o regext.o >/dev/null 2>&1
mv -f .deps/regext.Tpo .deps/regext.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regsyntax.lo -MD -MP -MF .deps/regsyntax.Tpo -c -o regsyntax.lo regsyntax.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regsyntax.lo -MD -MP -MF .deps/regsyntax.Tpo -c regsyntax.c  -fPIC -DPIC -o .libs/regsyntax.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regsyntax.lo -MD -MP -MF .deps/regsyntax.Tpo -c regsyntax.c -o regsyntax.o >/dev/null 2>&1
mv -f .deps/regsyntax.Tpo .deps/regsyntax.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regtrav.lo -MD -MP -MF .deps/regtrav.Tpo -c -o regtrav.lo regtrav.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regtrav.lo -MD -MP -MF .deps/regtrav.Tpo -c regtrav.c  -fPIC -DPIC -o .libs/regtrav.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c -o regcomp.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regtrav.lo -MD -MP -MF .deps/regtrav.Tpo -c regtrav.c -o regtrav.o >/dev/null 2>&1
mv -f .deps/regtrav.Tpo .deps/regtrav.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regversion.lo -MD -MP -MF .deps/regversion.Tpo -c -o regversion.lo regversion.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regversion.lo -MD -MP -MF .deps/regversion.Tpo -c regversion.c  -fPIC -DPIC -o .libs/regversion.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c -o regexec.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regversion.lo -MD -MP -MF .deps/regversion.Tpo -c regversion.c -o regversion.o >/dev/null 2>&1
mv -f .deps/regversion.Tpo .deps/regversion.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT st.lo -MD -MP -MF .deps/st.Tpo -c -o st.lo st.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT st.lo -MD -MP -MF .deps/st.Tpo -c st.c  -fPIC -DPIC -o .libs/st.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT st.lo -MD -MP -MF .deps/st.Tpo -c st.c -o st.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c regparse.c -o regparse.o >/dev/null 2>&1
mv -f .deps/st.Tpo .deps/st.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT reggnu.lo -MD -MP -MF .deps/reggnu.Tpo -c -o reggnu.lo reggnu.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT reggnu.lo -MD -MP -MF .deps/reggnu.Tpo -c reggnu.c  -fPIC -DPIC -o .libs/reggnu.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT reggnu.lo -MD -MP -MF .deps/reggnu.Tpo -c reggnu.c -o reggnu.o >/dev/null 2>&1
mv -f .deps/reggnu.Tpo .deps/reggnu.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c -o unicode.lo unicode.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c unicode.c  -fPIC -DPIC -o .libs/unicode.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c unicode.c -o unicode.o >/dev/null 2>&1
mv -f .deps/unicode.Tpo .deps/unicode.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_unfold_key.lo -MD -MP -MF .deps/unicode_unfold_key.Tpo -c -o unicode_unfold_key.lo unicode_unfold_key.c
mv -f .deps/regcomp.Tpo .deps/regcomp.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold1_key.lo -MD -MP -MF .deps/unicode_fold1_key.Tpo -c -o unicode_fold1_key.lo unicode_fold1_key.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_unfold_key.lo -MD -MP -MF .deps/unicode_unfold_key.Tpo -c unicode_unfold_key.c  -fPIC -DPIC -o .libs/unicode_unfold_key.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_unfold_key.lo -MD -MP -MF .deps/unicode_unfold_key.Tpo -c unicode_unfold_key.c -o unicode_unfold_key.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold1_key.lo -MD -MP -MF .deps/unicode_fold1_key.Tpo -c unicode_fold1_key.c  -fPIC -DPIC -o .libs/unicode_fold1_key.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold1_key.lo -MD -MP -MF .deps/unicode_fold1_key.Tpo -c unicode_fold1_key.c -o unicode_fold1_key.o >/dev/null 2>&1
mv -f .deps/unicode_unfold_key.Tpo .deps/unicode_unfold_key.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold2_key.lo -MD -MP -MF .deps/unicode_fold2_key.Tpo -c -o unicode_fold2_key.lo unicode_fold2_key.c
mv -f .deps/unicode_fold1_key.Tpo .deps/unicode_fold1_key.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold3_key.lo -MD -MP -MF .deps/unicode_fold3_key.Tpo -c -o unicode_fold3_key.lo unicode_fold3_key.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold2_key.lo -MD -MP -MF .deps/unicode_fold2_key.Tpo -c unicode_fold2_key.c  -fPIC -DPIC -o .libs/unicode_fold2_key.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold3_key.lo -MD -MP -MF .deps/unicode_fold3_key.Tpo -c unicode_fold3_key.c  -fPIC -DPIC -o .libs/unicode_fold3_key.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold2_key.lo -MD -MP -MF .deps/unicode_fold2_key.Tpo -c unicode_fold2_key.c -o unicode_fold2_key.o >/dev/null 2>&1
mv -f .deps/unicode_fold2_key.Tpo .deps/unicode_fold2_key.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT ascii.lo -MD -MP -MF .deps/ascii.Tpo -c -o ascii.lo ascii.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT ascii.lo -MD -MP -MF .deps/ascii.Tpo -c ascii.c  -fPIC -DPIC -o .libs/ascii.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold3_key.lo -MD -MP -MF .deps/unicode_fold3_key.Tpo -c unicode_fold3_key.c -o unicode_fold3_key.o >/dev/null 2>&1
mv -f .deps/unicode_fold3_key.Tpo .deps/unicode_fold3_key.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf8.lo -MD -MP -MF .deps/utf8.Tpo -c -o utf8.lo utf8.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT ascii.lo -MD -MP -MF .deps/ascii.Tpo -c ascii.c -o ascii.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf8.lo -MD -MP -MF .deps/utf8.Tpo -c utf8.c  -fPIC -DPIC -o .libs/utf8.o
mv -f .deps/ascii.Tpo .deps/ascii.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_be.lo -MD -MP -MF .deps/utf16_be.Tpo -c -o utf16_be.lo utf16_be.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf8.lo -MD -MP -MF .deps/utf8.Tpo -c utf8.c -o utf8.o >/dev/null 2>&1
mv -f .deps/regexec.Tpo .deps/regexec.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_le.lo -MD -MP -MF .deps/utf16_le.Tpo -c -o utf16_le.lo utf16_le.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_le.lo -MD -MP -MF .deps/utf16_le.Tpo -c utf16_le.c  -fPIC -DPIC -o .libs/utf16_le.o
mv -f .deps/utf8.Tpo .deps/utf8.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_be.lo -MD -MP -MF .deps/utf32_be.Tpo -c -o utf32_be.lo utf32_be.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_be.lo -MD -MP -MF .deps/utf16_be.Tpo -c utf16_be.c  -fPIC -DPIC -o .libs/utf16_be.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_be.lo -MD -MP -MF .deps/utf32_be.Tpo -c utf32_be.c  -fPIC -DPIC -o .libs/utf32_be.o
mv -f .deps/regparse.Tpo .deps/regparse.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_le.lo -MD -MP -MF .deps/utf32_le.Tpo -c -o utf32_le.lo utf32_le.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_le.lo -MD -MP -MF .deps/utf32_le.Tpo -c utf32_le.c  -fPIC -DPIC -o .libs/utf32_le.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_be.lo -MD -MP -MF .deps/utf16_be.Tpo -c utf16_be.c -o utf16_be.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_be.lo -MD -MP -MF .deps/utf32_be.Tpo -c utf32_be.c -o utf32_be.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_le.lo -MD -MP -MF .deps/utf16_le.Tpo -c utf16_le.c -o utf16_le.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_le.lo -MD -MP -MF .deps/utf32_le.Tpo -c utf32_le.c -o utf32_le.o >/dev/null 2>&1
mv -f .deps/utf32_be.Tpo .deps/utf32_be.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp.lo -MD -MP -MF .deps/euc_jp.Tpo -c -o euc_jp.lo euc_jp.c
mv -f .deps/utf16_be.Tpo .deps/utf16_be.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp_prop.lo -MD -MP -MF .deps/euc_jp_prop.Tpo -c -o euc_jp_prop.lo euc_jp_prop.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp.lo -MD -MP -MF .deps/euc_jp.Tpo -c euc_jp.c  -fPIC -DPIC -o .libs/euc_jp.o
mv -f .deps/utf32_le.Tpo .deps/utf32_le.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis.lo -MD -MP -MF .deps/sjis.Tpo -c -o sjis.lo sjis.c
mv -f .deps/utf16_le.Tpo .deps/utf16_le.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis.lo -MD -MP -MF .deps/sjis.Tpo -c sjis.c  -fPIC -DPIC -o .libs/sjis.o
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis_prop.lo -MD -MP -MF .deps/sjis_prop.Tpo -c -o sjis_prop.lo sjis_prop.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp_prop.lo -MD -MP -MF .deps/euc_jp_prop.Tpo -c euc_jp_prop.c  -fPIC -DPIC -o .libs/euc_jp_prop.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp_prop.lo -MD -MP -MF .deps/euc_jp_prop.Tpo -c euc_jp_prop.c -o euc_jp_prop.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis_prop.lo -MD -MP -MF .deps/sjis_prop.Tpo -c sjis_prop.c  -fPIC -DPIC -o .libs/sjis_prop.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp.lo -MD -MP -MF .deps/euc_jp.Tpo -c euc_jp.c -o euc_jp.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis.lo -MD -MP -MF .deps/sjis.Tpo -c sjis.c -o sjis.o >/dev/null 2>&1
mv -f .deps/euc_jp_prop.Tpo .deps/euc_jp_prop.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_1.lo -MD -MP -MF .deps/iso8859_1.Tpo -c -o iso8859_1.lo iso8859_1.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_1.lo -MD -MP -MF .deps/iso8859_1.Tpo -c iso8859_1.c  -fPIC -DPIC -o .libs/iso8859_1.o
mv -f .deps/sjis.Tpo .deps/sjis.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_2.lo -MD -MP -MF .deps/iso8859_2.Tpo -c -o iso8859_2.lo iso8859_2.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis_prop.lo -MD -MP -MF .deps/sjis_prop.Tpo -c sjis_prop.c -o sjis_prop.o >/dev/null 2>&1
mv -f .deps/euc_jp.Tpo .deps/euc_jp.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_3.lo -MD -MP -MF .deps/iso8859_3.Tpo -c -o iso8859_3.lo iso8859_3.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_2.lo -MD -MP -MF .deps/iso8859_2.Tpo -c iso8859_2.c  -fPIC -DPIC -o .libs/iso8859_2.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_3.lo -MD -MP -MF .deps/iso8859_3.Tpo -c iso8859_3.c  -fPIC -DPIC -o .libs/iso8859_3.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_1.lo -MD -MP -MF .deps/iso8859_1.Tpo -c iso8859_1.c -o iso8859_1.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_2.lo -MD -MP -MF .deps/iso8859_2.Tpo -c iso8859_2.c -o iso8859_2.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_3.lo -MD -MP -MF .deps/iso8859_3.Tpo -c iso8859_3.c -o iso8859_3.o >/dev/null 2>&1
mv -f .deps/iso8859_1.Tpo .deps/iso8859_1.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_4.lo -MD -MP -MF .deps/iso8859_4.Tpo -c -o iso8859_4.lo iso8859_4.c
mv -f .deps/sjis_prop.Tpo .deps/sjis_prop.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_5.lo -MD -MP -MF .deps/iso8859_5.Tpo -c -o iso8859_5.lo iso8859_5.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_5.lo -MD -MP -MF .deps/iso8859_5.Tpo -c iso8859_5.c  -fPIC -DPIC -o .libs/iso8859_5.o
mv -f .deps/iso8859_2.Tpo .deps/iso8859_2.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_4.lo -MD -MP -MF .deps/iso8859_4.Tpo -c iso8859_4.c  -fPIC -DPIC -o .libs/iso8859_4.o
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_6.lo -MD -MP -MF .deps/iso8859_6.Tpo -c -o iso8859_6.lo iso8859_6.c
mv -f .deps/iso8859_3.Tpo .deps/iso8859_3.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_7.lo -MD -MP -MF .deps/iso8859_7.Tpo -c -o iso8859_7.lo iso8859_7.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_6.lo -MD -MP -MF .deps/iso8859_6.Tpo -c iso8859_6.c  -fPIC -DPIC -o .libs/iso8859_6.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_4.lo -MD -MP -MF .deps/iso8859_4.Tpo -c iso8859_4.c -o iso8859_4.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_5.lo -MD -MP -MF .deps/iso8859_5.Tpo -c iso8859_5.c -o iso8859_5.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_7.lo -MD -MP -MF .deps/iso8859_7.Tpo -c iso8859_7.c  -fPIC -DPIC -o .libs/iso8859_7.o
mv -f .deps/iso8859_4.Tpo .deps/iso8859_4.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_8.lo -MD -MP -MF .deps/iso8859_8.Tpo -c -o iso8859_8.lo iso8859_8.c
mv -f .deps/iso8859_5.Tpo .deps/iso8859_5.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_9.lo -MD -MP -MF .deps/iso8859_9.Tpo -c -o iso8859_9.lo iso8859_9.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_7.lo -MD -MP -MF .deps/iso8859_7.Tpo -c iso8859_7.c -o iso8859_7.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_6.lo -MD -MP -MF .deps/iso8859_6.Tpo -c iso8859_6.c -o iso8859_6.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_8.lo -MD -MP -MF .deps/iso8859_8.Tpo -c iso8859_8.c  -fPIC -DPIC -o .libs/iso8859_8.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_9.lo -MD -MP -MF .deps/iso8859_9.Tpo -c iso8859_9.c  -fPIC -DPIC -o .libs/iso8859_9.o
mv -f .deps/iso8859_7.Tpo .deps/iso8859_7.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_10.lo -MD -MP -MF .deps/iso8859_10.Tpo -c -o iso8859_10.lo iso8859_10.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_8.lo -MD -MP -MF .deps/iso8859_8.Tpo -c iso8859_8.c -o iso8859_8.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_9.lo -MD -MP -MF .deps/iso8859_9.Tpo -c iso8859_9.c -o iso8859_9.o >/dev/null 2>&1
mv -f .deps/iso8859_6.Tpo .deps/iso8859_6.Plo
mv -f .deps/iso8859_8.Tpo .deps/iso8859_8.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_11.lo -MD -MP -MF .deps/iso8859_11.Tpo -c -o iso8859_11.lo iso8859_11.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_13.lo -MD -MP -MF .deps/iso8859_13.Tpo -c -o iso8859_13.lo iso8859_13.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_10.lo -MD -MP -MF .deps/iso8859_10.Tpo -c iso8859_10.c  -fPIC -DPIC -o .libs/iso8859_10.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_13.lo -MD -MP -MF .deps/iso8859_13.Tpo -c iso8859_13.c  -fPIC -DPIC -o .libs/iso8859_13.o
mv -f .deps/iso8859_9.Tpo .deps/iso8859_9.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_14.lo -MD -MP -MF .deps/iso8859_14.Tpo -c -o iso8859_14.lo iso8859_14.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_11.lo -MD -MP -MF .deps/iso8859_11.Tpo -c iso8859_11.c  -fPIC -DPIC -o .libs/iso8859_11.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_10.lo -MD -MP -MF .deps/iso8859_10.Tpo -c iso8859_10.c -o iso8859_10.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_14.lo -MD -MP -MF .deps/iso8859_14.Tpo -c iso8859_14.c  -fPIC -DPIC -o .libs/iso8859_14.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_11.lo -MD -MP -MF .deps/iso8859_11.Tpo -c iso8859_11.c -o iso8859_11.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_13.lo -MD -MP -MF .deps/iso8859_13.Tpo -c iso8859_13.c -o iso8859_13.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_14.lo -MD -MP -MF .deps/iso8859_14.Tpo -c iso8859_14.c -o iso8859_14.o >/dev/null 2>&1
mv -f .deps/iso8859_10.Tpo .deps/iso8859_10.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_15.lo -MD -MP -MF .deps/iso8859_15.Tpo -c -o iso8859_15.lo iso8859_15.c
mv -f .deps/iso8859_11.Tpo .deps/iso8859_11.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_16.lo -MD -MP -MF .deps/iso8859_16.Tpo -c -o iso8859_16.lo iso8859_16.c
mv -f .deps/iso8859_13.Tpo .deps/iso8859_13.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_tw.lo -MD -MP -MF .deps/euc_tw.Tpo -c -o euc_tw.lo euc_tw.c
mv -f .deps/iso8859_14.Tpo .deps/iso8859_14.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_kr.lo -MD -MP -MF .deps/euc_kr.Tpo -c -o euc_kr.lo euc_kr.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_15.lo -MD -MP -MF .deps/iso8859_15.Tpo -c iso8859_15.c  -fPIC -DPIC -o .libs/iso8859_15.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_tw.lo -MD -MP -MF .deps/euc_tw.Tpo -c euc_tw.c  -fPIC -DPIC -o .libs/euc_tw.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_16.lo -MD -MP -MF .deps/iso8859_16.Tpo -c iso8859_16.c  -fPIC -DPIC -o .libs/iso8859_16.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_kr.lo -MD -MP -MF .deps/euc_kr.Tpo -c euc_kr.c  -fPIC -DPIC -o .libs/euc_kr.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_16.lo -MD -MP -MF .deps/iso8859_16.Tpo -c iso8859_16.c -o iso8859_16.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_kr.lo -MD -MP -MF .deps/euc_kr.Tpo -c euc_kr.c -o euc_kr.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_tw.lo -MD -MP -MF .deps/euc_tw.Tpo -c euc_tw.c -o euc_tw.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_15.lo -MD -MP -MF .deps/iso8859_15.Tpo -c iso8859_15.c -o iso8859_15.o >/dev/null 2>&1
mv -f .deps/iso8859_16.Tpo .deps/iso8859_16.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT big5.lo -MD -MP -MF .deps/big5.Tpo -c -o big5.lo big5.c
mv -f .deps/euc_kr.Tpo .deps/euc_kr.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT gb18030.lo -MD -MP -MF .deps/gb18030.Tpo -c -o gb18030.lo gb18030.c
mv -f .deps/euc_tw.Tpo .deps/euc_tw.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT koi8_r.lo -MD -MP -MF .deps/koi8_r.Tpo -c -o koi8_r.lo koi8_r.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT big5.lo -MD -MP -MF .deps/big5.Tpo -c big5.c  -fPIC -DPIC -o .libs/big5.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT gb18030.lo -MD -MP -MF .deps/gb18030.Tpo -c gb18030.c  -fPIC -DPIC -o .libs/gb18030.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT koi8_r.lo -MD -MP -MF .deps/koi8_r.Tpo -c koi8_r.c  -fPIC -DPIC -o .libs/koi8_r.o
mv -f .deps/iso8859_15.Tpo .deps/iso8859_15.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT cp1251.lo -MD -MP -MF .deps/cp1251.Tpo -c -o cp1251.lo cp1251.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT cp1251.lo -MD -MP -MF .deps/cp1251.Tpo -c cp1251.c  -fPIC -DPIC -o .libs/cp1251.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT koi8_r.lo -MD -MP -MF .deps/koi8_r.Tpo -c koi8_r.c -o koi8_r.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT big5.lo -MD -MP -MF .deps/big5.Tpo -c big5.c -o big5.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT gb18030.lo -MD -MP -MF .deps/gb18030.Tpo -c gb18030.c -o gb18030.o >/dev/null 2>&1
mv -f .deps/koi8_r.Tpo .deps/koi8_r.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT onig_init.lo -MD -MP -MF .deps/onig_init.Tpo -c -o onig_init.lo onig_init.c
mv -f .deps/big5.Tpo .deps/big5.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT cp1251.lo -MD -MP -MF .deps/cp1251.Tpo -c cp1251.c -o cp1251.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT onig_init.lo -MD -MP -MF .deps/onig_init.Tpo -c onig_init.c  -fPIC -DPIC -o .libs/onig_init.o
mv -f .deps/gb18030.Tpo .deps/gb18030.Plo
mv -f .deps/cp1251.Tpo .deps/cp1251.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT onig_init.lo -MD -MP -MF .deps/onig_init.Tpo -c onig_init.c -o onig_init.o >/dev/null 2>&1
mv -f .deps/onig_init.Tpo .deps/onig_init.Plo
/bin/sh ../libtool  --tag=CC   --mode=link cc -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=.  -version-info 9:0:4  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed     -o libonig.la -rpath /usr/lib64 regparse.lo regcomp.lo regexec.lo regenc.lo regerror.lo regext.lo regsyntax.lo regtrav.lo regversion.lo st.lo reggnu.lo  unicode.lo unicode_unfold_key.lo unicode_fold1_key.lo unicode_fold2_key.lo unicode_fold3_key.lo ascii.lo utf8.lo utf16_be.lo utf16_le.lo utf32_be.lo utf32_le.lo euc_jp.lo euc_jp_prop.lo sjis.lo sjis_prop.lo iso8859_1.lo iso8859_2.lo iso8859_3.lo iso8859_4.lo iso8859_5.lo iso8859_6.lo iso8859_7.lo iso8859_8.lo iso8859_9.lo iso8859_10.lo iso8859_11.lo iso8859_13.lo iso8859_14.lo iso8859_15.lo iso8859_16.lo euc_tw.lo euc_kr.lo big5.lo gb18030.lo koi8_r.lo cp1251.lo onig_init.lo  
libtool: link: cc -shared -Wl,--as-needed  -fPIC -DPIC  .libs/regparse.o .libs/regcomp.o .libs/regexec.o .libs/regenc.o .libs/regerror.o .libs/regext.o .libs/regsyntax.o .libs/regtrav.o .libs/regversion.o .libs/st.o .libs/reggnu.o .libs/unicode.o .libs/unicode_unfold_key.o .libs/unicode_fold1_key.o .libs/unicode_fold2_key.o .libs/unicode_fold3_key.o .libs/ascii.o .libs/utf8.o .libs/utf16_be.o .libs/utf16_le.o .libs/utf32_be.o .libs/utf32_le.o .libs/euc_jp.o .libs/euc_jp_prop.o .libs/sjis.o .libs/sjis_prop.o .libs/iso8859_1.o .libs/iso8859_2.o .libs/iso8859_3.o .libs/iso8859_4.o .libs/iso8859_5.o .libs/iso8859_6.o .libs/iso8859_7.o .libs/iso8859_8.o .libs/iso8859_9.o .libs/iso8859_10.o .libs/iso8859_11.o .libs/iso8859_13.o .libs/iso8859_14.o .libs/iso8859_15.o .libs/iso8859_16.o .libs/euc_tw.o .libs/euc_kr.o .libs/big5.o .libs/gb18030.o .libs/koi8_r.o .libs/cp1251.o .libs/onig_init.o    -mtune=generic -O2 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed   -Wl,-soname -Wl,libonig.so.5 -o .libs/libonig.so.5.4.0
libtool: link: (cd ".libs" && rm -f "libonig.so.5" && ln -s "libonig.so.5.4.0" "libonig.so.5")
libtool: link: (cd ".libs" && rm -f "libonig.so" && ln -s "libonig.so.5.4.0" "libonig.so")
libtool: link: ar cr .libs/libonig.a  regparse.o regcomp.o regexec.o regenc.o regerror.o regext.o regsyntax.o regtrav.o regversion.o st.o reggnu.o unicode.o unicode_unfold_key.o unicode_fold1_key.o unicode_fold2_key.o unicode_fold3_key.o ascii.o utf8.o utf16_be.o utf16_le.o utf32_be.o utf32_le.o euc_jp.o euc_jp_prop.o sjis.o sjis_prop.o iso8859_1.o iso8859_2.o iso8859_3.o iso8859_4.o iso8859_5.o iso8859_6.o iso8859_7.o iso8859_8.o iso8859_9.o iso8859_10.o iso8859_11.o iso8859_13.o iso8859_14.o iso8859_15.o iso8859_16.o euc_tw.o euc_kr.o big5.o gb18030.o koi8_r.o cp1251.o onig_init.o
libtool: link: ranlib .libs/libonig.a
libtool: link: ( cd ".libs" && rm -f "libonig.la" && ln -s "../libonig.la" "libonig.la" )
make[2]: Leaving directory '/builddir/oniguruma-6.9.9/src'
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/src'
Making all in test
make[1]: Entering directory '/builddir/oniguruma-6.9.9/test'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/test'
Making all in sample
make[1]: Entering directory '/builddir/oniguruma-6.9.9/sample'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/sample'
make[1]: Entering directory '/builddir/oniguruma-6.9.9'
sed -e 's,[@]datadir[@],/usr/share,g' -e 's,[@]datarootdir[@],/usr/share,g' -e 's,[@]PACKAGE_VERSION[@],6.9.9,g' -e 's,[@]prefix[@],/usr,g' -e 's,[@]exec_prefix[@],/usr,g' -e 's,[@]libdir[@],/usr/lib64,g' -e 's,[@]includedir[@],/usr/include,g' < ./oniguruma.pc.in > oniguruma.pc
make[1]: Leaving directory '/builddir/oniguruma-6.9.9'
=> oniguruma-6.9.9_1: skipping check (XBPS_CHECK_PKGS is disabled) ...
=> oniguruma-6.9.9_1: running pre-install hook: 00-libdir ...
=> oniguruma-6.9.9_1: running pre-install hook: 02-script-wrapper ...
=> oniguruma-6.9.9_1: running pre-install hook: 98-fixup-gir-path ...
=> oniguruma-6.9.9_1: running do_install ...
Making install in src
make[1]: Entering directory '/builddir/oniguruma-6.9.9/src'
make[2]: Entering directory '/builddir/oniguruma-6.9.9/src'
 /usr/bin/mkdir -p '/destdir//oniguruma-6.9.9/usr/lib64'
 /bin/sh ../libtool   --mode=install /builddir/.xbps-oniguruma/wrappers/install -c   libonig.la '/destdir//oniguruma-6.9.9/usr/lib64'
libtool: install: /builddir/.xbps-oniguruma/wrappers/install -c .libs/libonig.so.5.4.0 /destdir//oniguruma-6.9.9/usr/lib64/libonig.so.5.4.0
libtool: install: (cd /destdir//oniguruma-6.9.9/usr/lib64 && { ln -s -f libonig.so.5.4.0 libonig.so.5 || { rm -f libonig.so.5 && ln -s libonig.so.5.4.0 libonig.so.5; }; })
libtool: install: (cd /destdir//oniguruma-6.9.9/usr/lib64 && { ln -s -f libonig.so.5.4.0 libonig.so || { rm -f libonig.so && ln -s libonig.so.5.4.0 libonig.so; }; })
libtool: install: /builddir/.xbps-oniguruma/wrappers/install -c .libs/libonig.lai /destdir//oniguruma-6.9.9/usr/lib64/libonig.la
libtool: install: /builddir/.xbps-oniguruma/wrappers/install -c .libs/libonig.a /destdir//oniguruma-6.9.9/usr/lib64/libonig.a
libtool: install: chmod 644 /destdir//oniguruma-6.9.9/usr/lib64/libonig.a
libtool: install: ranlib /destdir//oniguruma-6.9.9/usr/lib64/libonig.a
libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /usr/bin/mkdir -p '/destdir//oniguruma-6.9.9/usr/include'
 /builddir/.xbps-oniguruma/wrappers/install -c -m 644 oniguruma.h oniggnu.h '/destdir//oniguruma-6.9.9/usr/include'
make  install-data-hook
make[3]: Entering directory '/builddir/oniguruma-6.9.9/src'
make[3]: Nothing to be done for 'install-data-hook'.
make[3]: Leaving directory '/builddir/oniguruma-6.9.9/src'
make[2]: Leaving directory '/builddir/oniguruma-6.9.9/src'
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/src'
Making install in test
make[1]: Entering directory '/builddir/oniguruma-6.9.9/test'
make[2]: Entering directory '/builddir/oniguruma-6.9.9/test'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/oniguruma-6.9.9/test'
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/test'
Making install in sample
make[1]: Entering directory '/builddir/oniguruma-6.9.9/sample'
make[2]: Entering directory '/builddir/oniguruma-6.9.9/sample'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/oniguruma-6.9.9/sample'
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/sample'
make[1]: Entering directory '/builddir/oniguruma-6.9.9'
make[2]: Entering directory '/builddir/oniguruma-6.9.9'
 /usr/bin/mkdir -p '/destdir//oniguruma-6.9.9/usr/bin'
 /builddir/.xbps-oniguruma/wrappers/install -c onig-config '/destdir//oniguruma-6.9.9/usr/bin'
 /usr/bin/mkdir -p '/destdir//oniguruma-6.9.9/usr/lib64/pkgconfig'
 /builddir/.xbps-oniguruma/wrappers/install -c -m 644 oniguruma.pc '/destdir//oniguruma-6.9.9/usr/lib64/pkgconfig'
make[2]: Leaving directory '/builddir/oniguruma-6.9.9'
make[1]: Leaving directory '/builddir/oniguruma-6.9.9'
=> oniguruma-devel-6.9.9_1: running pre-install hook: 00-libdir ...
=> oniguruma-devel-6.9.9_1: running pre-install hook: 02-script-wrapper ...
=> oniguruma-devel-6.9.9_1: running pre-install hook: 98-fixup-gir-path ...
=> oniguruma-devel-6.9.9_1: running pkg_install ...
mv: cannot stat '/destdir//oniguruma-6.9.9/usr/share/man/man3': No such file or directory
=> ERROR: oniguruma-devel-6.9.9_1: pkg_install: 'mv ${DESTDIR}/$files ${PKGDESTDIR}/${_targetdir}' exited with 1
=> ERROR:   in _vmove() at common/environment/setup/install.sh:228
=> ERROR:   in _noglob_helper() at common/environment/setup/install.sh:12
=> ERROR:   in pkg_install() at srcpkgs/oniguruma-devel/template:20

The package doesn’t have any man3 manpages, so we need to remove the

		vmove usr/share/man/man3

line:

# Template file for 'oniguruma'
pkgname=oniguruma
version=6.9.9
revision=1
build_style=gnu-configure
hostmakedepends=""
makedepends=""
depends=""
short_desc="Multi-charset regular expressions library"
maintainer="meator <meator.dev@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/kkos/oniguruma"
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
checksum=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf

oniguruma-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}

It builds now, but there’s a warning:

=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> oniguruma-6.9.9_1: removing autodeps, please wait...
=> oniguruma-6.9.9_1: building with [gnu-configure] for x86_64...
   [runtime] oniguruma-6.9.9_1: found (/host/binpkgs/llvm17-fix-compiler-cross)
=> oniguruma-6.9.9_1: running do-fetch hook: 00-distfiles ...
=> oniguruma-6.9.9_1: running do-extract hook: 00-distfiles ...
=> oniguruma-6.9.9_1: extracting distfile(s), please wait...
=> oniguruma-6.9.9_1: running do-patch hook: 00-patches ...
=> oniguruma-6.9.9_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> oniguruma-6.9.9_1: running pre-configure hook: 01-override-config ...
=> oniguruma-6.9.9_1: running pre-configure hook: 02-script-wrapper ...
=> oniguruma-6.9.9_1: running do_configure ...
checking for a BSD-compatible install... /builddir/.xbps-oniguruma/wrappers/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-unknown-linux-gnu-gcc... cc
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 cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for x86_64-unknown-linux-gnu-file... no
checking for file... file
checking for x86_64-unknown-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-unknown-linux-gnu-ar... ar
checking for archiver @FILE support... @
checking for x86_64-unknown-linux-gnu-strip... strip
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking command to parse nm output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-unknown-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make sets $(MAKE)... (cached) yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for sys/times.h... yes
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of void*... 8
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating sample/Makefile
config.status: creating onig-config
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
=> oniguruma-6.9.9_1: running pre-build hook: 02-script-wrapper ...
=> oniguruma-6.9.9_1: running do_build ...
Making all in src
make[1]: Entering directory '/builddir/oniguruma-6.9.9/src'
make  all-am
make[2]: Entering directory '/builddir/oniguruma-6.9.9/src'
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c -o regparse.lo regparse.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c -o regcomp.lo regcomp.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c -o regexec.lo regexec.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c -o regenc.lo regenc.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c regparse.c  -fPIC -DPIC -o .libs/regparse.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c regenc.c  -fPIC -DPIC -o .libs/regenc.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c  -fPIC -DPIC -o .libs/regexec.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regparse.lo -MD -MP -MF .deps/regparse.Tpo -c regparse.c -o regparse.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c  -fPIC -DPIC -o .libs/regcomp.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regenc.lo -MD -MP -MF .deps/regenc.Tpo -c regenc.c -o regenc.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regexec.lo -MD -MP -MF .deps/regexec.Tpo -c regexec.c -o regexec.o >/dev/null 2>&1
mv -f .deps/regenc.Tpo .deps/regenc.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regcomp.lo -MD -MP -MF .deps/regcomp.Tpo -c regcomp.c -o regcomp.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c -o regerror.lo regerror.c
mv -f .deps/regparse.Tpo .deps/regparse.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regext.lo -MD -MP -MF .deps/regext.Tpo -c -o regext.lo regext.c
mv -f .deps/regexec.Tpo .deps/regexec.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regsyntax.lo -MD -MP -MF .deps/regsyntax.Tpo -c -o regsyntax.lo regsyntax.c
mv -f .deps/regcomp.Tpo .deps/regcomp.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regtrav.lo -MD -MP -MF .deps/regtrav.Tpo -c -o regtrav.lo regtrav.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c regerror.c  -fPIC -DPIC -o .libs/regerror.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regext.lo -MD -MP -MF .deps/regext.Tpo -c regext.c  -fPIC -DPIC -o .libs/regext.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regerror.lo -MD -MP -MF .deps/regerror.Tpo -c regerror.c -o regerror.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regext.lo -MD -MP -MF .deps/regext.Tpo -c regext.c -o regext.o >/dev/null 2>&1
mv -f .deps/regerror.Tpo .deps/regerror.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regversion.lo -MD -MP -MF .deps/regversion.Tpo -c -o regversion.lo regversion.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regsyntax.lo -MD -MP -MF .deps/regsyntax.Tpo -c regsyntax.c  -fPIC -DPIC -o .libs/regsyntax.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regtrav.lo -MD -MP -MF .deps/regtrav.Tpo -c regtrav.c  -fPIC -DPIC -o .libs/regtrav.o
mv -f .deps/regext.Tpo .deps/regext.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT st.lo -MD -MP -MF .deps/st.Tpo -c -o st.lo st.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regsyntax.lo -MD -MP -MF .deps/regsyntax.Tpo -c regsyntax.c -o regsyntax.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regtrav.lo -MD -MP -MF .deps/regtrav.Tpo -c regtrav.c -o regtrav.o >/dev/null 2>&1
mv -f .deps/regtrav.Tpo .deps/regtrav.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT reggnu.lo -MD -MP -MF .deps/reggnu.Tpo -c -o reggnu.lo reggnu.c
mv -f .deps/regsyntax.Tpo .deps/regsyntax.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c -o unicode.lo unicode.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT st.lo -MD -MP -MF .deps/st.Tpo -c st.c  -fPIC -DPIC -o .libs/st.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regversion.lo -MD -MP -MF .deps/regversion.Tpo -c regversion.c  -fPIC -DPIC -o .libs/regversion.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT regversion.lo -MD -MP -MF .deps/regversion.Tpo -c regversion.c -o regversion.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT st.lo -MD -MP -MF .deps/st.Tpo -c st.c -o st.o >/dev/null 2>&1
mv -f .deps/regversion.Tpo .deps/regversion.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT reggnu.lo -MD -MP -MF .deps/reggnu.Tpo -c reggnu.c  -fPIC -DPIC -o .libs/reggnu.o
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_unfold_key.lo -MD -MP -MF .deps/unicode_unfold_key.Tpo -c -o unicode_unfold_key.lo unicode_unfold_key.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT reggnu.lo -MD -MP -MF .deps/reggnu.Tpo -c reggnu.c -o reggnu.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c unicode.c  -fPIC -DPIC -o .libs/unicode.o
mv -f .deps/st.Tpo .deps/st.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold1_key.lo -MD -MP -MF .deps/unicode_fold1_key.Tpo -c -o unicode_fold1_key.lo unicode_fold1_key.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c unicode.c -o unicode.o >/dev/null 2>&1
mv -f .deps/reggnu.Tpo .deps/reggnu.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold2_key.lo -MD -MP -MF .deps/unicode_fold2_key.Tpo -c -o unicode_fold2_key.lo unicode_fold2_key.c
mv -f .deps/unicode.Tpo .deps/unicode.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold3_key.lo -MD -MP -MF .deps/unicode_fold3_key.Tpo -c -o unicode_fold3_key.lo unicode_fold3_key.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_unfold_key.lo -MD -MP -MF .deps/unicode_unfold_key.Tpo -c unicode_unfold_key.c  -fPIC -DPIC -o .libs/unicode_unfold_key.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_unfold_key.lo -MD -MP -MF .deps/unicode_unfold_key.Tpo -c unicode_unfold_key.c -o unicode_unfold_key.o >/dev/null 2>&1
mv -f .deps/unicode_unfold_key.Tpo .deps/unicode_unfold_key.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT ascii.lo -MD -MP -MF .deps/ascii.Tpo -c -o ascii.lo ascii.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold2_key.lo -MD -MP -MF .deps/unicode_fold2_key.Tpo -c unicode_fold2_key.c  -fPIC -DPIC -o .libs/unicode_fold2_key.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold2_key.lo -MD -MP -MF .deps/unicode_fold2_key.Tpo -c unicode_fold2_key.c -o unicode_fold2_key.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold3_key.lo -MD -MP -MF .deps/unicode_fold3_key.Tpo -c unicode_fold3_key.c  -fPIC -DPIC -o .libs/unicode_fold3_key.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold1_key.lo -MD -MP -MF .deps/unicode_fold1_key.Tpo -c unicode_fold1_key.c  -fPIC -DPIC -o .libs/unicode_fold1_key.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold3_key.lo -MD -MP -MF .deps/unicode_fold3_key.Tpo -c unicode_fold3_key.c -o unicode_fold3_key.o >/dev/null 2>&1
mv -f .deps/unicode_fold2_key.Tpo .deps/unicode_fold2_key.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf8.lo -MD -MP -MF .deps/utf8.Tpo -c -o utf8.lo utf8.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT unicode_fold1_key.lo -MD -MP -MF .deps/unicode_fold1_key.Tpo -c unicode_fold1_key.c -o unicode_fold1_key.o >/dev/null 2>&1
mv -f .deps/unicode_fold3_key.Tpo .deps/unicode_fold3_key.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_be.lo -MD -MP -MF .deps/utf16_be.Tpo -c -o utf16_be.lo utf16_be.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT ascii.lo -MD -MP -MF .deps/ascii.Tpo -c ascii.c  -fPIC -DPIC -o .libs/ascii.o
mv -f .deps/unicode_fold1_key.Tpo .deps/unicode_fold1_key.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_le.lo -MD -MP -MF .deps/utf16_le.Tpo -c -o utf16_le.lo utf16_le.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT ascii.lo -MD -MP -MF .deps/ascii.Tpo -c ascii.c -o ascii.o >/dev/null 2>&1
mv -f .deps/ascii.Tpo .deps/ascii.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_be.lo -MD -MP -MF .deps/utf32_be.Tpo -c -o utf32_be.lo utf32_be.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf8.lo -MD -MP -MF .deps/utf8.Tpo -c utf8.c  -fPIC -DPIC -o .libs/utf8.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_be.lo -MD -MP -MF .deps/utf16_be.Tpo -c utf16_be.c  -fPIC -DPIC -o .libs/utf16_be.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf8.lo -MD -MP -MF .deps/utf8.Tpo -c utf8.c -o utf8.o >/dev/null 2>&1
mv -f .deps/utf8.Tpo .deps/utf8.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_be.lo -MD -MP -MF .deps/utf16_be.Tpo -c utf16_be.c -o utf16_be.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_le.lo -MD -MP -MF .deps/utf32_le.Tpo -c -o utf32_le.lo utf32_le.c
mv -f .deps/utf16_be.Tpo .deps/utf16_be.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp.lo -MD -MP -MF .deps/euc_jp.Tpo -c -o euc_jp.lo euc_jp.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_le.lo -MD -MP -MF .deps/utf16_le.Tpo -c utf16_le.c  -fPIC -DPIC -o .libs/utf16_le.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_be.lo -MD -MP -MF .deps/utf32_be.Tpo -c utf32_be.c  -fPIC -DPIC -o .libs/utf32_be.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_be.lo -MD -MP -MF .deps/utf32_be.Tpo -c utf32_be.c -o utf32_be.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf16_le.lo -MD -MP -MF .deps/utf16_le.Tpo -c utf16_le.c -o utf16_le.o >/dev/null 2>&1
mv -f .deps/utf16_le.Tpo .deps/utf16_le.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp_prop.lo -MD -MP -MF .deps/euc_jp_prop.Tpo -c -o euc_jp_prop.lo euc_jp_prop.c
mv -f .deps/utf32_be.Tpo .deps/utf32_be.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis.lo -MD -MP -MF .deps/sjis.Tpo -c -o sjis.lo sjis.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_le.lo -MD -MP -MF .deps/utf32_le.Tpo -c utf32_le.c  -fPIC -DPIC -o .libs/utf32_le.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT utf32_le.lo -MD -MP -MF .deps/utf32_le.Tpo -c utf32_le.c -o utf32_le.o >/dev/null 2>&1
mv -f .deps/utf32_le.Tpo .deps/utf32_le.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis_prop.lo -MD -MP -MF .deps/sjis_prop.Tpo -c -o sjis_prop.lo sjis_prop.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp.lo -MD -MP -MF .deps/euc_jp.Tpo -c euc_jp.c  -fPIC -DPIC -o .libs/euc_jp.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp.lo -MD -MP -MF .deps/euc_jp.Tpo -c euc_jp.c -o euc_jp.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp_prop.lo -MD -MP -MF .deps/euc_jp_prop.Tpo -c euc_jp_prop.c  -fPIC -DPIC -o .libs/euc_jp_prop.o
mv -f .deps/euc_jp.Tpo .deps/euc_jp.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_1.lo -MD -MP -MF .deps/iso8859_1.Tpo -c -o iso8859_1.lo iso8859_1.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis.lo -MD -MP -MF .deps/sjis.Tpo -c sjis.c  -fPIC -DPIC -o .libs/sjis.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis.lo -MD -MP -MF .deps/sjis.Tpo -c sjis.c -o sjis.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis_prop.lo -MD -MP -MF .deps/sjis_prop.Tpo -c sjis_prop.c  -fPIC -DPIC -o .libs/sjis_prop.o
mv -f .deps/sjis.Tpo .deps/sjis.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_2.lo -MD -MP -MF .deps/iso8859_2.Tpo -c -o iso8859_2.lo iso8859_2.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_jp_prop.lo -MD -MP -MF .deps/euc_jp_prop.Tpo -c euc_jp_prop.c -o euc_jp_prop.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_1.lo -MD -MP -MF .deps/iso8859_1.Tpo -c iso8859_1.c  -fPIC -DPIC -o .libs/iso8859_1.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_1.lo -MD -MP -MF .deps/iso8859_1.Tpo -c iso8859_1.c -o iso8859_1.o >/dev/null 2>&1
mv -f .deps/iso8859_1.Tpo .deps/iso8859_1.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_3.lo -MD -MP -MF .deps/iso8859_3.Tpo -c -o iso8859_3.lo iso8859_3.c
mv -f .deps/euc_jp_prop.Tpo .deps/euc_jp_prop.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT sjis_prop.lo -MD -MP -MF .deps/sjis_prop.Tpo -c sjis_prop.c -o sjis_prop.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_4.lo -MD -MP -MF .deps/iso8859_4.Tpo -c -o iso8859_4.lo iso8859_4.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_2.lo -MD -MP -MF .deps/iso8859_2.Tpo -c iso8859_2.c  -fPIC -DPIC -o .libs/iso8859_2.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_2.lo -MD -MP -MF .deps/iso8859_2.Tpo -c iso8859_2.c -o iso8859_2.o >/dev/null 2>&1
mv -f .deps/iso8859_2.Tpo .deps/iso8859_2.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_5.lo -MD -MP -MF .deps/iso8859_5.Tpo -c -o iso8859_5.lo iso8859_5.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_4.lo -MD -MP -MF .deps/iso8859_4.Tpo -c iso8859_4.c  -fPIC -DPIC -o .libs/iso8859_4.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_4.lo -MD -MP -MF .deps/iso8859_4.Tpo -c iso8859_4.c -o iso8859_4.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_3.lo -MD -MP -MF .deps/iso8859_3.Tpo -c iso8859_3.c  -fPIC -DPIC -o .libs/iso8859_3.o
mv -f .deps/iso8859_4.Tpo .deps/iso8859_4.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_6.lo -MD -MP -MF .deps/iso8859_6.Tpo -c -o iso8859_6.lo iso8859_6.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_3.lo -MD -MP -MF .deps/iso8859_3.Tpo -c iso8859_3.c -o iso8859_3.o >/dev/null 2>&1
mv -f .deps/iso8859_3.Tpo .deps/iso8859_3.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_7.lo -MD -MP -MF .deps/iso8859_7.Tpo -c -o iso8859_7.lo iso8859_7.c
mv -f .deps/sjis_prop.Tpo .deps/sjis_prop.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_8.lo -MD -MP -MF .deps/iso8859_8.Tpo -c -o iso8859_8.lo iso8859_8.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_5.lo -MD -MP -MF .deps/iso8859_5.Tpo -c iso8859_5.c  -fPIC -DPIC -o .libs/iso8859_5.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_6.lo -MD -MP -MF .deps/iso8859_6.Tpo -c iso8859_6.c  -fPIC -DPIC -o .libs/iso8859_6.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_6.lo -MD -MP -MF .deps/iso8859_6.Tpo -c iso8859_6.c -o iso8859_6.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_5.lo -MD -MP -MF .deps/iso8859_5.Tpo -c iso8859_5.c -o iso8859_5.o >/dev/null 2>&1
mv -f .deps/iso8859_6.Tpo .deps/iso8859_6.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_9.lo -MD -MP -MF .deps/iso8859_9.Tpo -c -o iso8859_9.lo iso8859_9.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_7.lo -MD -MP -MF .deps/iso8859_7.Tpo -c iso8859_7.c  -fPIC -DPIC -o .libs/iso8859_7.o
mv -f .deps/iso8859_5.Tpo .deps/iso8859_5.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_10.lo -MD -MP -MF .deps/iso8859_10.Tpo -c -o iso8859_10.lo iso8859_10.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_7.lo -MD -MP -MF .deps/iso8859_7.Tpo -c iso8859_7.c -o iso8859_7.o >/dev/null 2>&1
mv -f .deps/iso8859_7.Tpo .deps/iso8859_7.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_11.lo -MD -MP -MF .deps/iso8859_11.Tpo -c -o iso8859_11.lo iso8859_11.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_8.lo -MD -MP -MF .deps/iso8859_8.Tpo -c iso8859_8.c  -fPIC -DPIC -o .libs/iso8859_8.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_8.lo -MD -MP -MF .deps/iso8859_8.Tpo -c iso8859_8.c -o iso8859_8.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_9.lo -MD -MP -MF .deps/iso8859_9.Tpo -c iso8859_9.c  -fPIC -DPIC -o .libs/iso8859_9.o
mv -f .deps/iso8859_8.Tpo .deps/iso8859_8.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_13.lo -MD -MP -MF .deps/iso8859_13.Tpo -c -o iso8859_13.lo iso8859_13.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_9.lo -MD -MP -MF .deps/iso8859_9.Tpo -c iso8859_9.c -o iso8859_9.o >/dev/null 2>&1
mv -f .deps/iso8859_9.Tpo .deps/iso8859_9.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_14.lo -MD -MP -MF .deps/iso8859_14.Tpo -c -o iso8859_14.lo iso8859_14.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_10.lo -MD -MP -MF .deps/iso8859_10.Tpo -c iso8859_10.c  -fPIC -DPIC -o .libs/iso8859_10.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_11.lo -MD -MP -MF .deps/iso8859_11.Tpo -c iso8859_11.c  -fPIC -DPIC -o .libs/iso8859_11.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_10.lo -MD -MP -MF .deps/iso8859_10.Tpo -c iso8859_10.c -o iso8859_10.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_11.lo -MD -MP -MF .deps/iso8859_11.Tpo -c iso8859_11.c -o iso8859_11.o >/dev/null 2>&1
mv -f .deps/iso8859_10.Tpo .deps/iso8859_10.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_15.lo -MD -MP -MF .deps/iso8859_15.Tpo -c -o iso8859_15.lo iso8859_15.c
mv -f .deps/iso8859_11.Tpo .deps/iso8859_11.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_16.lo -MD -MP -MF .deps/iso8859_16.Tpo -c -o iso8859_16.lo iso8859_16.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_13.lo -MD -MP -MF .deps/iso8859_13.Tpo -c iso8859_13.c  -fPIC -DPIC -o .libs/iso8859_13.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_13.lo -MD -MP -MF .deps/iso8859_13.Tpo -c iso8859_13.c -o iso8859_13.o >/dev/null 2>&1
mv -f .deps/iso8859_13.Tpo .deps/iso8859_13.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_tw.lo -MD -MP -MF .deps/euc_tw.Tpo -c -o euc_tw.lo euc_tw.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_16.lo -MD -MP -MF .deps/iso8859_16.Tpo -c iso8859_16.c  -fPIC -DPIC -o .libs/iso8859_16.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_16.lo -MD -MP -MF .deps/iso8859_16.Tpo -c iso8859_16.c -o iso8859_16.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_15.lo -MD -MP -MF .deps/iso8859_15.Tpo -c iso8859_15.c  -fPIC -DPIC -o .libs/iso8859_15.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_14.lo -MD -MP -MF .deps/iso8859_14.Tpo -c iso8859_14.c  -fPIC -DPIC -o .libs/iso8859_14.o
mv -f .deps/iso8859_16.Tpo .deps/iso8859_16.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_14.lo -MD -MP -MF .deps/iso8859_14.Tpo -c iso8859_14.c -o iso8859_14.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT iso8859_15.lo -MD -MP -MF .deps/iso8859_15.Tpo -c iso8859_15.c -o iso8859_15.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_kr.lo -MD -MP -MF .deps/euc_kr.Tpo -c -o euc_kr.lo euc_kr.c
mv -f .deps/iso8859_14.Tpo .deps/iso8859_14.Plo
mv -f .deps/iso8859_15.Tpo .deps/iso8859_15.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT big5.lo -MD -MP -MF .deps/big5.Tpo -c -o big5.lo big5.c
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT gb18030.lo -MD -MP -MF .deps/gb18030.Tpo -c -o gb18030.lo gb18030.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_tw.lo -MD -MP -MF .deps/euc_tw.Tpo -c euc_tw.c  -fPIC -DPIC -o .libs/euc_tw.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_tw.lo -MD -MP -MF .deps/euc_tw.Tpo -c euc_tw.c -o euc_tw.o >/dev/null 2>&1
mv -f .deps/euc_tw.Tpo .deps/euc_tw.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT koi8_r.lo -MD -MP -MF .deps/koi8_r.Tpo -c -o koi8_r.lo koi8_r.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_kr.lo -MD -MP -MF .deps/euc_kr.Tpo -c euc_kr.c  -fPIC -DPIC -o .libs/euc_kr.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT big5.lo -MD -MP -MF .deps/big5.Tpo -c big5.c  -fPIC -DPIC -o .libs/big5.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT euc_kr.lo -MD -MP -MF .deps/euc_kr.Tpo -c euc_kr.c -o euc_kr.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT big5.lo -MD -MP -MF .deps/big5.Tpo -c big5.c -o big5.o >/dev/null 2>&1
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT gb18030.lo -MD -MP -MF .deps/gb18030.Tpo -c gb18030.c  -fPIC -DPIC -o .libs/gb18030.o
mv -f .deps/big5.Tpo .deps/big5.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT cp1251.lo -MD -MP -MF .deps/cp1251.Tpo -c -o cp1251.lo cp1251.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT gb18030.lo -MD -MP -MF .deps/gb18030.Tpo -c gb18030.c -o gb18030.o >/dev/null 2>&1
mv -f .deps/euc_kr.Tpo .deps/euc_kr.Plo
mv -f .deps/gb18030.Tpo .deps/gb18030.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.  -I..  -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT onig_init.lo -MD -MP -MF .deps/onig_init.Tpo -c -o onig_init.lo onig_init.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT koi8_r.lo -MD -MP -MF .deps/koi8_r.Tpo -c koi8_r.c  -fPIC -DPIC -o .libs/koi8_r.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT koi8_r.lo -MD -MP -MF .deps/koi8_r.Tpo -c koi8_r.c -o koi8_r.o >/dev/null 2>&1
mv -f .deps/koi8_r.Tpo .deps/koi8_r.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT cp1251.lo -MD -MP -MF .deps/cp1251.Tpo -c cp1251.c  -fPIC -DPIC -o .libs/cp1251.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT cp1251.lo -MD -MP -MF .deps/cp1251.Tpo -c cp1251.c -o cp1251.o >/dev/null 2>&1
mv -f .deps/cp1251.Tpo .deps/cp1251.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT onig_init.lo -MD -MP -MF .deps/onig_init.Tpo -c onig_init.c  -fPIC -DPIC -o .libs/onig_init.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/oniguruma-6.9.9=. -MT onig_init.lo -MD -MP -MF .deps/onig_init.Tpo -c onig_init.c -o onig_init.o >/dev/null 2>&1
mv -f .deps/onig_init.Tpo .deps/onig_init.Plo
/bin/sh ../libtool  --tag=CC   --mode=link cc -Wall   -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -ffile-prefix-map=/builddir/oniguruma-6.9.9=.  -version-info 9:0:4  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed     -o libonig.la -rpath /usr/lib64 regparse.lo regcomp.lo regexec.lo regenc.lo regerror.lo regext.lo regsyntax.lo regtrav.lo regversion.lo st.lo reggnu.lo  unicode.lo unicode_unfold_key.lo unicode_fold1_key.lo unicode_fold2_key.lo unicode_fold3_key.lo ascii.lo utf8.lo utf16_be.lo utf16_le.lo utf32_be.lo utf32_le.lo euc_jp.lo euc_jp_prop.lo sjis.lo sjis_prop.lo iso8859_1.lo iso8859_2.lo iso8859_3.lo iso8859_4.lo iso8859_5.lo iso8859_6.lo iso8859_7.lo iso8859_8.lo iso8859_9.lo iso8859_10.lo iso8859_11.lo iso8859_13.lo iso8859_14.lo iso8859_15.lo iso8859_16.lo euc_tw.lo euc_kr.lo big5.lo gb18030.lo koi8_r.lo cp1251.lo onig_init.lo  
libtool: link: cc -shared -Wl,--as-needed  -fPIC -DPIC  .libs/regparse.o .libs/regcomp.o .libs/regexec.o .libs/regenc.o .libs/regerror.o .libs/regext.o .libs/regsyntax.o .libs/regtrav.o .libs/regversion.o .libs/st.o .libs/reggnu.o .libs/unicode.o .libs/unicode_unfold_key.o .libs/unicode_fold1_key.o .libs/unicode_fold2_key.o .libs/unicode_fold3_key.o .libs/ascii.o .libs/utf8.o .libs/utf16_be.o .libs/utf16_le.o .libs/utf32_be.o .libs/utf32_le.o .libs/euc_jp.o .libs/euc_jp_prop.o .libs/sjis.o .libs/sjis_prop.o .libs/iso8859_1.o .libs/iso8859_2.o .libs/iso8859_3.o .libs/iso8859_4.o .libs/iso8859_5.o .libs/iso8859_6.o .libs/iso8859_7.o .libs/iso8859_8.o .libs/iso8859_9.o .libs/iso8859_10.o .libs/iso8859_11.o .libs/iso8859_13.o .libs/iso8859_14.o .libs/iso8859_15.o .libs/iso8859_16.o .libs/euc_tw.o .libs/euc_kr.o .libs/big5.o .libs/gb18030.o .libs/koi8_r.o .libs/cp1251.o .libs/onig_init.o    -mtune=generic -O2 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed   -Wl,-soname -Wl,libonig.so.5 -o .libs/libonig.so.5.4.0
libtool: link: (cd ".libs" && rm -f "libonig.so.5" && ln -s "libonig.so.5.4.0" "libonig.so.5")
libtool: link: (cd ".libs" && rm -f "libonig.so" && ln -s "libonig.so.5.4.0" "libonig.so")
libtool: link: ar cr .libs/libonig.a  regparse.o regcomp.o regexec.o regenc.o regerror.o regext.o regsyntax.o regtrav.o regversion.o st.o reggnu.o unicode.o unicode_unfold_key.o unicode_fold1_key.o unicode_fold2_key.o unicode_fold3_key.o ascii.o utf8.o utf16_be.o utf16_le.o utf32_be.o utf32_le.o euc_jp.o euc_jp_prop.o sjis.o sjis_prop.o iso8859_1.o iso8859_2.o iso8859_3.o iso8859_4.o iso8859_5.o iso8859_6.o iso8859_7.o iso8859_8.o iso8859_9.o iso8859_10.o iso8859_11.o iso8859_13.o iso8859_14.o iso8859_15.o iso8859_16.o euc_tw.o euc_kr.o big5.o gb18030.o koi8_r.o cp1251.o onig_init.o
libtool: link: ranlib .libs/libonig.a
libtool: link: ( cd ".libs" && rm -f "libonig.la" && ln -s "../libonig.la" "libonig.la" )
make[2]: Leaving directory '/builddir/oniguruma-6.9.9/src'
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/src'
Making all in test
make[1]: Entering directory '/builddir/oniguruma-6.9.9/test'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/test'
Making all in sample
make[1]: Entering directory '/builddir/oniguruma-6.9.9/sample'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/sample'
make[1]: Entering directory '/builddir/oniguruma-6.9.9'
sed -e 's,[@]datadir[@],/usr/share,g' -e 's,[@]datarootdir[@],/usr/share,g' -e 's,[@]PACKAGE_VERSION[@],6.9.9,g' -e 's,[@]prefix[@],/usr,g' -e 's,[@]exec_prefix[@],/usr,g' -e 's,[@]libdir[@],/usr/lib64,g' -e 's,[@]includedir[@],/usr/include,g' < ./oniguruma.pc.in > oniguruma.pc
make[1]: Leaving directory '/builddir/oniguruma-6.9.9'
=> oniguruma-6.9.9_1: skipping check (XBPS_CHECK_PKGS is disabled) ...
=> oniguruma-6.9.9_1: running pre-install hook: 00-libdir ...
=> oniguruma-6.9.9_1: running pre-install hook: 02-script-wrapper ...
=> oniguruma-6.9.9_1: running pre-install hook: 98-fixup-gir-path ...
=> oniguruma-6.9.9_1: running do_install ...
Making install in src
make[1]: Entering directory '/builddir/oniguruma-6.9.9/src'
make[2]: Entering directory '/builddir/oniguruma-6.9.9/src'
 /usr/bin/mkdir -p '/destdir//oniguruma-6.9.9/usr/lib64'
 /bin/sh ../libtool   --mode=install /builddir/.xbps-oniguruma/wrappers/install -c   libonig.la '/destdir//oniguruma-6.9.9/usr/lib64'
libtool: install: /builddir/.xbps-oniguruma/wrappers/install -c .libs/libonig.so.5.4.0 /destdir//oniguruma-6.9.9/usr/lib64/libonig.so.5.4.0
libtool: install: (cd /destdir//oniguruma-6.9.9/usr/lib64 && { ln -s -f libonig.so.5.4.0 libonig.so.5 || { rm -f libonig.so.5 && ln -s libonig.so.5.4.0 libonig.so.5; }; })
libtool: install: (cd /destdir//oniguruma-6.9.9/usr/lib64 && { ln -s -f libonig.so.5.4.0 libonig.so || { rm -f libonig.so && ln -s libonig.so.5.4.0 libonig.so; }; })
libtool: install: /builddir/.xbps-oniguruma/wrappers/install -c .libs/libonig.lai /destdir//oniguruma-6.9.9/usr/lib64/libonig.la
libtool: install: /builddir/.xbps-oniguruma/wrappers/install -c .libs/libonig.a /destdir//oniguruma-6.9.9/usr/lib64/libonig.a
libtool: install: chmod 644 /destdir//oniguruma-6.9.9/usr/lib64/libonig.a
libtool: install: ranlib /destdir//oniguruma-6.9.9/usr/lib64/libonig.a
libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /usr/bin/mkdir -p '/destdir//oniguruma-6.9.9/usr/include'
 /builddir/.xbps-oniguruma/wrappers/install -c -m 644 oniguruma.h oniggnu.h '/destdir//oniguruma-6.9.9/usr/include'
make  install-data-hook
make[3]: Entering directory '/builddir/oniguruma-6.9.9/src'
make[3]: Nothing to be done for 'install-data-hook'.
make[3]: Leaving directory '/builddir/oniguruma-6.9.9/src'
make[2]: Leaving directory '/builddir/oniguruma-6.9.9/src'
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/src'
Making install in test
make[1]: Entering directory '/builddir/oniguruma-6.9.9/test'
make[2]: Entering directory '/builddir/oniguruma-6.9.9/test'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/oniguruma-6.9.9/test'
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/test'
Making install in sample
make[1]: Entering directory '/builddir/oniguruma-6.9.9/sample'
make[2]: Entering directory '/builddir/oniguruma-6.9.9/sample'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/oniguruma-6.9.9/sample'
make[1]: Leaving directory '/builddir/oniguruma-6.9.9/sample'
make[1]: Entering directory '/builddir/oniguruma-6.9.9'
make[2]: Entering directory '/builddir/oniguruma-6.9.9'
 /usr/bin/mkdir -p '/destdir//oniguruma-6.9.9/usr/bin'
 /builddir/.xbps-oniguruma/wrappers/install -c onig-config '/destdir//oniguruma-6.9.9/usr/bin'
 /usr/bin/mkdir -p '/destdir//oniguruma-6.9.9/usr/lib64/pkgconfig'
 /builddir/.xbps-oniguruma/wrappers/install -c -m 644 oniguruma.pc '/destdir//oniguruma-6.9.9/usr/lib64/pkgconfig'
make[2]: Leaving directory '/builddir/oniguruma-6.9.9'
make[1]: Leaving directory '/builddir/oniguruma-6.9.9'
=> oniguruma-devel-6.9.9_1: running pre-install hook: 00-libdir ...
=> oniguruma-devel-6.9.9_1: running pre-install hook: 02-script-wrapper ...
=> oniguruma-devel-6.9.9_1: running pre-install hook: 98-fixup-gir-path ...
=> oniguruma-devel-6.9.9_1: running pkg_install ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 00-compress-info-files ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 00-fixup-gir-path ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 00-libdir ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 00-uncompress-manpages ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 01-remove-misc ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 02-remove-libtool-archives ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 02-remove-perl-files ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 02-remove-python-bytecode-files ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 03-remove-empty-dirs ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 04-create-xbps-metadata-scripts ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 05-generate-gitrevs ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 06-strip-and-debug-pkgs ...
   Stripped static library: /usr/lib/libonig.a
=> oniguruma-devel-6.9.9_1: running post-install hook: 10-pkglint-devel-paths ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 11-pkglint-elf-in-usrshare ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 12-rename-python3-c-bindings ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 13-pkg-config-clean-xbps-cross-base-ref ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 14-fix-permissions ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 80-prepare-32bit ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 98-shlib-provides ...
=> oniguruma-devel-6.9.9_1: running post-install hook: 99-pkglint-warn-cross-cruft ...
=> oniguruma-6.9.9_1: running post-install hook: 00-compress-info-files ...
=> oniguruma-6.9.9_1: running post-install hook: 00-fixup-gir-path ...
=> oniguruma-6.9.9_1: running post-install hook: 00-libdir ...
=> oniguruma-6.9.9_1: running post-install hook: 00-uncompress-manpages ...
=> oniguruma-6.9.9_1: running post-install hook: 01-remove-misc ...
=> oniguruma-6.9.9_1: running post-install hook: 02-remove-libtool-archives ...
=> oniguruma-6.9.9_1: running post-install hook: 02-remove-perl-files ...
=> oniguruma-6.9.9_1: running post-install hook: 02-remove-python-bytecode-files ...
=> oniguruma-6.9.9_1: running post-install hook: 03-remove-empty-dirs ...
=> oniguruma-6.9.9_1: running post-install hook: 04-create-xbps-metadata-scripts ...
=> oniguruma-6.9.9_1: running post-install hook: 05-generate-gitrevs ...
=> oniguruma-6.9.9_1: running post-install hook: 06-strip-and-debug-pkgs ...
   Stripped library: /usr/lib/libonig.so.5.4.0
=> oniguruma-6.9.9_1: running post-install hook: 10-pkglint-devel-paths ...
=> WARNING: usr/bin/onig-config should be in -devel package
=> oniguruma-6.9.9_1: running post-install hook: 11-pkglint-elf-in-usrshare ...
=> oniguruma-6.9.9_1: running post-install hook: 12-rename-python3-c-bindings ...
=> oniguruma-6.9.9_1: running post-install hook: 13-pkg-config-clean-xbps-cross-base-ref ...
=> oniguruma-6.9.9_1: running post-install hook: 14-fix-permissions ...
=> oniguruma-6.9.9_1: running post-install hook: 80-prepare-32bit ...
=> oniguruma-6.9.9_1: running post-install hook: 98-shlib-provides ...
   SONAME libonig.so.5 from /usr/lib/libonig.so.5.4.0
=> oniguruma-6.9.9_1: running post-install hook: 99-pkglint-warn-cross-cruft ...
=> oniguruma-devel-6.9.9_1: running pre-pkg hook: 03-rewrite-python-shebang ...
=> oniguruma-devel-6.9.9_1: running pre-pkg hook: 04-generate-runtime-deps ...
=> oniguruma-devel-6.9.9_1: running pre-pkg hook: 05-generate-32bit-runtime-deps ...
=> oniguruma-devel-6.9.9_1: running pre-pkg hook: 90-set-timestamps ...
=> oniguruma-devel-6.9.9_1: setting mtimes to Thu Feb 15 02:37:50 PM UTC 2024
=> oniguruma-devel-6.9.9_1: running pre-pkg hook: 99-pkglint-subpkgs ...
=> oniguruma-devel-6.9.9_1: running pre-pkg hook: 99-pkglint ...
=> oniguruma-devel-6.9.9_1: running pre-pkg hook: 999-collected-rdeps ...
   oniguruma>=6.9.9_1
=> oniguruma-6.9.9_1: running pre-pkg hook: 03-rewrite-python-shebang ...
=> oniguruma-6.9.9_1: running pre-pkg hook: 04-generate-runtime-deps ...
   SONAME: libc.so.6 <-> glibc>=2.38_1
=> oniguruma-6.9.9_1: running pre-pkg hook: 05-generate-32bit-runtime-deps ...
=> oniguruma-6.9.9_1: running pre-pkg hook: 90-set-timestamps ...
=> oniguruma-6.9.9_1: setting mtimes to Thu Feb 15 02:37:50 PM UTC 2024
=> oniguruma-6.9.9_1: running pre-pkg hook: 99-pkglint-subpkgs ...
=> oniguruma-6.9.9_1: running pre-pkg hook: 99-pkglint ...
=> oniguruma-6.9.9_1: libonig.so.5 not found in common/shlibs.
=> oniguruma-6.9.9_1: running pre-pkg hook: 999-collected-rdeps ...
   glibc>=2.38_1
=> oniguruma-devel-6.9.9_1: running do-pkg hook: 00-gen-pkg ...
=> Creating oniguruma-devel-6.9.9_1.x86_64.xbps for repository /host/binpkgs/llvm17-fix-compiler-cross ...
=> oniguruma-devel-6.9.9_1: running post-pkg hook: 00-register-pkg ...
=> oniguruma-6.9.9_1: running do-pkg hook: 00-gen-pkg ...
=> Creating oniguruma-6.9.9_1.x86_64.xbps for repository /host/binpkgs/llvm17-fix-compiler-cross ...
=> oniguruma-6.9.9_1: running post-pkg hook: 00-register-pkg ...
=> Registering new packages to /host/binpkgs/llvm17-fix-compiler-cross
index: added `oniguruma-6.9.9_1' (x86_64).
index: added `oniguruma-devel-6.9.9_1' (x86_64).
index: 45 packages registered.
=> oniguruma-6.9.9_1: removing autodeps, please wait...
=> oniguruma-6.9.9_1: cleaning build directory...
=> oniguruma: removing files from destdir...
=> oniguruma-devel: removing files from destdir...

That’s an easy fix:

# Template file for 'oniguruma'
pkgname=oniguruma
version=6.9.9
revision=1
build_style=gnu-configure
hostmakedepends=""
makedepends=""
depends=""
short_desc="Multi-charset regular expressions library"
maintainer="meator <meator.dev@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/kkos/oniguruma"
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
checksum=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf

oniguruma-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/onig-config
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}

Shlib dependencies

Only the -devel package is usually seen as a dependency of a template. It is usually specified in makedepends. But if you look at the bat package, you’ll see this:

> xbps-query -Rx bat
glibc>=2.36_1
libgcc>=4.4.0_1
libgit2>=1.6.4_1
oniguruma>=6.8.1_1

It depends on oniguruma>=6.8.1_1 even though the template doesn’t even have a depends field. How is that possible?

Each program remembers what shared libraries has it been linked with. It remembers the SONAME of the linked library.

You can query the SONAMEs a library provides with objdump

> objdump -p /usr/lib/libonig.so.5.4.0 | grep SONAME
  SONAME               libonig.so.5

You can query the SONAMEs a program needs similarly:

> objdump -p /usr/bin/bat | grep NEEDED
  NEEDED               libonig.so.5
  NEEDED               libgcc_s.so.1
  NEEDED               libm.so.6
  NEEDED               libc.so.6

(libgcc_s, libm and libc are core libraries upon which many programs depend. All of these are transitive or direct dependencies of base-system, so they should be installed on every Void Linux computer1 & we don’t have to put them to depends.)

We see that oniguruma provides SONAME libonig.so.5 and bat needs SONAME libonig.so.5.

xbps-src looks for these dependencies. But it needs to be able to resolve a SONAME to the correct package. This is the purpose of the common/shlibs file.

I have largely overlooked the common/ directory. It contains xbps-src internal scripts, definitions of build styles and more. But it also contains the SONAME to package mapping.

The best example to show how it’s working is to showcase when it doesn’t work. Let’s do that:

We have a oniguruma (and oniguruma-devel) template:

# Template file for 'oniguruma'
pkgname=oniguruma
version=6.9.9
revision=1
build_style=gnu-configure
hostmakedepends=""
makedepends=""
depends=""
short_desc="Multi-charset regular expressions library"
maintainer="meator <meator.dev@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/kkos/oniguruma"
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
checksum=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf

oniguruma-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/onig-config
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}

and we want to build bat using the template we crafted in the previous part of the tutorial:

# Template file for 'bat'
pkgname=bat
version=0.24.0
revision=1
build_style=cargo
hostmakedepends=pkg-config
makedepends=oniguruma-devel
short_desc="Cat(1) clone with syntax highlighting and Git integration"
maintainer="meator <meator.dev@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/sharkdp/bat"
changelog="https://raw.githubusercontent.com/sharkdp/bat/master/CHANGELOG.md"
distfiles="https://github.com/sharkdp/bat/archive/refs/tags/v${version}.tar.gz"
checksum=907554a9eff239f256ee8fe05a922aad84febe4fe10a499def72a4557e9eedfb

export BAT_ASSETS_GEN_DIR="${XBPS_BUILDDIR}/${pkgname}-${version}"

post_install() {
	vlicense LICENSE-MIT
	vman assets/manual/bat.1
	vcompletion assets/completions/bat.fish fish
	vcompletion assets/completions/bat.zsh zsh
	vcompletion assets/completions/bat.bash bash
}

Warning

Instructions mentioned at the very beginning of this page must have been followed for this to (not) work.

Let’s build oniguruma and then bat:

> ./xbps-src pkg oniguruma
> ./xbps-src pkg bat

oniguruma builds without issues, but the same cannot be said about bat:

=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> bat-0.24.0_1: removing autodeps, please wait...
=> bat-0.24.0_1: building with [cargo] [rust] for x86_64...
   [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current)
   [host] cargo-1.75.0_1: found (https://repo-default.voidlinux.org/current)
   [host] cargo-auditable-0.6.1_2: found (https://repo-default.voidlinux.org/current)
   [target] oniguruma-devel-6.9.9_1: found (/host/binpkgs)
=> bat-0.24.0_1: installing host dependencies: pkg-config-0.29.2_3 cargo-1.75.0_1 cargo-auditable-0.6.1_2 ...
=> bat-0.24.0_1: installing target dependencies: oniguruma-devel-6.9.9_1 ...
=> bat-0.24.0_1: running do-fetch hook: 00-distfiles ...
=> bat-0.24.0_1: running do-extract hook: 00-distfiles ...
=> bat-0.24.0_1: extracting distfile(s), please wait...
=> bat-0.24.0_1: running do-patch hook: 00-patches ...
=> bat-0.24.0_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> bat-0.24.0_1: running pre-configure hook: 01-override-config ...
=> bat-0.24.0_1: running pre-configure hook: 02-script-wrapper ...
=> bat-0.24.0_1: running pre-build hook: 02-script-wrapper ...
=> bat-0.24.0_1: running do_build ...
   Compiling libc v0.2.147
   Compiling proc-macro2 v1.0.66
   Compiling quote v1.0.26
   Compiling unicode-ident v1.0.4
   Compiling rustix v0.38.11
   Compiling memchr v2.5.0
   Compiling pkg-config v0.3.25
   Compiling syn v2.0.12
   Compiling jobserver v0.1.25
   Compiling cc v1.0.73
   Compiling cfg-if v1.0.0
   Compiling serde v1.0.163
   Compiling linux-raw-sys v0.4.5
   Compiling bitflags v2.4.0
   Compiling utf8parse v0.2.1
   Compiling anstyle-parse v0.2.0
   Compiling proc-macro-hack v0.5.19
   Compiling tinyvec_macros v0.1.0
   Compiling itoa v1.0.3
   Compiling anstyle v1.0.0
   Compiling libz-sys v1.1.8
   Compiling log v0.4.17
   Compiling autocfg v1.1.0
   Compiling colorchoice v1.0.0
   Compiling syn v1.0.104
   Compiling anstyle-query v1.0.0
   Compiling anstream v0.6.4
   Compiling indexmap v1.9.1
   Compiling onig_sys v69.8.1
   Compiling sys-info v0.9.1
   Compiling tinyvec v1.6.0
   Compiling terminal_size v0.3.0
   Compiling strsim v0.10.0
   Compiling crc32fast v1.3.2
   Compiling clap_lex v0.5.0
   Compiling unicode-normalization v0.1.22
   Compiling serde_derive v1.0.163
   Compiling clap_builder v4.4.6
   Compiling libgit2-sys v0.16.1+1.7.1
   Compiling aho-corasick v1.0.1
   Compiling hashbrown v0.12.3
   Compiling regex-syntax v0.7.2
   Compiling fnv v1.0.7
   Compiling regex-automata v0.3.7
   Compiling serde_json v1.0.85
   Compiling percent-encoding v2.2.0
   Compiling unicode-bidi v0.3.8
   Compiling thiserror v1.0.40
   Compiling adler v1.0.2
   Compiling same-file v1.0.6
   Compiling safemem v0.3.3
   Compiling num_threads v0.1.6
   Compiling lazy_static v1.4.0
   Compiling ryu v1.0.11
   Compiling time v0.3.14
   Compiling line-wrap v0.1.1
   Compiling miniz_oxide v0.7.1
   Compiling idna v0.3.0
   Compiling form_urlencoded v1.1.0
   Compiling regex v1.8.3
   Compiling bstr v1.6.0
   Compiling git-version-macro v0.3.5
   Compiling clap v4.4.6
   Compiling thiserror-impl v1.0.40
   Compiling quick-xml v0.28.1
   Compiling aho-corasick v0.7.19
   Compiling equivalent v1.0.1
   Compiling linked-hash-map v0.5.6
   Compiling hashbrown v0.14.1
   Compiling bytemuck v1.12.1
   Compiling once_cell v1.18.0
   Compiling base64 v0.21.0
   Compiling semver v1.0.17
   Compiling bugreport v0.5.0
   Compiling bitflags v1.3.2
   Compiling onig v6.4.0
   Compiling plist v1.4.3
   Compiling indexmap v2.0.2
   Compiling rgb v0.8.34
   Compiling yaml-rust v0.4.5
   Compiling globset v0.4.10
   Compiling git-version v0.3.5
   Compiling flate2 v1.0.27
   Compiling bat v0.24.0 (/builddir/bat-0.24.0)
   Compiling url v2.3.1
   Compiling walkdir v2.3.3
   Compiling bincode v1.3.3
   Compiling unicode-width v0.1.10
   Compiling shell-escape v0.1.5
   Compiling unsafe-libyaml v0.2.9
   Compiling std_prelude v0.2.12
   Compiling termcolor v1.1.3
   Compiling regex-syntax v0.6.27
   Compiling home v0.5.5
   Compiling etcetera v0.8.0
   Compiling serde_yaml v0.9.25
   Compiling syntect v5.0.0
   Compiling grep-cli v0.1.9
   Compiling path_abs v0.5.1
   Compiling console v0.15.5
   Compiling ansi_colours v1.2.1
   Compiling clircle v0.4.0
   Compiling encoding_rs v0.8.33
   Compiling content_inspector v0.2.4
   Compiling wild v2.1.0
   Compiling shell-words v1.1.0
   Compiling nu-ansi-term v0.49.0
   Compiling bytesize v1.3.0
   Compiling git2 v0.18.0
    Finished release [optimized] target(s) in 4m 32s
=> bat-0.24.0_1: skipping check (XBPS_CHECK_PKGS is disabled) ...
=> bat-0.24.0_1: running pre-install hook: 00-libdir ...
=> bat-0.24.0_1: running pre-install hook: 02-script-wrapper ...
=> bat-0.24.0_1: running pre-install hook: 98-fixup-gir-path ...
=> bat-0.24.0_1: running do_install ...
  Installing bat v0.24.0 (/builddir/bat-0.24.0)
   Compiling rustix v0.38.11
   Compiling syn v2.0.12
   Compiling terminal_size v0.3.0
   Compiling clap_builder v4.4.6
   Compiling serde_derive v1.0.163
   Compiling thiserror-impl v1.0.40
   Compiling clap v4.4.6
   Compiling thiserror v1.0.40
   Compiling bat v0.24.0 (/builddir/bat-0.24.0)
   Compiling serde v1.0.163
   Compiling plist v1.4.3
   Compiling serde_json v1.0.85
   Compiling bincode v1.3.3
   Compiling clircle v0.4.0
   Compiling serde_yaml v0.9.25
   Compiling syntect v5.0.0
    Finished release [optimized] target(s) in 2m 35s
  Installing /destdir//bat-0.24.0/usr/bin/bat
   Installed package `bat v0.24.0 (/builddir/bat-0.24.0)` (executable `bat`)
warning: be sure to add `/destdir//bat-0.24.0/usr/bin` to your PATH to be able to run the installed binaries
=> bat-0.24.0_1: running post_install ...
=> bat-0.24.0_1: running post-install hook: 00-compress-info-files ...
=> bat-0.24.0_1: running post-install hook: 00-fixup-gir-path ...
=> bat-0.24.0_1: running post-install hook: 00-libdir ...
=> bat-0.24.0_1: running post-install hook: 00-uncompress-manpages ...
=> bat-0.24.0_1: running post-install hook: 01-remove-misc ...
=> bat-0.24.0_1: running post-install hook: 02-remove-libtool-archives ...
=> bat-0.24.0_1: running post-install hook: 02-remove-perl-files ...
=> bat-0.24.0_1: running post-install hook: 02-remove-python-bytecode-files ...
=> bat-0.24.0_1: running post-install hook: 03-remove-empty-dirs ...
=> WARNING: bat-0.24.0_1: removed empty dir: /usr/lib
=> bat-0.24.0_1: running post-install hook: 04-create-xbps-metadata-scripts ...
=> bat-0.24.0_1: running post-install hook: 05-generate-gitrevs ...
=> bat-0.24.0_1: running post-install hook: 06-strip-and-debug-pkgs ...
   Stripped position-independent executable: /usr/bin/bat
=> bat-0.24.0_1: running post-install hook: 10-pkglint-devel-paths ...
=> bat-0.24.0_1: running post-install hook: 11-pkglint-elf-in-usrshare ...
=> bat-0.24.0_1: running post-install hook: 12-rename-python3-c-bindings ...
=> bat-0.24.0_1: running post-install hook: 13-pkg-config-clean-xbps-cross-base-ref ...
=> bat-0.24.0_1: running post-install hook: 14-fix-permissions ...
=> bat-0.24.0_1: running post-install hook: 80-prepare-32bit ...
=> bat-0.24.0_1: running post-install hook: 98-shlib-provides ...
=> bat-0.24.0_1: running post-install hook: 99-pkglint-warn-cross-cruft ...
=> bat-0.24.0_1: running pre-pkg hook: 03-rewrite-python-shebang ...
=> bat-0.24.0_1: running pre-pkg hook: 04-generate-runtime-deps ...
   SONAME: libonig.so.5 <-> UNKNOWN PKG PLEASE FIX!
   SONAME: libgcc_s.so.1 <-> libgcc>=4.4.0_1
   SONAME: libm.so.6 <-> glibc>=2.38_1
   SONAME: libc.so.6 <-> glibc>=2.38_1
=> ERROR: bat-0.24.0_1: cannot guess required shlibs, aborting!

This shows us that we don’t have to add every library SONAME to common/shlibs, but we have to add every SONAME REQUIRES.

Note that if the build of bat hadn’t failed, it would not have oniguruma in its runtime dependencies.

If a library is a dependency of another package, we should add the SHLIB to common/shlibs, but it isn’t mandatory otherwise (but libraries are usually packaged because they are the dependency of the target executable which the packager wants, standalone libraries aren’t usually packaged and one could even argue that it wouldn’t be accepted because of packaging requirements, but it depends).

How to add a shlib dependency?

The error message emitted by by ./xbps-src pkg bat already shows the SONAME which is causing trouble:

=> bat-0.24.0_1: running pre-pkg hook: 04-generate-runtime-deps ...
   SONAME: libonig.so.5 <-> UNKNOWN PKG PLEASE FIX!
   SONAME: libgcc_s.so.1 <-> libgcc>=4.4.0_1
   SONAME: libm.so.6 <-> glibc>=2.38_1
   SONAME: libc.so.6 <-> glibc>=2.38_1

It is libonig.so.5. The header of common/shlibs describes it best, so I’ll include it here:

This file represents a map between shared libraries and packages in XBPS. Every shared library installed by a package must be listed here and mapped to a binary package.

The first field lists the exact SONAME embedded in binaries.

The second field lists the package/version tuple containing the SONAME. The version component is used as greater than or equal to that version in resulting binary package.

The third field (optional) specifies that shared library should not be used to perform checks of soname bumps.

PLEASE NOTE: when multiple packages provide the same SONAME, the first one (order top->bottom) is preferred over the next ones.

So the correct shlib entry is

libonig.so.5 oniguruma-6.9.9_1

The list should be kept in alphabetical order, we can’t just add this line to the beginning or the end. But this is a stylistic requirement rather than a functional one.

When you add it, bat starts building again. And it’ll have oniguruma in its runtime dependencies.

Subpackages once again

-devel packages aren’t the only possible use of subpackages in xbps-src. Subpackages can be anything. They can for example include documentation. To quote from the Manual:

In general a -doc package is useful, if the main package can be used both with or without documentation and the size of the documentation isn’t really small. The base package and the -devel subpackage should be kept small so that when building packages depending on a specific package there is no need to install large amounts of documentation for no reason. Thus the size of the documentation part should be your guidance to decide whether or not to split off a -doc subpackage.

And wouldn’t you know it, oniguruma provides some documentation that could be put into oniguruma-doc. What a coincidence. It’s almost like this is a part of a carefully crafted packaging tutorial or something.

The documentation doesn’t get installed to $DESTDIR by default, it just lies in the doc/ subdirectory of the source. Their build system doesn’t install it.2 But the documentation doesn’t need to be generated (unlike the manpage and completions in bat), we can just copy the files to $DESTDIR.

Where will we install the documentation? usr/share/doc/oniguruma/ is appropriate. /usr/share/doc/ is usually used for these sorts of things.

We’ll use vcopy to install the files this time. But first, we have to create the usr/share/doc/oniguruma/ in destdir. xbps-src also has a helper for that, vmkdir. vmkdir’s functionality, like vcopy’s, is pretty apparent from its name.

Let’s get to work:

# Template file for 'oniguruma'
pkgname=oniguruma
version=6.9.9
revision=1
build_style=gnu-configure
hostmakedepends=""
makedepends=""
depends=""
short_desc="Multi-charset regular expressions library"
maintainer="meator <meator.dev@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/kkos/oniguruma"
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
checksum=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf

oniguruma-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/onig-config
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}

# This is a modified copy of oniguruma-devel_package()
oniguruma-doc_package() {
	# depends is no longer needed
	#depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - documentation"
	pkg_install() {
		vmkdir usr/share/doc/oniguruma
		vcopy "doc/*" usr/share/doc/oniguruma
	}
}

We can’t use

		vcopy doc usr/share/doc/oniguruma

because that would copy the documentation to usr/share/doc/oniguruma/doc.

When using shell wildcards in xbps-src helpers that support them, they must be properly quoted.

Although subpackages are created differently from normal packages, they are still full-fledged packages. And all full-fledged packages must have a directory in srcpkgs/<package name>.

Subpackages symlink their srcpkgs/ directory to the main package. When you look into srcpkgs/, you might be surprised to find this:

srcpkgs/oniguruma-devel/template

srcpkgs/oniguruma-devel is a symlink to oniguruma (in srcpkgs/). How did it get there? You didn’t create it. xnew did. Remember how we created the oniguruma template at the beginning of this page?

xnew oniguruma oniguruma-devel

xnew recognised that the second argument oniguruma-devel is a subpackage and it has created the symlink in srcpkgs/ for us. But now, we have added an oniguruma-doc subpackage “manually”, so we have to create the symlink:

ln -s oniguruma srcpkgs/oniguruma-doc

Be careful when dealing with these. Relative symlinks can be tricky to get right sometimes.

We now have three oniguruma packages in srcpkgs/

drwxr-xr-x 1 meator meator srcpkgs/oniguruma
lrwxrwxrwx 1 meator meator srcpkgs/oniguruma-devel -> oniguruma
lrwxrwxrwx 1 meator meator srcpkgs/oniguruma-doc -> oniguruma

This means that we can very well build packages like this:

./xbps-src pkg oniguruma-devel
./xbps-src pkg oniguruma-doc
./xbps-src pkg oniguruma

All three of these are equivalent. ./xbps-src pkg oniguruma-doc doesn’t just build the documentation, it builds all (sub)packages of oniguruma because srcpkgs/oniguruma-doc is actually srcpkgs/oniguruma.

Cleaning up

This is our template so far:

# Template file for 'oniguruma'
pkgname=oniguruma
version=6.9.9
revision=1
build_style=gnu-configure
hostmakedepends=""
makedepends=""
depends=""
short_desc="Multi-charset regular expressions library"
maintainer="meator <meator.dev@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/kkos/oniguruma"
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
checksum=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf

oniguruma-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/onig-config
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}

oniguruma-doc_package() {
	short_desc+=" - documentation"
	pkg_install() {
		vmkdir usr/share/doc/oniguruma
		vcopy "doc/*" usr/share/doc/oniguruma
	}
}

oniguruma is a very self-contained library and it has no dependencies, so we won’t need any of the *depends variables:

# Template file for 'oniguruma'
pkgname=oniguruma
version=6.9.9
revision=1
build_style=gnu-configure
short_desc="Multi-charset regular expressions library"
maintainer="meator <meator.dev@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/kkos/oniguruma"
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
checksum=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf

oniguruma-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/onig-config
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}

oniguruma-doc_package() {
	short_desc+=" - documentation"
	pkg_install() {
		vmkdir usr/share/doc/oniguruma
		vcopy "doc/*" usr/share/doc/oniguruma
	}
}

Let’s see what xlint has to say:

> xlint oniguruma
oniguruma:8: license 'BSD', but no use of vlicense

BSD-2-Clause is one of the licenses which require installation. The solution is the same as in bat:

# Template file for 'oniguruma'
pkgname=oniguruma
version=6.9.9
revision=1
build_style=gnu-configure
short_desc="Multi-charset regular expressions library"
maintainer="meator <meator.dev@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/kkos/oniguruma"
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
checksum=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf

post_install() {
	vlicense COPYING
}

oniguruma-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/onig-config
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}

oniguruma-doc_package() {
	short_desc+=" - documentation"
	pkg_install() {
		vmkdir usr/share/doc/oniguruma
		vcopy "doc/*" usr/share/doc/oniguruma
	}
}

The license file is called COPYING in oniguruma.

A repeated run of xlint returns no findings.

Comparing with the upstream template

This is our template:

# Template file for 'oniguruma'
pkgname=oniguruma
version=6.9.9
revision=1
build_style=gnu-configure
short_desc="Multi-charset regular expressions library"
maintainer="meator <meator.dev@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/kkos/oniguruma"
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
checksum=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf

post_install() {
	vlicense COPYING
}

oniguruma-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/onig-config
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}

oniguruma-doc_package() {
	short_desc+=" - documentation"
	pkg_install() {
		vmkdir usr/share/doc/oniguruma
		vcopy "doc/*" usr/share/doc/oniguruma
	}
}

with the following SHLIB entry:

libonig.so.5 oniguruma-6.9.9_1

and with the following subpackage symlinks:

lrwxrwxrwx 1 meator meator srcpkgs/oniguruma-devel -> oniguruma
lrwxrwxrwx 1 meator meator srcpkgs/oniguruma-doc -> oniguruma

This is the official template as of the time of writing this tutorial:

# Template file for 'oniguruma'
pkgname=oniguruma
version=6.9.9
revision=1
build_style=gnu-configure
configure_args="--enable-posix-api=yes"
short_desc="Multi-charset regular expressions library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/kkos/oniguruma"
changelog="https://github.com/kkos/oniguruma/releases"
distfiles="https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
checksum=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf

post_install() {
	vlicense COPYING
}

oniguruma-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/bin/onig-config
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}

oniguruma-doc_package() {
	short_desc+=" - documentation"
	pkg_install() {
		vmkdir usr/share/doc/${sourcepkg}
		vcopy "doc/*" usr/share/doc/${sourcepkg}
	}
}

with the following SHLIB entry:

libonig.so.5 oniguruma-6.8.1_1

and with the following subpackage symlinks:

lrwxrwxrwx 1 meator meator srcpkgs/oniguruma-devel -> oniguruma
lrwxrwxrwx 1 meator meator srcpkgs/oniguruma-doc -> oniguruma

The two templates are very similar, which is good.

The official SHLIB entry is a bit out of date, it’s using oniguruma-6.8.1_1 while the latest is oniguruma-6.9.9_1. That isn’t a problem, because “The version component is used as greater than or equal to that version in resulting binary package”.

The upstream template adds

configure_args="--enable-posix-api=yes"

This tells oniguruma’s build system GNU configure that it should enable POSIX APIs. I am not entirely sure what it does, but I’m sure it serves an important purpose and it shouldn’t be removed. This is not related to xbps-src package management, this is an oniguruma-specific thing. If you happen to need to use some “magic flags” in your template, you should document them with an accompanying comment.

The official template uses ${sourcepkg} in some places. Excessive use of ${sourcepkg} or $pkgname isn’t good. Package names don’t change often, so handling the name dynamically serves no practical purpose.

What now?

I’m sure you’re pretty tired of bat now. Let’s package something completely different: rofimoji:

Packaging rofimoji

1

Some people (although they are a minority) use an alternative base- package instead of base-system for their system. But these dependencies are so basic that even these people should have them.

2

As I mentioned at the very beginning of the page, oniguruma has multiple build systems. I wasn’t able to find anything related to documentation in their configure script, but their CMakeLists.txt has an option for installing documentation.