* Package: sys-cluster/drbd-utils-8.9.6-r1 * Repository: gentoo * Maintainer: cluster@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux udev userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking drbd-utils-8.9.6.tar.gz to /var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/work >>> Source unpacked in /var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/work >>> Preparing source in /var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/work/drbd-utils-8.9.6 ... * Applying run-lock.patch ... [ ok ] /usr/share/aclocal/http-fetcher.m4:13: warning: underquoted definition of AC_PATH_HFETCHER /usr/share/aclocal/http-fetcher.m4:13: run info Automake 'Extending aclocal' /usr/share/aclocal/http-fetcher.m4:13: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/work/drbd-utils-8.9.6 ... ./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 --localstatedir=/var --without-rgmanager --with-udev --without-xen --without-pacemaker --without-heartbeat --with-bashcompletion --with-distro=gentoo 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 Using systemd unit directory: /usr/lib/systemd/system Using udev rules directory: /lib/udev 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 ln -s works... yes checking for sed... /bin/sed checking for grep... /bin/grep checking for flex... /usr/bin/flex checking for rpmbuild... no checking for xsltproc... /usr/bin/xsltproc checking for tar... /bin/tar checking for git... no checking for dpkg-buildpackage... /usr/bin/dpkg-buildpackage checking for udevadm... /usr/bin/udevadm checking for udevinfo... false configure: WARNING: No rpmbuild found, building RPM packages is disabled. configure: WARNING: Cannot update buildtag without git. You may safely ignore this warning when building from a tarball. configure: configured for Gentoo. configure: creating ./config.status config.status: creating Makefile config.status: creating user/shared/Makefile config.status: creating user/v9/Makefile config.status: creating user/v83/Makefile config.status: creating user/v84/Makefile config.status: creating scripts/Makefile config.status: creating documentation/v9/Makefile config.status: creating documentation/v83/Makefile config.status: creating documentation/v84/Makefile config.status: creating scripts/drbd.rules config.status: creating user/shared/config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/work/drbd-utils-8.9.6 ... make -j1 'OPTFLAGS=-O2 -pipe -march=native -Wall' tools make[1]: Entering directory '/var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/work/drbd-utils-8.9.6/user/shared' flex -s -odrbdmeta_scanner.c drbdmeta_scanner.fl make[1]: Leaving directory '/var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/work/drbd-utils-8.9.6/user/shared' make[1]: Entering directory '/var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/work/drbd-utils-8.9.6/user/v9' flex -s -odrbdadm_scanner.c drbdadm_scanner.fl x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c drbdadm_scanner.fl:23:13: warning: ‘yyunput’ declared ‘static’ but never defined [-Wunused-function] static void yyunput (int c, register char * yy_bp ) __attribute((unused)); ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_postparse.o drbdadm_postparse.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c drbdadm_adjust.c: In function ‘need_trigger_kobj_change’: drbdadm_adjust.c:515:6: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] if (major(sbuf.st_rdev) != DRBD_MAJOR) ^ drbdadm_adjust.c:517:6: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration] if (minor(sbuf.st_rdev) != STAILQ_FIRST(&res->me->volumes)->device_minor) ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_dump.o drbdadm_dump.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o registry.o registry.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o config_flags.o config_flags.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -DHAVE_CTRL_ATTR_VERSION -DHAVE_CTRL_ATTR_HDRSIZE -DHAVE_CTRL_ATTR_MCAST_GROUPS -c -o libgenl.o ../shared/libgenl.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_nla.o drbd_nla.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c ../shared/shared_tool.c: In function ‘dt_minor_of_dev’: ../shared/shared_tool.c:599:5: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] major(sb.st_rdev) == LANANA_DRBD_MAJOR) ^ ../shared/shared_tool.c:600:11: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration] return minor(sb.st_rdev); ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_main.o ../shared/shared_main.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wall -I../../drbd-headers -I.. -I. -I../shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -o drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_postparse.o drbdadm_main.o drbdadm_adjust.o drbdadm_dump.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libgenl.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o drbdadm_adjust.o: In function `need_trigger_kobj_change': drbdadm_adjust.c:(.text+0xbc8): undefined reference to `major' drbdadm_adjust.c:(.text+0xbdb): undefined reference to `minor' shared_tool.o: In function `dt_minor_of_dev': shared_tool.c:(.text+0x12ad): undefined reference to `major' shared_tool.c:(.text+0x12c0): undefined reference to `minor' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:88: drbdadm] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/work/drbd-utils-8.9.6/user/v9' make: *** [Makefile:77: tools] Error 2 * ERROR: sys-cluster/drbd-utils-8.9.6-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-cluster/drbd-utils-8.9.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-cluster/drbd-utils-8.9.6-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-cluster:drbd-utils-8.9.6-r1:20170427-113427.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/work/drbd-utils-8.9.6' * S: '/var/tmp/portage/sys-cluster/drbd-utils-8.9.6-r1/work/drbd-utils-8.9.6'