Cook: ldapvi 1.7
================================================================================
QA: checking package receipt...
Checking build dependencies...
Installing (pkg/local): libldap-2.4.46-i486
Installing (pkg/local): util-linux-uuid-2.33.1-i486
Installing (pkg/local): openldap-2.4.46-i486
Installing (pkg/local): openssl-dev-1.1.1d-i486
Installing (pkg/local): openldap-dev-2.4.46-any
Installing (pkg/local): libpcre-8.42-i486
Installing (pkg/local): util-linux-smartcols-2.33.1-i486
Installing (pkg/local): util-linux-blkid-2.33.1-i486
Installing (pkg/local): util-linux-mount-2.33.1-i486
Installing (pkg/local): glib-2.64.3-i486
Installing (pkg/local): libpcre16-8.42-i486
Installing (pkg/local): libpcre32-8.42-i486
Installing (pkg/local): libpcrecpp-8.42-i486
Installing (pkg/local): libpcreposix-8.42-i486
Installing (pkg/local): pcre-8.42-any
Installing (pkg/local): pcre-apps-8.42-i486
Installing (pkg/local): pcre-dev-8.42-any
Installing (pkg/local): libgdbm-1.18.1-i486
Installing (pkg/local): perl-core-5.28.1-i486
Installing (pkg/local): perl-5.28.1-i486
Installing (pkg/local): util-linux-uuid-dev-2.33.1-any
Installing (pkg/local): util-linux-blkid-dev-2.33.1-any
Installing (pkg/local): util-linux-mount-dev-2.33.1-any
Installing (pkg/local): zlib-dev-1.2.11-any
Installing (pkg/local): glib-dev-2.64.3-i486
Installing (pkg/local): popt-dev-1.16-any
Installing (pkg/local): readline-dev-7.0p5-any
Installing (pkg/local): libdb-6.2.32-i486
Installing (pkg/local): db-6.2.32-i486
Installing (pkg/local): libdb-cxx-6.2.32-i486
Installing (pkg/local): db-dev-6.2.32-i486
Installing (pkg/local): libkrb5support-1.15.1-i486
Installing (pkg/local): libcomerr3-1.15.1-i486
Installing (pkg/local): libkrb5-1.15.1-i486
Installing (pkg/local): krb5-1.15.1-i486
Installing (pkg/local): krb5-plugins-1.15.1-i486
Installing (pkg/local): krb5-clients-1.15.1-i486
Installing (pkg/local): krb5-user-1.15.1-i486
Installing (pkg/local): krb5-dev-1.15.1-i486
Installing (pkg/local): cyrus-sasl-dev-2.1.26-i486
Installing (pkg/local): libsasl-2.1.26-i486
Installing (pkg/local): libsasl-modules-2.1.26-i486
Installing (pkg/local): cyrus-sasl-2.1.26-i486
Extracting source archive "ldapvi-1.7.tar.gz"

Executing: compile_rules
CFLAGS   : -march=i486 -Os -pipe -mindirect-branch=thunk
CXXLAGS  : -march=i486 -Os -pipe -mindirect-branch=thunk
CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1
LDFLAGS  : -Wl,-Os,--as-needed

