* Package: sys-fabric/ibacm-1.0.8 * Repository: gentoo * Maintainer: cluster@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking OFED-3.12-rc1.tgz to /var/tmp/portage/sys-fabric/ibacm-1.0.8/work >>> Unpacking ./OFED-3.12-rc1/SRPMS/ibacm-1.0.8-1.src.rpm to /var/tmp/portage/sys-fabric/ibacm-1.0.8/work >>> Unpacking ./ibacm-1.0.8.tar.gz to /var/tmp/portage/sys-fabric/ibacm-1.0.8/work >>> Source unpacked in /var/tmp/portage/sys-fabric/ibacm-1.0.8/work >>> Preparing source in /var/tmp/portage/sys-fabric/ibacm-1.0.8/work/ibacm-1.0.8 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fabric/ibacm-1.0.8/work/ibacm-1.0.8 ... * econf: updating ibacm-1.0.8/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ibacm-1.0.8/config/config.sub with /usr/share/gnuconfig/config.sub ./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 configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.4/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 build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu 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 dependency style of x86_64-pc-linux-gnu-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-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 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-ar... x86_64-pc-linux-gnu-ar 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 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 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 dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking for an ANSI C-conforming const... yes checking size of long... 8 checking for ibv_get_device_list in -libverbs... yes checking for umad_send in -libumad... yes checking for ANSI C header files... (cached) yes checking infiniband/verbs.h usability... yes checking infiniband/verbs.h presence... yes checking for infiniband/verbs.h... yes checking infiniband/umad.h usability... yes checking infiniband/umad.h presence... yes checking for infiniband/umad.h... yes checking compiler support for atomics... yes checking whether ld accepts --version-script... yes grep: /etc/redhat-release: No such file or directory configure: creating ./config.status config.status: creating Makefile config.status: creating ibacm.spec config.status: creating ibacm.init config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fabric/ibacm-1.0.8/work/ibacm-1.0.8 ... make -j1 make all-am make[1]: Entering directory '/var/tmp/portage/sys-fabric/ibacm-1.0.8/work/ibacm-1.0.8' \ # source='src/acme.c' object='src/util_ib_acme-acme.o' libtool=no x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./linux -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall -c -o src/util_ib_acme-acme.o `test -f 'src/acme.c' || echo './'`src/acme.c src/acme.c: In function ‘main’: src/acme.c:880:6: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (!ret && make_addr) ^ \ # source='linux/acme_linux.c' object='linux/util_ib_acme-acme_linux.o' libtool=no x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./linux -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall -c -o linux/util_ib_acme-acme_linux.o `test -f 'linux/acme_linux.c' || echo './'`linux/acme_linux.c \ # source='src/libacm.c' object='src/util_ib_acme-libacm.o' libtool=no x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./linux -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall -c -o src/util_ib_acme-libacm.o `test -f 'src/libacm.c' || echo './'`src/libacm.c src/libacm.c: In function ‘acm_set_server_port’: src/libacm.c:67:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%hu", (unsigned short *) &server_port); ^ \ # source='linux/libacm_linux.c' object='linux/util_ib_acme-libacm_linux.o' libtool=no x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./linux -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall -c -o linux/util_ib_acme-libacm_linux.o `test -f 'linux/libacm_linux.c' || echo './'`linux/libacm_linux.c \ # source='src/parse.c' object='src/util_ib_acme-parse.o' libtool=no x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./linux -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall -c -o src/util_ib_acme-parse.o `test -f 'src/parse.c' || echo './'`src/parse.c /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o util/ib_acme src/util_ib_acme-acme.o linux/util_ib_acme-acme_linux.o src/util_ib_acme-libacm.o linux/util_ib_acme-libacm_linux.o src/util_ib_acme-parse.o -libumad -libverbs libtool: link: x86_64-pc-linux-gnu-gcc -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o util/ib_acme src/util_ib_acme-acme.o linux/util_ib_acme-acme_linux.o src/util_ib_acme-libacm.o linux/util_ib_acme-libacm_linux.o src/util_ib_acme-parse.o /usr/lib64/libibumad.so -libverbs \ # source='src/acm.c' object='src/svc_ibacm-acm.o' libtool=no x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./linux -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall -c -o src/svc_ibacm-acm.o `test -f 'src/acm.c' || echo './'`src/acm.c src/acm.c: In function ‘acm_process_timeouts’: src/acm.c:1608:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] rec = (struct acm_resolve_rec *) ((struct acm_mad *) msg->data)->data; ^ src/acm.c: In function ‘acm_parse_osm_fullv1_paths’: src/acm.c:2744:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((uint16_t *) addr) = htons(dlid); ^ src/acm.c: In function ‘daemonize’: src/acm.c:3555:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "r", stdin); ^ src/acm.c:3556:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "w", stdout); ^ src/acm.c:3557:2: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "w", stderr); ^ src/acm.c: In function ‘acm_open_lock_file’: src/acm.c:3536:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(lock_fd, pid, strlen(pid)); ^ /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o svc/ibacm src/svc_ibacm-acm.o -libumad -libverbs libtool: link: x86_64-pc-linux-gnu-gcc -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o svc/ibacm src/svc_ibacm-acm.o /usr/lib64/libibumad.so -libverbs /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/svc_ibacm-acm.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' /lib64/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[1]: *** [Makefile:438: svc/ibacm] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-fabric/ibacm-1.0.8/work/ibacm-1.0.8' make: *** [Makefile:280: all] Error 2 * ERROR: sys-fabric/ibacm-1.0.8::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fabric/ibacm-1.0.8::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fabric/ibacm-1.0.8::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fabric:ibacm-1.0.8:20170305-062358.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fabric/ibacm-1.0.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fabric/ibacm-1.0.8/temp/environment'. * Working directory: '/var/tmp/portage/sys-fabric/ibacm-1.0.8/work/ibacm-1.0.8' * S: '/var/tmp/portage/sys-fabric/ibacm-1.0.8/work/ibacm-1.0.8'