Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 666860 Details for
Bug 750170
sys-power/powertop-2.13-r1 : ../config.h: error: rpl_malloc was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-power:powertop-2.13-r1:20201019-113531.log
sys-power:powertop-2.13-r1:20201019-113531.log (text/plain), 19.36 KB, created by
Toralf Förster
on 2020-10-19 16:41:18 UTC
(
hide
)
Description:
sys-power:powertop-2.13-r1:20201019-113531.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-10-19 16:41:18 UTC
Size:
19.36 KB
patch
obsolete
> * Package: sys-power/powertop-2.13-r1 > * Repository: gentoo > * Maintainer: mattst88@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls unicode userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 5.9.0-gentoo > * Checking for suitable kernel configuration options... > * CONFIG_CPU_FREQ_STAT: is not set when it should be. > * Please check to make sure these options are set correctly. > * Failure to do so may cause unexpected problems. > * Checking for suitable kernel configuration options... > [ ok ] >>>> Unpacking source... >>>> Unpacking powertop-2.13.tar.gz to /var/tmp/portage/sys-power/powertop-2.13-r1/work >>>> Source unpacked in /var/tmp/portage/sys-power/powertop-2.13-r1/work >>>> Preparing source in /var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13 ... > * Applying powertop-2.8-ncurses_tinfo.patch ... > [ ok ] > * Applying 0001-configure.ac-Use-PKG_PROG_PKG_CONFIG-macro.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13' ... > * Running autopoint --force ... > [ ok ] > * Running libtoolize --install --copy --force --automake ... > [ ok ] > * Running aclocal --install -I m4 ... > [ ok ] > * Running autoconf --force ... > [ ok ] > * Running autoheader ... > [ ok ] > * Running automake --add-missing --copy --foreign --force-missing ... > [ ok ] > * Running elibtoolize in: powertop-2.13/ > * 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/sys-power/powertop-2.13-r1/work/powertop-2.13 ... > * econf: updating powertop-2.13/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating powertop-2.13/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/powertop-2.13-r1 --htmldir=/usr/share/doc/powertop-2.13-r1/html --with-sysroot=/ --libdir=/usr/lib64 --enable-nls >configure: loading site script /usr/share/config.site >checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether make supports the include directive... yes (GNU style) >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >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 the compiler supports GNU C++... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed >checking dependency style of x86_64-pc-linux-gnu-g++... none >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking for sys/param.h... yes >checking for minix/config.h... no >checking whether it is safe to define __EXTENSIONS__... yes >checking whether _XOPEN_SOURCE should be defined... no >checking whether make supports nested variables... (cached) yes >checking for a sed that does not truncate output... /bin/sed >checking whether NLS is requested... yes >checking for msgfmt... /usr/bin/msgfmt >checking for gmsgfmt... /usr/bin/gmsgfmt >checking for xgettext... /usr/bin/xgettext >checking for msgmerge... /usr/bin/msgmerge >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... 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... none >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >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 shared library run path origin... done >checking 32-bit host C ABI... no >checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ELF binary format... yes >checking for the common suffixes of directories in the library search path... lib,lib,lib64 >checking for CFPreferencesCopyAppValue... no >checking for CFLocaleCopyPreferredLanguages... no >checking for GNU gettext in libc... yes >checking whether to use NLS... yes >checking where the gettext function comes from... libc >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking whether the compiler supports GNU C++... (cached) yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... (cached) none needed >checking dependency style of x86_64-pc-linux-gnu-g++... (cached) none >checking how to print strings... printf >checking for a sed that does not truncate output... (cached) /bin/sed >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... (cached) 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... / >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... mt >checking if mt is a manifest tool... no >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 how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E >checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes >checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes >checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/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 to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... no >checking whether x86_64-pc-linux-gnu-g++ supports C++11 features with -std=c++11... yes >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking whether x86_64-pc-linux-gnu-gcc is Clang... no >checking whether pthreads work with -pthread... yes >checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE >checking whether more special flags are required for pthreads... no >checking for PTHREAD_PRIO_INHERIT... yes >checking for fcntl.h... yes >checking for libintl.h... yes >checking for limits.h... yes >checking for locale.h... yes >checking for malloc.h... yes >checking for ncurses.h... yes >checking for stdint.h... (cached) yes >checking for stdlib.h... yes >checking for string.h... yes >checking for sys/ioctl.h... yes >checking for sys/socket.h... yes >checking for sys/statfs.h... yes >checking for sys/time.h... yes >checking for termios.h... yes >checking for unistd.h... (cached) yes >checking for stdbool.h that conforms to C99... yes >checking for _Bool... no >checking for inline... inline >checking for int64_t... yes >checking for pid_t... yes >checking for size_t... yes >checking for ssize_t... yes >checking for uint16_t... yes >checking for uint32_t... yes >checking for uint64_t... yes >checking for GNU libc compatible malloc... no >checking for getpagesize... yes >checking for strerror_r... yes >checking for working mmap... no >checking for GNU libc compatible realloc... no >checking how x86_64-pc-linux-gnu-g++ -std=c++11 reports undeclared, standard C functions... error >checking whether strerror_r is declared... no >checking whether strerror_r returns char *... no >checking for working strtod... no >checking for pow... yes >checking for clock_gettime... yes >checking for fdatasync... yes >checking for getpagesize... (cached) yes >checking for gettimeofday... yes >checking for memmove... yes >checking for memset... yes >checking for mkdir... yes >checking for munmap... yes >checking for pow... (cached) yes >checking for realpath... yes >checking for regcomp... yes >checking for select... yes >checking for setlocale... yes >checking for socket... yes >checking for sqrt... yes >checking for strcasecmp... yes >checking for strchr... yes >checking for strrchr... yes >checking for strdup... yes >checking for strerror... yes >checking for strncasecmp... yes >checking for strstr... yes >checking for strtoul... yes >checking for strtoull... yes >checking for library containing clock_gettime... none required >checking for ncursesw... yes >checking for PCIUTILS... yes >checking for LIBNL... yes >checking for library containing inet_aton... none required >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating Doxyfile >config.status: creating src/Makefile >config.status: creating traceevent/Makefile >config.status: creating po/Makefile.in >config.status: creating doc/Makefile >config.status: creating scripts/bash-completion/Makefile >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing po-directories commands >config.status: creating po/POTFILES >config.status: creating po/Makefile >config.status: executing libtool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13 ... >make -j1 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13' >Making all in traceevent >make[2]: Entering directory '/var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13/traceevent' >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c -o event-parse.lo event-parse.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c event-parse.c -fPIC -DPIC -o .libs/event-parse.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c event-parse.c -o event-parse.o >/dev/null 2>&1 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c -o parse-filter.lo parse-filter.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c parse-filter.c -fPIC -DPIC -o .libs/parse-filter.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c parse-filter.c -o parse-filter.o >/dev/null 2>&1 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c -o parse-utils.lo parse-utils.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c parse-utils.c -fPIC -DPIC -o .libs/parse-utils.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c parse-utils.c -o parse-utils.o >/dev/null 2>&1 >/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c -o trace-seq.lo trace-seq.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c trace-seq.c -fPIC -DPIC -o .libs/trace-seq.o >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -c trace-seq.c -o trace-seq.o >/dev/null 2>&1 >/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -pthread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libtraceevnet.la event-parse.lo parse-filter.lo parse-utils.lo trace-seq.lo >libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libtraceevnet.a .libs/event-parse.o .libs/parse-filter.o .libs/parse-utils.o .libs/trace-seq.o >libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libtraceevnet.a >libtool: link: ( cd ".libs" && rm -f "libtraceevnet.la" && ln -s "../libtraceevnet.la" "libtraceevnet.la" ) >make[2]: Leaving directory '/var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13/traceevent' >Making all in src >make[2]: Entering directory '/var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13/src' >/bin/sh ./csstoh.sh ./powertop.css css.h >make all-am >make[3]: Entering directory '/var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13/src' >x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -Wall -Wformat -Wshadow -fno-omit-frame-pointer -fstack-protector -I/usr/include/libnl3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -pthread -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -c -o powertop-devlist.o `test -f 'devlist.cpp' || echo './'`devlist.cpp >In file included from lib.h:35, > from devlist.cpp:46: >devlist.cpp: In function âvoid collect_open_devices()â: >../config.h:329:16: error: ârpl_mallocâ was not declared in this scope; did you mean âreallocâ? > 329 | #define malloc rpl_malloc > | ^~~~~~~~~~ >devlist.cpp:165:29: note: in expansion of macro âmallocâ > 165 | dev = (struct devuser *)malloc(sizeof(struct devuser)); > | ^~~~~~ >devlist.cpp: In function âvoid register_devpower(const char*, double, device*)â: >../config.h:329:16: error: ârpl_mallocâ was not declared in this scope; did you mean âreallocâ? > 329 | #define malloc rpl_malloc > | ^~~~~~~~~~ >devlist.cpp:265:28: note: in expansion of macro âmallocâ > 265 | dev = (struct devpower *)malloc(sizeof (struct devpower)); > | ^~~~~~ >make[3]: *** [Makefile:1096: powertop-devlist.o] Error 1 >make[3]: Leaving directory '/var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13/src' >make[2]: *** [Makefile:660: all] Error 2 >make[2]: Leaving directory '/var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13/src' >make[1]: *** [Makefile:463: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13' >make: *** [Makefile:393: all] Error 2 > * ERROR: sys-power/powertop-2.13-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-power/powertop-2.13-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-power/powertop-2.13-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-power:powertop-2.13-r1:20201019-113531.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-power/powertop-2.13-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-power/powertop-2.13-r1/temp/environment'. > * Working directory: '/var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13' > * S: '/var/tmp/portage/sys-power/powertop-2.13-r1/work/powertop-2.13'
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 750170
:
666845
|
666848
|
666851
|
666854
|
666857
| 666860 |
666863