+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-rpi-gpio.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.BD4G2N + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf RPi.GPIO-0.6.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/RPi.GPIO-0.6.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd RPi.GPIO-0.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jdj0Ps + umask 022 + cd /builddir/build/BUILD + cd RPi.GPIO-0.6.1 + 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 ' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/RPi copying RPi/__init__.py -> build/lib.linux-riscv64-2.7/RPi running build_ext building 'RPi.GPIO' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/source 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 -fPIC -I/usr/include/python2.7 -c source/py_gpio.c -o build/temp.linux-riscv64-2.7/source/py_gpio.o 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 -fPIC -I/usr/include/python2.7 -c source/c_gpio.c -o build/temp.linux-riscv64-2.7/source/c_gpio.o source/c_gpio.c: In function 'setup': source/c_gpio.c:76:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((uint32_t)gpio_map < 0) { ^ source/c_gpio.c:125:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((uint32_t)gpio_mem % PAGE_SIZE) ^ source/c_gpio.c:126:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gpio_mem += PAGE_SIZE - ((uint32_t)gpio_mem % PAGE_SIZE); ^ source/c_gpio.c:130:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((uint32_t)gpio_map < 0) ^ source/c_gpio.c:99:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, sizeof(buffer), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/c_gpio.c:64:14: warning: 'peri_base' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t peri_base; ^~~~~~~~~ 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 -fPIC -I/usr/include/python2.7 -c source/cpuinfo.c -o build/temp.linux-riscv64-2.7/source/cpuinfo.o source/cpuinfo.c: In function 'get_rpi_info': source/cpuinfo.c:41:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, sizeof(buffer), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fPIC -I/usr/include/python2.7 -c source/event_gpio.c -o build/temp.linux-riscv64-2.7/source/event_gpio.o source/event_gpio.c: In function 'event_cleanup': source/event_gpio.c:410:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((gpio == -666) || (g->gpio == gpio)) ^~ source/event_gpio.c:412:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' remove_edge_detect(g->gpio); ^~~~~~~~~~~~~~~~~~ source/event_gpio.c:416:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (epfd_blocking != -1) ^~ source/event_gpio.c:418:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' epfd_blocking = -1; ^~~~~~~~~~~~~ source/event_gpio.c:419:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (epfd_thread != -1) ^~ source/event_gpio.c:421:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' epfd_thread = -1; ^~~~~~~~~~~ source/event_gpio.c: In function 'gpio_export': source/event_gpio.c:75:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, str_gpio, len); ^~~~~~~~~~~~~~~~~~~~~~~~ source/event_gpio.c: In function 'gpio_unexport': source/event_gpio.c:90:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, str_gpio, len); ^~~~~~~~~~~~~~~~~~~~~~~~ source/event_gpio.c: In function 'gpio_set_direction': source/event_gpio.c:117:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "in", 3); ^~~~~~~~~~~~~~~~~~ source/event_gpio.c:119:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "out", 4); ^~~~~~~~~~~~~~~~~~~ source/event_gpio.c: In function 'gpio_set_edge': source/event_gpio.c:135:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, stredge[edge], strlen(stredge[edge]) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fPIC -I/usr/include/python2.7 -c source/soft_pwm.c -o build/temp.linux-riscv64-2.7/source/soft_pwm.o 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 -fPIC -I/usr/include/python2.7 -c source/py_pwm.c -o build/temp.linux-riscv64-2.7/source/py_pwm.o 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 -fPIC -I/usr/include/python2.7 -c source/common.c -o build/temp.linux-riscv64-2.7/source/common.o 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 -fPIC -I/usr/include/python2.7 -c source/constants.c -o build/temp.linux-riscv64-2.7/source/constants.o 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 build/temp.linux-riscv64-2.7/source/py_gpio.o build/temp.linux-riscv64-2.7/source/c_gpio.o build/temp.linux-riscv64-2.7/source/cpuinfo.o build/temp.linux-riscv64-2.7/source/event_gpio.o build/temp.linux-riscv64-2.7/source/soft_pwm.o build/temp.linux-riscv64-2.7/source/py_pwm.o build/temp.linux-riscv64-2.7/source/common.o build/temp.linux-riscv64-2.7/source/constants.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/RPi/GPIO.so + sleep 1 + 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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build/lib.linux-riscv64-3.6 creating build/lib.linux-riscv64-3.6/RPi copying RPi/__init__.py -> build/lib.linux-riscv64-3.6/RPi running build_ext building 'RPi.GPIO' extension creating build/temp.linux-riscv64-3.6 creating build/temp.linux-riscv64-3.6/source gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c source/py_gpio.c -o build/temp.linux-riscv64-3.6/source/py_gpio.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c source/c_gpio.c -o build/temp.linux-riscv64-3.6/source/c_gpio.o source/c_gpio.c: In function 'setup': source/c_gpio.c:76:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((uint32_t)gpio_map < 0) { ^ source/c_gpio.c:125:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((uint32_t)gpio_mem % PAGE_SIZE) ^ source/c_gpio.c:126:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gpio_mem += PAGE_SIZE - ((uint32_t)gpio_mem % PAGE_SIZE); ^ source/c_gpio.c:130:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((uint32_t)gpio_map < 0) ^ source/c_gpio.c:99:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, sizeof(buffer), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/c_gpio.c:64:14: warning: 'peri_base' may be used uninitialized in this function [-Wmaybe-uninitialized] uint32_t peri_base; ^~~~~~~~~ gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c source/cpuinfo.c -o build/temp.linux-riscv64-3.6/source/cpuinfo.o source/cpuinfo.c: In function 'get_rpi_info': source/cpuinfo.c:41:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, sizeof(buffer), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c source/event_gpio.c -o build/temp.linux-riscv64-3.6/source/event_gpio.o source/event_gpio.c: In function 'event_cleanup': source/event_gpio.c:410:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((gpio == -666) || (g->gpio == gpio)) ^~ source/event_gpio.c:412:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' remove_edge_detect(g->gpio); ^~~~~~~~~~~~~~~~~~ source/event_gpio.c:416:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (epfd_blocking != -1) ^~ source/event_gpio.c:418:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' epfd_blocking = -1; ^~~~~~~~~~~~~ source/event_gpio.c:419:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (epfd_thread != -1) ^~ source/event_gpio.c:421:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' epfd_thread = -1; ^~~~~~~~~~~ source/event_gpio.c: In function 'gpio_export': source/event_gpio.c:75:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, str_gpio, len); ^~~~~~~~~~~~~~~~~~~~~~~~ source/event_gpio.c: In function 'gpio_unexport': source/event_gpio.c:90:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, str_gpio, len); ^~~~~~~~~~~~~~~~~~~~~~~~ source/event_gpio.c: In function 'gpio_set_direction': source/event_gpio.c:117:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "in", 3); ^~~~~~~~~~~~~~~~~~ source/event_gpio.c:119:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "out", 4); ^~~~~~~~~~~~~~~~~~~ source/event_gpio.c: In function 'gpio_set_edge': source/event_gpio.c:135:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, stredge[edge], strlen(stredge[edge]) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c source/soft_pwm.c -o build/temp.linux-riscv64-3.6/source/soft_pwm.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c source/py_pwm.c -o build/temp.linux-riscv64-3.6/source/py_pwm.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c source/common.c -o build/temp.linux-riscv64-3.6/source/common.o gcc -pthread -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 -fPIC -I/usr/include/python3.6m -c source/constants.c -o build/temp.linux-riscv64-3.6/source/constants.o gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -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 build/temp.linux-riscv64-3.6/source/py_gpio.o build/temp.linux-riscv64-3.6/source/c_gpio.o build/temp.linux-riscv64-3.6/source/cpuinfo.o build/temp.linux-riscv64-3.6/source/event_gpio.o build/temp.linux-riscv64-3.6/source/soft_pwm.o build/temp.linux-riscv64-3.6/source/py_pwm.o build/temp.linux-riscv64-3.6/source/common.o build/temp.linux-riscv64-3.6/source/constants.o -L/usr/lib64 -lpython3.6m -o build/lib.linux-riscv64-3.6/RPi/GPIO.cpython-36m-riscv64-linux-gnu.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Y6O0Y4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64 + cd RPi.GPIO-0.6.1 + 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 ' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr creating /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python2.7/site-packages/RPi copying build/lib.linux-riscv64-2.7/RPi/GPIO.so -> /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python2.7/site-packages/RPi copying build/lib.linux-riscv64-2.7/RPi/__init__.py -> /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python2.7/site-packages/RPi byte-compiling /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python2.7/site-packages/RPi/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpnmcj80.py' /usr/bin/python2 -O /tmp/tmpnmcj80.py removing /tmp/tmpnmcj80.py running install_egg_info Writing /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python2.7/site-packages/RPi.GPIO-0.6.1-py2.7.egg-info + 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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python3.6/site-packages creating /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python3.6/site-packages/RPi copying build/lib.linux-riscv64-3.6/RPi/GPIO.cpython-36m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python3.6/site-packages/RPi copying build/lib.linux-riscv64-3.6/RPi/__init__.py -> /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python3.6/site-packages/RPi byte-compiling /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python3.6/site-packages/RPi/__init__.py to __init__.cpython-36.pyc writing byte-compilation script '/tmp/tmpfh1s50yp.py' /usr/bin/python3 /tmp/tmpfh1s50yp.py removing /tmp/tmpfh1s50yp.py running install_egg_info Writing /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python3.6/site-packages/RPi.GPIO-0.6.1-py3.6.egg-info + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/lib64/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.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: python2-RPi.GPIO-0.6.1-2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jUyHsv + umask 022 + cd /builddir/build/BUILD + cd RPi.GPIO-0.6.1 + DOCDIR=/builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/doc/python2-RPi.GPIO + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/doc/python2-RPi.GPIO + cp -pr README.txt /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/doc/python2-RPi.GPIO + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Mh1aIj + umask 022 + cd /builddir/build/BUILD + cd RPi.GPIO-0.6.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/licenses/python2-RPi.GPIO + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/licenses/python2-RPi.GPIO + cp -pr LICENCE.txt /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/licenses/python2-RPi.GPIO + exit 0 Provides: python-RPi.GPIO = 0.6.1-2.fc28 python-RPi.GPIO(riscv-64) = 0.6.1-2.fc28 python2-RPi.GPIO = 0.6.1-2.fc28 python2-RPi.GPIO(riscv-64) = 0.6.1-2.fc28 python2.7dist(rpi.gpio) = 0.6.1 python2dist(rpi.gpio) = 0.6.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-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) Obsoletes: python-RPi.GPIO < 0.6.1-2.fc28 Processing files: python3-RPi.GPIO-0.6.1-2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KJeXO7 + umask 022 + cd /builddir/build/BUILD + cd RPi.GPIO-0.6.1 + DOCDIR=/builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/doc/python3-RPi.GPIO + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/doc/python3-RPi.GPIO + cp -pr README.txt /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/doc/python3-RPi.GPIO + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.aW4gDg + umask 022 + cd /builddir/build/BUILD + cd RPi.GPIO-0.6.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/licenses/python3-RPi.GPIO + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/licenses/python3-RPi.GPIO + cp -pr LICENCE.txt /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64/usr/share/licenses/python3-RPi.GPIO + exit 0 Provides: python3-RPi.GPIO = 0.6.1-2.fc28 python3-RPi.GPIO(riscv-64) = 0.6.1-2.fc28 python3.6dist(rpi.gpio) = 0.6.1 python3dist(rpi.gpio) = 0.6.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-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) libpython3.6m.so.1.0()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64 Wrote: /builddir/build/SRPMS/python-rpi-gpio-0.6.1-2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/python2-RPi.GPIO-0.6.1-2.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/python3-RPi.GPIO-0.6.1-2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gxXQvk + umask 022 + cd /builddir/build/BUILD + cd RPi.GPIO-0.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-rpi-gpio-0.6.1-2.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff