D: [iurt_root_command] chroot
warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N)
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/clearsilver-0.10.5-31.mga10.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bwyt4L
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD
+ rm -rf clearsilver-0.10.5
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/clearsilver-0.10.5.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clearsilver-0.10.5
+ rm -rf /home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5-SPECPARTS
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (clearsilver-0.10.5-mandriva.patch):'
Patch #0 (clearsilver-0.10.5-mandriva.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file configure
patching file cgi/cgi.c
patching file imd/imdm.py
patching file java-jni/Makefile
patching file ruby/Makefile
+ echo 'Patch #1 (clearsilver-0.10.5-regression.patch):'
Patch #1 (clearsilver-0.10.5-regression.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file cs/csparse.c
+ echo 'Patch #2 (test.patch):'
Patch #2 (test.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file python/neo_cgi.c
+ echo 'Patch #3 (clearsilver-ruby-1.9.patch):'
Patch #3 (clearsilver-ruby-1.9.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ruby19~ --fuzz=0
patching file ruby/ext/hdf/neo_cs.c
patching file ruby/ext/hdf/neo_util.c
+ echo 'Patch #4 (clearsilver-ruby-2.2.patch):'
Patch #4 (clearsilver-ruby-2.2.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file ruby/install.rb
+ echo 'Patch #5 (clearsilver-0.10.5-gcc5.patch):'
Patch #5 (clearsilver-0.10.5-gcc5.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0
patching file ./util/neo_err.h
+ sed -i -r 's|(\$\(RUBY\) install.rb config) (--.*)|\1 --rb-dir="$(DESTDIR)/usr/share/ruby/vendor_ruby" --so-dir="$(DESTDIR)/usr/lib64/ruby/vendor_ruby" \2|' ruby/Makefile
+ cp -af /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub .
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DvAduu
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ cd clearsilver-0.10.5
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-apache --disable-java --disable-csharp --enable-ruby --enable-perl --disable-python
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for ar... ar
checking for x86_64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for Neotonic Paths... not found
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking for an ANSI C-conforming const... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for wait3 that fills in rusage... no
checking for gettimeofday... yes
checking for mktime... yes
checking for putenv... yes
checking for strerror... yes
checking for strspn... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for random... yes
checking for rand... yes
checking for drand48... yes
Disabling wdb code
checking for lockf... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking for snprintf... yes
checking for vsnprintf... yes
checking for localtime_r... yes
checking whether localtime_r is declared... yes
checking for gmtime_r... yes
checking whether gmtime_r is declared... yes
checking for strtok_r... yes
checking whether strtok_r is declared... yes
checking for mkstemp... yes
checking for regexec... yes
checking for deflate in -lz... yes
Disabling Apache 1.3.x Module
Disabling python module
checking for perl >= 5.006... found /usr/bin/perl
checking for ruby... found /usr/bin/ruby
Disabling java module
Disabling csharp module
configure: creating ./config.status
config.status: creating rules.mk
config.status: creating cs_config.h
+ perl -pi -e 's#install.rb install$#install.rb install --prefix=/home/pterjan/rpmbuild/BUILDROOT/clearsilver-0.10.5-31.mga10.x86_64#' ruby/Makefile
+ perl -pi -e s/555/755/ ruby/install.rb
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
*******************************************
** Building Dependencies 
** OSNAME: Linux
** (done) 
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o neo_date.o -c neo_date.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o neo_rand.o -c neo_rand.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o wildmat.o -c wildmat.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o filter.o -c filter.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o neo_misc.o -c neo_misc.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o ulocks.o -c ulocks.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o neo_server.o -c neo_server.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o neo_files.o -c neo_files.c
neo_files.c: In function 'ne_mkdirs':
neo_files.c:36:3: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
   36 |   strncpy (mypath, path, sizeof(mypath));
      |   ^
neo_files.c: In function 'ne_remove_dir':
neo_files.c:163:45: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
  163 |       snprintf (npath, sizeof(npath), "%s/%s", path, de->d_name);
      |                                             ^
In file included from /usr/include/stdio.h:980,
                 from neo_files.c:14:
In function 'snprintf',
    inlined from 'ne_remove_dir' at neo_files.c:163:7:
