* Package: dev-libs/grok-0.9.2-r1 * Repository: gentoo * Maintainer: ercpe@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking grok-0.9.2.tar.gz to /var/tmp/portage/dev-libs/grok-0.9.2-r1/work >>> Source unpacked in /var/tmp/portage/dev-libs/grok-0.9.2-r1/work >>> Preparing source in /var/tmp/portage/dev-libs/grok-0.9.2-r1/work/grok-0.9.2 ... * Applying grok-0.9.2-Makefile.patch ... [ ok ] * Applying 0.9.2-build-with-pcre-lt-8.34.patch ... [ ok ] * Applying grok-0.9.2-build-with-gperf-3.1.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/grok-0.9.2-r1/work/grok-0.9.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/grok-0.9.2-r1/work/grok-0.9.2 ... make -j1 sh ./version.sh --header > grok_version.h [ -f grok_capture_xdr.h ] && rm grok_capture_xdr.h || true rpcgen -h grok_capture.x -o grok_capture_xdr.h x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok.c -o grok.o In file included from grok.h:141:0, from grok.c:1: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grokre.c -o grokre.o grokre.c:15:0: warning: "CAPTURE_ID_LEN" redefined #define CAPTURE_ID_LEN 5 In file included from grokre.c:9:0: grok.h:126:0: note: this is the location of the previous definition #define CAPTURE_ID_LEN 4 grokre.c:16:0: warning: "CAPTURE_FORMAT" redefined #define CAPTURE_FORMAT "_%04x" In file included from grokre.c:9:0: grok.h:127:0: note: this is the location of the previous definition #define CAPTURE_FORMAT "%04x" grokre.c: In function ‘grok_pattern_expand’: grokre.c:312:12: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] free(pattern_regex); ^~~~~~~~~~~~~ In file included from /usr/include/pcre.h:90:0, from grokre.c:1: /usr/include/stdlib.h:460:13: note: expected ‘void *’ but argument is of type ‘const char *’ extern void free (void *__ptr) __THROW; ^~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok_capture.c -o grok_capture.o In file included from grok.h:141:0, from grok_capture.c:1: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok_pattern.c -o grok_pattern.o In file included from grok.h:141:0, from grok_pattern.c:5: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux stringhelper.c -o stringhelper.o x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux predicates.c -o predicates.o In file included from grok.h:141:0, from grok_logging.h:4, from predicates.c:5: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ [ -f grok_capture_xdr.c ] && rm grok_capture_xdr.c || true rpcgen -c grok_capture.x -o grok_capture_xdr.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok_capture_xdr.c -o grok_capture_xdr.o In file included from grok.h:141:0, from grok_capture.h:5, from grok_capture_xdr.c:6: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok_match.c -o grok_match.o In file included from grok.h:141:0, from grok_match.c:1: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok_logging.c -o grok_logging.o In file included from grok.h:141:0, from grok_logging.c:5: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok_program.c -o grok_program.o grok_program.c:16:14: warning: ‘_event_init’ defined but not used [-Wunused-variable] static void *_event_init = NULL; ^~~~~~~~~~~ In file included from grok.h:141:0, from grok_program.c:1: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok_input.c -o grok_input.o In file included from grok.h:141:0, from grok_input.c:13: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok_matchconf.c -o grok_matchconf.o In file included from grok.h:141:0, from grok_matchconf.c:7: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux libc_helper.c -o libc_helper.o /usr/bin/gperf grok_matchconf_macro.gperf > grok_matchconf_macro.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok_matchconf_macro.c -o grok_matchconf_macro.o /usr/bin/gperf filters.gperf > filters.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux filters.c -o filters.o In file included from grok.h:141:0, from filters.gperf:3: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok_discover.c -o grok_discover.o grok_discover.c: In function ‘grok_discover_init’: grok_discover.c:54:9: warning: implicit declaration of function ‘asprintf’ [-Wimplicit-function-declaration] if (asprintf(&gpattern, "%%{%.*s}", namelen, name) == -1) { ^~~~~~~~ grok_discover.c:75:7: warning: value computed is not used [-Wunused-value] *key--; ^~~~~~ grok_discover.c: In function ‘grok_discover’: grok_discover.c:136:18: warning: unused variable ‘complexity’ [-Wunused-variable] const int *complexity = (const int *)key; ^~~~~~~~~~ In file included from ./grok.h:141:0, from grok_discover.c:1: At top level: ./grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ grok_discover.c: In function ‘complexity’: grok_discover.c:229:9: warning: ‘score’ is used uninitialized in this function [-Wuninitialized] score += string_count(grok->full_pattern, "|"); ^~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux conf.tab.c -o conf.tab.o conf.tab.c: In function ‘yyparse’: conf.tab.c:745:16: warning: implicit declaration of function ‘yylex’ [-Wimplicit-function-declaration] # define YYLEX yylex (&yylval, &yylloc) ^ conf.tab.c:1429:16: note: in expansion of macro ‘YYLEX’ yychar = YYLEX; ^~~~~ conf.y:86:7: warning: implicit declaration of function ‘conf_new_patternfile’ [-Wimplicit-function-declaration] { conf_new_patternfile(conf); CURPATTERNFILE = $3; } ^ ~~~~~ In file included from grok.h:141:0, from grok_matchconf.h:4, from conf.y:8: At top level: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux conf.yy.c -o conf.yy.o conf.yy.c:1433:16: warning: ‘input’ defined but not used [-Wunused-function] static int input (void) ^~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux main.c -o main.o main.c: In function ‘main’: main.c:68:7: warning: implicit declaration of function ‘yyparse’ [-Wimplicit-function-declaration] i = yyparse(&c); ^~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux grok_config.c -o grok_config.o In file included from grok.h:141:0, from grok_matchconf.h:4, from grok_config.c:8: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -levent grok.o grokre.o grok_capture.o grok_pattern.o stringhelper.o predicates.o grok_capture_xdr.o grok_match.o grok_logging.o grok_program.o grok_input.o grok_matchconf.o libc_helper.o grok_matchconf_macro.o filters.o grok_discover.o conf.tab.o conf.yy.o main.o grok_config.o -lpcre -levent -rdynamic -ltokyocabinet -ldl -o grok x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -Wall -fPIC -I. -DPLATFORM_GNULinux discover_main.c -o discover_main.o discover_main.c: In function ‘main’: discover_main.c:63:7: warning: unused variable ‘i’ [-Wunused-variable] int i; ^ In file included from grok.h:141:0, from discover_main.c:2: At top level: grok_version.h:3:20: warning: ‘GROK_VERSION’ defined but not used [-Wunused-variable] static const char *GROK_VERSION = "1.20170816.1"; ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed grok.o grokre.o grok_capture.o grok_pattern.o stringhelper.o predicates.o grok_capture_xdr.o grok_match.o grok_logging.o grok_program.o grok_input.o grok_matchconf.o libc_helper.o grok_matchconf_macro.o filters.o grok_discover.o discover_main.o -lpcre -levent -rdynamic -ltokyocabinet -ldl -o discogrok x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -fPIC -shared -Wl,-soname=libgrok.so.1 grok.o grokre.o grok_capture.o grok_pattern.o stringhelper.o predicates.o grok_capture_xdr.o grok_match.o grok_logging.o grok_program.o grok_input.o grok_matchconf.o libc_helper.o grok_matchconf_macro.o filters.o grok_discover.o -lpcre -levent -rdynamic -ltokyocabinet -ldl -o libgrok.so ln -s libgrok.so libgrok.so.1 rm filters.c grok_matchconf_macro.c >>> Source compiled. >>> Test phase [not enabled]: dev-libs/grok-0.9.2-r1 >>> Install grok-0.9.2-r1 into /var/tmp/portage/dev-libs/grok-0.9.2-r1/image/ category dev-libs make -j1 DESTDIR=/var/tmp/portage/dev-libs/grok-0.9.2-r1/image/ install install -d /var/tmp/portage/dev-libs/grok-0.9.2-r1/image//usr/bin install -d /var/tmp/portage/dev-libs/grok-0.9.2-r1/image//usr/lib install -d /var/tmp/portage/dev-libs/grok-0.9.2-r1/image//usr/include install -m 755 grok /var/tmp/portage/dev-libs/grok-0.9.2-r1/image//usr/bin install -m 755 discogrok /var/tmp/portage/dev-libs/grok-0.9.2-r1/image//usr/bin install -m 644 libgrok.so /var/tmp/portage/dev-libs/grok-0.9.2-r1/image//usr/lib ln -s libgrok.so /var/tmp/portage/dev-libs/grok-0.9.2-r1/image//usr/lib/libgrok.so.1 for header in grok.h grok_pattern.h grok_capture.h grok_capture_xdr.h grok_match.h grok_logging.h grok_discover.h grok_version.h; do \ install -m 644 $header /var/tmp/portage/dev-libs/grok-0.9.2-r1/image//usr/include; \ done install -d /var/tmp/portage/dev-libs/grok-0.9.2-r1/image//usr/share/grok install -d /var/tmp/portage/dev-libs/grok-0.9.2-r1/image//usr/share/grok/patterns install patterns/base /var/tmp/portage/dev-libs/grok-0.9.2-r1/image//usr/share/grok/patterns/ >>> Completed installing grok-0.9.2-r1 into /var/tmp/portage/dev-libs/grok-0.9.2-r1/image/ * Final size of build directory: 1556 KiB * Final size of installed tree: 320 KiB making executable: usr/lib/libgrok.so Files matching a file type that is not allowed: usr/lib/libgrok.so * ERROR: dev-libs/grok-0.9.2-r1::gentoo failed: * multilib-strict check failed! * * Call stack: * misc-functions.sh, line 605: Called install_qa_check * misc-functions.sh, line 217: Called source 'install_symlink_html_docs' * 80multilib-strict, line 46: Called multilib_strict_check * 80multilib-strict, line 42: Called die * The specific snippet of code: * [[ ${abort} == yes ]] && die "multilib-strict check failed!" * * If you need support, post the output of `emerge --info '=dev-libs/grok-0.9.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/grok-0.9.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:grok-0.9.2-r1:20170816-150806.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/grok-0.9.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/grok-0.9.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/grok-0.9.2-r1/image' * S: '/var/tmp/portage/dev-libs/grok-0.9.2-r1/work/grok-0.9.2'