* Package: dev-libs/libmcal-0.7-r5 * Repository: gentoo * Maintainer: robbat2@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pam policykit userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libmcal-0.7.tar.gz to /var/tmp/portage/dev-libs/libmcal-0.7-r5/work >>> Unpacking mcaldrivers-0.9.tar.gz to /var/tmp/portage/dev-libs/libmcal-0.7-r5/work * Using /var/spool/calendar instead of /var/calendar * Applying libmcal-0.7-fpic.patch ... [ ok ] * Applying libmcal-0.7-libdir.patch ... [ ok ] * Applying libmcal-0.7-gcc4.patch ... [ ok ] * Applying libmcal-0.7-flexfix.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/dev-libs/libmcal-0.7-r5/work >>> Compiling source in /var/tmp/portage/dev-libs/libmcal-0.7-r5/work/libmcal ... * Setting up mstore back-end make -j1 'CFLAGS=-march=native -O2 -pipe -DUSE_PAM -lpam -I..' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -lpam' gcc -march=native -O2 -pipe -DUSE_PAM -lpam -I.. -fPIC -I.. -I../libmcal -c -o mstore.o mstore.c mstore.c: In function ‘read_event’: mstore.c:423:2: warning: passing argument 2 of ‘ical_preprocess’ from incompatible pointer type [enabled by default] ical_preprocess(buf, &size); ^ In file included from ../mcal.h:438:0, from mstore.c:15: ../icalroutines.h:55:7: note: expected ‘size_t *’ but argument is of type ‘int *’ void ical_preprocess(char *buf, size_t *size); ^ mstore.c: In function ‘write_event’: mstore.c:457:2: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ [-Wformat=] fprintf(calfile, "%u\r\n", strlen(buf)); ^ mstore.c: In function ‘mstore_store’: mstore.c:776:12: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] event = modified_event; ^ mstore.c: In function ‘read_event’: mstore.c:418:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line), calfile); ^ mstore.c:422:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(buf, size, 1, calfile); ^ ld -r -o mstore_driver.o mstore.o touch bootstrap.in * Setting up icap back-end make -j1 'CFLAGS=-march=native -O2 -pipe -DUSE_PAM -lpam -I..' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -lpam' gcc -march=native -O2 -pipe -DUSE_PAM -lpam -I.. -fPIC -I.. -I../libmcal -c -o icap.o icap.c gcc -march=native -O2 -pipe -DUSE_PAM -lpam -I.. -fPIC -I.. -I../libmcal -c -o icaproutines.o icaproutines.c icaproutines.c: In function ‘icap_literal’: icaproutines.c:167:2: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ [-Wformat=] fprintf(net->out, " {%u}\r\n", strlen(arg)); ^ flex icapscanner.lex gcc -march=native -O2 -pipe -DUSE_PAM -lpam -I.. -fPIC -I.. -I../libmcal -c -o lex.icap_yy.o lex.icap_yy.c ld -r -o icap_driver.o icap.o icaproutines.o lex.icap_yy.o touch bootstrap.in ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-mstore --with-icap --libdir=/usr/lib64 checking for driver mstore... yes checking for driver icap... yes creating cache ./config.cache checking for flex... flex checking for yywrap in -lfl... yes checking for gcc... gcc checking whether the C compiler (gcc -march=native -O2 -pipe -DUSE_PAM -lpam -Wl,-O1 -Wl,--as-needed -lpam) works... yes checking whether the C compiler (gcc -march=native -O2 -pipe -DUSE_PAM -lpam -Wl,-O1 -Wl,--as-needed -lpam) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for unistd.h... yes checking for working const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for vprintf... yes checking for socket... yes checking for strdup... yes checking for strtoul... yes updating cache ./config.cache creating ./config.status creating Makefile make -j1 'CFLAGS=-march=native -O2 -pipe -DUSE_PAM -lpam' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -lpam' gcc -march=native -O2 -pipe -DUSE_PAM -lpam -fPIC -Iicap -Imstore -I. -c -o mcal.o mcal.c gcc -march=native -O2 -pipe -DUSE_PAM -lpam -fPIC -Iicap -Imstore -I. -c -o datetime.o datetime.c flex icalscanner.lex gcc -march=native -O2 -pipe -DUSE_PAM -lpam -fPIC -Iicap -Imstore -I. -c -o lex.ical_yy.o lex.ical_yy.c In file included from icalscanner.lex:34:0: icalroutines.h:52:12: error: conflicting types for ‘ical_yyleng’ extern int ical_yyleng; ^ lex.ical_yy.c:295:11: note: previous declaration of ‘ical_yyleng’ was here yy_size_t ical_yyleng; ^ Makefile:24: recipe for target 'lex.ical_yy.o' failed make: *** [lex.ical_yy.o] Error 1 emake failed * ERROR: dev-libs/libmcal-0.7-r5::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 1935: Called die * The specific snippet of code: * emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die * * If you need support, post the output of `emerge --info '=dev-libs/libmcal-0.7-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/libmcal-0.7-r5::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:libmcal-0.7-r5:20150311-033441.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/libmcal-0.7-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libmcal-0.7-r5/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/libmcal-0.7-r5/work/libmcal' * S: '/var/tmp/portage/dev-libs/libmcal-0.7-r5/work/libmcal'