* Package: sys-fs/multipath-tools-0.6.2-r2 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking multipath-tools-0.6.2.tar.gz to /var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work >>> Source unpacked in /var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work >>> Preparing source in /var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73 ... * Applying multipath-tools-0.6.2-makefile.patch ... [ ok ] * Applying multipath-tools-0.6.2-ignore-modprobe-failures.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73 ... make -j1 LIBDM_API_FLUSH=1 CC=x86_64-pc-linux-gnu-gcc SYSTEMD= make[1]: Entering directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/libmpathcmd' x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -c -o mpath_cmd.o mpath_cmd.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname=libmpathcmd.so.0 -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -o libmpathcmd.so.0 mpath_cmd.o ln -sf libmpathcmd.so.0 libmpathcmd.so make[1]: Leaving directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/libmpathcmd' make[1]: Entering directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/libmultipath' x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o memory.o memory.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o parser.o parser.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o vector.o vector.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o devmapper.o devmapper.c devmapper.c: In function ‘dm_reassign’: devmapper.c:1559:4: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] major(deps->device[i]), ^ devmapper.c:1560:4: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration] minor(deps->device[i])); ^ x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o callout.o callout.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o hwtable.o hwtable.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o blacklist.o blacklist.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o util.o util.c util.c: In function ‘parse_devt’: util.c:259:9: warning: implicit declaration of function ‘makedev’ [-Wimplicit-function-declaration] return makedev(maj, min); ^ x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o dmparser.o dmparser.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o config.o config.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o structs.o structs.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o discovery.o discovery.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o propsel.o propsel.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o dict.o dict.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o pgpolicies.o pgpolicies.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o debug.o debug.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o defaults.o defaults.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o uevent.o uevent.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o switchgroup.o switchgroup.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o uxsock.o uxsock.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o print.o print.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o alias.o alias.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o log_pthread.o log_pthread.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o log.o log.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o configure.o configure.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o structs_vec.o structs_vec.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o sysfs.o sysfs.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o prio.o prio.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o checkers.o checkers.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o lock.o lock.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o waiter.o waiter.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o file.o file.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o wwids.o wwids.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -c -o prioritizers/alua_rtpg.o prioritizers/alua_rtpg.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname=libmultipath.so.0 -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmpathcmd -DLIBDM_API_FLUSH -D_GNU_SOURCE -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -o libmultipath.so.0 memory.o parser.o vector.o devmapper.o callout.o hwtable.o blacklist.o util.o dmparser.o config.o structs.o discovery.o propsel.o dict.o pgpolicies.o debug.o defaults.o uevent.o switchgroup.o uxsock.o print.o alias.o log_pthread.o log.o configure.o structs_vec.o sysfs.o prio.o checkers.o lock.o waiter.o file.o wwids.o prioritizers/alua_rtpg.o -lpthread -ldl -ldevmapper -ludev -L../libmpathcmd -lmpathcmd ln -sf libmultipath.so.0 libmultipath.so make[1]: Leaving directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/libmultipath' make[1]: Entering directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/libmultipath/prioritizers' x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o alua.o alua.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libprioalua.so alua.o alua_rtpg.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o const.o const.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libprioconst.so const.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o datacore.o datacore.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libpriodatacore.so datacore.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o emc.o emc.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libprioemc.so emc.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o hds.o hds.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libpriohds.so hds.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o hp_sw.o hp_sw.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libpriohp_sw.so hp_sw.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o iet.o iet.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libprioiet.so iet.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o ontap.o ontap.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libprioontap.so ontap.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o random.o random.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libpriorandom.so random.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o rdac.o rdac.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libpriordac.so rdac.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o weightedpath.o weightedpath.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libprioweightedpath.so weightedpath.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o sysfs.o sysfs.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libpriosysfs.so sysfs.o rm random.o weightedpath.o ontap.o hp_sw.o hds.o sysfs.o rdac.o const.o datacore.o emc.o iet.o make[1]: Leaving directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/libmultipath/prioritizers' make[1]: Entering directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/libmultipath/checkers' x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o libsg.o libsg.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o cciss_tur.o cciss_tur.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libcheckcciss_tur.so libsg.o cciss_tur.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o readsector0.o readsector0.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libcheckreadsector0.so libsg.o readsector0.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o tur.o tur.c tur.c: In function ‘tur_thread’: tur.c:49:21: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] #define TUR_DEVT(c) major((c)->devt), minor((c)->devt) ^ ../../libmultipath/debug.h:13:34: note: in expansion of macro ‘TUR_DEVT’ dlog(logsink, prio, fmt "\n", ##args) ^ tur.c:207:2: note: in expansion of macro ‘condlog’ condlog(3, "%d:%d: tur checker starting up", TUR_DEVT(ct)); ^ tur.c:49:39: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration] #define TUR_DEVT(c) major((c)->devt), minor((c)->devt) ^ ../../libmultipath/debug.h:13:34: note: in expansion of macro ‘TUR_DEVT’ dlog(logsink, prio, fmt "\n", ##args) ^ tur.c:207:2: note: in expansion of macro ‘condlog’ condlog(3, "%d:%d: tur checker starting up", TUR_DEVT(ct)); ^ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libchecktur.so libsg.o tur.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o directio.o directio.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libcheckdirectio.so libsg.o directio.o -laio x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o emc_clariion.o emc_clariion.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libcheckemc_clariion.so libsg.o emc_clariion.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o hp_sw.o hp_sw.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libcheckhp_sw.so libsg.o hp_sw.o x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I.. -c -o rdac.o rdac.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -o libcheckrdac.so libsg.o rdac.o rm tur.o hp_sw.o rdac.o readsector0.o cciss_tur.o emc_clariion.o make[1]: Leaving directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/libmultipath/checkers' make[1]: Entering directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/libmpathpersist' x86_64-pc-linux-gnu-gcc -Wall -fPIC -c -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmultipath -I../libmpathpersist -I../libmpathcmd *.c x86_64-pc-linux-gnu-gcc -shared -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmultipath -I../libmpathpersist -I../libmpathcmd -Wl,-O1 -Wl,--as-needed -lpthread -ldevmapper -ldl -L../libmultipath -lmultipath -L../libmpathcmd -lmpathcmd -Wl,-soname=libmpathpersist.so.0 -o libmpathpersist.so.0 mpath_persist.o mpath_updatepr.o mpath_pr_ioctl.o ln -sf libmpathpersist.so.0 libmpathpersist.so make[1]: Leaving directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/libmpathpersist' make[1]: Entering directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/multipath' x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmultipath -I../libmpathcmd -c -o main.o main.c x86_64-pc-linux-gnu-gcc -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -I../libmultipath -I../libmpathcmd -Wl,-O1 -Wl,--as-needed main.o -o multipath -lpthread -ldevmapper -ldl -L../libmultipath -lmultipath -ludev -L../libmpathcmd -lmpathcmd ../libmultipath/libmultipath.so: undefined reference to `minor' ../libmultipath/libmultipath.so: undefined reference to `major' ../libmultipath/libmultipath.so: undefined reference to `makedev' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:18: multipath] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73/multipath' make: *** [Makefile:42: recurse] Error 2 * ERROR: sys-fs/multipath-tools-0.6.2-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/multipath-tools-0.6.2-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/multipath-tools-0.6.2-r2::gentoo'`. * The complete build log is located at '/var/log/portage/sys-fs:multipath-tools-0.6.2-r2:20161231-075047.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73' * S: '/var/tmp/portage/sys-fs/multipath-tools-0.6.2-r2/work/multipath-tools-e165b73'