D: [iurt_root_command] chroot
Installing /home/iurt/rpmbuild/SRPMS/libkarma-0.1.2-12.mga8.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BTQvmD
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf libkarma-0.1.2
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/libkarma-0.1.2.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libkarma-0.1.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ sed -i 's!gmcs!mcs!' karma-sharp/Makefile
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.6fzL2z
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd libkarma-0.1.2
+ '[' 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
+ make PREFIX=/home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr
cd src && make
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/src'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o errors.o errors.c
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o fdb.o fdb.c
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o hash.o hash.c
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o karma.o karma.c
karma.c:33:30: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type]
   33 | #define set_unimpl_cast(x,y) (y) unimpl
      |                              ^
karma.c:71:5: note: in expansion of macro 'set_unimpl_cast'
   71 |     set_unimpl_cast(update_database, void (*)()),
      |     ^~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from karma.c:17:
In function 'memcpy',
    inlined from 'lk_karma_find_tmpdir' at karma.c:137:5,
    inlined from 'lk_karma_connect' at karma.c:159:9:
/usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset 18 is out of the bounds [0, 18] [-Warray-bounds]
   34 |   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o karmaLan.o karmaLan.c
karmaLan.c: In function 'lk_karmaLan_get_protocol_version':
karmaLan.c:197:43: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  197 |     memcpy(versions, major_version, sizeof(major_version));
      |                                           ^
karmaLan.c:198:47: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  198 |     memcpy(&versions[4], minor_version, sizeof(minor_version));
      |                                               ^
karmaLan.c: In function 'lk_karmaLan_prepare':
karmaLan.c:373:36: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  373 |     memcpy(&(p[4]), file_id, sizeof(file_id));
      |                                    ^
In file included from /usr/include/string.h:495,
                 from karmaLan.c:18:
In function 'memcpy',
    inlined from 'lk_karmaLan_get_protocol_version' at karmaLan.c:198:5:
/usr/include/bits/string_fortified.h:34:10: warning: '__builtin___memcpy_chk' forming offset [8, 11] is out of the bounds [0, 8] of object 'versions' with type 'char[8]' [-Warray-bounds]
   34 |   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
karmaLan.c: In function 'lk_karmaLan_get_protocol_version':
karmaLan.c:193:10: note: 'versions' declared here
  193 |     char versions[8];
      |          ^~~~~~~~
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o karmaUsb.o karmaUsb.c
karmaUsb.c: In function 'read_properties_smalldb':
karmaUsb.c:698:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  698 |         fread(db->playlists[i].playlist, db->playlists[i].len, 1, fp);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
karmaUsb.c:726:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  726 |     fread(db->dmap, db->dmap_size, 1, fp);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from karmaUsb.c:21:
In function 'strncat',
    inlined from 'read_file_info' at karmaUsb.c:388:5,
    inlined from 'read_properties' at karmaUsb.c:476:23:
/usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 16 bytes from a string of length 255 [-Wstringop-truncation]
  136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncat',
    inlined from 'lk_karmaUsb_get_device_settings' at karmaUsb.c:164:9:
/usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 1024 equals destination size [-Wstringop-overflow=]
  136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o md5.o md5.c
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o mountSearch.o mountSearch.c
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o mp3.o mp3.c
mp3.c: In function 'get_id3':
mp3.c:206:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  206 |             fread(fbuf,1,3,mp3->file); fbuf[3] = '\0';
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
mp3.c:213:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  213 |                 fread(mp3->id3.title,1,30,mp3->file);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mp3.c:215:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  215 |                 fread(mp3->id3.artist,1,30,mp3->file);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mp3.c:217:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  217 |                 fread(mp3->id3.album,1,30,mp3->file);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mp3.c:219:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  219 |                 fread(mp3->id3.year,1,4,mp3->file);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mp3.c:221:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  221 |                 fread(mp3->id3.comment,1,30,mp3->file);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mp3.c:226:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  226 |                 fread(mp3->id3.genre,1,1,mp3->file);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from mp3.c:19:
In function 'strncat',
    inlined from 'write_tag' at mp3.c:271:5:
/usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying 30 bytes from a string of length 30 [-Wstringop-truncation]
  136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncat',
    inlined from 'write_tag' at mp3.c:273:5:
/usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying 30 bytes from a string of length 30 [-Wstringop-truncation]
  136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncat',
    inlined from 'write_tag' at mp3.c:275:5:
/usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying 30 bytes from a string of length 30 [-Wstringop-truncation]
  136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncat',
    inlined from 'write_tag' at mp3.c:277:5:
/usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation]
  136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncat',
    inlined from 'write_tag' at mp3.c:279:5:
/usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying 30 bytes from a string of length 30 [-Wstringop-truncation]
  136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o playlist.o playlist.c
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o properties.o properties.c
properties.c: In function 'lk_properties_load':
properties.c:296:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  296 |     read(fd, buf, info.st_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
properties.c: In function 'lk_properties_save':
properties.c:350:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  350 |             write(fd, buf, strlen(buf));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
properties.c:352:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  352 |             write(fd, "\n", 1);
      |             ^~~~~~~~~~~~~~~~~~
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o rio_rw.o rio_rw.c
rio_rw.c:542:7: warning: no previous prototype for 'strrtrim' [-Wmissing-prototypes]
  542 | char *strrtrim (char *s) {
      |       ^~~~~~~~
rio_rw.c: In function 'lk_rio_read_playlist':
rio_rw.c:81:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   81 |     write(dst, pl->playlist, pl->length);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rio_rw.c: In function 'lk_rio_read':
rio_rw.c:118:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  118 |         write(dst, tmp, got);
      |         ^~~~~~~~~~~~~~~~~~~~
rio_rw.c: In function 'get_file_type':
rio_rw.c:667:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  667 |             fread(buf, 1, 3, mp3->file);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
rio_rw.c:674:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  674 |     fread(buf, 1, 48, mp3->file);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
rio_rw.c:679:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  679 |         fread(buf, 1, 48, mp3->file);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
rio_rw.c:687:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  687 |             fread(buf, 1, 48, mp3->file);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
rio_rw.c:700:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  700 |             fread(buf, 1, 4, mp3->file);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o ssdp.o ssdp.c
ssdp.c: In function 'lk_ssdp_discover':
ssdp.c:135:52: warning: comparison is always false due to limited range of data type [-Wtype-limits]
  135 |                            &clientsock, &socklen)) == (size_t) - 1) {
      |                                                    ^~
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o status.o status.c
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o utf8.o utf8.c
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o util.o util.c
util.c: In function 'lk_generate_rid':
util.c:194:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
  194 |         read(file, &cache, RID_BLOCKS);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused   -c -o wav.o wav.c
ar r ../lib/libkarma.a errors.o fdb.o hash.o karma.o karmaLan.o karmaUsb.o md5.o mountSearch.o mp3.o playlist.o properties.o rio_rw.o ssdp.o status.o utf8.o util.o wav.o
ar: creating ../lib/libkarma.a
ranlib ../lib/libkarma.a
touch static-lib-stamp
cc  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -shared -Wl,-soname,libkarma.so.0 errors.o fdb.o hash.o karma.o karmaLan.o karmaUsb.o md5.o mountSearch.o mp3.o playlist.o properties.o rio_rw.o ssdp.o status.o utf8.o util.o wav.o -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused -o ../lib/libkarma.so.0.1.1 -ltag_c -lz
ln -s libkarma.so.0.1.1 ../lib/libkarma.so.0
ln -s libkarma.so.0.1.1 ../lib/libkarma.so
touch shared-lib-stamp
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/src'
cd tools && make
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/tools'
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -pedantic   -c -o pathedit.o pathedit.c
cc -I../src  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -ltag_c -lz -L ../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -pedantic riocp.c -o riocp pathedit.o -lkarma 
riocp.c: In function 'main':
riocp.c:702:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  702 |                 scanf("%c", &yesNot);
      |                 ^~~~~~~~~~~~~~~~~~~~
cc -I../src  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -ltag_c -lz -L ../lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -pedantic chprop.c -o chprop  -lkarma
cc -I../src -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -pedantic karma_helper.c -o karma_helper -lusb
karma_helper.c: In function 'sysfs_read_dev':
karma_helper.c:64:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
   64 |                 read(fd, id, 4);
      |                 ^~~~~~~~~~~~~~~
karma_helper.c:76:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
   76 |                 read(fd, id, 4);
      |                 ^~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/tools'
cd karma-sharp && make
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/karma-sharp'
/usr/bin/mcs -debug -unsafe -target:library -out:karma-sharp.dll Song.cs Device.cs  -r:Mono.Posix
Song.cs(28,38): warning CS0168: The variable `e' is declared but never used
Compilation succeeded - 1 warning(s)

make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/karma-sharp'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.l1ytZA
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64 '!=' / ']'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64
++ dirname /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT
+ mkdir /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64
+ cd libkarma-0.1.2
+ '[' 1 -eq 1 ']'
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64
+ make install PREFIX=/home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr CHOWNPROG=/bin/true CHGRPPROG=/bin/true
cd src && make
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/src'
ar r ../lib/libkarma.a errors.o fdb.o hash.o karma.o karmaLan.o karmaUsb.o md5.o mountSearch.o mp3.o playlist.o properties.o rio_rw.o ssdp.o status.o utf8.o util.o wav.o
ranlib ../lib/libkarma.a
touch static-lib-stamp
cc -shared -Wl,-soname,libkarma.so.0 errors.o fdb.o hash.o karma.o karmaLan.o karmaUsb.o md5.o mountSearch.o mp3.o playlist.o properties.o rio_rw.o ssdp.o status.o utf8.o util.o wav.o -fPIC -D_REENTRANT -Wall -pedantic -W -Wchar-subscripts -Wmissing-prototypes  -Wmissing-declarations -Wno-switch -Wredundant-decls -Wno-unused -o ../lib/libkarma.so.0.1.1 -ltag_c -lz
touch shared-lib-stamp
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/src'
cd tools && make
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/tools'
cc -I../src -ltag_c -lz -L ../lib -Wall -pedantic riocp.c -o riocp pathedit.o -lkarma 
cc -I../src -ltag_c -lz -L ../lib -Wall -pedantic chprop.c -o chprop  -lkarma
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/tools'
cd karma-sharp && make
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/karma-sharp'

make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/karma-sharp'
cd src && make install
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/src'
ar r ../lib/libkarma.a errors.o fdb.o hash.o karma.o karmaLan.o karmaUsb.o md5.o mountSearch.o mp3.o playlist.o properties.o rio_rw.o ssdp.o status.o utf8.o util.o wav.o
ranlib ../lib/libkarma.a
touch static-lib-stamp
../install-sh -m 0755 -d /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/lib
../install-sh -m 0755 -d /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/include
../install-sh -m 0755 -d /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/include/libkarma
../install-sh -m 0644 -t /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/lib/ ../lib/libkarma.a
../install-sh -m 0755 -t /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/lib/ ../lib/libkarma.so.0.1.1
rm -f /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/lib/libkarma.so.0
rm -f /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/lib/libkarma.so
ln -s libkarma.so.0.1.1 /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/lib/libkarma.so.0
ln -s libkarma.so.0.1.1 /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/lib/libkarma.so
../install-sh -m 0644 -t /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/include/libkarma/ lkarma.h utf8.h
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/src'
cd karma-sharp && make install
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/karma-sharp'
sed -e 's,@prefix@,/home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr,g; s,@VERSION@,0.1.2,g' \
karma-sharp.pc.in > karma-sharp.pc
../install-sh -d /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/lib/karma-sharp
../install-sh -d /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/lib/pkgconfig
../install-sh -t /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/lib/karma-sharp karma-sharp.dll karma-sharp.dll.config
../install-sh -t /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/lib/pkgconfig -m 0644 karma-sharp.pc
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/karma-sharp'
cd tools && make install
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/tools'
../install-sh -m 0755 -d /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/bin
../install-sh -m 0755 -t /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/bin/ riocp chprop karma_helper
../install-sh -m 0755 -d /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/share/man/man1
../install-sh -m 0755 -t /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/share/man/man1 riocp.1 chprop.1 karma_helper.1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libkarma-0.1.2/tools'
./install-sh -d -o root -g root -m 0755 //home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/share/doc/libkarma
./install-sh    -o root -g root -m 0644 THANKS TODO ChangeLog //home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64//usr/share/doc/libkarma
+ perl -pi -e 's^/home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64^^' /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/lib/pkgconfig/karma-sharp.pc
+ mv /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/lib /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/lib64
+ perl -pi -e 's^/lib^/lib64^' /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/lib64/pkgconfig/karma-sharp.pc
+ install -m 644 -D libkarma.fdi /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/etc/hal/fdi/information/20-rio-karma.fdi
+ install -m 644 -D /home/iurt/rpmbuild/SOURCES/preferences.fdi /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/etc/hal/fdi/policy/preferences.fdi
+ install -m 644 -D /home/iurt/rpmbuild/SOURCES/multimedia-player-rio-karma.png /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/share/icons/hicolor/32x32/devices/multimedia-player-rio-karma.png
+ cat
+ install -m 644 /home/iurt/rpmbuild/SOURCES/karma-sharp.dll.config /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/lib64/karma-sharp/karma-sharp.dll.config
+ /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 0.1.2-12.mga8 --unique-debug-suffix -0.1.2-12.mga8.x86_64 --unique-debug-src-base libkarma-0.1.2-12.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/libkarma-0.1.2

explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/bin/karma_helper
explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/bin/chprop
explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/bin/riocp
explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/lib64/libkarma.so.0.1.1
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/bin/riocp
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/bin/chprop
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/lib64/libkarma.so.0.1.1
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/bin/karma_helper
gdb-add-index: No index was created for /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/bin/chprop
gdb-add-index: [Was there no debuginfo? Was there already an index?]
original debug info size: 424kB, size after compression: 412kB
/usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 1 CRC32s did match.
376 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
Warning: unused libraries in /usr/bin/chprop: libz.so.1

Warning: unused libraries in /usr/bin/riocp: libz.so.1

+ /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: libkarma-0.1.2-12.mga8.x86_64
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.0nnhSA
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd libkarma-0.1.2
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/share/doc/libkarma
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/share/doc/libkarma
+ cp -pr THANKS /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/share/doc/libkarma
+ cp -pr TODO /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/share/doc/libkarma
+ cp -pr README.urpmi /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/share/doc/libkarma
+ cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64/usr/share/doc/libkarma
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: config(libkarma) = 0.1.2-12.mga8 libkarma = 0.1.2-12.mga8 libkarma(x86-64) = 0.1.2-12.mga8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libtag_c.so.0()(64bit) libusb-0.1.so.4()(64bit) libz.so.1()(64bit)
Processing files: lib64karma0-0.1.2-12.mga8.x86_64
Provides: lib64karma0 = 0.1.2-12.mga8 lib64karma0(x86-64) = 0.1.2-12.mga8 libkarma.so.0()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libtag_c.so.0()(64bit) libz.so.1()(64bit)
Processing files: lib64karma-devel-0.1.2-12.mga8.x86_64
Provides: devel(libkarma(64bit)) lib64karma-devel = 0.1.2-12.mga8 lib64karma-devel(x86-64) = 0.1.2-12.mga8 libkarma-devel = 0.1.2-12.mga8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: devel(libtag_c(64bit)) devel(libz(64bit))
Obsoletes: lib64karma0-devel < 0.1.2-12.mga8 libkarma-devel < 0.1.2-12.mga8
Processing files: karma-sharp-0.1.2-12.mga8.x86_64
Provides: karma-sharp = 0.1.2-12.mga8 karma-sharp(x86-64) = 0.1.2-12.mga8 mono(karma-sharp) = 0.0.0.0 pkgconfig(karma-sharp) = 0.1.2
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: mono(Mono.Posix) = 4.0.0.0 mono(mscorlib) = 4.0.0.0 pkgconfig
Processing files: libkarma-debugsource-0.1.2-12.mga8.x86_64
Provides: libkarma-debugsource = 0.1.2-12.mga8 libkarma-debugsource(x86-64) = 0.1.2-12.mga8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: libkarma-debuginfo-0.1.2-12.mga8.x86_64
Provides: debuginfo(build-id) = 02273d3c7d96f7ff359d0725dbf45aec8d8fb3b5 debuginfo(build-id) = 92c25deab93f5bfb615f47b84db9d616d36d5ad0 debuginfo(build-id) = cc85ec40bb97ee278153fab9a275853041e5a087 libkarma-debuginfo = 0.1.2-12.mga8 libkarma-debuginfo(x86-64) = 0.1.2-12.mga8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libkarma-debugsource(x86-64) = 0.1.2-12.mga8
Processing files: lib64karma0-debuginfo-0.1.2-12.mga8.x86_64
Provides: debuginfo(build-id) = d889fcb3056b1e9ff2e5354b69ad55632b63ab13 lib64karma0-debuginfo = 0.1.2-12.mga8 lib64karma0-debuginfo(x86-64) = 0.1.2-12.mga8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libkarma-debugsource(x86-64) = 0.1.2-12.mga8
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64
Wrote: /home/iurt/rpmbuild/RPMS/x86_64/karma-sharp-0.1.2-12.mga8.x86_64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64karma0-0.1.2-12.mga8.x86_64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/x86_64/libkarma-debugsource-0.1.2-12.mga8.x86_64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/x86_64/libkarma-0.1.2-12.mga8.x86_64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/x86_64/libkarma-debuginfo-0.1.2-12.mga8.x86_64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64karma0-debuginfo-0.1.2-12.mga8.x86_64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/x86_64/lib64karma-devel-0.1.2-12.mga8.x86_64.rpm
Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.0GvhxC
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd libkarma-0.1.2
+ /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/libkarma-0.1.2-12.mga8.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.RMiP0A
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf libkarma-0.1.2
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!