Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libmtp.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-187932-12842/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libmtp.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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/libmtp-1.1.21-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libmtp.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-187932-12842/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libmtp.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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lKcy2s + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libmtp-1.1.21 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libmtp-1.1.21.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libmtp-1.1.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-doc-Don-t-document-internal-endian-macros.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.K0yE9i + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libmtp-1.1.21 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-04-22 16:22:16.000000000 +0800 +++ ./configure 2024-06-26 01:18:22.885716538 +0800 @@ -1766,7 +1766,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-06-26 01:18:22.885716538 +0800 +++ ./configure 2024-06-26 01:18:22.917717104 +0800 @@ -7168,7 +7168,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -18206,7 +18206,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ 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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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 --disable-static --with-udev-rules=69-libmtp.rules 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 for loongarch64-opencloudos-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether ln -s works... yes checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking how to print strings... printf 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 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 the maximum length of command line arguments... 1572864 checking how to convert loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7174: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 loongarch64-opencloudos-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 sys/time.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... yes 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... no checking for ld... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... unknown checking how to run the C preprocessor... gcc -E checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for doxygen... true configure: API documentation will be generated using Doxygen checking if the host operating system is Darwin... no checking if the host operating system is Linux... yes checking For MinGW32... no checking for loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... yes checking for libgcrypt... checking for gcry_check_version in -lgcrypt... yes configure: MTPZ functionality enabled configure: *** using libusb 1.0.26 *** checking for egrep... (cached) /usr/bin/grep -E checking for ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for getopt.h... yes checking for libgen.h... yes checking for limits.h... yes checking for stdio.h... (cached) yes checking for string.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for langinfo.h... yes checking for locale.h... yes checking for arpa/inet.h... yes checking for byteswap.h... yes checking for sys/uio.h... yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking return type of signal handlers... void checking for size_t... yes checking for struct stat.st_blksize... yes checking for working memcmp... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for basename... yes checking for memset... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strndup... yes checking for strrchr... yes checking for strtoul... yes checking for usleep... yes checking for mkstemp... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for uint8_t in stdint.h... yes checking whether byte ordering is bigendian... no checking for le32toh in machine/endian.h... no checking for ntohl in arpa/inet.h... yes checking for swap32 in machine/endian.h... no checking for bswap_32 in byteswap.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating src/libmtp.h config.status: creating doc/Doxyfile config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating examples/Makefile config.status: creating util/Makefile config.status: creating libmtp.sh config.status: creating hotplug.sh config.status: creating libmtp.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o libmtp_la-util.lo `test -f 'util.c' || echo './'`util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c util.c -fPIC -DPIC -o .libs/libmtp_la-util.o make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/src' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o libmtp_la-unicode.lo `test -f 'unicode.c' || echo './'`unicode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c unicode.c -fPIC -DPIC -o .libs/libmtp_la-unicode.o make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/src' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o libmtp_la-playlist-spl.lo `test -f 'playlist-spl.c' || echo './'`playlist-spl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c playlist-spl.c -fPIC -DPIC -o .libs/libmtp_la-playlist-spl.o make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/src' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o libmtp_la-mtpz.lo `test -f 'mtpz.c' || echo './'`mtpz.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c mtpz.c -fPIC -DPIC -o .libs/libmtp_la-mtpz.o make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/src' mtpz.c: In function 'mtpz_loaddata': mtpz.c:151:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 151 | MTPZ_ENCRYPTION_KEY = hex_to_bytes(hexenckey, strlen(hexenckey)); | ^ make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o libmtp_la-libusb1-glue.lo `test -f 'libusb1-glue.c' || echo './'`libusb1-glue.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c libusb1-glue.c -fPIC -DPIC -o .libs/libmtp_la-libusb1-glue.o make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/src' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o libmtp_la-libmtp.lo `test -f 'libmtp.c' || echo './'`libmtp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c libmtp.c -fPIC -DPIC -o .libs/libmtp_la-libmtp.o make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/src' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o libmtp_la-ptp.lo `test -f 'ptp.c' || echo './'`ptp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c ptp.c -fPIC -DPIC -o .libs/libmtp_la-ptp.o make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/src' In file included from ptp.c:125: ptp-pack.c: In function 'ptp_unpack_PTPTIME.part.0': ptp-pack.c:729:9: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] 729 | strncpy (ptpdate, str, sizeof(ptpdate)); | ^ ptp.c: In function 'ptp_nikon_getwifiprofilelist': ptp.c:4604:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 4604 | strncpy(params->wifi_profiles[profn].creation_date, buffer, sizeof(params->wifi_profiles[profn].creation_date)); | ^ ptp.c:4612:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 4612 | strncpy(params->wifi_profiles[profn].lastusage_date, buffer, sizeof(params->wifi_profiles[profn].lastusage_date)); | ^ ptp.c: In function 'ptp_nikon_writewifiprofile': ptp.c:4699:9: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] 4699 | strncpy((char*)&buffer[0x05], profile->profile_name, 16); | ^ ptp.c:4722:9: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 4722 | strncpy((char*)&buffer[0x4A], profile->essid, 32); | ^ ptp.c:4722:9: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/libusb-1.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -no-undefined -export-symbols ./libmtp.sym -version-info 13:0:4 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o libmtp.la -rpath /usr/lib64 libmtp_la-libmtp.lo libmtp_la-unicode.lo libmtp_la-util.lo libmtp_la-playlist-spl.lo libmtp_la-ptp.lo libmtp_la-mtpz.lo libmtp_la-libusb1-glue.lo -lusb-1.0 -lgcrypt libtool: link: echo "{ global:" > .libs/libmtp.ver libtool: link: cat ./libmtp.sym | sed -e "s/\(.*\)/\1;/" >> .libs/libmtp.ver libtool: link: echo "local: *; };" >> .libs/libmtp.ver libtool: link: gcc -shared -fPIC -DPIC .libs/libmtp_la-libmtp.o .libs/libmtp_la-unicode.o .libs/libmtp_la-util.o .libs/libmtp_la-playlist-spl.o .libs/libmtp_la-ptp.o .libs/libmtp_la-mtpz.o .libs/libmtp_la-libusb1-glue.o -lusb-1.0 -lgcrypt -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -fstack-protector-strong -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,libmtp.so.9 -Wl,-version-script -Wl,.libs/libmtp.ver -o .libs/libmtp.so.9.4.0 libtool: link: (cd ".libs" && rm -f "libmtp.so.9" && ln -s "libmtp.so.9.4.0" "libmtp.so.9") libtool: link: (cd ".libs" && rm -f "libmtp.so" && ln -s "libmtp.so.9.4.0" "libmtp.so") libtool: link: ( cd ".libs" && rm -f "libmtp.la" && ln -s "../libmtp.la" "libmtp.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/src' Making all in examples make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o util.o util.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o trexist.o trexist.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o newfolder.o newfolder.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o playlists.o playlists.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o reset.o reset.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o emptyfolders.o emptyfolders.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o format.o format.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o sendfile.o sendfile.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o getplaylist.o getplaylist.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o getfile.o getfile.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o newplaylist.o newplaylist.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o files.o files.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o folders.o folders.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o albums.o albums.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o thumb.o thumb.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o tracks.o tracks.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o delfile.o delfile.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o connect.o connect.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o filetree.o filetree.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o pathutils.o pathutils.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' pathutils.c: In function 'progress': pathutils.c:122:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 122 | printf("Progress: %llu of %llu (%d%%)\r", sent, total, percent); | ~~~^ ~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu pathutils.c:122:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 122 | printf("Progress: %llu of %llu (%d%%)\r", sent, total, percent); | ~~~^ ~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o albumart.o albumart.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o detect.o detect.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o sendtr.o sendtr.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-trexist trexist.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-trexist trexist.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-playlists playlists.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-playlists playlists.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-getplaylist getplaylist.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-getplaylist getplaylist.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-reset reset.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-reset reset.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-files files.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-files files.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-thumb thumb.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-thumb thumb.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-emptyfolders emptyfolders.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-emptyfolders emptyfolders.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-format format.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-format format.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-newplaylist newplaylist.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-newplaylist newplaylist.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-albums albums.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-albums albums.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-filetree filetree.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-filetree filetree.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-folders folders.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-folders folders.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-tracks tracks.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-tracks tracks.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-albumart albumart.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-albumart albumart.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-detect detect.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-detect detect.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-connect connect.o delfile.o getfile.o newfolder.o sendfile.o sendtr.o pathutils.o util.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-connect connect.o delfile.o getfile.o newfolder.o sendfile.o sendtr.o pathutils.o util.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' Making all in util make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/util' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o mtp-probe.o mtp-probe.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/util' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/util' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -c -o mtp-hotplug.o mtp-hotplug.c make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/util' mtp-hotplug.c: In function 'main': mtp-hotplug.c:206:7: warning: enumeration value 'style_udev' not handled in switch [-Wswitch] 206 | switch (style) { | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/util' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-probe mtp-probe.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-probe mtp-probe.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/util' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/util' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mtp-hotplug mtp-hotplug.o ../src/libmtp.la -lgcrypt libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wmissing-prototypes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o .libs/mtp-hotplug mtp-hotplug.o ../src/.libs/libmtp.so -lusb-1.0 -lgcrypt make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/util' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/doc' doxygen make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/doc' warning: Tag 'SHOW_DIRECTORIES' at line 365 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'COLS_IN_ALPHA_INDEX' at line 562 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'HTML_ALIGN_MEMBERS' at line 618 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'XML_SCHEMA' at line 850 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'XML_DTD' at line 856 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'PERL_PATH' at line 1017 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'CLASS_DIAGRAMS' at line 1029 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: argument 'a4wide' for option PAPER_TYPE is not a valid enum value Using the default: a4! /builddir/build/BUILD/libmtp-1.1.21/src/libopenusb1-glue.c:2063: warning: The following parameter of configure_usb_device(LIBMTP_raw_device_t *device, PTPParams *params, void **usbinfo) is not documented: parameter 'params' /builddir/build/BUILD/libmtp-1.1.21/src/libopenusb1-glue.c:549: warning: The following parameter of LIBMTP_Check_Specific_Device(int busno, int devno) is not documented: parameter 'devno' /builddir/build/BUILD/libmtp-1.1.21/src/libmtp.c:9206: warning: The following parameters of LIBMTP_Get_Thumbnail(LIBMTP_mtpdevice_t *device, uint32_t const id, unsigned char **data, unsigned int *size) are not documented: parameter 'data' parameter 'size' /builddir/build/BUILD/libmtp-1.1.21/src/libmtp.c:7379: warning: The following parameter of LIBMTP_Find_Folder(LIBMTP_folder_t *folderlist, uint32_t id) is not documented: parameter 'id' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21' util/mtp-hotplug -u -p"/usr/lib/udev" > 69-libmtp.rules make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21' util/mtp-hotplug -H > libmtp.fdi make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21' util/mtp-hotplug -w > 69-libmtp.hwdb make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21' util/mtp-hotplug > libmtp.usermap make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cGiqQt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64 + cd libmtp-1.1.21 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/src' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libmtp.la '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libmtp.so.9.4.0 /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib64/libmtp.so.9.4.0 libtool: install: (cd /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib64 && { ln -s -f libmtp.so.9.4.0 libmtp.so.9 || { rm -f libmtp.so.9 && ln -s libmtp.so.9.4.0 libmtp.so.9; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib64 && { ln -s -f libmtp.so.9.4.0 libmtp.so || { rm -f libmtp.so && ln -s libmtp.so.9.4.0 libmtp.so; }; }) libtool: install: /usr/bin/install -p .libs/libmtp.lai /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib64/libmtp.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/include' /usr/bin/install -p -m 644 libmtp.h '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/include' make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/src' make[1]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/src' Making install in examples make[1]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p mtp-connect mtp-detect mtp-tracks mtp-files mtp-folders mtp-trexist mtp-playlists mtp-getplaylist mtp-format mtp-albumart mtp-albums mtp-newplaylist mtp-emptyfolders mtp-thumb mtp-reset mtp-filetree '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin' libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-connect /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-connect libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-detect /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-detect libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-tracks /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-tracks libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-files /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-files libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-folders /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-folders libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-trexist /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-trexist libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-playlists /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-playlists libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-getplaylist /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-getplaylist libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-format /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-format libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-albumart /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-albumart libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-albums /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-albums libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-newplaylist /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-newplaylist libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-emptyfolders /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-emptyfolders libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-thumb /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-thumb libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-reset /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-reset libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-filetree /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-filetree /usr/bin/make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/examples' ln -f -s mtp-connect /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-delfile ln -f -s mtp-connect /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-getfile ln -f -s mtp-connect /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-newfolder ln -f -s mtp-connect /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-sendfile ln -f -s mtp-connect /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-sendtr make[3]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' make[1]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/examples' Making install in util make[1]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/util' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/util' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p mtp-hotplug '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin' libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-hotplug /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-hotplug /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib/udev' /bin/sh ../libtool --mode=install /usr/bin/install -p mtp-probe '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib/udev' libtool: warning: '../src/libmtp.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -p .libs/mtp-probe /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib/udev/mtp-probe make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/util' make[1]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/util' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/doc' doxygen warning: Tag 'SHOW_DIRECTORIES' at line 365 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'COLS_IN_ALPHA_INDEX' at line 562 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'HTML_ALIGN_MEMBERS' at line 618 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'XML_SCHEMA' at line 850 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'XML_DTD' at line 856 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'PERL_PATH' at line 1017 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'CLASS_DIAGRAMS' at line 1029 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: argument 'a4wide' for option PAPER_TYPE is not a valid enum value Using the default: a4! /builddir/build/BUILD/libmtp-1.1.21/src/libopenusb1-glue.c:2063: warning: The following parameter of configure_usb_device(LIBMTP_raw_device_t *device, PTPParams *params, void **usbinfo) is not documented: parameter 'params' /builddir/build/BUILD/libmtp-1.1.21/src/libopenusb1-glue.c:549: warning: The following parameter of LIBMTP_Check_Specific_Device(int busno, int devno) is not documented: parameter 'devno' /builddir/build/BUILD/libmtp-1.1.21/src/libmtp.c:9206: warning: The following parameters of LIBMTP_Get_Thumbnail(LIBMTP_mtpdevice_t *device, uint32_t const id, unsigned char **data, unsigned int *size) are not documented: parameter 'data' parameter 'size' /builddir/build/BUILD/libmtp-1.1.21/src/libmtp.c:7379: warning: The following parameter of LIBMTP_Find_Folder(LIBMTP_folder_t *folderlist, uint32_t id) is not documented: parameter 'id' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/install -p -d /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/share/doc/libmtp-1.1.21/html /usr/bin/install -p -m 644 html/* /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/share/doc/libmtp-1.1.21/html make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/doc' make[1]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21/doc' make[1]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21' make[2]: Entering directory '/builddir/build/BUILD/libmtp-1.1.21' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib/udev/hwdb.d' /usr/bin/install -p -m 644 69-libmtp.hwdb '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib/udev/hwdb.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libmtp.pc '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib64/pkgconfig' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib/udev/rules.d' /usr/bin/install -p -m 644 69-libmtp.rules '/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib/udev/rules.d' make[2]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21' make[1]: Leaving directory '/builddir/build/BUILD/libmtp-1.1.21' + rm -f /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib64/libmtp.la + rm -f /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-delfile + rm -f /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-getfile + rm -f /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-newfolder + rm -f /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-sendfile + rm -f /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-sendtr + pushd /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin ~/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin ~/build/BUILD/libmtp-1.1.21 + ln -sf mtp-connect mtp-delfile + ln -sf mtp-connect mtp-getfile + ln -sf mtp-connect mtp-newfolder + ln -sf mtp-connect mtp-sendfile + ln -sf mtp-connect mtp-sendtr + popd ~/build/BUILD/libmtp-1.1.21 + iconv -f iso-8859-1 -t utf-8 -o COPYING.utf8 COPYING + touch -r COPYING COPYING.utf8 + mv -f COPYING.utf8 COPYING + mkdir -p -m 755 /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/share/doc/libmtp + install -p -m 644 AUTHORS README TODO /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/share/doc/libmtp + '[' /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/share/doc/libmtp-1.1.21/html '!=' /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/share/doc/libmtp/html ']' + mv /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/share/doc/libmtp-1.1.21/html /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/share/doc/libmtp + touch -r configure.ac /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/include/libmtp.h /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib64/pkgconfig/libmtp.pc + chrpath --delete /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-albumart /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-albums /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-connect /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-delfile /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-detect /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-emptyfolders /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-files /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-filetree /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-folders /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-format /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-getfile /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-getplaylist /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-hotplug /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-newfolder /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-newplaylist /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-playlists /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-reset /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-sendfile /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-sendtr /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-thumb /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-tracks /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-trexist /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib/udev/mtp-probe + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.1.21-1.ocs23 --unique-debug-suffix -1.1.21-1.ocs23.loongarch64 --unique-debug-src-base libmtp-1.1.21-1.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/libmtp-1.1.21 extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-albums extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-connect extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-emptyfolders extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-albumart extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-files extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-detect extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-filetree extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-folders extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-getplaylist extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-reset extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-format extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-hotplug extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-thumb extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-newplaylist extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-tracks extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib64/libmtp.so.9.4.0 extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-playlists extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/bin/mtp-trexist extracting debug info from /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/lib/udev/mtp-probe 2638 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: libmtp-1.1.21-1.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5beV0r + umask 022 + cd /builddir/build/BUILD + cd libmtp-1.1.21 + LICENSEDIR=/builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/share/licenses/libmtp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/share/licenses/libmtp + cp -pr COPYING /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64/usr/share/licenses/libmtp + RPM_EC=0 ++ jobs -p + exit 0 Provides: libmtp = 1.1.21-1.ocs23 libmtp(loongarch-64) = 1.1.21-1.ocs23 libmtp.so.9()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libgcrypt.so.20()(64bit) libgcrypt.so.20(GCRYPT_1.6)(64bit) libmtp.so.9()(64bit) libusb-1.0.so.0()(64bit) rtld(GNU_HASH) Processing files: libmtp-examples-1.1.21-1.ocs23.loongarch64 Provides: libmtp-examples = 1.1.21-1.ocs23 libmtp-examples(loongarch-64) = 1.1.21-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libmtp.so.9()(64bit) rtld(GNU_HASH) Processing files: libmtp-devel-1.1.21-1.ocs23.loongarch64 Provides: libmtp-devel = 1.1.21-1.ocs23 libmtp-devel(loongarch-64) = 1.1.21-1.ocs23 pkgconfig(libmtp) = 1.1.21 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libmtp.so.9()(64bit) pkgconfig(libusb-1.0) Processing files: libmtp-debugsource-1.1.21-1.ocs23.loongarch64 Provides: libmtp-debugsource = 1.1.21-1.ocs23 libmtp-debugsource(loongarch-64) = 1.1.21-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libmtp-debuginfo-1.1.21-1.ocs23.loongarch64 Provides: debuginfo(build-id) = dedbad32941a05c1ed5001b0ac4efc92fd0ce93c debuginfo(build-id) = e7e4d70960c4f77a0103121f82ed77a10357ee6c libmtp-debuginfo = 1.1.21-1.ocs23 libmtp-debuginfo(loongarch-64) = 1.1.21-1.ocs23 libmtp.so.9.4.0-1.1.21-1.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libmtp-debugsource(loongarch-64) = 1.1.21-1.ocs23 Processing files: libmtp-examples-debuginfo-1.1.21-1.ocs23.loongarch64 Provides: debuginfo(build-id) = 027e494720898b6b7d5989315e0400370d0e0843 debuginfo(build-id) = 08effd3a12aacfe085b5fc2688ae7af49e781d36 debuginfo(build-id) = 1388c69a9ff1bf47e2c4932a2aab3584579edb92 debuginfo(build-id) = 269bed7a1faff1f0c6bbfea4930a2202f919be7c debuginfo(build-id) = 453e175093c61f1d6fd890b3feaed00193a67c90 debuginfo(build-id) = 490e1099a5b02cb063afc45e20ac774cca710827 debuginfo(build-id) = 58e3ed1bed4342c5831e3b6e936c034a6b41b6bd debuginfo(build-id) = 6dd1253af782bc3c597d8869af4d9cf5c86a5353 debuginfo(build-id) = 74c3d0dcfb1ab7379fbffc7a71a762223b7fc848 debuginfo(build-id) = 866ec209e7ee55c65d75ae328537320bd447e5ab debuginfo(build-id) = 8cd81a0ef4381eaa21b0fcb09daa9976d2764ed3 debuginfo(build-id) = 96d2a4fae51b091b3fe308e17492496de2dafbd2 debuginfo(build-id) = 9d758d5aeba3902d88a434e0eeefe9ceea45dad1 debuginfo(build-id) = 9f964a127f5292c0214d547fe2a823f5acb0dd35 debuginfo(build-id) = c32427a7a8629bc928001e3b9d058d63e30c55ee debuginfo(build-id) = ce4f4c054b39716af6f380920cbefc2e11a910f1 debuginfo(build-id) = ef4480536a82325a96f5fda6b8a7ec964e309c20 libmtp-examples-debuginfo = 1.1.21-1.ocs23 libmtp-examples-debuginfo(loongarch-64) = 1.1.21-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libmtp-debugsource(loongarch-64) = 1.1.21-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libmtp-1.1.21-1.ocs23.loongarch64 Wrote: /builddir/build/RPMS/libmtp-examples-1.1.21-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libmtp-1.1.21-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libmtp-examples-debuginfo-1.1.21-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libmtp-debugsource-1.1.21-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libmtp-debuginfo-1.1.21-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libmtp-devel-1.1.21-1.ocs23.loongarch64.rpm Child return code was: 0