<86>Apr 14 01:19:46 userdel[60159]: delete user 'rooter' <86>Apr 14 01:19:46 groupadd[60525]: group added to /etc/group: name=rooter, GID=597 <86>Apr 14 01:19:46 groupadd[60525]: new group: name=rooter, GID=597 <86>Apr 14 01:19:46 useradd[60616]: new user: name=rooter, UID=597, GID=597, home=/root, shell=/bin/bash <86>Apr 14 01:19:46 userdel[60690]: delete user 'builder' <86>Apr 14 01:19:46 groupadd[61108]: group added to /etc/group: name=builder, GID=598 <86>Apr 14 01:19:46 groupadd[61108]: group added to /etc/gshadow: name=builder <86>Apr 14 01:19:46 groupadd[61108]: new group: name=builder, GID=598 <86>Apr 14 01:19:46 useradd[61218]: new user: name=builder, UID=598, GID=598, home=/usr/src, shell=/bin/bash <13>Apr 14 01:19:53 rpmi: libpng15-1.5.28-alt1 1484572014 installed <13>Apr 14 01:19:53 rpmi: perl-Encode-2.83-alt1 1459157776 installed <13>Apr 14 01:19:53 rpmi: libjpeg-2:1.3.1-alt0.1 1388074033 installed <13>Apr 14 01:19:53 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:19:53 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:19:53 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:19:53 rpmi: libopenblas-0.2.14-alt1.git20150324 1433158855 installed <13>Apr 14 01:19:53 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Apr 14 01:19:53 rpmi: liblcms2-2.8-alt1 1471601528 installed <13>Apr 14 01:19:53 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Apr 14 01:19:53 rpmi: libidn2-2.0.4-alt3.M80P.1 1520307194 installed <13>Apr 14 01:19:53 rpmi: libtcl-8.5.9-alt2 1351878901 installed <13>Apr 14 01:19:53 rpmi: libSM-1.2.2-alt1 1391072686 installed <13>Apr 14 01:19:53 rpmi: libtiff5-4.0.3-alt1 1348347498 installed <13>Apr 14 01:19:53 rpmi: libnumpy-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:19:53 rpmi: libwayland-client-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 01:19:53 rpmi: perl-XML-NamespaceSupport-1.11-alt3 1322003535 installed <13>Apr 14 01:19:54 rpmi: libsqlite3-3.15.2-alt1 1480432212 installed <13>Apr 14 01:19:54 rpmi: libtasn1-4.9-alt1 1469555628 installed <13>Apr 14 01:19:54 rpmi: libmng-1.0.10-alt2.M80P.1 1476964805 installed <13>Apr 14 01:19:54 rpmi: msulogin-1.0-alt1 1366288481 installed <13>Apr 14 01:19:54 rpmi: libyaml2-0.1.6-alt1 1397147705 installed <13>Apr 14 01:19:54 rpmi: libwayland-server-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 01:19:54 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Apr 14 01:19:54 rpmi: perl-Compress-Raw-Zlib-2.069-alt1.1 1448470036 installed <13>Apr 14 01:19:54 rpmi: perl-libnet-1:3.08-alt1 1458419902 installed <13>Apr 14 01:19:54 rpmi: perl-URI-1.71-alt1 1455181348 installed <13>Apr 14 01:19:54 rpmi: perl-XML-SAX-Base-1.08-alt1 1317871344 installed <13>Apr 14 01:19:54 rpmi: libnettle6-3.4.1-alt1 p8.217493.100 1544204548 installed <13>Apr 14 01:19:54 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Apr 14 01:19:54 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:19:54 rpmi: libhogweed4-3.4.1-alt1 p8.217493.100 1544204548 installed <13>Apr 14 01:19:54 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Apr 14 01:19:54 rpmi: sysvinit-2.88-alt5 1424350685 installed <13>Apr 14 01:19:54 rpmi: libwayland-cursor-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 01:19:54 rpmi: tcl-8.5.9-alt2 1351878901 installed <13>Apr 14 01:19:54 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Apr 14 01:19:54 rpmi: libjasper-1.900.1-alt3 1391718482 installed <13>Apr 14 01:19:54 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Apr 14 01:19:54 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Apr 14 01:19:54 rpmi: xorg-rgb-1.0.4-alt1.qa1 1366268675 installed <13>Apr 14 01:19:54 rpmi: mount-2.30.2-alt0.M80P.1 1522077023 installed <86>Apr 14 01:19:54 groupadd[106701]: group added to /etc/group: name=utempter, GID=499 <86>Apr 14 01:19:54 groupadd[106701]: group added to /etc/gshadow: name=utempter <86>Apr 14 01:19:54 groupadd[106701]: new group: name=utempter, GID=499 <13>Apr 14 01:19:54 rpmi: libutempter-1.1.6-alt2 1299636222 installed <13>Apr 14 01:19:54 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1 1488560683 installed <13>Apr 14 01:19:54 rpmi: python-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed <13>Apr 14 01:19:54 rpmi: python-module-pycares-0.6.3-alt1.1.1 1459598195 installed <13>Apr 14 01:19:54 rpmi: pytz-zoneinfo-1:2015.4-alt1.1.1 1460413776 installed <13>Apr 14 01:19:54 rpmi: python-module-certifi-2015.04.28-alt1.1 1457893771 installed <13>Apr 14 01:19:54 rpmi: libseccomp-2.4.0-alt1 p8+225578.100.3.1 1554139373 installed <13>Apr 14 01:19:54 rpmi: qt4-common-4.8.7-alt7 1461589658 installed <13>Apr 14 01:19:54 rpmi: libqt4-core-4.8.7-alt7 1461589658 installed <13>Apr 14 01:19:54 rpmi: libqt3-settings-3.3-alt5 1393236358 installed <13>Apr 14 01:19:54 rpmi: libpcre2-10.23-alt0.M80P.1 1487919866 installed <13>Apr 14 01:19:54 rpmi: libnumpy-py3-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:19:54 rpmi: libxblas-1.0.248-alt1 1322010716 installed <13>Apr 14 01:19:54 rpmi: libkmod-21-alt1 1437433966 installed <13>Apr 14 01:19:54 rpmi: libiptables-1.4.21-alt3 1435789456 installed <13>Apr 14 01:19:54 rpmi: libxkbcommon-0.7.2-alt0.M80P.1 1503524837 installed <13>Apr 14 01:19:54 rpmi: libgudev-1:231-alt0.M80P.1 1487052830 installed <13>Apr 14 01:19:54 rpmi: udev-rules-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786259 installed <13>Apr 14 01:19:54 rpmi: libltdl7-2.4.2-alt5 1450059753 installed <13>Apr 14 01:19:54 rpmi: libgts-0.7.6-alt2.drc20130205 1360123643 installed <13>Apr 14 01:19:54 rpmi: libpaper-1.1.24-alt4 1315383473 installed <13>Apr 14 01:19:54 rpmi: libopenjpeg2.0-2.2.0-alt0.M80P.1 1503526491 installed <13>Apr 14 01:19:55 rpmi: libgtk+2-locales-2.24.31-alt1 1473461664 installed <13>Apr 14 01:19:55 rpmi: libquadmath0-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 01:19:55 rpmi: libgfortran3-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 01:19:55 rpmi: liblapack-1:3.5.0-alt1 1401382194 installed <13>Apr 14 01:19:55 rpmi: libfontenc-1.1.2-alt1 1373978804 installed <13>Apr 14 01:19:55 rpmi: libepoxy-1.4.3-alt0.M80P.1 1498727071 installed <13>Apr 14 01:19:55 rpmi: libdatrie-0.2.8-alt1_5 1410185969 installed <13>Apr 14 01:19:55 rpmi: libthai-0.1.24-alt1_1 1459282110 installed <13>Apr 14 01:19:55 rpmi: publicsuffix-list-dafsa-20190329-alt1 p8+226349.100.1.1 1554128046 installed <13>Apr 14 01:19:55 rpmi: libpsl-0.18.0-alt0.M80P.1 1502785107 installed <13>Apr 14 01:19:55 rpmi: libnghttp2-1.8.0-alt1 1456818805 installed <13>Apr 14 01:19:55 rpmi: libdevmapper-1.02.152-alt1 p8.216818.100 1542993609 installed <13>Apr 14 01:19:55 rpmi: libusb-1.0.21-alt0.M80P.1 1485147102 installed <13>Apr 14 01:19:55 rpmi: libpixman-3:0.32.8-alt1 1447610691 installed <13>Apr 14 01:19:55 rpmi: libbrotlicommon0-1.0.4-alt0.M80P.1 1528205024 installed <13>Apr 14 01:19:55 rpmi: libbrotlidec0-1.0.4-alt0.M80P.1 1528205024 installed <13>Apr 14 01:19:55 rpmi: libann-1.1.2-alt4 1299827962 installed <13>Apr 14 01:19:55 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Apr 14 01:19:55 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Apr 14 01:19:55 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Apr 14 01:19:55 rpmi: libgbm-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:19:55 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Apr 14 01:19:55 rpmi: perl-IO-Socket-IP-0.37-alt1 1444921335 installed <13>Apr 14 01:19:55 rpmi: perl-Compress-Raw-Bzip2-2.069-alt1.1 1448470068 installed <13>Apr 14 01:19:55 rpmi: perl-IO-Compress-2.069-alt1 1444618007 installed <13>Apr 14 01:19:55 rpmi: perl-HTTP-Message-6.11-alt1 1444616672 installed <13>Apr 14 01:19:55 rpmi: perl-HTTP-Cookies-6.01-alt1 1329759964 installed <13>Apr 14 01:19:55 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Apr 14 01:19:55 rpmi: perl-Net-HTTP-6.09-alt1 1432310023 installed <13>Apr 14 01:19:55 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Apr 14 01:19:55 rpmi: perl-HTML-Parser-3.72-alt1 1455170565 installed <13>Apr 14 01:19:55 rpmi: perl-libwww-6.15-alt1 1449505512 installed <13>Apr 14 01:19:55 rpmi: hwclock-1:2.30.2-alt0.M80P.1 1522077023 installed <13>Apr 14 01:19:55 rpmi: libgdk-pixbuf-locales-2.36.11-alt0.M80P.1 1507198237 installed <13>Apr 14 01:19:55 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Apr 14 01:19:55 rpmi: libproxy-0.4.14-alt0.M80P.1 1491211278 installed <13>Apr 14 01:19:55 rpmi: libnspr-1:4.20-alt1 p8.216526.40 1542382588 installed <13>Apr 14 01:19:55 rpmi: libnss-3.40.0-alt0.M80P.1 p8.216526.44 1542814585 installed <13>Apr 14 01:19:55 rpmi: t1lib-5.1.2-alt5 1326979643 installed <13>Apr 14 01:19:55 rpmi: libkpathsea-2008.0-alt0.15.6 1449446882 installed <13>Apr 14 01:19:55 rpmi: libatk-locales-2.24.0-alt0.M80P.1 1504535386 installed <13>Apr 14 01:19:55 rpmi: libatk-2.24.0-alt0.M80P.1 1504535253 installed <13>Apr 14 01:19:55 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Apr 14 01:19:55 rpmi: shared-mime-info-1.9-alt0.M80P.1 1506021412 installed <13>Apr 14 01:19:55 rpmi: gsettings-desktop-schemas-data-3.24.1-alt0.M80P.1 1504768054 installed <13>Apr 14 01:19:55 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 14 01:19:55 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 14 01:19:56 rpmi: libsystemd-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Apr 14 01:19:56 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 01:19:56 rpmi: libxslt-1.1.28-alt4 1448210404 installed <13>Apr 14 01:19:56 rpmi: libavahi-0.6.31-alt7.M80P.1 1526318593 installed <13>Apr 14 01:19:56 rpmi: libcryptsetup-1.7.1-alt1 1456763325 installed <13>Apr 14 01:19:56 rpmi: libgraphite2-1.3.10-alt0.M80P.1 1496411360 installed <13>Apr 14 01:19:56 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 14 01:19:56 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 14 01:19:56 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 01:19:56 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 14 01:19:56 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Apr 14 01:19:56 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 14 01:19:56 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Apr 14 01:19:56 rpmi: libXmu-1.1.2-alt1 1391072528 installed <13>Apr 14 01:19:56 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Apr 14 01:19:56 rpmi: libXi-1.7.9-alt1.M80P.1 1515766146 installed <13>Apr 14 01:19:56 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Apr 14 01:19:56 rpmi: libXcursor-1.1.15-alt1.M80P.1 1512373713 installed <13>Apr 14 01:19:56 rpmi: libXinerama-1.1.3-alt1 1369984571 installed <13>Apr 14 01:19:56 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Apr 14 01:19:56 rpmi: libXpm-3.5.11-alt1 1391072398 installed <13>Apr 14 01:19:56 rpmi: libXaw-1.0.12-alt1 1391072621 installed <13>Apr 14 01:19:56 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Apr 14 01:19:56 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:19:56 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Apr 14 01:19:56 rpmi: libat-spi2-core-2.24.1-alt0.M80P.1 1504536015 installed <13>Apr 14 01:19:56 rpmi: libXcomposite-0.4.3-alt3 1297306939 installed <13>Apr 14 01:19:56 rpmi: libEGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:19:56 rpmi: libfreeglut-3.0.0-alt1 1429173818 installed <13>Apr 14 01:19:56 rpmi: libwayland-egl-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:19:56 rpmi: xmessage-1.0.3-alt1.qa1 1366270848 installed <13>Apr 14 01:19:56 rpmi: xauth-1:1.0.9-alt1 1432033312 installed <13>Apr 14 01:19:56 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Apr 14 01:19:56 rpmi: libxkbfile-1.0.8-alt1 1331193040 installed <13>Apr 14 01:19:56 rpmi: xkbcomp-1.3.1-alt1 1460969071 installed <13>Apr 14 01:19:56 rpmi: xkeyboard-config-1:2.19-alt1 1481275801 installed <13>Apr 14 01:19:56 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:19:56 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:19:56 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:19:56 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:19:56 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:19:56 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:19:56 rpmi: libgio-2.52.3-alt0.M80P.1 1504533271 installed <13>Apr 14 01:19:56 rpmi: gobject-introspection-1.52.1-alt0.M80P.1 1504533480 installed <13>Apr 14 01:19:56 rpmi: libgdk-pixbuf-2.36.11-alt0.M80P.1 1507198160 installed <13>Apr 14 01:19:56 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:19:56 groupadd[119656]: group added to /etc/group: name=_keytab, GID=498 <86>Apr 14 01:19:56 groupadd[119656]: new group: name=_keytab, GID=498 <13>Apr 14 01:19:56 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:19:56 rpmi: libcups-2.1.0-alt2.M80P.4 p8+223280.100.1.1 1551372192 installed <13>Apr 14 01:19:56 rpmi: libp11-kit-0.23.8-alt1.M80P.1 1504877563 installed <86>Apr 14 01:19:56 groupadd[120946]: group added to /etc/group: name=messagebus, GID=497 <86>Apr 14 01:19:56 groupadd[120946]: group added to /etc/gshadow: name=messagebus <86>Apr 14 01:19:56 groupadd[120946]: new group: name=messagebus, GID=497 <86>Apr 14 01:19:56 useradd[120973]: new user: name=messagebus, UID=499, GID=497, home=/run/dbus, shell=/dev/null <13>Apr 14 01:19:56 rpmi: dbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 01:19:56 rpmi: gtk-update-icon-cache-2.24.31-alt1 1473461609 installed <13>Apr 14 01:19:56 rpmi: gobject-introspection-x11-1.52.1-alt0.M80P.1 1504533480 installed <13>Apr 14 01:19:56 rpmi: gsettings-desktop-schemas-3.24.1-alt0.M80P.1 1504768052 installed <13>Apr 14 01:19:56 rpmi: libgusb-0.2.11-alt0.M80P.1 1503526571 installed <13>Apr 14 01:19:56 rpmi: libcolord-1.3.5-alt0.M80P.1 1488875506 installed <13>Apr 14 01:19:56 rpmi: startup-0.9.9.5-alt1.2 1397832469 installed <13>Apr 14 01:19:56 rpmi: perl-XML-SAX-0.99-alt2 1384805188 installed <13>Apr 14 01:19:56 rpmi: libharfbuzz-1.6.3-alt0.M80P.1 1509918814 installed <13>Apr 14 01:19:57 rpmi: libfreetype-2.8-alt0.M80P.3 1505462817 installed <13>Apr 14 01:19:57 rpmi: fontconfig-2.12.6-alt1.M80P.1 1506008910 installed Updating fonts cache: <29>Apr 14 01:19:58 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Apr 14 01:19:58 rpmi: libcairo-1:1.14.4-alt1 1447005495 installed <13>Apr 14 01:19:58 rpmi: libXft-2.3.2-alt1 1409902650 installed <13>Apr 14 01:19:58 rpmi: libpango-1.40.14-alt0.M80P.1 1510824230 installed <13>Apr 14 01:19:58 rpmi: libgtk+2-2.24.31-alt1 1473461609 installed <13>Apr 14 01:19:58 rpmi: libtk-8.5.9-alt3 1308047279 installed <13>Apr 14 01:19:58 rpmi: libcairo-gobject-1:1.14.4-alt1 1447005495 installed <13>Apr 14 01:19:58 rpmi: libgd2-2.0.35-alt6 1366289709 installed <13>Apr 14 01:19:58 rpmi: tk-8.5.9-alt3 1308047279 installed <13>Apr 14 01:19:58 rpmi: mkfontscale-1.1.0-alt1 1332532579 installed <13>Apr 14 01:19:58 rpmi: mkfontdir-1.0.7-alt1 1332532636 installed <13>Apr 14 01:19:59 rpmi: fonts-bitmap-misc-7.0.0-alt6 1238575088 installed <13>Apr 14 01:19:59 rpmi: xorg-server-common-2:1.18.4-alt1.M80P.8 p8+226404.200.2.1 1554276813 installed <13>Apr 14 01:19:59 rpmi: xterm-320-alt2 p8.216245.100 1541756957 installed <13>Apr 14 01:19:59 rpmi: dvipng-1.14-alt1.qa1.1 1449176640 installed <13>Apr 14 01:19:59 rpmi: libglade-2.6.4-alt5.qa1 1366416175 installed <13>Apr 14 01:19:59 rpmi: liblasi-1.1.2-alt1.qa1 1460141148 installed <13>Apr 14 01:19:59 rpmi: librsvg-1:2.40.18-alt0.M80P.1 1500537889 installed <13>Apr 14 01:19:59 rpmi: libpango-gir-1.40.14-alt0.M80P.1 1510824230 installed <13>Apr 14 01:19:59 rpmi: libpangox-compat-0.0.2-alt1 1465069388 installed <13>Apr 14 01:19:59 rpmi: libgtkglext-1.2.0-alt2.4 1351047968 installed <13>Apr 14 01:20:00 rpmi: libqt3-3.3.8d-alt9 1447371250 installed <13>Apr 14 01:20:00 rpmi: libgs-9.20-alt1.M80P.1 1494700569 installed <13>Apr 14 01:20:00 rpmi: libgraphviz-2.38.0-alt2.1 1448552001 installed <13>Apr 14 01:20:00 rpmi: libqt4-gui-4.8.7-alt7 1461589658 installed <13>Apr 14 01:20:01 rpmi: graphviz-2.38.0-alt2.1 1448552001 installed <13>Apr 14 01:20:01 rpmi: perl-XML-Simple-2.22-alt1 1449506808 installed <13>Apr 14 01:20:01 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Apr 14 01:20:02 rpmi: icon-theme-adwaita-3.24.0-alt0.M80P.1 1504567873 installed <13>Apr 14 01:20:02 rpmi: dbus-tools-gui-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 01:20:02 rpmi: at-spi2-core-2.24.1-alt0.M80P.1 1504536015 installed <13>Apr 14 01:20:02 rpmi: at-spi2-atk-2.24.1-alt0.M80P.1 1504536077 installed <13>Apr 14 01:20:02 rpmi: libgnutls30-3.6.7-alt0.M80P.1 p8+225835.100.2.1 1554226496 installed <13>Apr 14 01:20:02 rpmi: glib-networking-2.50.0-alt1.M80P.1 1503575484 installed <13>Apr 14 01:20:02 rpmi: libsoup-2.62.2-alt0.M80P.1 1528058397 installed <13>Apr 14 01:20:02 rpmi: libsoup-gnome-2.62.2-alt0.M80P.1 1528058397 installed <13>Apr 14 01:20:02 rpmi: librest-0.8.1-alt0.M80P.1 1509920808 installed <86>Apr 14 01:20:02 groupadd[9306]: group added to /etc/group: name=sasl, GID=496 <86>Apr 14 01:20:02 groupadd[9306]: group added to /etc/gshadow: name=sasl <86>Apr 14 01:20:02 groupadd[9306]: new group: name=sasl, GID=496 <13>Apr 14 01:20:02 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 14 01:20:02 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 14 01:20:02 rpmi: libcurl-7.64.0-alt1 p8+220788.100.1.1 1549495393 installed <13>Apr 14 01:20:02 rpmi: libgdk-pixbuf-gir-2.36.11-alt0.M80P.1 1507198160 installed <13>Apr 14 01:20:02 rpmi: libatk-gir-2.24.0-alt0.M80P.1 1504535253 installed <13>Apr 14 01:20:02 rpmi: libdconf-0.26.1-alt0.M80P.1 1507197872 installed <13>Apr 14 01:20:02 rpmi: dconf-0.26.1-alt0.M80P.1 1507197872 installed <13>Apr 14 01:20:02 rpmi: libgtk+3-schemas-3.22.26-alt0.M80P.1 1510825424 installed <13>Apr 14 01:20:02 rpmi: libpolkit-0.113-alt2 1469643478 installed <86>Apr 14 01:20:02 groupadd[9598]: group added to /etc/group: name=colord, GID=495 <86>Apr 14 01:20:02 useradd[9619]: new user: name=colord, UID=498, GID=495, home=/var/colord, shell=/dev/null <13>Apr 14 01:20:02 rpmi: colord-1.3.5-alt0.M80P.1 1488875506 installed <13>Apr 14 01:20:02 rpmi: libjson-glib-1.2.8-alt0.M80P.1 1489956779 installed <13>Apr 14 01:20:03 rpmi: libgtk+3-3.22.26-alt0.M80P.1 1510825302 installed <13>Apr 14 01:20:03 rpmi: libgtk+3-gir-3.22.26-alt0.M80P.1 1510825302 installed <13>Apr 14 01:20:03 rpmi: systemd-utils-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Apr 14 01:20:03 rpmi: perl-XML-LibXML-2.0124-alt1 1458750523 installed <13>Apr 14 01:20:03 rpmi: libp11-kit-trust-0.23.8-alt1.M80P.1 1504877563 installed <13>Apr 14 01:20:03 rpmi: dbus-tools-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 01:20:04 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:20:04 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:04 rpmi: python3-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:20:04 rpmi: python3-module-pyparsing-2.0.3-alt1.1 1458039018 installed <13>Apr 14 01:20:04 rpmi: python3-module-cycler-0.10.0-alt1 1493854024 installed <13>Apr 14 01:20:04 rpmi: python3-module-dateutil-2.4.2-alt1.git20150728.1.1 1458152500 installed <13>Apr 14 01:20:04 rpmi: python3-module-certifi-2015.04.28-alt1.1 1457893771 installed <13>Apr 14 01:20:04 rpmi: python3-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Apr 14 01:20:04 rpmi: python3-module-decorator-4.0.2-alt1.1.1 1457912822 installed <13>Apr 14 01:20:04 rpmi: python3-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Apr 14 01:20:04 rpmi: python3-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417103 installed <13>Apr 14 01:20:04 rpmi: python3-module-zc-1.0.0-alt6.2 1458024144 installed <13>Apr 14 01:20:04 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:20:04 rpmi: python3-module-sgmllib-1.0.0-alt1.hg20100824.1.1.1 1458155334 installed <13>Apr 14 01:20:04 rpmi: python3-module-pydot-1.0.29-alt1.git20140730.1.1 1458071714 installed <13>Apr 14 01:20:04 rpmi: python3-module-chardet-3.0.4-alt1 1506613818 installed <13>Apr 14 01:20:04 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:20:04 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:05 rpmi: python3-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 14 01:20:05 rpmi: python3-module-pycares-0.6.3-alt1.1.1 1459598195 installed <13>Apr 14 01:20:05 rpmi: python3-module-pycairo-1.13.3-alt0.M80P.1 1504561359 installed <13>Apr 14 01:20:05 rpmi: python3-module-pygobject3-3.24.1-alt1.M80P.1 1504561842 installed <13>Apr 14 01:20:05 rpmi: python3-modules-tkinter-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:20:05 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:20:05 rpmi: python3-module-pygraphviz-1.3-alt2.git20140720.1 1459598662 installed <13>Apr 14 01:20:05 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:05 rpmi: python3-module-numpy-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:20:05 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:20:05 rpmi: python3-module-zope-3.3.0-alt8.4 1458261152 installed <13>Apr 14 01:20:05 rpmi: python3-module-tornado-4.2.1-alt2.M80P.1 1496088637 installed <13>Apr 14 01:20:05 rpmi: python3-module-nose-1:1.3.7-alt1.git20160316.1 1460404907 installed <13>Apr 14 01:20:06 rpmi: python3-module-scipy-0.19.1-alt0.M80P.1 1503655912 installed <13>Apr 14 01:20:06 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:20:06 rpmi: python3-module-numpy-testing-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:20:06 rpmi: python3-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed <13>Apr 14 01:20:06 rpmi: python3-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Apr 14 01:20:06 rpmi: python3-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Apr 14 01:20:06 rpmi: python3-module-networkx-core-1:1.10-alt2.1.1 1458012268 installed <13>Apr 14 01:20:07 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:20:07 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:20:07 rpmi: python-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 14 01:20:07 rpmi: python3-module-matplotlib-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:20:07 rpmi: python-module-cycler-0.10.0-alt1 1493854024 installed <13>Apr 14 01:20:07 rpmi: python-module-webencodings-0.5.1-alt0.M80P.1 1507185481 installed <13>Apr 14 01:20:07 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:07 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:08 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:08 rpmi: python-module-pyparsing-2.0.3-alt1 1423469752 installed <13>Apr 14 01:20:08 rpmi: python-module-sip-4.19.3-alt0.M80P.1 1507188513 installed <13>Apr 14 01:20:08 rpmi: python-module-qt-3.18.2-alt1.29855a84d8b6.4 1394623474 installed <13>Apr 14 01:20:08 rpmi: python-module-dateutil-2.6.0-alt0.M80P.1 1507185893 installed <13>Apr 14 01:20:08 rpmi: python-module-pycurl-7.19.5.3-alt1.1.1 1459598459 installed <13>Apr 14 01:20:08 rpmi: python-module-zc-1.0.0-alt6.2 1458024144 installed <13>Apr 14 01:20:08 rpmi: python-module-pygobject3-3.24.1-alt1.M80P.1 1504561842 installed <13>Apr 14 01:20:08 rpmi: python-module-pycairo-1.13.3-alt0.M80P.1 1504561359 installed <13>Apr 14 01:20:08 rpmi: python-modules-tkinter-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:08 rpmi: python-module-backports-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 01:20:08 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 01:20:08 rpmi: python-module-decorator-4.0.2-alt1.1.1 1457912822 installed <13>Apr 14 01:20:08 rpmi: python-module-functools32-3.2.3.2-alt1.git20150711 1438148996 installed <13>Apr 14 01:20:08 rpmi: python-module-simplejson-3.15.0-alt1.M80P.1 1528995430 installed <13>Apr 14 01:20:08 rpmi: python-modules-wsgiref-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:20:08 rpmi: python-module-mpmath-0.19-alt1.git20150621.1.1.1 1460407091 installed <13>Apr 14 01:20:08 rpmi: python3-module-matplotlib-gtk3-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:20:08 rpmi: python3-module-matplotlib-cairo-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:20:08 rpmi: python-module-pydot-1.0.29-alt1.git20140730.1.1 1458071714 installed <13>Apr 14 01:20:08 rpmi: python-module-pygraphviz-1.3-alt2.git20140720.1 1459598662 installed <13>Apr 14 01:20:08 rpmi: python3-module-nltk-3.0.1-alt1.1.1 1457994352 installed <13>Apr 14 01:20:08 rpmi: python-module-chardet-3.0.4-alt1 1506613818 installed <13>Apr 14 01:20:09 rpmi: python-module-numpy-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:20:09 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:20:09 rpmi: python-module-zope-3.3.0-alt8.4 1458261152 installed <13>Apr 14 01:20:09 rpmi: python-module-tornado-4.2.1-alt2.M80P.1 1496088637 installed <13>Apr 14 01:20:09 rpmi: python-module-future-0.16.0-alt2 p8.217804.100 1544713302 installed <13>Apr 14 01:20:09 rpmi: python-module-pyglet-1.3.0-alt4.a1.hg20150730.1.1.1 1460413686 installed <13>Apr 14 01:20:09 rpmi: python-module-nose-1:1.3.7-alt1.git20160316.1 1460404907 installed <13>Apr 14 01:20:09 rpmi: python-module-numpy-testing-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:20:09 rpmi: python-module-zope.interface-4.1.3-alt1.dev0.git20150601.4 1459629874 installed <13>Apr 14 01:20:09 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:20:09 rpmi: python-module-html5lib-1:0.999999999-alt1.M80P.2 1507185603 installed <13>Apr 14 01:20:09 rpmi: python-module-sympy-1:0.7.7-alt1.dev.git20150830.1 1458041813 installed <13>Apr 14 01:20:10 rpmi: python-module-matplotlib-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:20:10 rpmi: python-module-lxml-4.0.0-alt0.M80P.1 1507163741 installed <13>Apr 14 01:20:11 rpmi: python-module-scipy-0.19.1-alt0.M80P.1 1503655912 installed <13>Apr 14 01:20:11 rpmi: python-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Apr 14 01:20:11 rpmi: python-module-matplotlib-gtk3-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:20:11 rpmi: python-module-matplotlib-cairo-2.0.0-alt3.M80P.1 1498628280 installed <13>Apr 14 01:20:11 rpmi: python-module-sympy-tests-1:0.7.7-alt1.dev.git20150830.1 1458041813 installed <13>Apr 14 01:20:11 rpmi: python-module-networkx-core-1:1.10-alt2.1.1 1458012268 installed <13>Apr 14 01:20:12 rpmi: python-module-nltk-3.0.1-alt1.1.1 1457994352 installed Installing python-module-summary-0.2.0-alt1.git20150209.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.11401 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-summary-0.2.0 + echo 'Source #0 (python-module-summary-0.2.0.tar):' Source #0 (python-module-summary-0.2.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-summary-0.2.0.tar + cd python-module-summary-0.2.0 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ../python3/summary/topic/tfidf.py RefactoringTool: Refactored ../python3/summary/topic/keygragh.py RefactoringTool: Refactored ../python3/summary/test.py WARNING: couldn't encode ../python3/summary/test.py's diff for your terminal RefactoringTool: Refactored ../python3/summary/html.py --- ../python3/summary/topic/tfidf.py (original) +++ ../python3/summary/topic/tfidf.py (refactored) @@ -16,7 +16,7 @@ for w in words: scores[w] = str(words[w] / float(sig))[:6] items = [] - for k, v in sorted(scores.items(), key=lambda x: x[1], reverse=True): + for k, v in sorted(list(scores.items()), key=lambda x: x[1], reverse=True): items.append((k, v)) return items[:return_num] @@ -27,14 +27,14 @@ return 1 def tfidf(): - print "not implement.\n" - print "If you want to implement idf, I recommend to use wiki database.\n" - print "see https://dumps.wikimedia.org/\n" + print("not implement.\n") + print("If you want to implement idf, I recommend to use wiki database.\n") + print("see https://dumps.wikimedia.org/\n") pass def main(): - title = u'Ming Mecca Heart of a video synthesizer and the brain of a videogame console' - body = u''' + title = 'Ming Mecca Heart of a video synthesizer and the brain of a videogame console' + body = ''' Ming Mecca combines the heart of a video synthesizer and the brain of a videogame console. Created with love for all things retrofuture, an ontological toy and a videogame easel, Ming Mecca brings to you fingertips a comprehensive set of classic videogame design parameters, from details like object location and animation, to big-picture elements like game rules and level geography. You can turn off gravity at the flick of a switch, or scroll through seasons at the turn of a knob. Populate your world with exotic creatures, then modulate their identities with random voltage. Set objects in motion and use their collision to trigger cosmological events elsewhere in your modular. Experiment with quantum position, step sequence destructible terrain, and patch wormholes into parallel dimensions. With Ming Mecca, your modular transforms into a reality synthesizer. @@ -50,6 +50,6 @@ Project Page ''' # expect: Games Chris Novello console device Interface Jordan Bartee Molly Roberts programming retro retrofuture texture - print tf(get_words(title + body)) + print(tf(get_words(title + body))) if __name__ == '__main__': main() --- ../python3/summary/topic/keygragh.py (original) +++ ../python3/summary/topic/keygragh.py (refactored) @@ -70,7 +70,7 @@ freq = defaultdict(int) for w in words: freq[w] += 1 - return freq.items() + bigrams + return list(freq.items()) + bigrams def find_bigrams(self, words, no_duplicate = False): # get candidates of bigram @@ -247,7 +247,7 @@ keygraph.draw() # sorted by their score - topics = sorted(topics.items(), key=lambda x: x[1], reverse = True) + topics = sorted(list(topics.items()), key=lambda x: x[1], reverse = True) return [w for w, score in topics[:fetch_num]] --- ../python3/summary/test.py (original) +++ ../python3/summary/test.py (refactored) @@ -1,15 +1,15 @@ # -*- coding: utf-8 -*- -import urllib, sys, difflib -from html import extract +import urllib.request, urllib.parse, urllib.error, sys, difflib +from .html import extract from datetime import datetime testcases = [] # japanese site testcases.append({ -'uri': u'http://www.gizmodo.jp/2012/09/post_10869.html', --- ../python3/summary/html.py (original) +++ ../python3/summary/html.py (refactored) @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- -import sys, re, copy, urllib +import sys, re, copy, urllib.request, urllib.parse, urllib.error import lxml.html -import digest +from . import digest from lxml.etree import ParserError -from charset import to_unicode, to_unicode_if_htmlentity +from .charset import to_unicode, to_unicode_if_htmlentity class ContentExtractor(object): @@ -167,7 +167,7 @@ continuous = 1.0 title, score = '', 0 if len(item.component) and block.index(item.component[0]) > 0: - n = range(0, block.index(item.component[0]) - 1) + n = list(range(0, block.index(item.component[0]) - 1)) RefactoringTool: Refactored ../python3/summary/digest.py WARNING: couldn't encode ../python3/summary/digest.py's diff for your terminal RefactoringTool: Refactored ../python3/summary/charset.py RefactoringTool: Refactored ../python3/summary/__init__.py RefactoringTool: No changes to ../python3/setup.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/summary/topic/tfidf.py RefactoringTool: ../python3/summary/topic/keygragh.py RefactoringTool: ../python3/summary/test.py RefactoringTool: ../python3/summary/html.py RefactoringTool: ../python3/summary/digest.py RefactoringTool: ../python3/summary/charset.py RefactoringTool: ../python3/summary/__init__.py RefactoringTool: ../python3/setup.py n.reverse() for b in [block[i] for i in n]: if len(title) > 0: @@ -360,11 +360,11 @@ ''' extractor = ContentExtractor(document) - print extractor.guessed_title(), "\n" - print extractor.guessed_content(), "\n" - print extractor.summarize(), "\n" - print extractor.summary(), "\n" - print extract(document), "\n" + print(extractor.guessed_title(), "\n") + print(extractor.guessed_content(), "\n") + print(extractor.summarize(), "\n") + print(extractor.summary(), "\n") + print(extract(document), "\n") if __name__ == '__main__': main() --- ../python3/summary/digest.py (original) +++ ../python3/summary/digest.py (refactored) @@ -22,7 +22,7 @@ try: # compute position of important word in this sentence word_idx.append(s.index(w)) - except ValueError, e: + except ValueError as e: # not include w in this sentence pass @@ -69,7 +69,7 @@ fdist = nltk.FreqDist(words) - top_n_words = [w[0] for w in fdist.items() \ + top_n_words = [w[0] for w in list(fdist.items()) \ if w[0] not in nltk.corpus.stopwords.words('english')][:N] scored_sentences = _score_sentences(normalized_sentences, top_n_words) @@ -86,7 +86,7 @@ def main(): - result = summarize(u""" + result = summarize(""" --- ../python3/summary/charset.py (original) +++ ../python3/summary/charset.py (refactored) @@ -1,4 +1,4 @@ -import re, chardet, htmlentitydefs +import re, chardet, html.entities import lxml.html class UnknownEncodingException(Exception): @@ -31,14 +31,14 @@ def to_unicode(text): unicoded, encoding = None, encoding_if_text(text) if encoding: - unicoded = unicode(text, encoding, 'replace') + unicoded = str(text, encoding, 'replace') return unicoded def to_unicode_if_htmlentity(text): - REFERENCE_REGEX = re.compile(u'&(#x?[0-9a-f]+|[a-z]+);', re.IGNORECASE) - NUM16_REGEX = re.compile(u'#x\d+', re.IGNORECASE) - NUM10_REGEX = re.compile(u'#\d+', re.IGNORECASE) - result = u'' + REFERENCE_REGEX = re.compile('&(#x?[0-9a-f]+|[a-z]+);', re.IGNORECASE) + NUM16_REGEX = re.compile('#x\d+', re.IGNORECASE) + NUM10_REGEX = re.compile('#\d+', re.IGNORECASE) + result = '' i = 0 while True: match = REFERENCE_REGEX.search(text, i) @@ -48,12 +48,12 @@ result += text[i:match.start()] i = match.end() name = match.group(1) - if name in htmlentitydefs.name2codepoint.keys(): - result += unichr(htmlentitydefs.name2codepoint[name]) + if name in list(html.entities.name2codepoint.keys()): + result += chr(html.entities.name2codepoint[name]) elif NUM16_REGEX.match(name): - result += unichr(int(u'0'+name[1:], 16)) + result += chr(int('0'+name[1:], 16)) elif NUM10_REGEX.match(name): - result += unichr(int(name[1:])) + result += chr(int(name[1:])) return result def main(): @@ -68,7 +68,7 @@ ''' - print encoding_if_html(text) + print(encoding_if_html(text)) text = ''' @@ -81,7 +81,7 @@ ''' - print encoding_if_html(text) + print(encoding_if_html(text)) text = ''' @@ -93,6 +93,6 @@ ''' - print encoding_if_text(text) + print(encoding_if_text(text)) if __name__ == '__main__': main() --- ../python3/summary/__init__.py (original) +++ ../python3/summary/__init__.py (refactored) @@ -1,3 +1,3 @@ -from html import is_collection_of_links -from html import not_body_rate -from html import extract +from .html import is_collection_of_links +from .html import not_body_rate +from .html import extract + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.66493 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-summary-0.2.0 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/summary copying summary/test.py -> build/lib/summary copying summary/html.py -> build/lib/summary copying summary/digest.py -> build/lib/summary copying summary/charset.py -> build/lib/summary copying summary/__init__.py -> build/lib/summary + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-summary-0.2.0 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/summary copying summary/test.py -> build/lib/summary copying summary/html.py -> build/lib/summary copying summary/digest.py -> build/lib/summary copying summary/charset.py -> build/lib/summary copying summary/__init__.py -> build/lib/summary + popd ~/RPM/BUILD/python-module-summary-0.2.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.82267 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-summary-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-summary-buildroot + cd python-module-summary-0.2.0 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-summary-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-summary-buildroot creating /usr/src/tmp/python-module-summary-buildroot/usr creating /usr/src/tmp/python-module-summary-buildroot/usr/lib creating /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary copying build/lib/summary/__init__.py -> /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary copying build/lib/summary/charset.py -> /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary copying build/lib/summary/digest.py -> /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary copying build/lib/summary/html.py -> /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary copying build/lib/summary/test.py -> /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary byte-compiling /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/charset.py to charset.pyc byte-compiling /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/digest.py to digest.pyc byte-compiling /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/html.py to html.pyc byte-compiling /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/test.py to test.pyc running install_egg_info running egg_info creating summary.egg-info writing requirements to summary.egg-info/requires.txt writing summary.egg-info/PKG-INFO writing top-level names to summary.egg-info/top_level.txt writing dependency_links to summary.egg-info/dependency_links.txt writing manifest file 'summary.egg-info/SOURCES.txt' reading manifest file 'summary.egg-info/SOURCES.txt' writing manifest file 'summary.egg-info/SOURCES.txt' Copying summary.egg-info to /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary-0.2.0-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-summary-0.2.0 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-summary-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary copying build/lib/summary/__init__.py -> /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary copying build/lib/summary/charset.py -> /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary copying build/lib/summary/digest.py -> /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary copying build/lib/summary/html.py -> /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary copying build/lib/summary/test.py -> /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary byte-compiling /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/charset.py to charset.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/digest.py to digest.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/html.py to html.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/test.py to test.cpython-35.pyc running install_egg_info running egg_info creating summary.egg-info writing top-level names to summary.egg-info/top_level.txt writing dependency_links to summary.egg-info/dependency_links.txt writing requirements to summary.egg-info/requires.txt writing summary.egg-info/PKG-INFO writing manifest file 'summary.egg-info/SOURCES.txt' reading manifest file 'summary.egg-info/SOURCES.txt' writing manifest file 'summary.egg-info/SOURCES.txt' Copying summary.egg-info to /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary-0.2.0-py3.5.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-summary-0.2.0 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-summary-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-summary-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-summary-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-summary-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-summary-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-summary-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/__init__.pyc unlink /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/charset.pyc unlink /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/digest.pyc unlink /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/html.pyc unlink /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/test.pyc compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/__init__.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/charset.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/digest.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/html.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/test.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-summary-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/__init__.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/charset.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/digest.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/html.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python2.7/site-packages/summary/test.py Bytecompiling python3 modules in /usr/src/tmp/python-module-summary-buildroot using python3 unlink /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/__pycache__/charset.cpython-35.pyc unlink /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/__pycache__/digest.cpython-35.pyc unlink /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/__pycache__/html.cpython-35.pyc unlink /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/__pycache__/test.cpython-35.pyc compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/__init__.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/charset.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/digest.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/html.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/test.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-summary-buildroot using python3 -O compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/__init__.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/charset.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/digest.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/html.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/test.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-summary-buildroot using python3 -OO compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/__init__.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/charset.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/digest.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/html.py compile /usr/src/tmp/python-module-summary-buildroot/usr/lib/python3/site-packages/summary/test.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/summary/__pycache__/test.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/summary/__pycache__/test.cpython-35.pyc' './usr/lib/python3/site-packages/summary/__pycache__/test.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/summary/__pycache__/test.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/summary/__pycache__/html.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/summary/__pycache__/html.cpython-35.pyc' './usr/lib/python3/site-packages/summary/__pycache__/digest.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/summary/__pycache__/digest.cpython-35.pyc' './usr/lib/python3/site-packages/summary/__pycache__/digest.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/summary/__pycache__/digest.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/summary/__pycache__/charset.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/summary/__pycache__/charset.cpython-35.pyc' './usr/lib/python3/site-packages/summary/__pycache__/charset.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/summary/__pycache__/charset.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/summary/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/summary/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/summary/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/summary/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/summary/test.pyo' => './usr/lib/python2.7/site-packages/summary/test.pyc' './usr/lib/python2.7/site-packages/summary/html.pyo' => './usr/lib/python2.7/site-packages/summary/html.pyc' './usr/lib/python2.7/site-packages/summary/digest.pyo' => './usr/lib/python2.7/site-packages/summary/digest.pyc' './usr/lib/python2.7/site-packages/summary/charset.pyo' => './usr/lib/python2.7/site-packages/summary/charset.pyc' './usr/lib/python2.7/site-packages/summary/__init__.pyo' => './usr/lib/python2.7/site-packages/summary/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.47939 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-summary-0.2.0 + python setup.py test running test running egg_info deleting summary.egg-info/requires.txt writing summary.egg-info/PKG-INFO writing top-level names to summary.egg-info/top_level.txt writing dependency_links to summary.egg-info/dependency_links.txt reading manifest file 'summary.egg-info/SOURCES.txt' writing manifest file 'summary.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-summary-0.2.0 + python3 setup.py test running test running egg_info writing top-level names to summary.egg-info/top_level.txt writing summary.egg-info/PKG-INFO deleting summary.egg-info/requires.txt writing dependency_links to summary.egg-info/dependency_links.txt reading manifest file 'summary.egg-info/SOURCES.txt' writing manifest file 'summary.egg-info/SOURCES.txt' running build_ext summary (unittest.loader._FailedTest) ... ERROR ====================================================================== ERROR: summary (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: summary Traceback (most recent call last): File "/usr/lib64/python3.5/unittest/loader.py", line 462, in _find_test_path package = self._get_module_from_name(name) File "/usr/lib64/python3.5/unittest/loader.py", line 369, in _get_module_from_name __import__(name) File "/usr/src/RPM/BUILD/python3/summary/__init__.py", line 1, in from .html import is_collection_of_links File "/usr/src/RPM/BUILD/python3/summary/html.py", line 4, in from . import digest File "/usr/src/RPM/BUILD/python3/summary/digest.py", line 4, in import nltk File "/usr/lib/python3/site-packages/nltk/__init__.py", line 117, in from nltk.align import * File "/usr/lib/python3/site-packages/nltk/align/__init__.py", line 15, in from nltk.align.ibm1 import IBMModel1 File "/usr/lib/python3/site-packages/nltk/align/ibm1.py", line 18, in from nltk.corpus import comtrans File "/usr/lib/python3/site-packages/nltk/corpus/__init__.py", line 64, in from nltk.tokenize import RegexpTokenizer File "/usr/lib/python3/site-packages/nltk/tokenize/__init__.py", line 65, in from nltk.tokenize.regexp import (RegexpTokenizer, WhitespaceTokenizer, File "/usr/lib/python3/site-packages/nltk/tokenize/regexp.py", line 201, in blankline_tokenize = BlanklineTokenizer().tokenize File "/usr/lib/python3/site-packages/nltk/tokenize/regexp.py", line 172, in __init__ RegexpTokenizer.__init__(self, r'\s*\n\s*\n\s*', gaps=True) File "/usr/lib/python3/site-packages/nltk/tokenize/regexp.py", line 119, in __init__ self._regexp = compile_regexp_to_noncapturing(pattern, flags) File "/usr/lib/python3/site-packages/nltk/internals.py", line 54, in compile_regexp_to_noncapturing return sre_compile.compile(convert_regexp_to_noncapturing_parsed(sre_parse.parse(pattern)), flags=flags) File "/usr/lib/python3/site-packages/nltk/internals.py", line 50, in convert_regexp_to_noncapturing_parsed parsed_pattern.pattern.groups = 1 AttributeError: can't set attribute ---------------------------------------------------------------------- Ran 1 test in 0.000s FAILED (errors=1) error: Bad exit status from /usr/src/tmp/rpm-tmp.47939 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.47939 (%check) Command exited with non-zero status 1 3.11user 0.35system 0:06.17elapsed 56%CPU (0avgtext+0avgdata 68712maxresident)k 0inputs+0outputs (0major+131267minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-summary-0.2.0-alt1.git20150209.1.1.src.rpm' failed. Command exited with non-zero status 1 21.72user 3.63system 0:45.25elapsed 56%CPU (0avgtext+0avgdata 122232maxresident)k 2704inputs+0outputs (0major+561495minor)pagefaults 0swaps