Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 431538 Details for
Bug 564998
dev-libs/libmemcache-1.4.0_rc2-r1 : memcache.c:2209:43: error: dereferencing pointer to incomplete type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-libs:libmemcache-1.4.0_rc2-r1:20160422-133822.log
dev-libs:libmemcache-1.4.0_rc2-r1:20160422-133822.log (text/plain), 19.42 KB, created by
Toralf Förster
on 2016-04-22 13:40:54 UTC
(
hide
)
Description:
dev-libs:libmemcache-1.4.0_rc2-r1:20160422-133822.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2016-04-22 13:40:54 UTC
Size:
19.42 KB
patch
obsolete
> * Package: dev-libs/libmemcache-1.4.0_rc2-r1 > * Repository: gentoo > * Maintainer: robbat2@gentoo.org prometheanfire@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking libmemcache-1.4.0.rc2.tar.bz2 to /var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work >>>> Source unpacked in /var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work >>>> Preparing source in /var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2 ... > * Applying libmemcache-1.4.0_rc2-inline.patch ... > [ ok ] > * Applying libmemcache-1.4.0_rc2-implicit_pointer.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2' ... > * Running libtoolize --install --copy --force --automake ... > [ ok ] > * Running aclocal ... > [ ok ] > * Running autoconf --force ... > [ ok ] > * Running autoheader ... > [ ok ] > * Running automake --add-missing --copy --foreign --force-missing ... > [ ok ] > * Running elibtoolize in: libmemcache-1.4.0.rc2/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2 ... > * econf: updating libmemcache-1.4.0.rc2/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating libmemcache-1.4.0.rc2/config.guess with /usr/share/gnuconfig/config.guess >./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 --libdir=/usr/lib64 >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for style of include used by make... GNU >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 >checking for an ANSI C-conforming const... yes >checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes >checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3 >checking how to print strings... printf >checking for a sed that does not truncate output... /bin/sed >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fgrep... /bin/grep -F >checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok >checking for sysroot... no >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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 for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >checking whether ln -s works... yes >checking for killall... /usr/bin/killall >checking for memcached... no >checking for md5... no >checking for svn2cl... no >checking if x86_64-pc-linux-gnu-gcc supports -Wpacked... yes >checking if x86_64-pc-linux-gnu-gcc supports -Wdisabled-optimization... yes >checking if x86_64-pc-linux-gnu-gcc supports -std=c99... yes >checking if x86_64-pc-linux-gnu-gcc supports variadic macros... yes >checking size of uint16_t... 2 >checking size of u_int16_t... 2 >checking size of unsigned short int... 2 >checking size of uint32_t... 4 >checking size of u_int32_t... 4 >checking size of unsigned long... 8 >checking size of unsigned int... 4 >checking size of u_int64_t... 8 >checking size of unsigned long... (cached) 8 >checking size of unsigned long long... 8 >checking size of unsigned longlong... 0 >checking for ANSI C header files... (cached) yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking netdb.h usability... yes >checking netdb.h presence... yes >checking for netdb.h... yes >checking netinet/in.h usability... yes >checking netinet/in.h presence... yes >checking for netinet/in.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for strings.h... (cached) yes >checking sys/socket.h usability... yes >checking sys/socket.h presence... yes >checking for sys/socket.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 for an ANSI C-conforming const... (cached) yes >checking for inline... inline >checking for pid_t... yes >checking for size_t... yes >checking whether time.h and sys/time.h may both be included... yes >checking for stdlib.h... (cached) yes >checking for GNU libc compatible malloc... yes >checking for working memcmp... yes >checking sys/select.h usability... yes >checking sys/select.h presence... yes >checking for sys/select.h... yes >checking for sys/socket.h... (cached) yes >checking types of arguments for select... int,fd_set *,struct timeval * >checking for bzero... yes >checking for gettimeofday... yes >checking for memchr... yes >checking for memset... yes >checking for select... yes >checking for socket... yes >checking for strerror... yes >checking for strtol... yes >checking for setsockopt in -lsocket... no >checking for enabled debug CFLAGS... no >checking whether to use SO_RCVTIMEO with setsockopt()... yes >checking whether to use SO_SNDTIMEO with setsockopt()... yes >checking for default buffer size for "get" commands... 4096 >checking for client side hash algo preference... crc32 >checking viability of using protocol assertions... yes >checking for enabled compiler optimizations... yes >checking for enabled profiling CFLAGS... no >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating doc/Makefile >config.status: creating include/Makefile >config.status: creating include/memcache.h >config.status: creating include/memcache/Makefile >config.status: creating src/Makefile >config.status: creating test/Makefile >config.status: creating test/benchmark/Makefile >config.status: creating test/buffer_recycle/Makefile >config.status: creating test/long_val/Makefile >config.status: creating test/regress/Makefile >config.status: creating test/redundant_server/Makefile >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2 ... >make -j1 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2' >Making all in doc >make[2]: Entering directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2/doc' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2/doc' >Making all in include >make[2]: Entering directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2/include' >Making all in memcache >make[3]: Entering directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2/include/memcache' >make[3]: Nothing to be done for 'all'. >make[3]: Leaving directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2/include/memcache' >make[3]: Entering directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2/include' >make[3]: Nothing to be done for 'all-am'. >make[3]: Leaving directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2/include' >make[2]: Leaving directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2/include' >Making all in src >make[2]: Entering directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2/src' >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -std=c99 -march=native -O2 -pipe -Wall -pipe -Wpacked -Wdisabled-optimization -MT memcache.lo -MD -MP -MF .deps/memcache.Tpo -c -o memcache.lo memcache.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -std=c99 -march=native -O2 -pipe -Wall -pipe -Wpacked -Wdisabled-optimization -MT memcache.lo -MD -MP -MF .deps/memcache.Tpo -c memcache.c -fPIC -DPIC -o .libs/memcache.o >memcache.c:45:2: warning: #warning "Working around busted-ass Linux header include problems: use FreeBSD instead" [-Wcpp] > #warning "Working around busted-ass Linux header include problems: use FreeBSD > ^ >memcache.c:46:2: warning: #warning "http://www.FreeBSD.org/ - you won't regret it" [-Wcpp] > #warning "http://www.FreeBSD.org/ - you won't regret it" > ^ >memcache.c: In function âmcm_err_funcâ: >memcache.c:1013:31: warning: variable âctxtâ set but not used [-Wunused-but-set-variable] > const struct memcache_ctxt *ctxt; > ^ >memcache.c: In function âmcm_hash_key_funcâ: >memcache.c:1629:31: warning: variable âctxtâ set but not used [-Wunused-but-set-variable] > const struct memcache_ctxt *ctxt; > ^ >In file included from memcache.c:60:0: >memcache.c: In function âmcm_server_add3â: >memcache.c:2082:35: warning: implicit declaration of function âgai_strerrorâ [-Wimplicit-function-declaration] > MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(ret)); > ^ >../include/memcache.h:1066:89: note: in definition of macro âMCM_ERR_MSGâ > _code, _msg) mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, (_msg > ^ >../include/memcache.h:1066:101: warning: comparison between pointer and integer > mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, (_msg != NULL ? s > ^ >memcache.c:2082:5: note: in expansion of macro âMCM_ERR_MSGâ > MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(ret)); > ^ >memcache.c:2082:35: warning: passing argument 1 of âstrlenâ makes pointer from integer without a cast [-Wint-conversion] > MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(ret)); > ^ >../include/memcache.h:1066:118: note: in definition of macro âMCM_ERR_MSGâ > R_FLAG, __FUNCTION__, __LINE__, _code, _msg, (_msg != NULL ? strlen(_msg) : 0), > ^ >In file included from memcache.c:35:0: >/usr/include/string.h:394:15: note: expected âconst char *â but argument is of type âintâ > extern size_t strlen (const char *__s) > ^ >In file included from memcache.c:60:0: >memcache.c:2082:35: warning: passing argument 6 of âmcm_errâ makes pointer from integer without a cast [-Wint-conversion] > MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(ret)); > ^ >../include/memcache.h:1066:89: note: in definition of macro âMCM_ERR_MSGâ > _code, _msg) mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, (_msg > ^ >memcache.c:768:1: note: expected âconst char *â but argument is of type âintâ > mcm_err(const struct memcache_ctxt *ctxt, const u_int32_t flags, const char *fu > ^ >memcache.c: In function âmcm_server_connectâ: >memcache.c:2209:43: error: dereferencing pointer to incomplete type âstruct addrinfoâ > if (ms->hostinfo == NULL || ms->hostinfo->ai_addrlen == 0) { > ^ >In file included from memcache.c:60:0: >../include/memcache.h:1066:101: warning: comparison between pointer and integer > mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, (_msg != NULL ? s > ^ >memcache.c:2212:7: note: in expansion of macro âMCM_ERR_MSGâ > MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(i)); > ^ >memcache.c:2212:37: warning: passing argument 1 of âstrlenâ makes pointer from integer without a cast [-Wint-conversion] > MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(i)); > ^ >../include/memcache.h:1066:118: note: in definition of macro âMCM_ERR_MSGâ > R_FLAG, __FUNCTION__, __LINE__, _code, _msg, (_msg != NULL ? strlen(_msg) : 0), > ^ >In file included from memcache.c:35:0: >/usr/include/string.h:394:15: note: expected âconst char *â but argument is of type âintâ > extern size_t strlen (const char *__s) > ^ >In file included from memcache.c:60:0: >memcache.c:2212:37: warning: passing argument 6 of âmcm_errâ makes pointer from integer without a cast [-Wint-conversion] > MCM_ERR_MSG(MCM_ERR_NET_HOST, gai_strerror(i)); > ^ >../include/memcache.h:1066:89: note: in definition of macro âMCM_ERR_MSGâ > _code, _msg) mcm_err(ctxt, ERR_FLAG, __FUNCTION__, __LINE__, _code, _msg, (_msg > ^ >memcache.c:768:1: note: expected âconst char *â but argument is of type âintâ > mcm_err(const struct memcache_ctxt *ctxt, const u_int32_t flags, const char *fu > ^ >memcache.c:2218:66: warning: left-hand operand of comma expression has no effect [-Wunused-value] > for (i = 0, res = ms->hostinfo; res != NULL; res = res->ai_next, i++) { > ^ >memcache.c: In function âmcm_server_freeâ: >memcache.c:2452:5: warning: implicit declaration of function âfreeaddrinfoâ [-Wimplicit-function-declaration] > freeaddrinfo(ms->hostinfo); > ^ >memcache.c: In function âmcm_server_resolveâ: >memcache.c:2597:19: error: storage size of âhintsâ isnât known > struct addrinfo hints, *res; > ^ >memcache.c:2613:24: error: invalid application of âsizeofâ to incomplete type âstruct addrinfoâ > bzero(&hints, sizeof(struct addrinfo)); > ^ >memcache.c:2617:9: warning: implicit declaration of function âgetaddrinfoâ [-Wimplicit-function-declaration] > ret = getaddrinfo(ms->hostname, ms->port, &hints, &ms->hostinfo); > ^ >memcache.c:2597:19: warning: unused variable âhintsâ [-Wunused-variable] > struct addrinfo hints, *res; > ^ >Makefile:453: recipe for target 'memcache.lo' failed >make[2]: *** [memcache.lo] Error 1 >make[2]: Leaving directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2/src' >Makefile:423: recipe for target 'all-recursive' failed >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2' >Makefile:355: recipe for target 'all' failed >make: *** [all] Error 2 >emake failed > * ERROR: dev-libs/libmemcache-1.4.0_rc2-r1::gentoo failed (compile phase): > * emake failed > * > * Call stack: > * ebuild.sh, line 133: Called src_compile > * environment, line 2660: Called default > * phase-functions.sh, line 805: Called default_src_compile > * phase-functions.sh, line 842: Called __eapi2_src_compile > * phase-helpers.sh, line 785: Called die > * The specific snippet of code: > * emake || die "emake failed" > * > * If you need support, post the output of `emerge --info '=dev-libs/libmemcache-1.4.0_rc2-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-libs/libmemcache-1.4.0_rc2-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-libs:libmemcache-1.4.0_rc2-r1:20160422-133822.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2' > * S: '/var/tmp/portage/dev-libs/libmemcache-1.4.0_rc2-r1/work/libmemcache-1.4.0.rc2'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 564998
:
416140
|
416142
|
416144
|
431536
| 431538 |
431540
|
431542
|
450882