/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o neo_hash.o -c neo_hash.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o ulist.o -c ulist.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o rcfs.o -c rcfs.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o neo_err.o -c neo_err.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o dict.o -c dict.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o skiplist.o -c skiplist.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o neo_net.o -c neo_net.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
*******************************************
** Building Dependencies 
** OSNAME: Linux
** (done) 
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
*******************************************
** Building Dependencies 
** OSNAME: Linux
** (done) 
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o neo_str.o -c neo_str.c
neo_str.c: In function 'visprintf_alloc':
neo_str.c:324:5: warning: '__builtin___strncpy_chk' output may be truncated copying between 0 and 4095 bytes from a string of length 4095 [-Wstringop-truncation]
  324 |     strncpy(*buf, ibuf, bl);
      |     ^
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
*******************************************
** Building Dependencies 
** OSNAME: Linux
** (done) 
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
*******************************************
** Building Dependencies 
** OSNAME: Linux
** (done) 
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/ruby'
*******************************************
** Building Dependencies 
** OSNAME: Linux
** (done) 
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/ruby'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o neo_hdf.o -c neo_hdf.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
ar cr ../libs/libneo_utl.a neo_err.o neo_files.o neo_misc.o neo_rand.o ulist.o neo_hdf.o neo_str.o neo_date.o wildmat.o neo_hash.o ulocks.o rcfs.o skiplist.o dict.o filter.o neo_net.o neo_server.o 
ranlib ../libs/libneo_utl.a
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/util'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o cs.o -c cs.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o cstest.o -c cstest.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o csparse.o -c csparse.c
csparse.c: In function 'call_parse':
csparse.c:3026:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 3026 |   name[x] = '\0';
      |   ~~~~~~~~^~~~~~
csparse.c:3007:8: note: at offset 256 into destination object 'name' of size 256
 3007 |   char name[256];
      |        ^~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
ar cr ../libs/libneo_cs.a csparse.o
ranlib ../libs/libneo_cs.a
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
gcc -o cstest cstest.o -L../libs/ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lz -lneo_cs -lneo_utl  # -lefence
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
gcc -o cs cs.o -L../libs/ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lz -lneo_cs -lneo_utl  # -lefence
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
Running cs regression tests
Passed
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cs'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o cgi_cstest.o -c cgi_cstest.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o static.o -c static.c
static.c: In function 'main':
static.c:78:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
   78 |     chdir(cs_file);
      |     ^~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o date.o -c date.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o cgiwrap.o -c cgiwrap.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o html.o -c html.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o rfc2388.o -c rfc2388.c
rfc2388.c: In function '_read_part':
rfc2388.c:533:46: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
  533 |             snprintf (buf2, sizeof(buf2), "%d", i);
      |                                              ^
In file included from /usr/include/stdio.h:980,
                 from rfc2388.c:18:
In function 'snprintf',
    inlined from '_read_part' at rfc2388.c:533:6:
/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -I..  -fPIC -o cgi.o -c cgi.c
cgi.c: In function 'cgi_debug_init':
cgi.c:1393:13: warning: variable 'k' set but not used [-Wunused-but-set-variable]
 1393 |   char *v, *k;
      |             ^
cgi.c: In function '_parse_query':
cgi.c:317:45: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=]
  317 |         snprintf(unnamed,sizeof(unnamed), "_%d", unnamed_count++);
      |                                             ^~
cgi.c:317:43: note: directive argument in the range [0, 2147483647]
  317 |         snprintf(unnamed,sizeof(unnamed), "_%d", unnamed_count++);
      |                                           ^~~~~
In file included from /usr/include/stdio.h:980,
                 from cgi.c:18:
In function 'snprintf',
    inlined from '_parse_query' at cgi.c:317:9:
/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 3 and 12 bytes into a destination of size 10
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
cgi.c: In function '_parse_query':
cgi.c:353:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=]
  353 |           snprintf (buf2, sizeof(buf2), "%d", i);
      |                                            ^
In function 'snprintf',
    inlined from '_parse_query' at cgi.c:353:4:
/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
ar cr ../libs/libneo_cgi.a cgiwrap.o cgi.o html.o date.o rfc2388.o
ranlib ../libs/libneo_cgi.a
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
gcc -shared -fPIC -o cs_static.cso static.o -L../libs/ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lneo_cgi -lneo_cs -lneo_utl  -lz
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
gcc -o cs_static.cgi static.o -L../libs/ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lneo_cgi -lneo_cs -lneo_utl  -lz
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
gcc -o cgi_cstest cgi_cstest.o -L../libs/ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lneo_cgi -lneo_cs -lneo_utl  -lz
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/cgi'
Checking if your kit is complete...
Looks good
Warning: -L../libs changed to -L/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl/../libs
Generating a Unix-style Makefile
Writing Makefile for ClearSilver
Writing MYMETA.yml and MYMETA.json
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
Running Mkbootstrap for ClearSilver ()
chmod 644 "ClearSilver.bs"
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
"/usr/bin/perl5.38.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- ClearSilver.bs blib/arch/auto/ClearSilver/ClearSilver.bs 644
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
cp ClearSilver.pm blib/lib/ClearSilver.pm
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
"/usr/bin/perl5.38.2" "/usr/share/perl5/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl/typemap'  ClearSilver.xs > ClearSilver.xsc
Please specify prototyping behavior for ClearSilver.xs (see perlxs manual)
mv ClearSilver.xsc ClearSilver.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
gcc -c  -I../ -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib64/perl5/CORE"   ClearSilver.c
ClearSilver.xs: In function 'XS_ClearSilver__CS_parseString':
ClearSilver.xs:447:13: warning: '__builtin_strcpy' writing one too many bytes into a region of a size that depends on 'strlen' [-Wstringop-overflow=]
  447 |             strcpy(cs_str, in_str);
      |             ^
ClearSilver.xs:442:30: note: destination object of size [0, 2147483647] allocated by 'malloc'
  442 |             cs_str = (char *)malloc(len);
      |                              ^~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
rm -f blib/arch/auto/ClearSilver/ClearSilver.so
gcc  -lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -L/usr/local/lib -fstack-protector-strong  ClearSilver.o  -o blib/arch/auto/ClearSilver/ClearSilver.so  \
   -L/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl/../libs -lneo_cgi -lneo_cs -lneo_utl -lz -lperl   \
  
chmod 755 blib/arch/auto/ClearSilver/ClearSilver.so
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
Manifying 1 pod document
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/perl'
/usr/bin/ruby install.rb config --rb-dir="/usr/share/ruby/vendor_ruby" --so-dir="/usr/lib64/ruby/vendor_ruby" -- --with-hdf-include=../../.. --with-hdf-lib=../../../libs --make-prog=/usr/bin/make
install.rb: entering config phase...
---> lib
<--- lib
---> ext
---> ext/hdf
/usr/bin/ruby /home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/ruby/ext/hdf/extconf.rb --with-hdf-include=../../.. --with-hdf-lib=../../../libs --make-prog=/usr/bin/make
checking for deflate() in -lz... yes
checking for ClearSilver.h... yes
checking for hdf_init() in -lneo_utl... yes
checking for cs_init() in -lneo_cs... yes
checking for cgi_register_strfuncs() in -lneo_cgi... yes
creating Makefile
<--- ext/hdf
<--- ext
install.rb: config done.
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/ruby'
/usr/bin/ruby install.rb setup
install.rb: entering setup phase...
---> lib
<--- lib
---> ext
---> ext/hdf
make
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/ruby/ext/hdf'
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/ruby/ext/hdf -DHAVE_CLEARSILVER_H -I../../..    -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -m64 -o neo_cs.o -c neo_cs.c
neo_cs.c: In function 'c_new':
neo_cs.c:45:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
   45 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
In file included from /usr/include/ruby/internal/core.h:23,
                 from /usr/include/ruby/ruby.h:28,
                 from /usr/include/ruby.h:38,
                 from neo_cs.c:12:
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_cs.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_cs.c:45:12: note: in expansion of macro 'Srb_raise'
   45 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_cs.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_cs.c:47:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
   47 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_cs.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_cs.c:47:12: note: in expansion of macro 'Srb_raise'
   47 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_cs.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_cs.c: In function 'c_parse_file':
neo_cs.c:63:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
   63 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_cs.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_cs.c:63:12: note: in expansion of macro 'Srb_raise'
   63 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_cs.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_cs.c: In function 'c_parse_str':
neo_cs.c:85:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
   85 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_cs.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_cs.c:85:12: note: in expansion of macro 'Srb_raise'
   85 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_cs.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_cs.c: In function 'c_render':
neo_cs.c:108:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  108 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_cs.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_cs.c:108:12: note: in expansion of macro 'Srb_raise'
  108 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_cs.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
