Cook: thttpd 2.25b ================================================================================ QA: checking package receipt... Extracting source archive "thttpd-2.25b.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 Applying patch htpassword.c.u patching file extras/htpasswd.c loading site script /etc/slitaz/cook.site creating cache ./config.cache checking host system type... i486-slitaz-linux-gnu checking target system type... i486-slitaz-linux-gnu checking build system type... i486-slitaz-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed) works... yes checking whether the C compiler (gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking gcc version... 8 checking how to link static binaries... unknown checking for __progname... yes checking how to run the C preprocessor... gcc -E checking for fcntl.h... yes checking for grp.h... yes checking for memory.h... yes checking for paths.h... yes checking for poll.h... yes checking for sys/poll.h... yes checking for sys/devpoll.h... no checking for sys/event.h... no checking for osreldate.h... no checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for /usr/local/v6/lib... no checking for gethostbyname... yes checking for socket... yes checking for main in -linet6... no checking for crypt... no checking for crypt in -lcrypt... yes checking for hstrerror... yes checking for strerror... yes checking for waitpid... yes checking for vsnprintf... yes checking for daemon... yes checking for setsid... yes checking for setlogin... no checking for getaddrinfo... yes checking for getnameinfo... yes checking for gai_strerror... yes checking for kqueue... no checking for sigset... yes checking for atoll... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... yes checking for select... yes checking for poll... yes checking if struct tm has tm_gmtoff member... yes checking if int64_t exists... yes checking if socklen_t exists... yes checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/bin/install -c updating cache ./config.cache creating ./config.status creating Makefile creating cgi-src/Makefile creating extras/Makefile rm -f mime_encodings.h gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c thttpd.c rm -f mime_types.h sed < mime_encodings.txt > mime_encodings.h \ -e 's/#.*//' -e 's/[ ]*$//' -e '/^$/d' \ -e 's/[ ][ ]*/", 0, "/' -e 's/^/{ "/' -e 's/$/", 0 },/' sed < mime_types.txt > mime_types.h \ -e 's/#.*//' -e 's/[ ]*$//' -e '/^$/d' \ -e 's/[ ][ ]*/", 0, "/' -e 's/^/{ "/' -e 's/$/", 0 },/' gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1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-DHAVE_SOCKLENT=1 -I. -c tdate_parse.c for i in cgi-src extras ; do ( \ cd $i ; \ pwd ; \ make -j6 --jobserver-auth=4,5 \ WEBDIR=/usr/www \ CGIBINDIR=/usr/www/cgi-bin \ MANDIR=/usr/share/man \ WEBGROUP=www \ ) ; done /home/slitaz/wok/thttpd/source/thttpd-2.25b/cgi-src make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/home/slitaz/wok/thttpd/source/thttpd-2.25b/cgi-src' gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -c ssi.c gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 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AVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -c libhttpd.c thttpd.c: In function 'main': thttpd.c:611:12: warning: implicit declaration of function 'sigset'; did you mean 'isset'? [-Wimplicit-function-declaration] (void) sigset( SIGTERM, handle_term ); ^~~~~~ isset gcc -Wl,-Os,--as-needed phf.o -lcrypt -o phf thttpd.c:487:12: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] (void) getcwd( cwd, sizeof(cwd) - 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ thttpd.c: In function 'handle_alrm': thttpd.c:312:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir( "/tmp" ); ^~~~~~~~~~~~~~~ gcc -Wl,-Os,--as-needed redirect.o -lcrypt -o redirect libhttpd.c: In function 'cgi_child': libhttpd.c:3507:12: warning: implicit declaration of function 'sigset'; did you mean 'isset'? [-Wimplicit-function-declaration] (void) sigset( SIGPIPE, SIG_DFL ); ^~~~~~ isset libhttpd.c: In function 'ls': libhttpd.c:2747:13: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] (void) nice( CGI_NICE ); ^~~~~~~~~~~~~~~~ libhttpd.c: In function 'cgi_child': libhttpd.c:3483:12: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] (void) nice( CGI_NICE ); ^~~~~~~~~~~~~~~~ libhttpd.c:3501:13: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir( directory ); /* ignore errors */ ^~~~~~~~~~~~~~~~~~ libhttpd.c: In function 'post_post_garbage_hack': libhttpd.c:3200:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read( hc->conn_fd, buf, sizeof(buf) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-Os,--as-needed ssi.o ../match.o -lcrypt -o ssi make[1]: Leaving directory '/home/slitaz/wok/thttpd/source/thttpd-2.25b/cgi-src' /home/slitaz/wok/thttpd/source/thttpd-2.25b/extras make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/home/slitaz/wok/thttpd/source/thttpd-2.25b/extras' gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -DWEBDIR=\"/usr/www\" -c makeweb.c gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I.. -DWEBDIR=\"/usr/www\" -c htpasswd.c htpasswd.c: In function 'main': htpasswd.c:216:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(command); ^~~~~~~~~~~~~~~ htpasswd.c: In function 'add_password': htpasswd.c:117:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void) fgets( pass, sizeof(pass), stdin ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makeweb.c: In function 'check_dir': makeweb.c:97:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] (void) chown( dirname, -1, gid ); ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-Os,--as-needed makeweb.o -o makeweb -lcrypt gcc -Wl,-Os,--as-needed htpasswd.o -o htpasswd -lcrypt make[1]: Leaving directory '/home/slitaz/wok/thttpd/source/thttpd-2.25b/extras' gcc -O2 -DHAVE__PROGNAME=1 -DHAVE_FCNTL_H=1 -DHAVE_GRP_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1 -DHAVE_POLL_H=1 -DHAVE_SYS_POLL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBCRYPT=1 -DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_VSNPRINTF=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_SIGSET=1 -DHAVE_ATOLL=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_POLL=1 -DHAVE_TM_GMTOFF=1 -DHAVE_INT64T=1 -DHAVE_SOCKLENT=1 -I. -Wl,-Os,--as-needed -o thttpd thttpd.o libhttpd.o fdwatch.o mmc.o timers.o match.o tdate_parse.o -lcrypt ================================================================================ Executing strip on all files... Done Time: 0.25s. Size: 126960 B -> 108512 B. Save: 18 KB. ================================================================================ Pack: thttpd 2.25b ================================================================================ 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 "thttpd-2.25b-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "thttpd-2.25b-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/thttpd-2.25b... Done Checking site script in source/thttpd-2.25b... 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: thttpd 2.25b ================================================================================ Src file : thttpd-2.25b.tar.gz Src size : 132.0K Source dir : 1.1M Produced : 160.0K Cook time : 11s Cook date : 2020-07-08 02:34 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 176.0K : 41.5K : 5 : thttpd-2.25b-i486.tazpkg ================================================================================