Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 621766 Details for
Bug 713248
dev-util/cpputest-3.8 : ./.../MemoryLeakDetectorMallocMacros.h: error: expected identifier before string constant
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-util:cpputest-3.8:20200318-155820.log
dev-util:cpputest-3.8:20200318-155820.log (text/plain), 17.76 KB, created by
Toralf Förster
on 2020-03-18 16:45:45 UTC
(
hide
)
Description:
dev-util:cpputest-3.8:20200318-155820.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-03-18 16:45:45 UTC
Size:
17.76 KB
patch
obsolete
> * Package: dev-util/cpputest-3.8 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking cpputest-3.8.tar.gz to /var/tmp/portage/dev-util/cpputest-3.8/work >>>> Source unpacked in /var/tmp/portage/dev-util/cpputest-3.8/work >>>> Preparing source in /var/tmp/portage/dev-util/cpputest-3.8/work/cpputest-3.8 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-util/cpputest-3.8/work/cpputest-3.8 ... > * econf: updating cpputest-3.8/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating cpputest-3.8/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/cpputest-3.8 --htmldir=/usr/share/doc/cpputest-3.8/html --libdir=/usr/lib >checking for a BSD-compatible install... /usr/lib/portage/python3.6/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 build system type... x86_64-gentoo-linux-musl >checking host system type... x86_64-gentoo-linux-musl >checking how to print strings... printf >checking for style of include used by make... GNU >checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-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-gentoo-linux-musl-gcc accepts -g... yes >checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed >checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes >checking dependency style of x86_64-gentoo-linux-musl-gcc... none >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-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld >checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B >checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 98304 >checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop >checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r >checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-gentoo-linux-musl-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar >checking for archiver @FILE support... @ >checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip >checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib >checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-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-gentoo-linux-musl-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking how to run the C preprocessor... x86_64-gentoo-linux-musl-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-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes >checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes >checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/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 for shl_load... no >checking for shl_load in -ldld... no >checking for dlopen... yes >checking whether a program can dlopen itself... yes >checking whether a statically linked program can dlopen itself... no >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 for x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes >checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... (cached) none needed >checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... (cached) yes >checking dependency style of x86_64-gentoo-linux-musl-gcc... (cached) none >checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E >checking for x86_64-gentoo-linux-musl-g++... x86_64-gentoo-linux-musl-g++ >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-gentoo-linux-musl-g++ accepts -g... yes >checking dependency style of x86_64-gentoo-linux-musl-g++... none >checking how to run the C++ preprocessor... x86_64-gentoo-linux-musl-g++ -E >checking for ld used by x86_64-gentoo-linux-musl-g++... /usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64 >checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) is GNU ld... yes >checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes >checking for x86_64-gentoo-linux-musl-g++ option to produce PIC... -fPIC -DPIC >checking if x86_64-gentoo-linux-musl-g++ PIC flag -fPIC -DPIC works... yes >checking if x86_64-gentoo-linux-musl-g++ static flag -static works... yes >checking if x86_64-gentoo-linux-musl-g++ supports -c -o file.o... yes >checking if x86_64-gentoo-linux-musl-g++ supports -c -o file.o... (cached) yes >checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes >checking dynamic linker characteristics... (cached) GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether ln -s works... yes >checking whether make sets $(MAKE)... (cached) yes >checking whether make supports nested variables... (cached) yes >checking for the pthreads library -lpthreads... no >checking whether pthreads work without any flags... yes >checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE >checking if more special flags are required for pthreads... no >checking if we can link -lpthread to work around a gcc bug (on MacOSX)... yes >checking stddef.h usability... yes >checking stddef.h presence... yes >checking for stddef.h... yes >checking for stdint.h... (cached) yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) 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 inline... inline >checking for int16_t... yes >checking for int32_t... yes >checking for int64_t... yes >checking for int8_t... yes >checking for pid_t... yes >checking for size_t... yes >checking for uint16_t... yes >checking for uint32_t... yes >checking for uint64_t... yes >checking for uint8_t... yes >checking for unsigned long long int... yes >checking for long long int... yes >checking vfork.h usability... no >checking vfork.h presence... no >checking for vfork.h... no >checking for fork... yes >checking for vfork... yes >checking for working fork... yes >checking for working vfork... (cached) yes >checking for gettimeofday... yes >checking for memset... yes >checking for strstr... yes >checking for gcc... yes >checking for clang... yes >checking for lcov... no >checking for valgrind... yes >checking for dash... no >checking whether CXX supports -std=c++0x... yes >checking whether CXX supports -std=c++11... yes >checking whether CXX supports -stdlib=libc++... no >checking whether CXX supports -Wno-c++98-compat... yes >checking whether CXX supports -Wno-c++98-compat-pedantic... yes >checking whether CC and CXX supports -Wno-c++11-long-long... yes >checking whether CC supports -Wno-long-long... yes >checking whether CC and CXX supports -Weverything... no >checking whether CC and CXX supports -Wall... yes >checking whether CC and CXX supports -Wextra... yes >checking whether CC and CXX supports -Wshadow... yes >checking whether CC and CXX supports -Wswitch-default... yes >checking whether CC and CXX supports -Wswitch-enum... yes >checking whether CC and CXX supports -Wconversion... yes >checking whether CC and CXX supports -pedantic... yes >checking whether CC supports -Wsign-conversion... yes >checking whether CXX supports -Wsign-conversion... yes >checking whether CXX supports -Woverloaded-virtual... yes >checking whether CC supports -Wstrict-prototypes... no >checking whether CC and CXX supports -Wno-disabled-macro-expansion... yes >checking whether CC and CXX supports -Wno-padded... yes >checking whether CC and CXX supports -Wno-reserved-id-macro... yes >checking whether CC and CXX supports -Wno-keyword-macro... yes >checking whether CXX supports -Wno-global-constructors... yes >checking whether CXX supports -Wno-exit-time-destructors... yes >checking whether CXX supports -Wno-weak-vtables... yes >checking whether CXX supports -Wno-old-style-cast... yes >checking whether CXX and the linker supports --coverage (broken in clang 3.3)... yes >checking whether CXX supports operator delete without exception handling specifier... no >checking whether CXX supports operator new with exception handling specifier... no >checking whether CXX supports -Wno-missing-exception-spec... yes >checking whether CXXLD supports -Qunused-arguments linker option... no >checking whether LD supports -Wl,-map... no >checking for the availability of gmock via the GMOCK_HOME variable... checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating cpputest.pc >config.status: creating Makefile >config.status: creating config.h >config.status: executing generated/CppUTestGeneratedConfig.h commands >config.status: creating generated/CppUTestGeneratedConfig.h - prefix CPPUTEST for config.h defines >config.status: generated/CppUTestGeneratedConfig.h is unchanged >config.status: executing depfiles commands >config.status: executing libtool commands >---------------------------------------------------------------- > >CppUTest Version 3.8 > >Current compiler options: > CC: x86_64-gentoo-linux-musl-gcc > CXX: x86_64-gentoo-linux-musl-g++ > LD: /usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64 > Default CFLAGS: -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 > Default CXXFLAGS: -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 > CppUTest CFLAGS: -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro > CppUTest CXXFLAGS: -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast > CppUTest CPPFLAGS: -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include > CppUTest LDFLAGS: > CppUTest LIB: -lpthread > >Features configured in CppUTest: > Memory Leak Detection: yes > Compiling extensions: yes > Use Long Long (if available): yes > Disable CppUTest compile/link flags: yes > > Using Standard C++ Library: yes > Using Standard C Library: yes > > Generating map file: no > Compiling w coverage info: no > >---------------------------------------------------------------- >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-util/cpputest-3.8/work/cpputest-3.8 ... >make -j1 >make all-am >make[1]: Entering directory '/var/tmp/portage/dev-util/cpputest-3.8/work/cpputest-3.8' >x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -include ./include/CppUTest/MemoryLeakDetectorMallocMacros.h -I ./include -include ./include/CppUTest/MemoryLeakDetectorNewMacros.h -Wno-c++11-long-long -Wno-long-long -Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum -Wconversion -pedantic -Wsign-conversion -Woverloaded-virtual -Wno-disabled-macro-expansion -Wno-padded -Wno-reserved-id-macro -Wno-keyword-macro -Wno-global-constructors -Wno-exit-time-destructors -Wno-weak-vtables -Wno-old-style-cast -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o src/CppUTest/lib_libCppUTest_a-CommandLineArguments.o `test -f 'src/CppUTest/CommandLineArguments.cpp' || echo './'`src/CppUTest/CommandLineArguments.cpp >././include/CppUTest/MemoryLeakDetectorMallocMacros.h:51:53: error: expected identifier before string constant > 51 | #define calloc(a, b) cpputest_calloc_location(a, b, __FILE__, __LINE__) > | ^~~~~~~~ >././include/CppUTest/MemoryLeakDetectorMallocMacros.h:51:53: error: expected â,â or â...â before string constant >In file included from <command-line>: >././include/CppUTest/MemoryLeakDetectorMallocMacros.h:51:22: error: conflicting declaration of C function âvoid* cpputest_calloc_location(size_t, size_t, int)â > 51 | #define calloc(a, b) cpputest_calloc_location(a, b, __FILE__, __LINE__) > | ^~~~~~~~~~~~~~~~~~~~~~~~ >././include/CppUTest/MemoryLeakDetectorMallocMacros.h:25:14: note: previous declaration âvoid* cpputest_calloc_location(size_t, size_t, const char*, int)â > 25 | extern void* cpputest_calloc_location(size_t count, size_t size, const char* file, int line); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >././include/CppUTest/MemoryLeakDetectorMallocMacros.h:53:43: error: expected identifier before string constant > 53 | #define free(a) cpputest_free_location(a, __FILE__, __LINE__) > | ^~~~~~~~ >././include/CppUTest/MemoryLeakDetectorMallocMacros.h:53:43: error: expected â,â or â...â before string constant >././include/CppUTest/MemoryLeakDetectorMallocMacros.h:53:17: error: conflicting declaration of C function âvoid cpputest_free_location(void*, int)â > 53 | #define free(a) cpputest_free_location(a, __FILE__, __LINE__) > | ^~~~~~~~~~~~~~~~~~~~~~ >././include/CppUTest/MemoryLeakDetectorMallocMacros.h:27:13: note: previous declaration âvoid cpputest_free_location(void*, const char*, int)â > 27 | extern void cpputest_free_location(void* buffer, const char* file, int line); > | ^~~~~~~~~~~~~~~~~~~~~~ >cc1plus: warning: unrecognized command line option â-Wno-weak-vtablesâ >cc1plus: warning: unrecognized command line option â-Wno-exit-time-destructorsâ >cc1plus: warning: unrecognized command line option â-Wno-global-constructorsâ >cc1plus: warning: unrecognized command line option â-Wno-keyword-macroâ >cc1plus: warning: unrecognized command line option â-Wno-reserved-id-macroâ >cc1plus: warning: unrecognized command line option â-Wno-disabled-macro-expansionâ >cc1plus: warning: unrecognized command line option â-Wno-c++11-long-longâ >make[1]: *** [Makefile:1540: src/CppUTest/lib_libCppUTest_a-CommandLineArguments.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-util/cpputest-3.8/work/cpputest-3.8' >make: *** [Makefile:919: all] Error 2 > * ERROR: dev-util/cpputest-3.8::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-util/cpputest-3.8::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-util/cpputest-3.8::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-util:cpputest-3.8:20200318-155820.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/cpputest-3.8/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-util/cpputest-3.8/temp/environment'. > * Working directory: '/var/tmp/portage/dev-util/cpputest-3.8/work/cpputest-3.8' > * S: '/var/tmp/portage/dev-util/cpputest-3.8/work/cpputest-3.8'
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 713248
:
621764
| 621766 |
621768
|
621770
|
621772
|
621774
|
621776