Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/udisks.spec'], chrootPath='/var/lib/mock/f29-build-28477-15239/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/udisks.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/udisks-1.0.5-9.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/udisks.spec'], chrootPath='/var/lib/mock/f29-build-28477-15239/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/udisks.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HjVjBs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf udisks-1.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/udisks-1.0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd udisks-1.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (udisks-1.0.5-fix-build-with-glibc-2.20.patch): + echo 'Patch #0 (udisks-1.0.5-fix-build-with-glibc-2.20.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/helpers/job-drive-detach.c Patch #1 (fix_bash_completion.patch): + echo 'Patch #1 (fix_bash_completion.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tools/udisks-bash-completion.sh Patch #2 (udisks-1.0.5-fix-service-file.patch): + echo 'Patch #2 (udisks-1.0.5-fix-service-file.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file data/Makefile.am + rm -f 'src/*-glue.h' 'tools/*-glue.h' + autoreconf --force --install libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. BUILDSTDERR: configure.ac:5: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: BUILDSTDERR: configure.ac:5: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation BUILDSTDERR: configure.ac:9: installing './compile' BUILDSTDERR: configure.ac:5: installing './missing' BUILDSTDERR: doc/Makefile.am:32: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') BUILDSTDERR: src/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') BUILDSTDERR: src/Makefile.am: installing './depcomp' BUILDSTDERR: src/helpers/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') BUILDSTDERR: src/probers/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') BUILDSTDERR: tools/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YoGEdJ + umask 022 + cd /builddir/build/BUILD + cd udisks-1.0.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-gtk-doc checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for library containing strerror... none required checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/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 how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) 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 whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether make supports nested variables... (cached) yes checking for xsltproc... /usr/bin/xsltproc checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtk-doc... yes checking for gtkdoc-check... gtkdoc-check.test checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf checking whether to build gtk-doc documentation... yes checking for GTKDOC_DEPS... yes checking for sg_ll_inquiry in -lsgutils2... yes checking for GUDEV... yes checking for GLIB... yes checking for GIO... yes checking for DBUS... yes checking for DBUS_GLIB... yes checking for POLKIT_GOBJECT_1... yes checking for LIBPARTED... yes checking for DEVMAPPER... yes checking for LIBATASMART... yes checking for LIBUDEV... yes checking whether NLS is requested... yes checking for intltool >= 0.36.0... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.28.0 checking for XML::Parser... ok checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating data/udisks.pc config.status: creating src/Makefile config.status: creating src/helpers/Makefile config.status: creating src/probers/Makefile config.status: creating tools/Makefile config.status: creating doc/Makefile config.status: creating doc/version.xml config.status: creating doc/man/Makefile config.status: creating doc/dbus/Makefile config.status: creating policy/Makefile config.status: creating po/Makefile.in config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands udisks 1.0.5 ================ prefix: /usr libdir: /usr/lib64 libexecdir: /usr/libexec bindir: /usr/bin sbindir: /usr/sbin datadir: /usr/share sysconfdir: /etc localstatedir: /var docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} slashlibdir: /lib slashsbindir: /sbin systemdsystemunitdir: /usr/lib/systemd/system compiler: gcc cflags: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security cppflags: xsltproc: /usr/bin/xsltproc LVM2 support: no dm-multipath: no Remote Access: yes Maintainer mode: no Profiling: no Building api docs: yes Building man pages: yes + /usr/bin/make -O -j4 /usr/bin/make all-recursive Making all in data make[2]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/data' cp org.freedesktop.UDisks.conf.in org.freedesktop.UDisks.conf make[2]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/data' Making all in src make[2]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' dbus-binding-tool --prefix=adapter --mode=glib-server --output=adapter-glue.h ../data/org.freedesktop.UDisks.Adapter.xml make[2]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead BUILDSTDERR: INFO: Reading /tmp/dbus-binding-tool-c-marshallers.W4NCOZ... make[2]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' dbus-binding-tool --prefix=port --mode=glib-server --output=port-glue.h ../data/org.freedesktop.UDisks.Port.xml make[2]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead BUILDSTDERR: INFO: Reading /tmp/dbus-binding-tool-c-marshallers.5T2COZ... make[2]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' dbus-binding-tool --prefix=device --mode=glib-server --output=device-glue.h ../data/org.freedesktop.UDisks.Device.xml make[2]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead BUILDSTDERR: INFO: Reading /tmp/dbus-binding-tool-c-marshallers.4R2COZ... BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead make[2]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' dbus-binding-tool --prefix=daemon --mode=glib-server --output=daemon-glue.h ../data/org.freedesktop.UDisks.xml make[2]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead BUILDSTDERR: INFO: Reading /tmp/dbus-binding-tool-c-marshallers.1A7COZ... BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead BUILDSTDERR: WARNING: The token "NONE" is deprecated; use "VOID" instead make[2]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' dbus-binding-tool --prefix=expander --mode=glib-server --output=expander-glue.h ../data/org.freedesktop.UDisks.Expander.xml make[2]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' /usr/bin/make all-recursive BUILDSTDERR: WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead BUILDSTDERR: INFO: Reading /tmp/dbus-binding-tool-c-marshallers.DNOKOZ... Making all in helpers make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_delete_partition-job-delete-partition.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_create_partition-job-create-partition.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_modify_partition-job-modify-partition.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_mkfs-job-mkfs.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_create_partition_table-job-create-partition-table.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_change_filesystem_label-job-change-filesystem-label.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_linux_md_remove_component-job-linux-md-remove-component.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_fstab_mounter-job-fstab-mounter.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_ata_smart_collect-job-ata-smart-collect.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_ata_smart_selftest-job-ata-smart-selftest.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_drive_detach-job-drive-detach.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_drive_poll-job-drive-poll.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_linux_md_check-job-linux-md-check.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC udisks_helper_drive_benchmark-job-drive-benchmark.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-mkfs make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-change-filesystem-label make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-linux-md-remove-component make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-fstab-mounter make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-ata-smart-collect make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-ata-smart-selftest make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-drive-detach make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-drive-poll make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-linux-md-check make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-drive-benchmark make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CC libpartutil_la-partutil.lo make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' BUILDSTDERR: partutil.c: In function 'part_table_parse_msdos_extended': BUILDSTDERR: partutil.c:476:21: warning: passing argument 2 of 'read' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: if (read (fd, &embr, sizeof(embr)) != sizeof(embr)) BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/unistd.h:1166, BUILDSTDERR: from partutil.c:30: BUILDSTDERR: /usr/include/bits/unistd.h:34:23: note: expected 'void *' but argument is of type 'const guint8 (*)[512]' {aka 'const unsigned char (*)[512]'} BUILDSTDERR: read (int __fd, void *__buf, size_t __nbytes) BUILDSTDERR: ~~~~~~^~~~~ BUILDSTDERR: partutil.c: In function 'part_table_parse_msdos': BUILDSTDERR: partutil.c:571:17: warning: passing argument 2 of 'read' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] BUILDSTDERR: if (read (fd, &mbr, sizeof(mbr)) != sizeof(mbr)) BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/unistd.h:1166, BUILDSTDERR: from partutil.c:30: BUILDSTDERR: /usr/include/bits/unistd.h:34:23: note: expected 'void *' but argument is of type 'const guint8 (*)[512]' {aka 'const unsigned char (*)[512]'} BUILDSTDERR: read (int __fd, void *__buf, size_t __nbytes) BUILDSTDERR: ~~~~~~^~~~~ BUILDSTDERR: partutil.c: In function 'part_table_entry_get_label': BUILDSTDERR: partutil.c:1172:28: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: s = g_utf16_to_utf8 ((const gunichar2 *) &(pe->data[56]), 36, NULL, NULL, NULL); BUILDSTDERR: ^ make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD libpartutil.la make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-delete-partition make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-create-partition-table make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-modify-partition make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' CCLD udisks-helper-create-partition make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/helpers' Making all in probers make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' CC udisks_probe_ata_smart-udisks-probe-ata-smart.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' CC udisks_probe_sas_expander-udisks-probe-sas-expander.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' CC udisks_dm_export-udisks-dm-export.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' CC udisks_part_id-part-id.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' CCLD udisks-probe-ata-smart make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' CCLD udisks-probe-sas-expander make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' CCLD udisks-dm-export make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' CCLD udisks-part-id make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src/probers' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-adapter.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: adapter.c: In function 'adapter_class_init': BUILDSTDERR: adapter.c:124:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: g_type_class_add_private (klass, sizeof(AdapterPrivate)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from adapter.c:28: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: void g_type_class_add_private (gpointer g_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-adapter-private.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-device-private.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-expander-private.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-expander.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: expander.c: In function 'expander_class_init': BUILDSTDERR: expander.c:145:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: g_type_class_add_private (klass, sizeof(ExpanderPrivate)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from expander.c:32: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: void g_type_class_add_private (gpointer g_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-daemon.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: daemon.c: In function 'get_property': BUILDSTDERR: daemon.c:525:7: warning: 'g_value_array_free' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations] BUILDSTDERR: g_ptr_array_foreach (filesystems, (GFunc) g_value_array_free, NULL); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib-object.h:35, BUILDSTDERR: from daemon.c:54: BUILDSTDERR: /usr/include/glib-2.0/gobject/gvaluearray.h:70:7: note: declared here BUILDSTDERR: void g_value_array_free (GValueArray *value_array); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: daemon.c: In function 'daemon_class_init': BUILDSTDERR: daemon.c:546:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: g_type_class_add_private (klass, sizeof(DaemonPrivate)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from daemon.c:54: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: void g_type_class_add_private (gpointer g_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: daemon.c: In function 'daemon_find_device_by_major_minor': BUILDSTDERR: daemon.c:2717:9: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration] BUILDSTDERR: dev = makedev (major, minor); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: daemon.c:2717:9: warning: nested extern declaration of 'makedev' [-Wnested-externs] make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-port-private.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-mount.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: mount.c: In function 'mount_class_init': BUILDSTDERR: mount.c:77:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: g_type_class_add_private (klass, sizeof(MountPrivate)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from mount.c:36: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: void g_type_class_add_private (gpointer g_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-port.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: port.c: In function 'port_class_init': BUILDSTDERR: port.c:130:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: g_type_class_add_private (klass, sizeof(PortPrivate)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from port.c:28: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: void g_type_class_add_private (gpointer g_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: port.c: In function 'update_info_ata': BUILDSTDERR: port.c:643:17: warning: cast increases required alignment of target type [-Wcast-align] BUILDSTDERR: number = ((gint *) numbers->data)[n]; BUILDSTDERR: ^ make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-mount-file.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-inhibitor.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: inhibitor.c: In function 'inhibitor_class_init': BUILDSTDERR: inhibitor.c:76:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: g_type_class_add_private (klass, sizeof(InhibitorPrivate)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from /usr/include/dbus-1.0/dbus/dbus-glib.h:27, BUILDSTDERR: from /usr/include/dbus-1.0/dbus/dbus-glib-lowlevel.h:27, BUILDSTDERR: from inhibitor.c:26: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: void g_type_class_add_private (gpointer g_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-mount-monitor.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: mount-monitor.c: In function 'mount_monitor_class_init': BUILDSTDERR: mount-monitor.c:99:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: g_type_class_add_private (klass, sizeof(MountMonitorPrivate)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from mount-monitor.c:36: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: void g_type_class_add_private (gpointer g_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mount-monitor.c: In function 'mount_monitor_ensure': BUILDSTDERR: mount-monitor.c:407:17: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration] BUILDSTDERR: dev = makedev (major, minor); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mount-monitor.c:407:17: warning: nested extern declaration of 'makedev' [-Wnested-externs] make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-poller.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-marshal.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-main.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c:158:3: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: g_type_init (); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from main.c:39: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:688:23: note: declared here BUILDSTDERR: void g_type_init (void); BUILDSTDERR: ^~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CC udisks_daemon-device.o make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: device.c: In function 'get_property': BUILDSTDERR: device.c:377:33: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] BUILDSTDERR: g_value_set_int64 (value, major (device->priv->dev)); BUILDSTDERR: ^~~~~ BUILDSTDERR: device.c:377:33: warning: nested extern declaration of 'major' [-Wnested-externs] BUILDSTDERR: device.c:380:33: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] BUILDSTDERR: g_value_set_int64 (value, minor (device->priv->dev)); BUILDSTDERR: ^~~~~ BUILDSTDERR: mknod BUILDSTDERR: device.c:380:33: warning: nested extern declaration of 'minor' [-Wnested-externs] BUILDSTDERR: device.c: In function 'device_class_init': BUILDSTDERR: device.c:837:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: g_type_class_add_private (klass, sizeof(DevicePrivate)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from device.c:48: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: void g_type_class_add_private (gpointer g_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: device.c: In function 'update_info': BUILDSTDERR: device.c:4452:23: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration] BUILDSTDERR: device->priv->dev = makedev (major, minor); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: device.c:4452:23: warning: nested extern declaration of 'makedev' [-Wnested-externs] BUILDSTDERR: device.c: In function 'filesystem_list_open_files_completed_cb': BUILDSTDERR: device.c:6972:7: warning: 'g_value_array_free' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations] BUILDSTDERR: g_ptr_array_foreach (processes, (GFunc) g_value_array_free, NULL); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib-object.h:35, BUILDSTDERR: from device.c:48: BUILDSTDERR: /usr/include/glib-2.0/gobject/gvaluearray.h:70:7: note: declared here BUILDSTDERR: void g_value_array_free (GValueArray *value_array); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: device.c: In function 'drive_benchmark_completed_cb': BUILDSTDERR: device.c:12361:7: warning: 'g_value_array_free' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations] BUILDSTDERR: read_transfer_rate_array = g_ptr_array_new_with_free_func ((GDestroyNotify) g_value_array_free); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib-object.h:35, BUILDSTDERR: from device.c:48: BUILDSTDERR: /usr/include/glib-2.0/gobject/gvaluearray.h:70:7: note: declared here BUILDSTDERR: void g_value_array_free (GValueArray *value_array); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: device.c:12362:7: warning: 'g_value_array_free' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations] BUILDSTDERR: write_transfer_rate_array = g_ptr_array_new_with_free_func ((GDestroyNotify) g_value_array_free); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib-object.h:35, BUILDSTDERR: from device.c:48: BUILDSTDERR: /usr/include/glib-2.0/gobject/gvaluearray.h:70:7: note: declared here BUILDSTDERR: void g_value_array_free (GValueArray *value_array); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: device.c:12363:7: warning: 'g_value_array_free' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations] BUILDSTDERR: access_time_array = g_ptr_array_new_with_free_func ((GDestroyNotify) g_value_array_free); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib-object.h:35, BUILDSTDERR: from device.c:48: BUILDSTDERR: /usr/include/glib-2.0/gobject/gvaluearray.h:70:7: note: declared here BUILDSTDERR: void g_value_array_free (GValueArray *value_array); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CCLD udisks-daemon make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: /usr/bin/ld: udisks_daemon-daemon.o: in function `dbus_glib_marshal_daemon_VOID__INT64_INT64_POINTER': BUILDSTDERR: /builddir/build/BUILD/udisks-1.0.5/src/daemon-glue.h:655: undefined reference to `makedev' BUILDSTDERR: /usr/bin/ld: udisks_daemon-device.o: in function `device_class_init': BUILDSTDERR: /builddir/build/BUILD/udisks-1.0.5/src/device.c:1440: undefined reference to `minor' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/udisks-1.0.5/src/device.c:1449: undefined reference to `major' BUILDSTDERR: /usr/bin/ld: udisks_daemon-device.o: in function `get_property': BUILDSTDERR: /builddir/build/BUILD/udisks-1.0.5/src/device.c:826: undefined reference to `makedev' BUILDSTDERR: /usr/bin/ld: udisks_daemon-mount-monitor.o: in function `mount_monitor_ensure': BUILDSTDERR: /builddir/build/BUILD/udisks-1.0.5/src/mount-monitor.c:424: undefined reference to `makedev' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[4]: *** [Makefile:596: udisks-daemon] Error 1 BUILDSTDERR: make[3]: *** [Makefile:885: all-recursive] Error 1 BUILDSTDERR: make[2]: *** [Makefile:511: all] Error 2 BUILDSTDERR: make[1]: *** [Makefile:675: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:606: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.YoGEdJ (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.YoGEdJ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/udisks.spec