configure: loading site script /etc/slitaz/cook.site
checking for a BSD-compatible install... /usr/bin/install -c
checking for i486-slitaz-linux-gcc... i486-slitaz-linux-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 i486-slitaz-linux-gcc accepts -g... yes
checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed
checking for mkdtemp... yes
checking for on_exit... yes
checking for main in -lsocket... no
checking for main in -lresolv... yes
checking for main in -llber... yes
checking for main in -lldap... yes
checking for ldap_initialize in -lldap... yes
checking for ldap_bv2dn_x in -lldap... yes
checking how to run the C preprocessor... i486-slitaz-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking for library containing tigetstr... -lcurses
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for poptGetContext in -lpopt... yes
checking for readline in -lreadline... yes
checking for pkg-config... /usr/bin/pkg-config
checking for main in -lglib-2.0... yes
checking for main in -lssl... yes
checking for SHA1... yes
checking for RAND_pseudo_bytes... yes
checking for main in -lcrypt... yes
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: WARNING:  GNUmakefile.in seems to ignore the --datarootdir setting
config.status: creating config.h
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o ldapvi.o ldapvi.c
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o data.o data.c
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o diff.o diff.c
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o error.o error.c
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o misc.o misc.c
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o parse.o parse.c
parse.c: In function 'read_lhs':
parse.c:38:16: warning: implicit declaration of function 'getc_unlocked'; did you mean 'g_bit_unlock'? [-Wimplicit-function-declaration]
   switch ( c = getc_unlocked(s)) {
                ^~~~~~~~~~~~~
                g_bit_unlock
misc.c: In function 'edit':
misc.c:175:4: warning: missing sentinel in function call [-Wformat=]
    execlp(vi, vi, buf, pathname, 0);
    ^~~~~~
misc.c:177:4: warning: missing sentinel in function call [-Wformat=]
    execlp(vi, vi, pathname, 0);
    ^~~~~~
parse.c: In function 'cryptdes':
parse.c:156:9: warning: implicit declaration of function 'crypt'; did you mean 'creat'? [-Wimplicit-function-declaration]
  return crypt(key, (char *) salt);
         ^~~~~
         creat
parse.c:156:9: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion]
  return crypt(key, (char *) salt);
         ^~~~~~~~~~~~~~~~~~~~~~~~~
misc.c: In function 'view':
misc.c:216:3: warning: missing sentinel in function call [-Wformat=]
   execlp(pg, pg, pathname, 0);
   ^~~~~~
parse.c: In function 'cryptmd5':
parse.c:177:9: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  result = crypt(key, (char *) salt);
         ^
misc.c: In function 'pipeview':
misc.c:248:3: warning: missing sentinel in function call [-Wformat=]
   execlp(pg, pg, 0);
   ^~~~~~
misc.c: In function 'xalloc':
misc.c:400:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(2, "\nmalloc error\n", sizeof("\nmalloc error\n") - 1);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
misc.c: In function 'xdup':
misc.c:414:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(2, "\nstrdup error\n", sizeof("\nstrdup error\n") - 1);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.c: In function 'ldaperr':
error.c:54:2: warning: implicit declaration of function 'ldap_perror'; did you mean 'ldaperr'? [-Wimplicit-function-declaration]
  ldap_perror(ld, str);
  ^~~~~~~~~~~
  ldaperr
diff.c: In function 'safe_str2dn':
diff.c:218:9: warning: implicit declaration of function 'ldap_bv2dn_x'; did you mean 'ldap_bv2dn'? [-Wimplicit-function-declaration]
         ldap_bv2dn_x(&bv, out, flags);
         ^~~~~~~~~~~~
         ldap_bv2dn
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o port.o port.c
ldapvi.c: In function 'save_ldif':
ldapvi.c:766:13: warning: Deprecated pre-processor symbol, replace with 
  g_string_sprintfa(name, "-%d.ldif", getpid());
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
ldapvi.c: In function 'write_config':
ldapvi.c:1236:22: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'gpointer' {aka 'void *'} [-Wformat=]
    fprintf(f, "BASE %s\n", g_ptr_array_index(basedns, i));
                     ~^
                     %p
ldapvi.c: In function 'copy_sasl_output':
ldapvi.c:1468:30: warning: 'return' with no value, in function returning non-void
  if (lstat(sasl, &st) == -1) return;
                              ^~~~~~
ldapvi.c:1460:1: note: declared here
 copy_sasl_output(FILE *out, char *sasl)
 ^~~~~~~~~~~~~~~~
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o print.o print.c
ldapvi.c: In function 'ensure_tmp_directory':
ldapvi.c:579:2: warning: ignoring return value of 'mkdtemp', declared with attribute warn_unused_result [-Wunused-result]
  mkdtemp(dir);
  ^~~~~~~~~~~~
port.c: In function 'g_string_append_ssha':
port.c:46:27: warning: implicit declaration of function 'RAND_bytes'; did you mean 'RAND_MAX'? [-Wimplicit-function-declaration]
 #define RAND_pseudo_bytes RAND_bytes
                           ^~~~~~~~~~
