+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/i2c-tools.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YGxbuJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf i2c-tools-3.1.2 + /usr/bin/xz -dc /builddir/build/SOURCES/i2c-tools-3.1.2.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd i2c-tools-3.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BsWN6u + umask 022 + cd /builddir/build/BUILD + cd i2c-tools-3.1.2 + make 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cdetect.c -o tools/i2cdetect.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cbusses.c -o tools/i2cbusses.o In file included from /usr/include/sys/types.h:25:0, from tools/i2cbusses.c:28: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ tools/i2cbusses.c: In function 'gather_i2c_busses': tools/i2cbusses.c:221:18: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] sprintf(n, "%s/%s/name", sysfs, de->d_name); ^~ In file included from /usr/include/stdio.h:861:0, from tools/i2cbusses.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 262) into a destination of size 255 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/i2cbusses.c:225:19: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] sprintf(n, "%s/%s/device/name", sysfs, de->d_name); ^~ In file included from /usr/include/stdio.h:861:0, from tools/i2cbusses.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 14 or more bytes (assuming 269) into a destination of size 255 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/i2cbusses.c:232:19: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] sprintf(n, "%s/%s/device", sysfs, de->d_name); ^~ In file included from /usr/include/stdio.h:861:0, from tools/i2cbusses.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 264) into a destination of size 255 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/i2cbusses.c:241:21: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] sprintf(n, "%s/%s/device/%s/name", ^~ In file included from /usr/include/stdio.h:861:0, from tools/i2cbusses.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 525) into a destination of size 255 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o tools/i2cdetect tools/i2cdetect.o tools/i2cbusses.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cdump.c -o tools/i2cdump.o In file included from tools/i2cdump.c:29:0: tools/i2cdump.c: In function 'main': include/linux/i2c-dev.h:189:21: warning: inlining failed in call to 'i2c_smbus_read_byte_data': call is unlikely and code size would grow [-Winline] static inline __s32 i2c_smbus_read_byte_data(int file, __u8 command) ^~~~~~~~~~~~~~~~~~~~~~~~ tools/i2cdump.c:316:7: note: called from here res = i2c_smbus_read_byte_data(file, bankreg); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/i2cdump.c:29:0: include/linux/i2c-dev.h:189:21: warning: inlining failed in call to 'i2c_smbus_read_byte_data': call is unlikely and code size would grow [-Winline] static inline __s32 i2c_smbus_read_byte_data(int file, __u8 command) ^~~~~~~~~~~~~~~~~~~~~~~~ tools/i2cdump.c:398:17: note: called from here block[i+j] = res = ~~~~~~~~~~~^~~~~~~ i2c_smbus_read_byte_data(file, i+j); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/i2cdump.c:29:0: include/linux/i2c-dev.h:208:21: warning: inlining failed in call to 'i2c_smbus_read_word_data': call is unlikely and code size would grow [-Winline] static inline __s32 i2c_smbus_read_word_data(int file, __u8 command) ^~~~~~~~~~~~~~~~~~~~~~~~ tools/i2cdump.c:401:10: note: called from here res = i2c_smbus_read_word_data(file, ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i+j); ~~~~ In file included from tools/i2cdump.c:29:0: include/linux/i2c-dev.h:208:21: warning: inlining failed in call to 'i2c_smbus_read_word_data': call is unlikely and code size would grow [-Winline] static inline __s32 i2c_smbus_read_word_data(int file, __u8 command) ^~~~~~~~~~~~~~~~~~~~~~~~ tools/i2cdump.c:475:9: note: called from here res = i2c_smbus_read_word_data(file, i+j); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/util.c -o tools/util.o cc -o tools/i2cdump tools/i2cdump.o tools/i2cbusses.o tools/util.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cset.c -o tools/i2cset.o In file included from tools/i2cset.c:29:0: tools/i2cset.c: In function 'main': include/linux/i2c-dev.h:174:21: warning: inlining failed in call to 'i2c_smbus_read_byte': call is unlikely and code size would grow [-Winline] static inline __s32 i2c_smbus_read_byte(int file) ^~~~~~~~~~~~~~~~~~~ tools/i2cset.c:326:13: note: called from here oldvalue = i2c_smbus_read_byte(file); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/i2cset.c:29:0: include/linux/i2c-dev.h:208:21: warning: inlining failed in call to 'i2c_smbus_read_word_data': call is unlikely and code size would grow [-Winline] static inline __s32 i2c_smbus_read_word_data(int file, __u8 command) ^~~~~~~~~~~~~~~~~~~~~~~~ tools/i2cset.c:329:13: note: called from here oldvalue = i2c_smbus_read_word_data(file, daddress); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/i2cset.c:29:0: include/linux/i2c-dev.h:189:21: warning: inlining failed in call to 'i2c_smbus_read_byte_data': call is unlikely and code size would grow [-Winline] static inline __s32 i2c_smbus_read_byte_data(int file, __u8 command) ^~~~~~~~~~~~~~~~~~~~~~~~ tools/i2cset.c:332:13: note: called from here oldvalue = i2c_smbus_read_byte_data(file, daddress); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/i2cset.c:29:0: include/linux/i2c-dev.h:174:21: warning: inlining failed in call to 'i2c_smbus_read_byte': call is unlikely and code size would grow [-Winline] static inline __s32 i2c_smbus_read_byte(int file) ^~~~~~~~~~~~~~~~~~~ tools/i2cset.c:406:7: note: called from here res = i2c_smbus_read_byte(file); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/i2cset.c:29:0: include/linux/i2c-dev.h:208:21: warning: inlining failed in call to 'i2c_smbus_read_word_data': call is unlikely and code size would grow [-Winline] static inline __s32 i2c_smbus_read_word_data(int file, __u8 command) ^~~~~~~~~~~~~~~~~~~~~~~~ tools/i2cset.c:410:7: note: called from here res = i2c_smbus_read_word_data(file, daddress); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/i2cset.c:29:0: include/linux/i2c-dev.h:189:21: warning: inlining failed in call to 'i2c_smbus_read_byte_data': call is unlikely and code size would grow [-Winline] static inline __s32 i2c_smbus_read_byte_data(int file, __u8 command) ^~~~~~~~~~~~~~~~~~~~~~~~ tools/i2cset.c:413:7: note: called from here res = i2c_smbus_read_byte_data(file, daddress); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o tools/i2cset tools/i2cset.o tools/i2cbusses.o tools/util.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wundef -Wmissing-prototypes -Iinclude -c tools/i2cget.c -o tools/i2cget.o cc -o tools/i2cget tools/i2cget.o tools/i2cbusses.o tools/util.o + pushd eepromer ~/build/BUILD/i2c-tools-3.1.2/eepromer ~/build/BUILD/i2c-tools-3.1.2 + make 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I../include' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I../include -c -o eepromer.o eepromer.c eepromer.c: In function 'block_write': eepromer.c:247:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] msg[0].buf = buff; ^ eepromer.c:253:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] msg[1].buf = buf; ^ eepromer.c: In function 'block_read': eepromer.c:292:27: warning: pointer targets in passing argument 2 of 'made_address' differ in signedness [-Wpointer-sign] made_address(eeprom_addr,buff); ^~~~ eepromer.c:43:6: note: expected 'unsigned char *' but argument is of type 'char *' void made_address(int addr,unsigned char *buf); ^~~~~~~~~~~~ eepromer.c:305:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] msg[1].buf = buf; ^ eepromer.c: In function 'content_write': eepromer.c:400:12: warning: variable 'k' set but not used [-Wunused-but-set-variable] int i, j, k, delka, addr_cnt; ^ eepromer.c: In function 'content_read': eepromer.c:465:15: warning: variable 'delka' set but not used [-Wunused-but-set-variable] int i, j, k, delka; ^~~~~ eepromer.c: In function 'erase': eepromer.c:509:15: warning: variable 'delka' set but not used [-Wunused-but-set-variable] int i, j, k, delka; ^~~~~ eepromer.c:509:12: warning: variable 'k' set but not used [-Wunused-but-set-variable] int i, j, k, delka; ^ eepromer.c: In function 'inode_write': eepromer.c:612:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] msg[0].buf = buff; ^ eepromer.c: In function 'inode_read': eepromer.c:657:26: warning: pointer targets in passing argument 2 of 'made_address' differ in signedness [-Wpointer-sign] made_address(START_ADDR,buff); ^~~~ eepromer.c:342:6: note: expected 'unsigned char *' but argument is of type 'char *' void made_address(int addr,unsigned char *buf){ ^~~~~~~~~~~~ eepromer.c: In function 'main': eepromer.c:180:2: warning: 'action' may be used uninitialized in this function [-Wmaybe-uninitialized] switch(action){ ^~~~~~ cc eepromer.o -o eepromer cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I../include -c -o eeprom.o eeprom.c eeprom.c: In function 'eeprom_read': eeprom.c:109:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] i2cmsg.buf = buf; ^ eeprom.c: In function 'main': eeprom.c:239:12: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] if(!fgets(warnbuf,sizeof(warnbuf),stdin)){ ^~~~~~~ In file included from /usr/include/stdio.h:861:0, from eeprom.c:7: /usr/include/bits/stdio2.h:255:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ eeprom.c:243:13: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if(strncmp(warnbuf,"yes",3)){ ^~~~~~~ In file included from eeprom.c:11:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ cc eeprom.o -o eeprom cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I../include -c -o eeprog.o eeprog.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I../include -c -o 24cXX.o 24cXX.c cc eeprog.o 24cXX.o -o eeprog + popd ~/build/BUILD/i2c-tools-3.1.2 + pushd py-smbus ~/build/BUILD/i2c-tools-3.1.2/py-smbus ~/build/BUILD/i2c-tools-3.1.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I../include' + /usr/bin/python setup.py build DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out running build running build_ext building 'smbus' extension creating build creating build/temp.linux-riscv64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I../include -fPIC -I/usr/include/python2.7 -c smbusmodule.c -o build/temp.linux-riscv64-2.7/smbusmodule.o creating build/lib.linux-riscv64-2.7 gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I../include build/temp.linux-riscv64-2.7/smbusmodule.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/smbus.so + popd ~/build/BUILD/i2c-tools-3.1.2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.29wXVM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64 + cd i2c-tools-3.1.2 + make install DESTDIR=/builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64 prefix=/usr install -m 755 -d /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/include/linux for file in linux/i2c-dev.h ; do \ install -m 644 include/$file /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/include/$file ; done install -m 755 -d /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/bin /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/man/man1 for program in decode-dimms decode-vaio ddcmon decode-edid ; do \ install -m 755 eeprom/$program /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/bin ; done for manual in decode-dimms.1 decode-vaio.1 ; do \ install -m 644 eeprom/$manual /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/man/man1 ; done install -m 755 -d /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/sbin /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/man/man8 install -m 755 stub/i2c-stub-from-dump /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/sbin install -m 644 stub/i2c-stub-from-dump.8 /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/man/man8 install -m 755 -d /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/sbin /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/man/man8 for program in i2cdetect i2cdump i2cset i2cget ; do \ install -m 755 tools/$program /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/sbin ; \ install -m 644 tools/$program.8 /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/man/man8 ; done + install -m 755 eepromer/eepromer eepromer/eeprom eepromer/eeprog /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/sbin + install -m 644 eepromer/eepromer.8 eepromer/eeprom.8 eepromer/eeprog.8 /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/man/man8 + pushd py-smbus ~/build/BUILD/i2c-tools-3.1.2/py-smbus ~/build/BUILD/i2c-tools-3.1.2 + /usr/bin/python setup.py install --skip-build --root=/builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64 DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out running install running install_lib creating /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/smbus.so -> /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/lib64/python2.7/site-packages/smbus-1.1-py2.7.egg-info + popd ~/build/BUILD/i2c-tools-3.1.2 + rm -f /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/bin/decode-edid.pl + mv /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/include/linux /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/include/i2c-tools + rm -f /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/bin/ddcmon /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/bin/decode-edid + mkdir -p /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/etc/modprobe.d + echo 'alias char-major-89-* i2c-dev' + mkdir -p /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/etc/udev/makedev.d + (( i = 0 )) + (( i < 8 )) + echo i2c-0 + (( i++ )) + (( i < 8 )) + echo i2c-1 + (( i++ )) + (( i < 8 )) + echo i2c-2 + (( i++ )) + (( i < 8 )) + echo i2c-3 + (( i++ )) + (( i < 8 )) + echo i2c-4 + (( i++ )) + (( i < 8 )) + echo i2c-5 + (( i++ )) + (( i < 8 )) + echo i2c-6 + (( i++ )) + (( i < 8 )) + echo i2c-7 + (( i++ )) + (( i < 8 )) + mkdir -p /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/lib/modules-load.d + echo i2c-dev + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: i2c-tools-3.1.2-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JpMqSk + umask 022 + cd /builddir/build/BUILD + cd i2c-tools-3.1.2 + DOCDIR=/builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/doc/i2c-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/doc/i2c-tools + cp -pr CHANGES /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/doc/i2c-tools + cp -pr COPYING /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/doc/i2c-tools + cp -pr README /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/doc/i2c-tools + exit 0 warning: File listed twice: /usr/lib/.build-id/5d/79fb60662c196245ebdac4ca837637e1ae3aa1 warning: File listed twice: /usr/lib/.build-id/d5/a377b8ae937932361bb51b22a7d9c0c053d2b5 warning: File listed twice: /usr/lib/.build-id/f3/f3dcc1b691af793c3f63b87c2a9c48db5351ec Provides: config(i2c-tools) = 3.1.2-4.fc28 i2c-tools = 3.1.2-4.fc28 i2c-tools(riscv-64) = 3.1.2-4.fc28 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: i2c-tools-eepromer-3.1.2-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2apwqU + umask 022 + cd /builddir/build/BUILD + cd i2c-tools-3.1.2 + DOCDIR=/builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/doc/i2c-tools-eepromer + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/doc/i2c-tools-eepromer + cp -pr eepromer/README eepromer/README.eeprog eepromer/README.eeprom eepromer/README.eepromer /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/doc/i2c-tools-eepromer + exit 0 Provides: i2c-tools-eepromer = 3.1.2-4.fc28 i2c-tools-eepromer(riscv-64) = 3.1.2-4.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: i2c-tools-python-3.1.2-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Bb40ZZ + umask 022 + cd /builddir/build/BUILD + cd i2c-tools-3.1.2 + DOCDIR=/builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/doc/i2c-tools-python + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/doc/i2c-tools-python + cp -pr py-smbus/README /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64/usr/share/doc/i2c-tools-python + exit 0 Provides: i2c-tools-python = 3.1.2-4.fc28 i2c-tools-python(riscv-64) = 3.1.2-4.fc28 python2.7dist(smbus) = 1.1 python2dist(smbus) = 1.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: i2c-tools-perl-3.1.2-4.fc28.riscv64 Provides: i2c-tools-perl = 3.1.2-4.fc28 i2c-tools-perl(riscv-64) = 3.1.2-4.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl perl(:VERSION) >= 5.4.0 perl(Fcntl) perl(File::Basename) perl(POSIX) perl(constant) perl(strict) perl(vars) Processing files: i2c-tools-devel-3.1.2-4.fc28.riscv64 Provides: i2c-tools-devel = 3.1.2-4.fc28 i2c-tools-devel(riscv-64) = 3.1.2-4.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64 Wrote: /builddir/build/SRPMS/i2c-tools-3.1.2-4.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/i2c-tools-3.1.2-4.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/i2c-tools-eepromer-3.1.2-4.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/i2c-tools-python-3.1.2-4.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/i2c-tools-perl-3.1.2-4.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/i2c-tools-devel-3.1.2-4.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2mgwR0 + umask 022 + cd /builddir/build/BUILD + cd i2c-tools-3.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/i2c-tools-3.1.2-4.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff