* Package: sys-apps/netloc-0.5 * Repository: gentoo * Maintainer: cluster@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking netloc-0.5.tar.gz to /var/tmp/portage/sys-apps/netloc-0.5/work >>> Source unpacked in /var/tmp/portage/sys-apps/netloc-0.5/work >>> Preparing source in /var/tmp/portage/sys-apps/netloc-0.5/work/netloc-0.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/netloc-0.5/work/netloc-0.5 ... * econf: updating netloc-0.5/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating netloc-0.5/config/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 --libdir=/usr/lib64 --with-jansson=/usr --with-hwloc=/usr configure: loading site script /usr/share/config.site 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 whether make supports nested variables... (cached) yes checking for netloc version... 0.5 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 we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-g++... none checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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... none checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed 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 for the STL (C++11 or better)... yes checking with --with-jansson... good (/usr) 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 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 jansson.h usability... yes checking jansson.h presence... yes checking for jansson.h... yes checking for json_true in -ljansson... yes checking for the C compiler vendor... gnu checking for __attribute__... yes checking for __attribute__(aligned)... yes checking for __attribute__(always_inline)... yes checking for __attribute__(cold)... yes checking for __attribute__(const)... yes checking for __attribute__(deprecated)... yes checking for __attribute__(format)... no checking for __attribute__(hot)... yes checking for __attribute__(malloc)... yes checking for __attribute__(may_alias)... yes checking for __attribute__(no_instrument_function)... yes checking for __attribute__(nonnull)... yes checking for __attribute__(noreturn)... yes checking for __attribute__(packed)... yes checking for __attribute__(pure)... yes checking for __attribute__(sentinel)... no checking for __attribute__(unused)... yes checking for __attribute__(warn_unused_result)... no checking for __attribute__(weak_alias)... no checking if x86_64-pc-linux-gnu-gcc supports -fvisibility=hidden... yes checking whether to enable symbol visibility... yes (via -fvisibility=hidden) configure: WARNING: "-fvisibility=hidden" has been added to the netloc CFLAGS checking with --with-hwloc... good (/usr) checking hwloc.h usability... yes checking hwloc.h presence... yes checking for hwloc.h... yes checking for hwloc_topology_init in -lhwloc... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /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/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes 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/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : 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... no 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... no 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... no 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 that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating tools/Makefile config.status: creating tools/reader_ib/Makefile config.status: creating tools/reader_of/Makefile config.status: creating tools/lsnettopo/Makefile config.status: creating tools/gather_ib/Makefile config.status: creating tests/Makefile config.status: creating include/private/autogen/config.h config.status: creating include/netloc/autogen/config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/netloc-0.5/work/netloc-0.5 ... make -j1 Making all in include make[1]: Entering directory '/var/tmp/portage/sys-apps/netloc-0.5/work/netloc-0.5/include' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/sys-apps/netloc-0.5/work/netloc-0.5/include' Making all in src make[1]: Entering directory '/var/tmp/portage/sys-apps/netloc-0.5/work/netloc-0.5/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c -o topology.lo topology.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c topology.c -fPIC -DPIC -o .libs/topology.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c -o metadata.lo metadata.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c metadata.c -fPIC -DPIC -o .libs/metadata.o metadata.c: In function 'search_uri': metadata.c:250:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&filename, "%s%s", uri_str, dir_entry->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ metadata.c:270:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp_network->data_uri, "%s%s", URI_PREFIX_FILE, uri_str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c -o api.lo api.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c api.c -fPIC -DPIC -o .libs/api.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c -o support.lo support.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c support.c -fPIC -DPIC -o .libs/support.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c -o data_types.lo data_types.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c data_types.c -fPIC -DPIC -o .libs/data_types.o data_types.c: In function 'netloc_pretty_print_network_t': data_types.c:42:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, "%s-%s (version %s)", tmp_str, network->subnet_id, network->version); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_types.c:44:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, "%s-%s", tmp_str, network->subnet_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_types.c: In function 'netloc_pretty_print_edge_t': data_types.c:299:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, "%3d (%s) [%23s] %2s [<- %s / %s ->] (%s) [%23s] %2s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edge->edge_uid, ~~~~~~~~~~~~~~~ tmp_src_str, ~~~~~~~~~~~~ edge->src_node_id, ~~~~~~~~~~~~~~~~~~ edge->src_port_id, ~~~~~~~~~~~~~~~~~~ edge->speed, ~~~~~~~~~~~~ edge->width, ~~~~~~~~~~~~ tmp_dest_str, ~~~~~~~~~~~~~ edge->dest_node_id, ~~~~~~~~~~~~~~~~~~~ edge->dest_port_id); ~~~~~~~~~~~~~~~~~~~ data_types.c: In function 'netloc_pretty_print_node_t': data_types.c:563:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&str, "(%s-\t %s) [%23s][%lu]/[%15s] %s -- %s (%d/%d edges)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tmp_nw_type, ~~~~~~~~~~~~ tmp_node_type, ~~~~~~~~~~~~~~ node->physical_id, ~~~~~~~~~~~~~~~~~~ node->physical_id_int, ~~~~~~~~~~~~~~~~~~~~~~ node->logical_id, ~~~~~~~~~~~~~~~~~ node->subnet_id, ~~~~~~~~~~~~~~~~ node->description, ~~~~~~~~~~~~~~~~~~ node->num_edges, ~~~~~~~~~~~~~~~~ node->num_edge_ids); ~~~~~~~~~~~~~~~~~~~ data_types.c: In function 'netloc_dt_node_t_json_decode': data_types.c:749:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&key, "%d", node->edge_ids[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_types.c: In function 'netloc_dt_node_t_json_decode_paths': data_types.c:864:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&edge_key, "%d", edge_ids[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_types.c: In function 'netloc_dt_convert_mac_int_to_str': data_types.c:1059:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp_str, "%02hhX:%02hhX:%02hhX:%02hhX:%02hhX:%02hhX", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addr[0], addr[1], addr[2], addr[3], addr[4], addr[5]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_types.c: In function 'netloc_dt_convert_guid_int_to_str': data_types.c:1101:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp_str, "%04hX:%04hX:%04hX:%04hX", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addr[0], addr[1], addr[2], addr[3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c -o data_collect.lo data_collect.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c data_collect.c -fPIC -DPIC -o .libs/data_collect.o data_collect.c: In function 'netloc_dc_create': data_collect.c:189:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&handle->unique_id_str, "%s-%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netloc_decode_network_type(network->network_type), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ network->subnet_id); ~~~~~~~~~~~~~~~~~~~ data_collect.c:199:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&handle->filename_nodes, "%s/%s-nodes.ndat", dir, handle->unique_id_str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_collect.c:200:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&handle->filename_physical_paths, "%s/%s-phy-paths.ndat", dir, handle->unique_id_str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_collect.c:201:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&handle->filename_logical_paths, "%s/%s-log-paths.ndat", dir, handle->unique_id_str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_collect.c:202:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&handle->data_uri, "file://%s", dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_collect.c: In function 'netloc_dc_append_node': data_collect.c:392:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&key, "%s", node->physical_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_collect.c:412:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&key, "%s", node->physical_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_collect.c:426:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&key, "%s", node->physical_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_collect.c: In function 'netloc_dc_append_edge_to_node': data_collect.c:464:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&key, "%d", edge->edge_uid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_collect.c:476:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&key, "%d", found_edge->edge_uid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_collect.c:487:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&key, "%s", edge->src_node_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_collect.c:503:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&key, "%s", edge->dest_node_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c -o pathfinder.lo pathfinder.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c pathfinder.c -fPIC -DPIC -o .libs/pathfinder.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c -o lookup_table.lo lookup_table.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c lookup_table.c -fPIC -DPIC -o .libs/lookup_table.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c -o export.lo export.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c export.c -fPIC -DPIC -o .libs/export.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c -o map.lo map.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/private/autogen -I../include/netloc/autogen -I../include -I../include -I/usr/include -I/usr/include -O2 -pipe -march=native -c map.c -fPIC -DPIC -o .libs/map.o map.c: In function 'netloc_map__add_ib_port': map.c:260:37: warning: initialization of 'struct hwloc_obj_info_s *' from incompatible pointer type 'struct hwloc_info_s *' [-Wincompatible-pointer-types] struct hwloc_obj_info_s *info = &obj->infos[i]; ^ map.c:264:20: error: dereferencing pointer to incomplete type 'struct hwloc_obj_info_s' if (sscanf(info->name, "Port%u%n", &newport, &pos) >= 1) { ^~ map.c: In function 'netloc_map__add_eth_port': map.c:301:37: warning: initialization of 'struct hwloc_obj_info_s *' from incompatible pointer type 'struct hwloc_info_s *' [-Wincompatible-pointer-types] struct hwloc_obj_info_s *info = &obj->infos[i]; ^ map.c:303:21: error: dereferencing pointer to incomplete type 'struct hwloc_obj_info_s' if (!strcmp(info->name, "Address")) { ^~ map.c: In function 'netloc_map__init_servers': map.c:424:36: error: 'HWLOC_TOPOLOGY_FLAG_IO_DEVICES' undeclared (first use in this function); did you mean 'HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM'? hwloc_topology_set_flags(topo, HWLOC_TOPOLOGY_FLAG_IO_DEVICES); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM map.c:424:36: note: each undeclared identifier is reported only once for each function it appears in map.c:482:37: warning: passing argument 1 of 'hwloc_topology_diff_load_xml' from incompatible pointer type [-Wincompatible-pointer-types] err = hwloc_topology_diff_load_xml(validtopo, filepath, &diff, &refname); ^~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:239:61: note: expected 'const char *' but argument is of type 'hwloc_topology_t' {aka 'struct hwloc_topology *'} HWLOC_DECLSPEC int hwloc_topology_diff_load_xml(const char *xmlpath, hwloc_topology_diff_t *diff, char **refname); ~~~~~~~~~~~~^~~~~~~ map.c:482:48: warning: passing argument 2 of 'hwloc_topology_diff_load_xml' from incompatible pointer type [-Wincompatible-pointer-types] err = hwloc_topology_diff_load_xml(validtopo, filepath, &diff, &refname); ^~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:239:93: note: expected 'union hwloc_topology_diff_u **' but argument is of type 'char *' _topology_diff_load_xml(const char *xmlpath, hwloc_topology_diff_t *diff, char **refname); ~~~~~~~~~~~~~~~~~~~~~~~^~~~ map.c:482:58: warning: passing argument 3 of 'hwloc_topology_diff_load_xml' from incompatible pointer type [-Wincompatible-pointer-types] err = hwloc_topology_diff_load_xml(validtopo, filepath, &diff, &refname); ^~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:239:106: note: expected 'char **' but argument is of type 'union hwloc_topology_diff_u **' iff_load_xml(const char *xmlpath, hwloc_topology_diff_t *diff, char **refname); ~~~~~~~^~~~~~~ map.c:482:8: error: too many arguments to function 'hwloc_topology_diff_load_xml' err = hwloc_topology_diff_load_xml(validtopo, filepath, &diff, &refname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:239:20: note: declared here HWLOC_DECLSPEC int hwloc_topology_diff_load_xml(const char *xmlpath, hwloc_topology_diff_t *diff, char **refname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c:487:32: warning: passing argument 1 of 'hwloc_topology_diff_destroy' from incompatible pointer type [-Wincompatible-pointer-types] hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:70: note: expected 'hwloc_topology_diff_t' {aka 'union hwloc_topology_diff_u *'} but argument is of type 'hwloc_topology_t' {aka 'struct hwloc_topology *'} HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ~~~~~~~~~~~~~~~~~~~~~~^~~~ map.c:487:4: error: too many arguments to function 'hwloc_topology_diff_destroy' hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:20: note: declared here HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c:493:32: warning: passing argument 1 of 'hwloc_topology_diff_destroy' from incompatible pointer type [-Wincompatible-pointer-types] hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:70: note: expected 'hwloc_topology_diff_t' {aka 'union hwloc_topology_diff_u *'} but argument is of type 'hwloc_topology_t' {aka 'struct hwloc_topology *'} HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ~~~~~~~~~~~~~~~~~~~~~~^~~~ map.c:493:4: error: too many arguments to function 'hwloc_topology_diff_destroy' hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:20: note: declared here HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c:505:32: warning: passing argument 1 of 'hwloc_topology_diff_destroy' from incompatible pointer type [-Wincompatible-pointer-types] hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:70: note: expected 'hwloc_topology_diff_t' {aka 'union hwloc_topology_diff_u *'} but argument is of type 'hwloc_topology_t' {aka 'struct hwloc_topology *'} HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ~~~~~~~~~~~~~~~~~~~~~~^~~~ map.c:505:4: error: too many arguments to function 'hwloc_topology_diff_destroy' hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:20: note: declared here HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c:513:32: warning: passing argument 1 of 'hwloc_topology_diff_destroy' from incompatible pointer type [-Wincompatible-pointer-types] hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:70: note: expected 'hwloc_topology_diff_t' {aka 'union hwloc_topology_diff_u *'} but argument is of type 'hwloc_topology_t' {aka 'struct hwloc_topology *'} HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ~~~~~~~~~~~~~~~~~~~~~~^~~~ map.c:513:4: error: too many arguments to function 'hwloc_topology_diff_destroy' hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:20: note: declared here HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c:519:32: warning: passing argument 1 of 'hwloc_topology_diff_destroy' from incompatible pointer type [-Wincompatible-pointer-types] hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:70: note: expected 'hwloc_topology_diff_t' {aka 'union hwloc_topology_diff_u *'} but argument is of type 'hwloc_topology_t' {aka 'struct hwloc_topology *'} HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ~~~~~~~~~~~~~~~~~~~~~~^~~~ map.c:519:4: error: too many arguments to function 'hwloc_topology_diff_destroy' hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:20: note: declared here HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c:525:32: warning: passing argument 1 of 'hwloc_topology_diff_destroy' from incompatible pointer type [-Wincompatible-pointer-types] hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:70: note: expected 'hwloc_topology_diff_t' {aka 'union hwloc_topology_diff_u *'} but argument is of type 'hwloc_topology_t' {aka 'struct hwloc_topology *'} HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ~~~~~~~~~~~~~~~~~~~~~~^~~~ map.c:525:4: error: too many arguments to function 'hwloc_topology_diff_destroy' hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:20: note: declared here HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c:532:32: warning: passing argument 1 of 'hwloc_topology_diff_destroy' from incompatible pointer type [-Wincompatible-pointer-types] hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:70: note: expected 'hwloc_topology_diff_t' {aka 'union hwloc_topology_diff_u *'} but argument is of type 'hwloc_topology_t' {aka 'struct hwloc_topology *'} HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ~~~~~~~~~~~~~~~~~~~~~~^~~~ map.c:532:4: error: too many arguments to function 'hwloc_topology_diff_destroy' hwloc_topology_diff_destroy(validtopo, diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:20: note: declared here HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ map.c: In function 'netloc_map__destroy_servers': map.c:697:44: warning: passing argument 1 of 'hwloc_topology_diff_destroy' from incompatible pointer type [-Wincompatible-pointer-types] hwloc_topology_diff_destroy(curserver->topology, curserver->topology_diff); ~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:70: note: expected 'hwloc_topology_diff_t' {aka 'union hwloc_topology_diff_u *'} but argument is of type 'hwloc_topology_t' {aka 'struct hwloc_topology *'} HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ~~~~~~~~~~~~~~~~~~~~~~^~~~ map.c:697:7: error: too many arguments to function 'hwloc_topology_diff_destroy' hwloc_topology_diff_destroy(curserver->topology, curserver->topology_diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/hwloc.h:2261, from ../include/netloc_map.h:17, from map.c:11: /usr/include/hwloc/diff.h:226:20: note: declared here HWLOC_DECLSPEC int hwloc_topology_diff_destroy(hwloc_topology_diff_t diff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:460: map.lo] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/netloc-0.5/work/netloc-0.5/src' make: *** [Makefile:424: all-recursive] Error 1 * ERROR: sys-apps/netloc-0.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/netloc-0.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/netloc-0.5::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:netloc-0.5:20181022-105326.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/netloc-0.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/netloc-0.5/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/netloc-0.5/work/netloc-0.5' * S: '/var/tmp/portage/sys-apps/netloc-0.5/work/netloc-0.5'