port.c:132:2: note: in expansion of macro 'RAND_pseudo_bytes'
  RAND_pseudo_bytes(rand, sizeof(rand));
  ^~~~~~~~~~~~~~~~~
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o search.o search.c
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o base64.o base64.c
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o arguments.o arguments.c
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o parseldif.o parseldif.c
i486-slitaz-linux-gcc -c -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o sasl.o sasl.c
arguments.c: In function 'usage':
arguments.c:183:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(fd, USAGE, strlen(USAGE));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parseldif.c: In function 'ldif_read_ad':
parseldif.c:43:16: warning: implicit declaration of function 'getc_unlocked'; did you mean 'g_bit_unlock'? [-Wimplicit-function-declaration]
   switch ( c = getc_unlocked(s)) {
                ^~~~~~~~~~~~~
                g_bit_unlock
sasl.c: In function 'finish_sasl_redirection':
sasl.c:72:2: warning: implicit declaration of function 'fdcp'; did you mean 'xdup'? [-Wimplicit-function-declaration]
  fdcp(defaults->fd, 2);
  ^~~~
  xdup
i486-slitaz-linux-gcc -D_GLIBCXX_USE_C99_MATH=1  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i486 -Os -pipe -mindirect-branch=thunk -o ldapvi ldapvi.o data.o diff.o error.o misc.o parse.o port.o print.o search.o base64.o arguments.o parseldif.o schema.c sasl.o -Wl,-Os,--as-needed -lcrypt -lssl -lssl -lcrypto -lglib-2.0 -lreadline -lpopt -lcurses -lldap -llber -lresolv 
================================================================================

Executing strip on all files...                                        Done
  Time: 0.12s. Size: 110732 B -> 93064 B. Save: 17 KB.
================================================================================


Build dependencies to remove: 43
Removing: cyrus-sasl cyrus-sasl-dev db db-dev glib glib-dev krb5 krb5-clients krb5-dev krb5-plugins krb5-user libcomerr3 libdb libdb-cxx libgdbm libkrb5 libkrb5support libldap libpcre libpcre16 libpcre32 libpcrecpp libpcreposix libsasl libsasl-modules openldap openldap-dev openssl-dev pcre pcre-apps pcre-dev perl perl-core popt-dev readline-dev util-linux-blkid util-linux-blkid-dev util-linux-mount util-linux-mount-dev util-linux-smartcols util-linux-uuid util-linux-uuid-dev zlib-dev


Pack: ldapvi 1.7
================================================================================
Executing: genpkg_rules
Copying folders and files...                                           Done
Copying "receipt"...                                                   Done
Determining package architecture...                                    i486
Creating the list of files...                                          Done
Creating md5sum of files...                                            Done
Compressing the FS...                                                  Done
Creating full cpio archive...                                          Done
QA: checking for empty package...                                      Done
Removing old package "ldapvi-1.7-i486.tazpkg"                          Done
The release checksum has changed.
================================================================================
Package "ldapvi-1.7-i486.tazpkg" created


Post-check
================================================================================
Checking build...                                                      Done
Checking 'any' arch...                                                 Done
Checking libtool in source/ldapvi-1.7...                               Done
Checking site script in source/ldapvi-1.7...                           Done
Checking ownership in install...                                       Done
Checking permissions in install...                                     Done
Checking broken symlinks in install...                                 Done
Querying Repology...                                                   Done
Updating activity log...                                               Done
================================================================================


Summary for: ldapvi 1.7
================================================================================
Src file    : ldapvi-1.7.tar.gz
Src size    : 120.0K
Source dir  : 872.0K
Produced    : 104.0K
Cook time   : 34s
Cook date   : 2020-07-07 12:32
Target arch : i486
--------------------------------------------------------------------------------
 # :  Packed : Compressed : Files : Package name
--------------------------------------------------------------------------------
 1 :  120.0K :      35.3K :     1 : ldapvi-1.7-i486.tazpkg
================================================================================