D: [iurt_root_command] chroot warning: line 50: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64sysfs2-devel warning: line 63: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64sysfs2-static-devel Installing /home/iurt/rpmbuild/SRPMS/sysfsutils-2.1.0-24.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.rZ7TUj + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf sysfsutils-2.1.0 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/sysfsutils-2.1.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sysfsutils-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/sysfsutils-2.1.0-srcdir-include.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/sysfsutils-2.1.0-automake-1.13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + autoreconf -fi -Im4 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. libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' configure.ac:24: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:24: You should run autoupdate. aclocal.m4:121: AC_PROG_LIBTOOL is expanded from... configure.ac:24: the top level configure.ac:36: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:36: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:36: the top level configure.ac:24: installing './compile' configure.ac:3: installing './missing' cmd/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') cmd/Makefile.am: installing './depcomp' lib/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') test/Makefile.am:12: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') test/Makefile.am:9: warning: variable 'testlibsysfs_SOURCES' is defined but no program or test/Makefile.am:9: library has 'testlibsysfs' as canonical name (possible typo) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Y5n2aj + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sysfsutils-2.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-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 --libdir=/lib64 --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-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 the compiler supports GNU C... yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by aarch64-mageia-linux-gnu-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/aarch64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/aarch64-mageia-linux-gnu-nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... aarch64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/aarch64-mageia-linux-gnu-nm -p output from aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if aarch64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for aarch64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if aarch64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if aarch64-mageia-linux-gnu-gcc static flag -static works... no checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the aarch64-mageia-linux-gnu-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... no checking for aarch64-mageia-linux-gnu-gcc... (cached) aarch64-mageia-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... (cached) yes checking for aarch64-mageia-linux-gnu-gcc option to enable C11 features... (cached) none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of aarch64-mageia-linux-gnu-gcc... (cached) none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for aarch64-mageia-linux-gnu-ranlib... (cached) aarch64-mageia-linux-gnu-ranlib checking for gawk... (cached) gawk checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... (cached) /usr/bin/grep -E checking for fcntl.h... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether lstat correctly handles trailing slash... yes checking whether lstat accepts an empty string... no checking for GNU libc compatible malloc... yes checking whether stat accepts an empty string... no checking for bzero... yes checking for isascii... yes checking for memset... yes checking for strchr... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating cmd/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in lib make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libsysfs_la-sysfs_utils.lo `test -f 'sysfs_utils.c' || echo './'`sysfs_utils.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c sysfs_utils.c -fPIC -DPIC -o .libs/libsysfs_la-sysfs_utils.o In file included from /usr/include/string.h:519, from ./../include/libsysfs.h:27, from sysfs_utils.c:23: In function 'strncpy', inlined from 'sysfs_get_link' at sysfs_utils.c:149:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_link' at sysfs_utils.c:179:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_link' at sysfs_utils.c:159:5: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'sysfs_get_link' at sysfs_utils.c:157:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_link' at sysfs_utils.c:188:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_link' at sysfs_utils.c:194:5: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'sysfs_get_link' at sysfs_utils.c:192:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libsysfs_la-sysfs_driver.lo `test -f 'sysfs_driver.c' || echo './'`sysfs_driver.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c sysfs_driver.c -fPIC -DPIC -o .libs/libsysfs_la-sysfs_driver.o In file included from /usr/include/string.h:519, from ./../include/libsysfs.h:27, from sysfs_driver.c:23: In function 'strncpy', inlined from 'get_driver_bus' at sysfs_driver.c:70:2, inlined from 'sysfs_open_driver_path' at sysfs_driver.c:149:6, inlined from 'sysfs_open_driver_path' at sysfs_driver.c:121:22: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_driver_module' at sysfs_driver.c:280:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libsysfs_la-sysfs_module.lo `test -f 'sysfs_module.c' || echo './'`sysfs_module.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c sysfs_module.c -fPIC -DPIC -o .libs/libsysfs_la-sysfs_module.o In file included from /usr/include/string.h:519, from ./../include/libsysfs.h:27, from sysfs_module.c:23: In function 'strncpy', inlined from 'sysfs_open_module' at sysfs_module.c:148:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_module_parms' at sysfs_module.c:204:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_module_sections' at sysfs_module.c:226:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libsysfs_la-sysfs_bus.lo `test -f 'sysfs_bus.c' || echo './'`sysfs_bus.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c sysfs_bus.c -fPIC -DPIC -o .libs/libsysfs_la-sysfs_bus.o In file included from /usr/include/string.h:519, from ./../include/libsysfs.h:27, from sysfs_bus.c:23: In function 'strncpy', inlined from 'sysfs_get_bus_devices' at sysfs_bus.c:97:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_bus_devices' at sysfs_bus.c:111:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_bus_drivers' at sysfs_bus.c:152:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_bus_drivers' at sysfs_bus.c:166:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_open_bus' at sysfs_bus.c:220:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_bus_device' at sysfs_bus.c:253:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_bus_driver' at sysfs_bus.c:300:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libsysfs_la-dlist.lo `test -f 'dlist.c' || echo './'`dlist.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c dlist.c -fPIC -DPIC -o .libs/libsysfs_la-dlist.o dlist.c: In function '_dlist_swap': dlist.c:649:32: warning: unused parameter 'list' [-Wunused-parameter] 649 | void _dlist_swap(struct dlist *list, struct dl_node *a, struct dl_node *b) | ~~~~~~~~~~~~~~^~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libsysfs_la-sysfs_device.lo `test -f 'sysfs_device.c' || echo './'`sysfs_device.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c sysfs_device.c -fPIC -DPIC -o .libs/libsysfs_la-sysfs_device.o In file included from /usr/include/string.h:519, from ./../include/libsysfs.h:27, from sysfs_device.c:23: In function 'strncpy', inlined from 'get_dev_driver' at sysfs_device.c:40:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'get_dev_subsystem' at sysfs_device.c:95:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_device_bus' at sysfs_device.c:69:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_open_device_path' at sysfs_device.c:199:2, inlined from 'sysfs_open_device_path' at sysfs_device.c:165:22: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_device_parent' at sysfs_device.c:388:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libsysfs_la-sysfs_attr.lo `test -f 'sysfs_attr.c' || echo './'`sysfs_attr.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c sysfs_attr.c -fPIC -DPIC -o .libs/libsysfs_la-sysfs_attr.o In file included from /usr/include/string.h:519, from ./../include/libsysfs.h:27, from sysfs_attr.c:23: In function 'strncpy', inlined from 'get_attribute' at sysfs_attr.c:370:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'read_dir_links' at sysfs_attr.c:408:3: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_dir_links' at sysfs_attr.c:419:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 63 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'sysfs_read_dir_subdirs' at sysfs_attr.c:480:3: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'read_dir_subdirs' at sysfs_attr.c:517:3: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_dir_subdirs' at sysfs_attr.c:528:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 63 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'get_attributes_list' at sysfs_attr.c:565:3: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'get_dev_attributes_list' at sysfs_attr.c:600:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'get_dev_attributes_list' at sysfs_attr.c:612:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'get_dev_attributes_list' at sysfs_attr.c:614:3: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' /bin/sh ../libtool --tag=CC --mode=compile aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o libsysfs_la-sysfs_class.lo `test -f 'sysfs_class.c' || echo './'`sysfs_class.c libtool: compile: aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c sysfs_class.c -fPIC -DPIC -o .libs/libsysfs_la-sysfs_class.o In file included from /usr/include/string.h:519, from ./../include/libsysfs.h:27, from sysfs_class.c:23: In function 'strncpy', inlined from 'sysfs_open_class_device_path' at sysfs_class.c:195:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'set_classdev_classname' at sysfs_class.c:114:3, inlined from 'sysfs_open_class_device_path' at sysfs_class.c:201:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 63 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'add_cdevs_to_classlist.part.0' at sysfs_class.c:502:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_classdev_parent' at sysfs_class.c:231:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_classdev_parent' at sysfs_class.c:236:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_classdev_device' at sysfs_class.c:378:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_open_class' at sysfs_class.c:431:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_class_device' at sysfs_class.c:466:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'sysfs_get_class_devices' at sysfs_class.c:537:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -version-info 2:1:0 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libsysfs.la -rpath /lib64 libsysfs_la-sysfs_utils.lo libsysfs_la-sysfs_attr.lo libsysfs_la-sysfs_class.lo libsysfs_la-dlist.lo libsysfs_la-sysfs_device.lo libsysfs_la-sysfs_driver.lo libsysfs_la-sysfs_bus.lo libsysfs_la-sysfs_module.lo libtool: link: aarch64-mageia-linux-gnu-gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/libsysfs_la-sysfs_utils.o .libs/libsysfs_la-sysfs_attr.o .libs/libsysfs_la-sysfs_class.o .libs/libsysfs_la-dlist.o .libs/libsysfs_la-sysfs_device.o .libs/libsysfs_la-sysfs_driver.o .libs/libsysfs_la-sysfs_bus.o .libs/libsysfs_la-sysfs_module.o -O2 -g -fstack-protector -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,-soname -Wl,libsysfs.so.2 -o .libs/libsysfs.so.2.0.1 libtool: link: (cd ".libs" && rm -f "libsysfs.so.2" && ln -s "libsysfs.so.2.0.1" "libsysfs.so.2") libtool: link: (cd ".libs" && rm -f "libsysfs.so" && ln -s "libsysfs.so.2.0.1" "libsysfs.so") libtool: link: ( cd ".libs" && rm -f "libsysfs.la" && ln -s "../libsysfs.la" "libsysfs.la" ) make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' Making all in cmd make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/cmd' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o names.o names.c names.c: In function 'parse_name_list': names.c:118:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 118 | if (strlen(q+2) < 3 || | ~^~ | | | unsigned char * In file included from names.c:13: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ names.c:120:13: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 120 | sscanf(q+2, "%x", &id1) != 1) | ~^~ | | | unsigned char * In file included from names.c:11: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ names.c:126:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 126 | if (strlen(q) < 5 || | ^ | | | unsigned char * In file included from names.c:13: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ names.c:128:12: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 128 | sscanf(q, "%x", &id1) != 1) | ^ | | | unsigned char * In file included from names.c:11: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ names.c:141:17: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 141 | if (sscanf(q, "%x", &id2) != 1 || q[4] != ' ') | ^ | | | unsigned char * In file included from names.c:11: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ names.c:150:17: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 150 | if (sscanf(q, "%x", &id2) != 1 || q[2] != ' ') | ^ | | | unsigned char * In file included from names.c:11: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ names.c:164:17: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 164 | if (sscanf(q, "%x%x", &id3, &id4) != 2 || q[9] != ' ') | ^ | | | unsigned char * In file included from names.c:11: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ names.c:172:17: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 172 | if (sscanf(q, "%x", &id3) != 1 || q[2] != ' ') | ^ | | | unsigned char * In file included from names.c:11: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ names.c: In function 'load_name_list': names.c:202:14: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 202 | fd = open(a->pci_id_file_name, O_RDONLY); | ~^~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/fcntl.h:329, from names.c:14: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ names.c:209:22: warning: pointer targets in passing argument 2 of 'err_name_list' differ in signedness [-Wpointer-sign] 209 | err_name_list(a, "stat"); | ^~~~~~ | | | char * names.c:84:52: note: expected 'unsigned char *' but argument is of type 'char *' 84 | err_name_list(struct pci_access *a, unsigned char *msg) | ~~~~~~~~~~~~~~~^~~ names.c:212:22: warning: pointer targets in passing argument 2 of 'err_name_list' differ in signedness [-Wpointer-sign] 212 | err_name_list(a, "read"); | ^~~~~~ | | | char * names.c:84:52: note: expected 'unsigned char *' but argument is of type 'char *' 84 | err_name_list(struct pci_access *a, unsigned char *msg) | ~~~~~~~~~~~~~~~^~~ names.c: In function 'pci_lookup_name': names.c:267:17: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 267 | res = snprintf(buf, size, "%04x", arg1); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:273:17: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 273 | res = snprintf(buf, size, "%04x", arg2); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:282:21: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 282 | res = snprintf(buf, size, "Unknown device %04x:%04x", arg1, arg2); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:284:21: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 284 | res = snprintf(buf, size, "%s: Unknown device %04x", e->name, arg2); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:286:21: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 286 | res = snprintf(buf, size, "%s %s", e->name, e2->name); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:289:17: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 289 | res = snprintf(buf, size, "%04x:%04x", arg1, arg2); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:295:17: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 295 | res = snprintf(buf, size, "%04x", arg2); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:303:17: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 303 | res = snprintf(buf, size, "%04x", arg4); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:315:21: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 315 | res = snprintf(buf, size, "Unknown device %04x:%04x", arg3, arg4); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:317:21: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 317 | res = snprintf(buf, size, "%s: Unknown device %04x", e->name, arg4); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:319:21: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 319 | res = snprintf(buf, size, "%s %s", e->name, e2->name); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:322:17: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 322 | res = snprintf(buf, size, "%04x:%04x", arg3, arg4); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:328:17: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 328 | res = snprintf(buf, size, "%s [%04x]", n->name, arg1); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:330:17: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 330 | res = snprintf(buf, size, "Class %04x", arg1); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:340:19: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 340 | res = snprintf(buf, size, "%s%s%s%s%s", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from names.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ names.c:352:14: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 352 | return ""; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ names.c:355:14: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 355 | return ""; | ^~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/cmd' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/cmd' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o systool.o systool.c systool.c: In function 'show_device': systool.c:271:27: warning: pointer targets in passing argument 2 of 'get_pciconfig_word' differ in signedness [-Wpointer-sign] 271 | (PCI_VENDOR_ID, attr->value); | ~~~~^~~~~~~ | | | char * systool.c:85:67: note: expected 'unsigned char *' but argument is of type 'char *' 85 | static unsigned int get_pciconfig_word(int offset, unsigned char *buf) | ~~~~~~~~~~~~~~~^~~ systool.c:273:27: warning: pointer targets in passing argument 2 of 'get_pciconfig_word' differ in signedness [-Wpointer-sign] 273 | (PCI_DEVICE_ID, attr->value); | ~~~~^~~~~~~ | | | char * systool.c:85:67: note: expected 'unsigned char *' but argument is of type 'char *' 85 | static unsigned int get_pciconfig_word(int offset, unsigned char *buf) | ~~~~~~~~~~~~~~~^~~ systool.c:275:29: warning: pointer targets in passing argument 2 of 'pci_lookup_name' differ in signedness [-Wpointer-sign] 275 | pci_lookup_name(pacc, buf, 128, | ^~~ | | | char * In file included from systool.c:33: names.h:31:76: note: expected 'unsigned char *' but argument is of type 'char *' 31 | extern unsigned char *pci_lookup_name(struct pci_access *a, unsigned char *buf, | ~~~~~~~~~~~~~~~^~~ systool.c: In function 'main': systool.c:751:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 751 | pacc->pci_id_file_name = pci_id_file; | ^ systool.c:692:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 692 | show_module = optarg; | ~~~~~~~~~~~~^~~~~~~~ systool.c:693:3: note: here 693 | case 'p': | ^~~~ In file included from /usr/include/string.h:519, from systool.c:25: In function 'strncpy', inlined from 'show_device.part.0' at systool.c:264:4: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'show_default_info' at systool.c:592:2, inlined from 'main' at systool.c:763:12: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 63 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'show_default_info' at systool.c:603:2, inlined from 'main' at systool.c:763:12: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 63 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'show_default_info' at systool.c:614:2, inlined from 'main' at systool.c:763:12: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 63 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'show_default_info' at systool.c:625:2, inlined from 'main' at systool.c:763:12: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 63 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/cmd' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/cmd' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -Wall -W -Wstrict-prototypes -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o systool systool.o names.o ../lib/libsysfs.la libtool: link: aarch64-mageia-linux-gnu-gcc -Wall -W -Wstrict-prototypes -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/systool systool.o names.o ../lib/.libs/libsysfs.so make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/cmd' Making all in test make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' ./create-test make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' /usr/bin/make all-am make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o get_device.o get_device.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o get_module.o get_module.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o get_driver.o get_driver.c get_driver.c: In function 'main': get_driver.c:40:26: warning: unused variable 'attr' [-Wunused-variable] 40 | struct sysfs_attribute *attr = NULL; | ^~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o dlist_test.o dlist_test.c dlist_test.c: In function 'main': dlist_test.c:63:15: warning: unused parameter 'argc' [-Wunused-parameter] 63 | int main (int argc,char *argv[]) | ~~~~^~~~ dlist_test.c:63:26: warning: unused parameter 'argv' [-Wunused-parameter] 63 | int main (int argc,char *argv[]) | ~~~~~~^~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o get_device get_device.o ../lib/libsysfs.la libtool: link: aarch64-mageia-linux-gnu-gcc -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/get_device get_device.o ../lib/.libs/libsysfs.so make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o get_driver get_driver.o ../lib/libsysfs.la libtool: link: aarch64-mageia-linux-gnu-gcc -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/get_driver get_driver.o ../lib/.libs/libsysfs.so make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o dlist_test dlist_test.o ../lib/libsysfs.la libtool: link: aarch64-mageia-linux-gnu-gcc -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/dlist_test dlist_test.o ../lib/.libs/libsysfs.so make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' /bin/sh ../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o get_module get_module.o ../lib/libsysfs.la libtool: link: aarch64-mageia-linux-gnu-gcc -Wall -W -Wstrict-prototypes -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o .libs/get_module get_module.o ../lib/.libs/libsysfs.so make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gv9OIj + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64 + cd sysfsutils-2.1.0 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64 'INSTALL=/usr/bin/install -p' Making install in lib make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libsysfs.la '/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/lib64' libtool: install: /usr/bin/install -p .libs/libsysfs.so.2.0.1 /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/lib64/libsysfs.so.2.0.1 libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/lib64 && { ln -s -f libsysfs.so.2.0.1 libsysfs.so.2 || { rm -f libsysfs.so.2 && ln -s libsysfs.so.2.0.1 libsysfs.so.2; }; }) libtool: install: (cd /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/lib64 && { ln -s -f libsysfs.so.2.0.1 libsysfs.so || { rm -f libsysfs.so && ln -s libsysfs.so.2.0.1 libsysfs.so; }; }) libtool: install: /usr/bin/install -p .libs/libsysfs.lai /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/lib64/libsysfs.la libtool: warning: remember to run 'libtool --finish /lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/lib' Making install in cmd make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/cmd' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/cmd' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p systool '/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin' libtool: warning: '../lib/libsysfs.la' has not been installed in '/lib64' libtool: install: /usr/bin/install -p .libs/systool /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/systool make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/cmd' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/cmd' Making install in test make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' /usr/bin/make install-am make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p dlist_test get_device get_driver get_module '/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin' libtool: warning: '../lib/libsysfs.la' has not been installed in '/lib64' libtool: install: /usr/bin/install -p .libs/dlist_test /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/dlist_test libtool: warning: '../lib/libsysfs.la' has not been installed in '/lib64' libtool: install: /usr/bin/install -p .libs/get_device /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/get_device libtool: warning: '../lib/libsysfs.la' has not been installed in '/lib64' libtool: install: /usr/bin/install -p .libs/get_driver /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/get_driver libtool: warning: '../lib/libsysfs.la' has not been installed in '/lib64' libtool: install: /usr/bin/install -p .libs/get_module /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/get_module make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0/test' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/include/sysfs' /usr/bin/install -p -m 644 include/libsysfs.h include/dlist.h '/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/include/sysfs' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 systool.1 '/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/share/man/man1' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0' + rm -f /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/lib64/libsysfs.la + rm -f /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/dlist_test + install -d /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/lib64 + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.1.0-24.mga8 --unique-debug-suffix -2.1.0-24.mga8.aarch64 --unique-debug-src-base sysfsutils-2.1.0-24.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/sysfsutils-2.1.0 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/systool extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/systool explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/get_module explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/lib64/libsysfs.so.2.0.1 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/get_driver explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/get_device extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/get_module extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/get_driver extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/bin/get_device extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/lib64/libsysfs.so.2.0.1 original debug info size: 352kB, size after compression: 340kB /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 269 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sysfsutils-2.1.0-24.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.vwcixh + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sysfsutils-2.1.0 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/share/doc/sysfsutils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/share/doc/sysfsutils + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/share/doc/sysfsutils + cp -pr README /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/share/doc/sysfsutils + cp -pr NEWS /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/share/doc/sysfsutils + RPM_EC=0 ++ jobs -p + exit 0 Provides: sysfsutils = 2.1.0-24.mga8 sysfsutils(aarch-64) = 2.1.0-24.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libsysfs.so.2()(64bit) Processing files: lib64sysfs2-2.1.0-24.mga8.aarch64 Provides: lib64sysfs2 = 2.1.0-24.mga8 lib64sysfs2(aarch-64) = 2.1.0-24.mga8 libsysfs = 2.1.0-24.mga8 libsysfs.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) Processing files: lib64sysfs-devel-2.1.0-24.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Bf3v2g + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sysfsutils-2.1.0 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/share/doc/lib64sysfs-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/share/doc/lib64sysfs-devel + cp -pr docs/libsysfs.txt /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64/usr/share/doc/lib64sysfs-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: devel(libsysfs(64bit)) lib64sysfs-devel = 2.1.0-24.mga8 lib64sysfs-devel(aarch-64) = 2.1.0-24.mga8 libsysfs-devel = 2.1.0-24.mga8 libsysfs2-devel = 2.1.0-24.mga8 sysfsutils-devel = 2.1.0-24.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: lib64sysfs1-devel < 2.1.0 Obsoletes: lib64sysfs2-devel Processing files: sysfsutils-debugsource-2.1.0-24.mga8.aarch64 Provides: sysfsutils-debugsource = 2.1.0-24.mga8 sysfsutils-debugsource(aarch-64) = 2.1.0-24.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sysfsutils-debuginfo-2.1.0-24.mga8.aarch64 Provides: debuginfo(build-id) = 062d4083cb7946c192d1c133852c4c010df42039 debuginfo(build-id) = 458aa206c9e26788445e543c8737a5b54535a643 debuginfo(build-id) = e226f75437ae785b881ce6b2dff7fbb905f8871e debuginfo(build-id) = f68bfe7de307902ba70c815f5d4bcd2112d97afa sysfsutils-debuginfo = 2.1.0-24.mga8 sysfsutils-debuginfo(aarch-64) = 2.1.0-24.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sysfsutils-debugsource(aarch-64) = 2.1.0-24.mga8 Processing files: lib64sysfs2-debuginfo-2.1.0-24.mga8.aarch64 Provides: debuginfo(build-id) = f34a2d2cc5fb8a661690296ecec0a2c85c4625c7 lib64sysfs2-debuginfo = 2.1.0-24.mga8 lib64sysfs2-debuginfo(aarch-64) = 2.1.0-24.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sysfsutils-debugsource(aarch-64) = 2.1.0-24.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64sysfs2-2.1.0-24.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sysfsutils-2.1.0-24.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64sysfs-devel-2.1.0-24.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sysfsutils-debugsource-2.1.0-24.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sysfsutils-debuginfo-2.1.0-24.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64sysfs2-debuginfo-2.1.0-24.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.P0Bspf + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sysfsutils-2.1.0 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/sysfsutils-2.1.0-24.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Hvo9Vf + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf sysfsutils-2.1.0 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!