make[2]: *** [Makefile:248: neo_cs.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/ruby/ext/hdf'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/ruby/ext/hdf'
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/ruby/ext/hdf -DHAVE_CLEARSILVER_H -I../../..    -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -m64 -o neo_util.o -c neo_util.c
neo_util.c: In function 'h_mark':
neo_util.c:65:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 't_hdfh *' {aka 'struct s_hdfh *'} [-Wformat=]
   65 |     fprintf(stderr,"mark top 0x%x\n",hdfh);
      |                                ~^    ~~~~
      |                                 |    |
      |                                 |    t_hdfh * {aka struct s_hdfh *}
      |                                 unsigned int
neo_util.c: In function 'h_new':
neo_util.c:81:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
   81 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
In file included from /usr/include/ruby/internal/core.h:23,
                 from /usr/include/ruby/ruby.h:28,
                 from /usr/include/ruby.h:38,
                 from neo_util.c:12:
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:81:12: note: in expansion of macro 'Srb_raise'
   81 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_set_attr':
neo_util.c:129:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  129 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:129:12: note: in expansion of macro 'Srb_raise'
  129 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_set_value':
neo_util.c:154:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  154 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:154:12: note: in expansion of macro 'Srb_raise'
  154 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_get_node':
neo_util.c:250:5: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  250 |     Srb_raise(r_neo_error(err));
      |     ^~~~~~~~~
      |     |
      |     struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:250:5: note: in expansion of macro 'Srb_raise'
  250 |     Srb_raise(r_neo_error(err));
      |     ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_read_file':
neo_util.c:390:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  390 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:390:12: note: in expansion of macro 'Srb_raise'
  390 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_write_file':
neo_util.c:407:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  407 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:407:12: note: in expansion of macro 'Srb_raise'
  407 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_write_file_atomic':
neo_util.c:423:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  423 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:423:12: note: in expansion of macro 'Srb_raise'
  423 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_remove_tree':
neo_util.c:438:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  438 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:438:12: note: in expansion of macro 'Srb_raise'
  438 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_dump':
neo_util.c:455:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  455 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:455:12: note: in expansion of macro 'Srb_raise'
  455 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_write_string':
neo_util.c:476:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  476 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:476:12: note: in expansion of macro 'Srb_raise'
  476 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_read_string':
neo_util.c:497:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  497 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:497:12: note: in expansion of macro 'Srb_raise'
  497 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_copy':
neo_util.c:516:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  516 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:516:12: note: in expansion of macro 'Srb_raise'
  516 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_set_symlink':
neo_util.c:533:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  533 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:533:12: note: in expansion of macro 'Srb_raise'
  533 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'h_escape':
neo_util.c:555:12: error: passing argument 1 of 'RARRAY_PTR' makes integer from pointer without a cast [-Wint-conversion]
  555 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
      |            |
      |            struct RString *
/usr/include/ruby/internal/core/rarray.h:551:18: note: expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'struct RString *'
  551 | RARRAY_PTR(VALUE ary)
      |            ~~~~~~^~~
neo_util.c:22:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'VALUE *' {aka 'long unsigned int *'} [-Wformat=]
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                            ^~~~~~~~~~
neo_util.c:555:12: note: in expansion of macro 'Srb_raise'
  555 |   if (err) Srb_raise(r_neo_error(err));
      |            ^~~~~~~~~
neo_util.c:22:52: note: format string is defined here
   22 | #define Srb_raise(val) rb_raise(eHdfError, "%s/%d %s",__FILE__,__LINE__,RARRAY_PTR(RSTRING(val)))
      |                                                   ~^
      |                                                    |
      |                                                    char *
      |                                                   %ln
neo_util.c: In function 'Init_hdf':
neo_util.c:622:3: error: passing argument 3 of 'rb_define_singleton_method_03' from incompatible pointer type [-Wincompatible-pointer-types]
  622 |   rb_define_singleton_method(cHdf, "unescape", h_unescape, 3);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |   |
      |   VALUE (*)(VALUE,  VALUE,  VALUE) {aka long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int)}
In file included from /usr/include/ruby/ruby.h:26:
/usr/include/ruby/internal/anyargs.h:270:1: note: expected 'VALUE (*)(VALUE,  VALUE,  VALUE,  VALUE)' {aka 'long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int)'} but argument is of type 'VALUE (*)(VALUE,  VALUE,  VALUE)' {aka 'long unsigned int (*)(long unsigned int,  long unsigned int,  long unsigned int)'}
  270 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *)
      | ^~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:248: neo_util.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/ruby/ext/hdf'
setup failed
'system make' failed
try 'ruby install.rb --help' for usage
make[1]: *** [Makefile:18: ext/hdf/hdf.so] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clearsilver-0.10.5/ruby'
make: *** [Makefile:29: cs] Error 2
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DvAduu (%build)

RPM build warnings:
    %patchN is deprecated (6 usages found), use %patch N (or %patch -P N)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DvAduu (%build)
I: [iurt_root_command] ERROR: chroot