<86>Jan 26 06:00:57 userdel[8225]: delete user 'rooter' <86>Jan 26 06:00:57 groupadd[8254]: group added to /etc/group: name=rooter, GID=564 <86>Jan 26 06:00:57 groupadd[8254]: group added to /etc/gshadow: name=rooter <86>Jan 26 06:00:57 groupadd[8254]: new group: name=rooter, GID=564 <86>Jan 26 06:00:57 useradd[8272]: new user: name=rooter, UID=564, GID=564, home=/root, shell=/bin/bash <86>Jan 26 06:00:57 userdel[8292]: delete user 'builder' <86>Jan 26 06:00:57 userdel[8292]: removed group 'builder' owned by 'builder' <86>Jan 26 06:00:57 userdel[8292]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 06:00:57 groupadd[8317]: group added to /etc/group: name=builder, GID=565 <86>Jan 26 06:00:57 useradd[8332]: new user: name=builder, UID=565, GID=565, home=/usr/src, shell=/bin/bash <13>Jan 26 06:01:06 rpmi: perl-Encode-2.88-alt1 1482254760 installed <13>Jan 26 06:01:06 rpmi: libjpeg-2:1.3.1-alt0.1 1388074039 installed <13>Jan 26 06:01:06 rpmi: libpng15-1.5.28-alt1 1484572069 installed <13>Jan 26 06:01:06 rpmi: libexpat-2.1.0-alt1 1347469773 installed <13>Jan 26 06:01:06 rpmi: ca-certificates-2016.09.28-alt1 1475233825 installed <13>Jan 26 06:01:06 rpmi: libcrypto10-1.0.2j-alt1 1474898021 installed <13>Jan 26 06:01:06 rpmi: libwayland-client-1.12.0-alt1 1475000260 installed <13>Jan 26 06:01:06 rpmi: xorg-xproto-devel-7.0.31-alt1 1480491055 installed <13>Jan 26 06:01:06 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Jan 26 06:01:06 rpmi: libsqlite3-3.15.2-alt1 1480432278 installed <13>Jan 26 06:01:06 rpmi: libopenblas-0.2.14-alt1.git20150324 1433158703 installed <13>Jan 26 06:01:06 rpmi: perl-XML-NamespaceSupport-1.11-alt3 1322003535 installed <13>Jan 26 06:01:06 rpmi: libtasn1-4.9-alt1 1469555632 installed <13>Jan 26 06:01:06 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Jan 26 06:01:06 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>Jan 26 06:01:06 rpmi: libSM-1.2.2-alt1 1391072690 installed <13>Jan 26 06:01:06 rpmi: libnumpy-py3-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 06:01:06 rpmi: python-module-google-0.4.2-alt2 1484663741 installed <13>Jan 26 06:01:06 rpmi: libnumpy-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 06:01:06 rpmi: libgraphene-1.5.4-alt1 1484064194 installed <13>Jan 26 06:01:06 rpmi: liblcms2-2.8-alt1 1471601532 installed <13>Jan 26 06:01:06 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Jan 26 06:01:06 rpmi: perl-Compress-Raw-Zlib-2.071-alt1 1484413310 installed <13>Jan 26 06:01:06 rpmi: perl-libnet-1:3.10-alt1 1474400822 installed <13>Jan 26 06:01:06 rpmi: perl-URI-1.71-alt1 1455181348 installed <13>Jan 26 06:01:06 rpmi: perl-XML-SAX-Base-1.08-alt1 1317871344 installed <13>Jan 26 06:01:06 rpmi: libnettle6-3.3-alt1 1475520030 installed <13>Jan 26 06:01:06 rpmi: xml-utils-1:2.9.3.0.5.6511-alt1.1.1 1460073215 installed <13>Jan 26 06:01:06 rpmi: eclipse-equinox-osgi-1:4.6.0-alt0.1jpp 1481827780 installed <13>Jan 26 06:01:06 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 26 06:01:07 rpmi: libhogweed4-3.3-alt1 1475520030 installed <13>Jan 26 06:01:07 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Jan 26 06:01:07 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Jan 26 06:01:07 rpmi: libSM-devel-1.2.2-alt1 1391072690 installed <13>Jan 26 06:01:07 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Jan 26 06:01:07 rpmi: libwayland-cursor-1.12.0-alt1 1475000260 installed <13>Jan 26 06:01:07 rpmi: libjasper-1.900.13-alt1 1482328269 installed <13>Jan 26 06:01:07 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Jan 26 06:01:07 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Jan 26 06:01:07 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Jan 26 06:01:07 rpmi: java-stub-javadoc-0.1-alt1 1229813340 installed <13>Jan 26 06:01:07 rpmi: libxapian-1.2.23-alt1 1459318489 installed <13>Jan 26 06:01:07 rpmi: python-module-xapian-1.2.23-alt2 1475504928 installed <13>Jan 26 06:01:07 rpmi: python-module-imagesize-0.7.1-alt1 1461387704 installed <13>Jan 26 06:01:07 rpmi: python-sphinx-objects.inv-1:2.3.7.20170117-alt1 1484721065 installed <13>Jan 26 06:01:07 rpmi: pytz-zoneinfo-1:2016.10-alt1 1484291011 installed <13>Jan 26 06:01:07 rpmi: libxblas-1.0.248-alt1 1322010690 installed <13>Jan 26 06:01:07 rpmi: libxkbcommon-0.7.1-alt1 1485226913 installed <13>Jan 26 06:01:07 rpmi: vulkan-filesystem-1.0.37-alt0.3 1482962895 installed <13>Jan 26 06:01:07 rpmi: libgudev-1:230-alt1 1434908202 installed <13>Jan 26 06:01:07 rpmi: udev-rules-1:232-alt1 1485301381 installed <13>Jan 26 06:01:07 rpmi: libquadmath0-6.3.1-alt1 1484277945 installed <13>Jan 26 06:01:07 rpmi: libgfortran3-6.3.1-alt1 1484277945 installed <13>Jan 26 06:01:07 rpmi: liblapack-1:3.5.0-alt1 1401382336 installed <13>Jan 26 06:01:07 rpmi: libepoxy-1.3.1-alt1 1460399707 installed <13>Jan 26 06:01:07 rpmi: libdatrie-0.2.8-alt1_5 1410185970 installed <13>Jan 26 06:01:07 rpmi: libthai-0.1.25-alt1_1 1482119595 installed <13>Jan 26 06:01:07 rpmi: libusb-1.0.21-alt1 1483126208 installed <13>Jan 26 06:01:07 rpmi: libpixman-3:0.34.0-alt1 1480491657 installed <13>Jan 26 06:01:07 rpmi: libwayland-server-1.12.0-alt1 1475000260 installed <13>Jan 26 06:01:07 rpmi: libxshmfence-1.2-alt1 1420972190 installed <13>Jan 26 06:01:07 rpmi: libpciaccess-1:0.13.4-alt1 1431681690 installed <13>Jan 26 06:01:07 rpmi: libdrm-1:2.4.74-alt1 1484221443 installed <13>Jan 26 06:01:07 rpmi: libgbm-4:13.0.3-alt1 1484223040 installed <13>Jan 26 06:01:07 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531929 installed <13>Jan 26 06:01:07 rpmi: perl-IO-Socket-IP-0.38-alt1 1474806598 installed <13>Jan 26 06:01:07 rpmi: perl-Compress-Raw-Bzip2-2.070-alt1 1483040387 installed <13>Jan 26 06:01:07 rpmi: perl-IO-Compress-2.070-alt1 1483042572 installed <13>Jan 26 06:01:07 rpmi: perl-HTTP-Message-6.11-alt1 1444616672 installed <13>Jan 26 06:01:07 rpmi: perl-HTTP-Cookies-6.01-alt1 1329759964 installed <13>Jan 26 06:01:07 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Jan 26 06:01:07 rpmi: perl-Net-HTTP-6.12-alt1 1484598721 installed <13>Jan 26 06:01:07 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Jan 26 06:01:07 rpmi: perl-HTML-Parser-3.72-alt1 1455170565 installed <13>Jan 26 06:01:07 rpmi: perl-libwww-6.15-alt1 1449505512 installed <13>Jan 26 06:01:07 rpmi: perl-XML-LibXML-2.0128-alt1 1469793023 installed <13>Jan 26 06:01:07 rpmi: perl-XML-SAX-0.99-alt2 1384805188 installed <13>Jan 26 06:01:07 rpmi: perl-XML-Simple-2.22-alt1 1449506808 installed <13>Jan 26 06:01:07 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Jan 26 06:01:09 rpmi: icon-theme-adwaita-3.22.0-alt1 1475001651 installed <13>Jan 26 06:01:09 rpmi: libgdk-pixbuf-locales-2.36.4-alt1 1484599807 installed <13>Jan 26 06:01:09 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Jan 26 06:01:09 rpmi: libproxy-0.4.14-alt1 1484898143 installed <13>Jan 26 06:01:09 rpmi: libnspr-1:4.13.1-alt1 1477067643 installed <13>Jan 26 06:01:09 rpmi: libnss-3.27.1-alt1 1477068087 installed <13>Jan 26 06:01:09 rpmi: libp11-kit-trust-0.23.3-alt1 1482509533 installed <13>Jan 26 06:01:09 rpmi: libp11-kit-0.23.3-alt1 1482509533 installed <13>Jan 26 06:01:09 rpmi: libidn-1.33-alt2.1 1484243044 installed <13>Jan 26 06:01:09 rpmi: libgnutls30-3.5.8-alt1 1484157811 installed <13>Jan 26 06:01:09 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 26 06:01:10 rpmi: libstdc++6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 06:01:10 rpmi: t1lib-5.1.2-alt5 1326979780 installed <13>Jan 26 06:01:10 rpmi: libkpathsea-2008.0-alt0.15.6 1449446966 installed <13>Jan 26 06:01:10 rpmi: libatk-locales-2.22.0-alt1 1475000161 installed <13>Jan 26 06:01:10 rpmi: libatk-2.22.0-alt1 1475000161 installed <13>Jan 26 06:01:10 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Jan 26 06:01:10 rpmi: shared-mime-info-1.8-alt1 1482128522 installed <13>Jan 26 06:01:10 rpmi: gsettings-desktop-schemas-data-3.22.0-alt1 1474999772 installed <13>Jan 26 06:01:10 rpmi: libgio-2.50.2-alt1 1478537771 installed <13>Jan 26 06:01:10 rpmi: gsettings-desktop-schemas-3.22.0-alt1 1474999772 installed <13>Jan 26 06:01:10 rpmi: gobject-introspection-1.50.0-alt1 1474999706 installed <13>Jan 26 06:01:10 rpmi: libgdk-pixbuf-2.36.4-alt1 1484599807 installed <13>Jan 26 06:01:10 rpmi: gobject-introspection-x11-1.50.0-alt1 1474999706 installed <13>Jan 26 06:01:10 rpmi: libgusb-0.2.9-alt1 1458988445 installed <13>Jan 26 06:01:10 rpmi: libcolord-1.3.4-alt1 1480239173 installed <13>Jan 26 06:01:10 rpmi: gtk-update-icon-cache-2.24.31-alt1 1473461664 installed <13>Jan 26 06:01:10 rpmi: libgdk-pixbuf-gir-2.36.4-alt1 1484599807 installed <13>Jan 26 06:01:10 rpmi: libatk-gir-2.22.0-alt1 1475000161 installed <13>Jan 26 06:01:10 rpmi: libgraphene-gir-1.5.4-alt1 1484064194 installed <13>Jan 26 06:01:10 rpmi: glib-networking-2.50.0-alt1 1475002318 installed <13>Jan 26 06:01:11 rpmi: libjson-glib-1.2.2-alt1 1469787424 installed <13>Jan 26 06:01:11 rpmi: liblz4-r131-alt1 1447866716 installed <13>Jan 26 06:01:11 rpmi: libsnappy-1.1.3-alt1 1450962245 installed <13>Jan 26 06:01:11 rpmi: libgif-4.1.6-alt3 1299634261 installed <13>Jan 26 06:01:11 rpmi: libalsa-1:1.1.3-alt3 1482850950 installed <13>Jan 26 06:01:11 rpmi: libapr1-1.5.2-alt1 1461182080 installed <13>Jan 26 06:01:11 rpmi: publicsuffix-list-20160713-alt1_1 1469662958 installed <13>Jan 26 06:01:11 rpmi: libX11-locales-3:1.6.4-alt1 1480493483 installed <13>Jan 26 06:01:11 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Jan 26 06:01:11 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Jan 26 06:01:11 rpmi: libxcb-1.12-alt1 1471592579 installed <13>Jan 26 06:01:11 rpmi: libX11-3:1.6.4-alt1 1480493483 installed <13>Jan 26 06:01:11 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Jan 26 06:01:11 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jan 26 06:01:11 rpmi: libXfixes-5.0.1-alt1 1369809608 installed <13>Jan 26 06:01:11 rpmi: libXi-1.7.4-alt1 1409902879 installed <13>Jan 26 06:01:11 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Jan 26 06:01:11 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Jan 26 06:01:11 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Jan 26 06:01:11 rpmi: libXpm-3.5.11-alt1 1391072398 installed <13>Jan 26 06:01:11 rpmi: libXcursor-1.1.14-alt1 1369901598 installed <13>Jan 26 06:01:11 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Jan 26 06:01:11 rpmi: libXxf86vm-1.1.3-alt1 1369984835 installed <13>Jan 26 06:01:11 rpmi: libGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 06:01:11 rpmi: libEGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 06:01:11 rpmi: libwayland-egl-4:13.0.3-alt1 1484223040 installed <13>Jan 26 06:01:11 rpmi: libXinerama-1.1.3-alt1 1369984572 installed <13>Jan 26 06:01:11 rpmi: libXcomposite-0.4.3-alt3 1297306936 installed <13>Jan 26 06:01:12 rpmi: libxcb-devel-1.12-alt1 1471592579 installed <13>Jan 26 06:01:12 rpmi: libX11-devel-3:1.6.4-alt1 1480493483 installed <13>Jan 26 06:01:12 rpmi: libXt-devel-1.1.4-alt1 1369984722 installed <13>Jan 26 06:01:13 rpmi: vulkan-1.0.37-alt0.3 1482962895 installed <13>Jan 26 06:01:13 rpmi: libgraphite2-1.3.9-alt1 1482128024 installed <13>Jan 26 06:01:13 rpmi: libharfbuzz-1.4.2-alt1 1485254798 installed <13>Jan 26 06:01:13 rpmi: libfreetype-2.6.3-alt1 1455987209 installed <13>Jan 26 06:01:13 rpmi: fontconfig-2.12.1-alt1 1471005373 installed Updating fonts cache: <29>Jan 26 06:01:14 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Jan 26 06:01:14 rpmi: libcairo-1:1.14.4-alt1 1447005511 installed <13>Jan 26 06:01:14 rpmi: libcairo-gobject-1:1.14.4-alt1 1447005511 installed <13>Jan 26 06:01:14 rpmi: fonts-ttf-java-1.6.0-sun-0:1.6.0.26-alt8 1444507881 installed <13>Jan 26 06:01:17 rpmi: java-1.6.0-sun-headless-0:1.6.0.26-alt8 1444507881 installed <13>Jan 26 06:01:18 rpmi: fonts-type1-xorg-7.0.0-alt4 1188553211 installed <13>Jan 26 06:01:19 rpmi: libgd2-2.0.35-alt6 1366289715 installed <13>Jan 26 06:01:19 rpmi: dvipng-1.14-alt1.qa1.1 1449176657 installed <13>Jan 26 06:01:19 rpmi: libXft-2.3.2-alt1 1409902660 installed <13>Jan 26 06:01:19 rpmi: libpango-1.40.3-alt1 1473777869 installed <13>Jan 26 06:01:19 rpmi: libpango-gir-1.40.3-alt1 1473777869 installed <13>Jan 26 06:01:19 rpmi: ca-certificates-java-0.01-alt1 1316102488 installed <13>Jan 26 06:01:19 rpmi: liblksctp-1.0.17-alt1 1462863655 installed <13>Jan 26 06:01:19 rpmi: lksctp-tools-1.0.17-alt1 1462863655 installed <13>Jan 26 06:01:19 rpmi: tzdata-java-2016j-alt1 1479985838 installed <13>Jan 26 06:01:19 rpmi: libgpg-error-1.20-alt1.1 1449204244 installed <13>Jan 26 06:01:19 rpmi: libgcrypt20-1.6.6-alt1 1471552782 installed <13>Jan 26 06:01:19 rpmi: libsystemd-1:232-alt1 1485301381 installed <13>Jan 26 06:01:19 rpmi: libdbus-1.10.12-alt1 1476116348 installed <13>Jan 26 06:01:19 rpmi: libat-spi2-core-2.22.0-alt1 1475095398 installed <13>Jan 26 06:01:19 rpmi: dbus-tools-1.10.12-alt1 1476116348 installed <86>Jan 26 06:01:19 groupadd[29106]: group added to /etc/group: name=messagebus, GID=499 <86>Jan 26 06:01:19 groupadd[29106]: group added to /etc/gshadow: name=messagebus <86>Jan 26 06:01:19 groupadd[29106]: new group: name=messagebus, GID=499 <86>Jan 26 06:01:19 useradd[29124]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Jan 26 06:01:19 rpmi: dbus-1.10.12-alt1 1476116348 installed <13>Jan 26 06:01:19 rpmi: libxslt-1.1.28-alt4 1448210408 installed <13>Jan 26 06:01:19 rpmi: dbus-tools-gui-1.10.12-alt1 1476116348 installed <13>Jan 26 06:01:19 rpmi: at-spi2-core-2.22.0-alt1 1475095398 installed <13>Jan 26 06:01:19 rpmi: at-spi2-atk-2.22.0-alt1 1475095491 installed <13>Jan 26 06:01:19 rpmi: libavahi-0.6.31-alt7 1455303496 installed <13>Jan 26 06:01:19 rpmi: libpolkit-0.113-alt2 1469643484 installed <86>Jan 26 06:01:19 groupadd[29404]: group added to /etc/group: name=colord, GID=498 <86>Jan 26 06:01:19 groupadd[29404]: group added to /etc/gshadow: name=colord <86>Jan 26 06:01:19 groupadd[29404]: new group: name=colord, GID=498 <86>Jan 26 06:01:19 useradd[29441]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null <13>Jan 26 06:01:19 rpmi: colord-1.3.4-alt1 1480239173 installed <13>Jan 26 06:01:19 rpmi: rpm-macros-java-1:4.6.0-alt10_14jpp8 1481282571 installed <13>Jan 26 06:01:19 rpmi: lua5.3-5.3.3-alt4 1482339534 installed <13>Jan 26 06:01:19 rpmi: javapackages-tools-1:4.6.0-alt10_14jpp8 1481282571 installed <13>Jan 26 06:01:19 rpmi: plexus-utils-0:3.0.22-alt2_3jpp8 1480043455 installed <13>Jan 26 06:01:19 rpmi: apache-commons-logging-0:1.2-alt1_5jpp8 1479860544 installed <13>Jan 26 06:01:19 rpmi: apache-commons-io-1:2.4-alt6_15jpp8 1481139898 installed <13>Jan 26 06:01:19 rpmi: plexus-containers-component-annotations-0:1.6-alt3_6jpp8 1481989329 installed <13>Jan 26 06:01:19 rpmi: apache-commons-lang-0:2.6-alt5_18jpp8 1479859888 installed <13>Jan 26 06:01:19 rpmi: plexus-interpolation-0:1.22-alt1_6jpp8 1481989989 installed <13>Jan 26 06:01:19 rpmi: maven-wagon-provider-api-0:2.10-alt1_2jpp8 1480451095 installed <13>Jan 26 06:01:19 rpmi: maven-artifact-1:2.2.1-alt6_54jpp8 1481977895 installed <13>Jan 26 06:01:19 rpmi: apache-commons-collections-0:3.2.2-alt1_3jpp8 1481071134 installed <13>Jan 26 06:01:19 rpmi: atinject-0:1-alt7_22.20100611svn86jpp8 1479868297 installed <13>Jan 26 06:01:20 rpmi: guava-18.0-alt2_8jpp8 1482219772 installed <13>Jan 26 06:01:20 rpmi: slf4j-0:1.7.21-alt1_2jpp8 1482105667 installed <13>Jan 26 06:01:20 rpmi: apache-commons-cli-0:1.3.1-alt1_4jpp8 1481919937 installed <13>Jan 26 06:01:20 rpmi: maven-model-1:2.2.1-alt6_54jpp8 1481977895 installed <13>Jan 26 06:01:20 rpmi: aether-api-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 06:01:20 rpmi: aether-util-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 06:01:20 rpmi: aether-spi-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 06:01:20 rpmi: apache-commons-codec-0:1.10-alt1_3jpp8 1479854116 installed <13>Jan 26 06:01:20 rpmi: httpcomponents-core-4.4.5-alt1_2jpp8 1482214793 installed <13>Jan 26 06:01:20 rpmi: httpcomponents-client-4.5.2-alt1_4jpp8 1482216990 installed <13>Jan 26 06:01:20 rpmi: plexus-classworlds-0:2.5.2-alt2_5jpp8 1481988166 installed <13>Jan 26 06:01:20 rpmi: velocity-1:1.7-alt3_19jpp8 1480072588 installed <13>Jan 26 06:01:20 rpmi: beust-jcommander-1.47-alt1_3jpp8 1479826922 installed <13>Jan 26 06:01:20 rpmi: glassfish-servlet-api-3.1.0-alt3_11jpp8 1481937687 installed <13>Jan 26 06:01:20 rpmi: felix-osgi-core-0:1.4.0-alt5_20jpp8 1482186628 installed <13>Jan 26 06:01:20 rpmi: ant-lib-0:1.9.6-alt3_3jpp8 1481895414 installed <13>Jan 26 06:01:20 rpmi: aopalliance-0:1.0-alt6_12jpp8 1479853061 installed <13>Jan 26 06:01:20 rpmi: google-guice-0:4.0-alt1_5jpp8 1481951744 installed <13>Jan 26 06:01:20 rpmi: apache-commons-lang3-3.4-alt4_5jpp8 1481928700 installed <13>Jan 26 06:01:20 rpmi: jsoup-1.9.2-alt1_1jpp8 1482084966 installed <13>Jan 26 06:01:20 rpmi: maven-wagon-http-shared-0:2.10-alt1_2jpp8 1480451095 installed <13>Jan 26 06:01:20 rpmi: jsr-305-1:0-alt4_0.19.20130910svnjpp8 1479984463 installed <13>Jan 26 06:01:20 rpmi: maven-shared-utils-3.0.0-alt1_3jpp8 1481815074 installed <13>Jan 26 06:01:20 rpmi: plexus-cipher-1.7-alt3_11jpp8 1480039075 installed <13>Jan 26 06:01:20 rpmi: plexus-sec-dispatcher-1.4-alt4_21jpp8 1480043196 installed <13>Jan 26 06:01:20 rpmi: qdox-1:2.0-alt1_0.5.M3jpp8 1480047041 installed <13>Jan 26 06:01:20 rpmi: maven-wagon-http-0:2.10-alt1_2jpp8 1480451095 installed <13>Jan 26 06:01:20 rpmi: aether-connector-basic-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 06:01:20 rpmi: aether-impl-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 06:01:20 rpmi: aether-transport-wagon-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 06:01:21 rpmi: apache-commons-beanutils-0:1.9.2-alt5_5jpp8 1479853316 installed <13>Jan 26 06:01:21 rpmi: maven-wagon-file-0:2.10-alt1_2jpp8 1480451095 installed <13>Jan 26 06:01:21 rpmi: apache-commons-compress-0:1.12-alt1_1jpp8 1482331901 installed <13>Jan 26 06:01:21 rpmi: glassfish-el-api-3.0.1-alt1_0.3.b08jpp8 1482069199 installed <13>Jan 26 06:01:21 rpmi: maven-dependency-tree-3.0-alt1_2jpp8 1481289616 installed <13>Jan 26 06:01:21 rpmi: plexus-io-0:2.6-alt1_3jpp8 1480042412 installed <13>Jan 26 06:01:21 rpmi: plexus-build-api-0:0.0.7-alt3_16jpp8 1480038816 installed <13>Jan 26 06:01:21 rpmi: jzlib-0:1.1.3-alt1_4jpp8 1479991862 installed <13>Jan 26 06:01:21 rpmi: jetty-util-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 06:01:21 rpmi: hawtjni-runtime-0:1.10-alt1_6jpp8 1479909530 installed <13>Jan 26 06:01:21 rpmi: jansi-native-0:1.5-alt2_10jpp8 1479924664 installed <13>Jan 26 06:01:21 rpmi: jetty-http-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 06:01:21 rpmi: jetty-io-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 06:01:21 rpmi: jetty-server-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 06:01:21 rpmi: jetty-security-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 06:01:21 rpmi: jetty-servlet-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 06:01:21 rpmi: jsch-0:0.1.54-alt1_2jpp8 1482084709 installed <13>Jan 26 06:01:21 rpmi: glassfish-jsp-api-2.3.2-alt1_0.4.b01jpp8 1479893045 installed <13>Jan 26 06:01:21 rpmi: glassfish-el-3.0.1-alt1_0.3.b08jpp8 1482069199 installed <13>Jan 26 06:01:21 rpmi: glassfish-jsp-2.3.3-alt1_0.5.b02jpp8 1481937090 installed <13>Jan 26 06:01:21 rpmi: apache-commons-digester-0:2.1-alt3_7jpp8 1481920595 installed <13>Jan 26 06:01:21 rpmi: apache-commons-validator-1:1.5.0-alt1_3jpp8 1481923079 installed <13>Jan 26 06:01:21 rpmi: jcsp-1.1-alt1_0.5.rc5jpp8 1479961259 installed <13>Jan 26 06:01:21 rpmi: plexus-component-api-1.0-alt4_0.20.alpha15jpp8 1480039871 installed <13>Jan 26 06:01:21 rpmi: plexus-interactivity-api-0:1.0-alt6_0.22.alpha6jpp8 1480041815 installed <13>Jan 26 06:01:21 rpmi: apache-commons-httpclient-1:3.1-alt6_23jpp8 1454494549 installed <13>Jan 26 06:01:21 rpmi: apache-commons-configuration-0:1.10-alt1_6jpp8 1479854978 installed <13>Jan 26 06:01:21 rpmi: maven-invoker-2.2-alt1_4jpp8 1482189261 installed <13>Jan 26 06:01:21 rpmi: xmlgraphics-commons-0:2.0.1-alt1_2jpp8 1480080964 installed <13>Jan 26 06:01:21 rpmi: fontbox-0:1.8.12-alt1_1jpp8 1482102313 installed <13>Jan 26 06:01:21 rpmi: plexus-compiler-0:2.7-alt1_3jpp8 1481988436 installed <13>Jan 26 06:01:21 rpmi: java-common-1.5.0-alt1 1329330500 installed <13>Jan 26 06:01:25 rpmi: java-1.8.0-openjdk-headless-0:1.8.0.71-alt6_1.b15jpp8 1481075670 installed <13>Jan 26 06:01:26 rpmi: java-1.8.0-openjdk-0:1.8.0.71-alt6_1.b15jpp8 1481075670 installed <13>Jan 26 06:01:26 rpmi: jna-4.2.2-alt1_1jpp8 1482082557 installed <13>Jan 26 06:01:27 rpmi: java-1.8.0-openjdk-devel-0:1.8.0.71-alt6_1.b15jpp8 1481075670 installed <13>Jan 26 06:01:27 rpmi: hamcrest-core-0:1.3-alt3_14jpp8 1479907433 installed <13>Jan 26 06:01:28 rpmi: junit-1:4.12-alt1_5jpp8 1481839636 installed <13>Jan 26 06:01:28 rpmi: antlr4-runtime-4.5.2-alt1_1jpp8 1480271913 installed <13>Jan 26 06:01:28 rpmi: geronimo-annotation-1.0-alt4_18jpp8 1481822574 installed <13>Jan 26 06:01:28 rpmi: jboss-interceptors-1.2-api-1.0.0-alt1_5jpp8 1481960058 installed <13>Jan 26 06:01:28 rpmi: cdi-api-1.1-alt3_13jpp8 1481822258 installed <13>Jan 26 06:01:28 rpmi: maven-filesystem-0.01-alt2.1 1460115697 installed <13>Jan 26 06:01:28 rpmi: xpp3-minimal-1:1.1.4-alt1_11.cjpp8 1480083673 installed <13>Jan 26 06:01:28 rpmi: args4j-2.33-alt1_1jpp8 1482065100 installed <13>Jan 26 06:01:28 rpmi: google-gson-2.3.1-alt1_4jpp8 1481951384 installed <13>Jan 26 06:01:28 rpmi: javaewah-0.8.4-alt1_7jpp8 1481957140 installed <13>Jan 26 06:01:28 rpmi: jgit-4.3.0-alt0.1jpp 1481826612 installed <13>Jan 26 06:01:28 rpmi: apache-ivy-0:2.4.0-alt1_5jpp8 1480345826 installed <13>Jan 26 06:01:28 rpmi: extra166y-1.7.0-alt1_5jpp8 1479876358 installed <13>Jan 26 06:01:28 rpmi: multiverse-0.7.0-alt1_5jpp8 1480022624 installed <13>Jan 26 06:01:28 rpmi: aqute-bndlib-0:2.4.1-alt2_3jpp8 1479865845 installed <13>Jan 26 06:01:28 rpmi: felix-osgi-foundation-1.2.0-alt5_20jpp8 1479878229 installed <13>Jan 26 06:01:28 rpmi: felix-osgi-compendium-1.4.0-alt5_23jpp8 1482185539 installed <13>Jan 26 06:01:28 rpmi: felix-utils-1.8.2-alt1_3jpp8 1482187877 installed <13>Jan 26 06:01:28 rpmi: objenesis-0:2.1-alt1_4jpp8 1481985054 installed <13>Jan 26 06:01:28 rpmi: felix-framework-5.4.0-alt1_3jpp8 1481106976 installed <13>Jan 26 06:01:29 rpmi: log4j12-1.2.17-alt1_13jpp8 1481972063 installed <13>Jan 26 06:01:29 rpmi: geronimo-jms-1.1.1-alt3_22jpp8 1479886818 installed <13>Jan 26 06:01:29 rpmi: javamail-1.5.2-alt1_3jpp8 1479903341 installed <13>Jan 26 06:01:29 rpmi: avalon-logkit-0:2.1-alt2_24jpp8 1479868833 installed <13>Jan 26 06:01:29 rpmi: avalon-framework-0:4.3-alt4_16jpp8 1481924810 installed <13>Jan 26 06:01:29 rpmi: batik-css-0:1.8-alt3_6jpp8 1480458398 installed <13>Jan 26 06:01:29 rpmi: snappy-java-1.1.2.4-alt2_2jpp8 1482192083 installed <13>Jan 26 06:01:29 rpmi: plexus-archiver-0:3.0.1-alt1_0.3.gitdc873a4jpp8 1480038275 installed <13>Jan 26 06:01:29 rpmi: maven-plugin-testing-harness-3.3.0-alt1_7jpp8 1481978729 installed <13>Jan 26 06:01:29 rpmi: jaxen-0:1.1.6-alt1_9jpp8 1481957421 installed <13>Jan 26 06:01:29 rpmi: apache-resource-bundles-1:2-alt4_17jpp8 1479856680 installed <13>Jan 26 06:01:29 rpmi: maven-monitor-1:2.2.1-alt6_54jpp8 1481977895 installed <13>Jan 26 06:01:29 rpmi: forge-parent-38-alt1_7jpp8 1481932939 installed <13>Jan 26 06:01:29 rpmi: plexus-pom-3.3.3-alt1_3jpp8 1480042658 installed <13>Jan 26 06:01:29 rpmi: xmvn-api-2.5.0-alt1_11jpp8 1482192574 installed <13>Jan 26 06:01:29 rpmi: jvnet-parent-4-alt1_7jpp8 1479989851 installed <13>Jan 26 06:01:29 rpmi: sonatype-oss-parent-7-alt1_11jpp8 1480060734 installed <13>Jan 26 06:01:29 rpmi: log4j-0:2.5-alt1_4jpp8 1481972423 installed <13>Jan 26 06:01:29 rpmi: libtinfo-devel-5.9-alt8 1456756589 installed <13>Jan 26 06:01:29 rpmi: libncurses-devel-5.9-alt8 1456756589 installed <13>Jan 26 06:01:29 rpmi: python-modules-curses-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:29 rpmi: libverto-0.2.6-alt1_6 1455633232 installed <13>Jan 26 06:01:29 rpmi: libkeyutils-1.5.9-alt2 1464351238 installed <13>Jan 26 06:01:29 rpmi: libcom_err-1.42.13-alt2 1449075923 installed <13>Jan 26 06:01:29 rpmi: libkrb5-1.14.2-alt2 1465464128 installed <13>Jan 26 06:01:29 rpmi: libssl10-1.0.2j-alt1 1474898021 installed <13>Jan 26 06:01:29 rpmi: python-modules-compiler-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:29 rpmi: python-modules-email-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:29 rpmi: python-modules-unittest-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:29 rpmi: python-modules-encodings-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:30 rpmi: python-modules-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:30 rpmi: rpm-build-python3-0.1.11-alt1 1484131403 installed <13>Jan 26 06:01:30 rpmi: python3-3.5.1-alt7 1462447642 installed <13>Jan 26 06:01:31 rpmi: python3-base-3.5.1-alt7 1462447642 installed <13>Jan 26 06:01:31 rpmi: python-modules-xml-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:31 rpmi: python-module-six-1.10.0-alt1 1483422782 installed <13>Jan 26 06:01:31 rpmi: python3-module-six-1.10.0-alt1 1483422782 installed <13>Jan 26 06:01:31 rpmi: python3-module-setuptools-1:18.1-alt4 1469693421 installed <13>Jan 26 06:01:31 rpmi: python-modules-ctypes-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:31 rpmi: python-modules-json-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:31 rpmi: python-modules-multiprocessing-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:31 rpmi: python-modules-logging-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:31 rpmi: python3-module-sugarbowl-0.52.1-alt1.git20141130.1 1458039107 installed <13>Jan 26 06:01:31 rpmi: python-modules-hotshot-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:31 rpmi: libsoup-2.56.0-alt1 1475002497 installed <13>Jan 26 06:01:31 rpmi: libsoup-gnome-2.56.0-alt1 1475002497 installed <13>Jan 26 06:01:31 rpmi: librest-0.8.0-alt1 1460981119 installed <13>Jan 26 06:01:31 rpmi: python-tools-2to3-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:31 rpmi: python-module-whoosh-2.7.0-alt1.hg20150805.1.1 1457859779 installed <13>Jan 26 06:01:31 rpmi: python3-module-dateutil-2.4.2-alt1.git20150728.1.1 1458152500 installed <13>Jan 26 06:01:31 rpmi: python-module-cycler-0.9.0-alt1.post1.git20150822.1 1457911560 installed <13>Jan 26 06:01:31 rpmi: scons-2.3.3-alt1 1408936573 installed <13>Jan 26 06:01:31 rpmi: python3-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Jan 26 06:01:31 rpmi: python3-module-genshi-0.7-alt1.1.1.1 1460400448 installed <13>Jan 26 06:01:31 rpmi: python3-module-html5lib-1:0.999999-alt1.1.1.1 1460400556 installed <13>Jan 26 06:01:32 rpmi: python3-module-lxml-3.5.0-alt2.beta1.git20150727 1462232478 installed <13>Jan 26 06:01:32 rpmi: python3-module-javapackages-1:4.6.0-alt10_14jpp8 1481282571 installed <13>Jan 26 06:01:32 rpmi: rpm-build-java-1:4.6.0-alt10_14jpp8 1481282571 installed <13>Jan 26 06:01:32 rpmi: xml-commons-apis-1.4.01-alt3_20jpp8 1480080160 installed <13>Jan 26 06:01:32 rpmi: xpp3-1:1.1.4-alt1_11.cjpp8 1480083673 installed <13>Jan 26 06:01:32 rpmi: xstream-0:1.4.9-alt1_3jpp8 1482001905 installed <13>Jan 26 06:01:32 rpmi: kxml-2.3.0-alt3_11jpp8 1479992677 installed <13>Jan 26 06:01:32 rpmi: jai-imageio-core-1.2-alt1_0.18.20100217cvsjpp8 1479919741 installed <13>Jan 26 06:01:32 rpmi: python3-module-markupsafe-0.23-alt1.2.1 1459594456 installed <13>Jan 26 06:01:32 rpmi: python3-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1.1 1484417882 installed <13>Jan 26 06:01:32 rpmi: python3-module-jinja2-2.9-alt1.dev.git20150726.1.1.1.1 1484417882 installed <13>Jan 26 06:01:32 rpmi: python3-module-clyde-0.8.0-alt1.git20141130.1.1.1 1463999610 installed <13>Jan 26 06:01:32 rpmi: python3-module-runfile-0.46.1-alt1.git20141130.1 1458039066 installed <13>Jan 26 06:01:32 rpmi: objectweb-asm-0:5.1-alt1_4jpp8 1482101902 installed <13>Jan 26 06:01:32 rpmi: sisu-inject-1:0.3.2-alt0.1jpp 1481830130 installed <13>Jan 26 06:01:32 rpmi: xmvn-core-2.5.0-alt1_11jpp8 1482192574 installed <13>Jan 26 06:01:32 rpmi: sisu-plexus-1:0.3.2-alt0.1jpp 1481830391 installed <13>Jan 26 06:01:32 rpmi: maven-0:3.3.9-alt1_6jpp8 1481975126 installed <13>Jan 26 06:01:32 rpmi: maven-lib-0:3.3.9-alt1_6jpp8 1481975126 installed <13>Jan 26 06:01:32 rpmi: maven-common-artifact-filters-3.0.0-alt1_2jpp8 1481288409 installed <13>Jan 26 06:01:32 rpmi: maven-archiver-0:3.0.0-alt1_2jpp8 1481288134 installed <13>Jan 26 06:01:32 rpmi: maven-filtering-3.1.1-alt1_2jpp8 1482219438 installed <13>Jan 26 06:01:32 rpmi: maven-plugin-annotations-0:3.4-alt1_4jpp8 1480011258 installed <13>Jan 26 06:01:32 rpmi: maven-plugin-tools-api-0:3.4-alt1_4jpp8 1480011258 installed <13>Jan 26 06:01:32 rpmi: antlr-tool-0:2.7.7-alt12_43jpp8 1481918402 installed <13>Jan 26 06:01:32 rpmi: maven-source-plugin-3.0.1-alt1_1jpp8 1482088413 installed <13>Jan 26 06:01:32 rpmi: maven-shared-io-1:3.0.0-alt1_2jpp8 1481291189 installed <13>Jan 26 06:01:32 rpmi: maven-file-management-1:3.0.0-alt1_2jpp8 1480363122 installed <13>Jan 26 06:01:32 rpmi: xmvn-connector-aether-2.5.0-alt1_11jpp8 1482192574 installed <13>Jan 26 06:01:32 rpmi: xmvn-minimal-2.5.0-alt1_11jpp8 1482192574 installed <13>Jan 26 06:01:32 rpmi: xmvn-2.5.0-alt1_11jpp8 1482192574 installed <13>Jan 26 06:01:33 rpmi: checkstyle-0:7.1-alt1_1jpp8 1482067232 installed <13>Jan 26 06:01:33 rpmi: maven-plugin-tools-annotations-0:3.4-alt1_4jpp8 1480011258 installed <13>Jan 26 06:01:33 rpmi: maven-plugin-tools-java-0:3.4-alt1_4jpp8 1480011258 installed <13>Jan 26 06:01:33 rpmi: xmvn-mojo-2.5.0-alt1_11jpp8 1482192574 installed <13>Jan 26 06:01:33 rpmi: maven-resources-plugin-3.0.1-alt1_1jpp8 1482391999 installed <13>Jan 26 06:01:33 rpmi: maven-repository-builder-1:1.0-alt3_5jpp8 1481979082 installed <13>Jan 26 06:01:33 rpmi: maven-assembly-plugin-2.6-alt1_8jpp8 1481976216 installed <13>Jan 26 06:01:33 rpmi: maven-artifact-transfer-3.0-alt1_0.3.20160118svn1722498jpp8 1481817209 installed <13>Jan 26 06:01:33 rpmi: maven-shared-incremental-1.1-alt1_11jpp8 1481970457 installed <13>Jan 26 06:01:33 rpmi: maven-compiler-plugin-3.5.1-alt1_4jpp8 1481976492 installed <13>Jan 26 06:01:33 rpmi: maven-toolchain-1:2.2.1-alt6_54jpp8 1481977895 installed <13>Jan 26 06:01:33 rpmi: maven-artifact-resolver-1:1.0-alt3_15jpp8 1481975939 installed <13>Jan 26 06:01:33 rpmi: xmvn-install-2.5.0-alt1_11jpp8 1482192574 installed <13>Jan 26 06:01:33 rpmi: xmvn-subst-2.5.0-alt1_11jpp8 1482192574 installed <13>Jan 26 06:01:33 rpmi: xmvn-resolve-2.5.0-alt1_11jpp8 1482192574 installed <13>Jan 26 06:01:33 rpmi: cglib-0:3.1-alt1_10jpp8 1479840761 installed <13>Jan 26 06:01:33 rpmi: easymock-0:3.4-alt1_2jpp8 1482324312 installed <13>Jan 26 06:01:33 rpmi: felix-bundlerepository-1.6.6-alt4_20jpp8 1482185230 installed <13>Jan 26 06:01:33 rpmi: xml-commons-resolver-0:1.2-alt1_19jpp8 1480080445 installed <13>Jan 26 06:01:33 rpmi: xalan-j2-0:2.7.1-alt4_28jpp8 1480077104 installed <13>Jan 26 06:01:33 rpmi: xerces-j2-0:2.11.0-alt3_24jpp8 1480078978 installed <13>Jan 26 06:01:33 rpmi: ant-0:1.9.6-alt3_3jpp8 1481895414 installed <13>Jan 26 06:01:33 rpmi: bsf-1:2.4.0-alt3_23jpp8 1479835416 installed <13>Jan 26 06:01:33 rpmi: bsh-0:1.3.0-alt6_35jpp8 1481926402 installed <13>Jan 26 06:01:33 rpmi: jdom-0:1.1.3-alt3_10jpp8 1479963221 installed <13>Jan 26 06:01:33 rpmi: testng-0:6.9.11-alt1_1jpp8 1482107785 installed <13>Jan 26 06:01:33 rpmi: ant-antlr-0:1.9.6-alt3_3jpp8 1481895414 installed <13>Jan 26 06:01:33 rpmi: ant-junit-0:1.9.6-alt3_3jpp8 1481895414 installed <13>Jan 26 06:01:33 rpmi: xmlunit-0:1.6-alt1_3jpp8 1480082954 installed <13>Jan 26 06:01:33 rpmi: apache-rat-core-0.11-alt1_3jpp8 1479864895 installed <13>Jan 26 06:01:33 rpmi: jtidy-3:1.0-alt3_0.22.20100930svn1125jpp8 1479985741 installed <13>Jan 26 06:01:33 rpmi: python3-module-numpy-testing-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 06:01:34 rpmi: python3-module-numpy-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 06:01:34 rpmi: libpython3-3.5.1-alt7 1462447642 installed <13>Jan 26 06:01:34 rpmi: python3-dev-3.5.1-alt7 1462447642 installed <13>Jan 26 06:01:34 rpmi: python3-module-gflags-2.0-alt2.1.1 1457951309 installed <13>Jan 26 06:01:34 rpmi: python3-module-google-0.4.2-alt2 1484663741 installed <13>Jan 26 06:01:34 rpmi: python3-module-pytz-1:2016.10-alt1 1484291011 installed <13>Jan 26 06:01:35 rpmi: python3-module-py-1.4.32-alt1 1484069457 installed <13>Jan 26 06:01:35 rpmi: python3-module-pytest-3.0.5-alt1 1485077941 installed <13>Jan 26 06:01:35 rpmi: python-modules-bsddb-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:35 rpmi: python-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:35 rpmi: python-strict-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:35 rpmi: python-dev-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:35 rpmi: python-module-setuptools-1:18.1-alt4 1469693421 installed <13>Jan 26 06:01:35 rpmi: python-module-numpy-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 06:01:35 rpmi: python-module-numpy-testing-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 06:01:35 rpmi: python-module-dateutil-2.4.2-alt1 1438325427 installed <13>Jan 26 06:01:35 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Jan 26 06:01:36 rpmi: python-module-babel-1:2.3.4-alt1 1477346033 installed <13>Jan 26 06:01:36 rpmi: python-module-genshi-0.7-alt1.1.1.1 1460400448 installed <13>Jan 26 06:01:36 rpmi: python-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Jan 26 06:01:36 rpmi: python-module-html5lib-1:0.999999-alt1.1.1.1 1460400556 installed <13>Jan 26 06:01:36 rpmi: python-module-lxml-3.5.0-alt2.beta1.git20150727 1462232478 installed <13>Jan 26 06:01:36 rpmi: python-module-docutils-0.13.1-alt1 1484230885 installed <13>Jan 26 06:01:36 rpmi: python-module-pyparsing-2.0.3-alt1 1423469752 installed <13>Jan 26 06:01:36 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321388303 installed <13>Jan 26 06:01:36 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Jan 26 06:01:36 rpmi: python-module-gflags-2.0-alt2.1.1 1457951309 installed <13>Jan 26 06:01:36 rpmi: python-module-simplejson-3.10.0-alt1 1484334605 installed <13>Jan 26 06:01:36 rpmi: python-module-markupsafe-0.23-alt1.2.1 1459594456 installed <13>Jan 26 06:01:36 rpmi: python-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1.1 1484417882 installed <13>Jan 26 06:01:36 rpmi: python-module-jinja2-2.9-alt1.dev.git20150726.1.1.1.1 1484417882 installed <13>Jan 26 06:01:36 rpmi: python-modules-sqlite3-2.7.11-alt3 1460726037 installed <13>Jan 26 06:01:37 rpmi: python-module-SQLAlchemy-1.0.12-alt1 1461160349 installed <13>Jan 26 06:01:37 rpmi: python-module-alabaster-0.7.6-alt2.git20150703 1461344248 installed <13>Jan 26 06:01:37 rpmi: python-module-Pygments-2.1.3-alt1 1461350990 installed <13>Jan 26 06:01:37 rpmi: python-module-sphinx-1:1.4.1-alt2 1461380581 installed <13>Jan 26 06:01:37 rpmi: python-module-py-1.4.32-alt1 1484069457 installed <13>Jan 26 06:01:37 rpmi: python-module-pytest-3.0.5-alt1 1485077941 installed <13>Jan 26 06:01:37 rpmi: netty-tcnative-1.1.30-alt2_3jpp8 1480027414 installed <13>Jan 26 06:01:37 rpmi: netty3-3.9.3-alt1_4jpp8 1480026611 installed <13>Jan 26 06:01:37 rpmi: gpars-1.2.1-alt1_6jpp8 1481807931 installed <13>Jan 26 06:01:38 rpmi: jline-0:2.13-alt1_2jpp8 1481811277 installed <13>Jan 26 06:01:38 rpmi: jansi-0:1.11-alt1_10jpp8 1479924342 installed <13>Jan 26 06:01:39 rpmi: groovy-lib-0:2.4.5-alt1_7jpp8 1481808824 installed <13>Jan 26 06:01:39 rpmi: xbean-0:4.5-alt1_3jpp8 1482110774 installed <13>Jan 26 06:01:39 rpmi: plexus-containers-container-default-0:1.6-alt3_6jpp8 1481989329 installed <13>Jan 26 06:01:39 rpmi: maven-scm-0:1.9.4-alt1_5jpp8 1481979401 installed <13>Jan 26 06:01:39 rpmi: fusesource-pom-0:1.9-alt1_13jpp8 1481933186 installed <13>Jan 26 06:01:39 rpmi: plexus-velocity-0:1.2-alt1_1jpp8 1482103611 installed <13>Jan 26 06:01:39 rpmi: maven-settings-1:2.2.1-alt6_54jpp8 1481977895 installed <13>Jan 26 06:01:39 rpmi: maven-doxia-logging-api-0:1.6-alt1_5jpp8 1480005067 installed <13>Jan 26 06:01:39 rpmi: maven-doxia-sink-api-0:1.6-alt1_5jpp8 1480005067 installed <13>Jan 26 06:01:39 rpmi: maven-doxia-core-0:1.6-alt1_5jpp8 1480005067 installed <13>Jan 26 06:01:39 rpmi: maven-reporting-api-1:3.0-alt3_10jpp8 1480013545 installed <13>Jan 26 06:01:39 rpmi: plexus-i18n-0:1.0-alt7_0.8.b10.4jpp8 1480040925 installed <13>Jan 26 06:01:39 rpmi: maven-artifact-manager-1:2.2.1-alt6_54jpp8 1481977895 installed <13>Jan 26 06:01:39 rpmi: plexus-resources-0:1.0-alt7_0.20.a7jpp8 1480042918 installed <13>Jan 26 06:01:39 rpmi: maven-plugin-tools-generators-0:3.4-alt1_4jpp8 1480011258 installed <13>Jan 26 06:01:39 rpmi: maven-doxia-module-apt-0:1.6-alt1_5jpp8 1480005067 installed <13>Jan 26 06:01:39 rpmi: maven-doxia-module-fml-0:1.6-alt1_5jpp8 1480005067 installed <13>Jan 26 06:01:39 rpmi: maven-doxia-module-xdoc-0:1.6-alt1_5jpp8 1480005067 installed <13>Jan 26 06:01:39 rpmi: maven-doxia-module-xhtml-0:1.6-alt1_5jpp8 1480005067 installed <13>Jan 26 06:01:39 rpmi: maven-plugin-registry-1:2.2.1-alt6_54jpp8 1481977895 installed <13>Jan 26 06:01:39 rpmi: maven-profile-1:2.2.1-alt6_54jpp8 1481977895 installed <13>Jan 26 06:01:39 rpmi: maven-project-1:2.2.1-alt6_54jpp8 1481977895 installed <13>Jan 26 06:01:39 rpmi: maven-jar-plugin-2.6-alt1_3jpp8 1480009199 installed <13>Jan 26 06:01:39 rpmi: buildnumber-maven-plugin-1.3-alt1_6jpp8 1481927098 installed <13>Jan 26 06:01:39 rpmi: maven-plugin-build-helper-1.9.1-alt1_3jpp8 1480010924 installed <13>Jan 26 06:01:39 rpmi: weld-parent-34-alt1_2jpp8 1482109792 installed <13>Jan 26 06:01:39 rpmi: maven-antrun-plugin-1.8-alt1_3jpp8 1480002914 installed <13>Jan 26 06:01:39 rpmi: maven-remote-resources-plugin-1.4-alt3_11jpp8 1480013280 installed <13>Jan 26 06:01:39 rpmi: apache-parent-18-alt1_1jpp8 1482064841 installed <13>Jan 26 06:01:39 rpmi: maven-parent-27-alt1_2jpp8 1480366145 installed <13>Jan 26 06:01:39 rpmi: httpcomponents-project-7-alt1_3jpp8 1479914982 installed <13>Jan 26 06:01:39 rpmi: maven-enforcer-api-0:1.4.1-alt1_4jpp8 1481817890 installed <13>Jan 26 06:01:39 rpmi: maven-enforcer-rules-0:1.4.1-alt1_4jpp8 1481817890 installed <13>Jan 26 06:01:39 rpmi: maven-enforcer-plugin-0:1.4.1-alt1_4jpp8 1481817890 installed <13>Jan 26 06:01:39 rpmi: jboss-parent-0:11-alt3_7jpp8 1479952342 installed <13>Jan 26 06:01:39 rpmi: objectweb-pom-1.5-alt1_4jpp8 1480028371 installed <13>Jan 26 06:01:39 rpmi: maven-plugin-descriptor-1:2.2.1-alt6_54jpp8 1481977895 installed <13>Jan 26 06:01:39 rpmi: maven-surefire-0:2.19.1-alt1_2jpp8 1481115223 installed <13>Jan 26 06:01:39 rpmi: maven-surefire-plugin-0:2.19.1-alt1_2jpp8 1481115223 installed <13>Jan 26 06:01:39 rpmi: maven-surefire-provider-junit-0:2.19.1-alt1_2jpp8 1481115223 installed <13>Jan 26 06:01:39 rpmi: maven-surefire-provider-testng-0:2.19.1-alt1_2jpp8 1481115223 installed <13>Jan 26 06:01:39 rpmi: plexus-cli-0:1.6-alt1_3jpp8 1480039589 installed <13>Jan 26 06:01:39 rpmi: plexus-containers-component-metadata-0:1.6-alt3_6jpp8 1481989329 installed <13>Jan 26 06:01:39 rpmi: plexus-components-pom-1.3.1-alt1_7jpp8 1481988998 installed <13>Jan 26 06:01:39 rpmi: rhino-1:1.7.7.1-alt1_1jpp8 1482105112 installed <13>Jan 26 06:01:40 rpmi: batik-0:1.8-alt3_6jpp8 1480458398 installed <13>Jan 26 06:01:40 rpmi: fop-0:2.0-alt1_3jpp8 1479881906 installed <13>Jan 26 06:01:40 rpmi: maven-doxia-module-fo-0:1.6-alt1_5jpp8 1480005067 installed <13>Jan 26 06:01:40 rpmi: maven-doxia-sitetools-0:1.6-alt1_3jpp8 1480006135 installed <13>Jan 26 06:01:40 rpmi: maven-reporting-impl-2.4-alt1_2jpp8 1480369531 installed <13>Jan 26 06:01:40 rpmi: maven-plugin-bundle-3.0.1-alt1_1jpp8 1481290619 installed <13>Jan 26 06:01:40 rpmi: geronimo-parent-poms-1.6-alt3_22jpp8 1481933444 installed <13>Jan 26 06:01:40 rpmi: maven-plugin-plugin-0:3.4-alt1_4jpp8 1480011258 installed <13>Jan 26 06:01:40 rpmi: maven-plugins-pom-28-alt1_4jpp8 1481978461 installed <13>Jan 26 06:01:40 rpmi: apache-rat-plugin-0.11-alt1_3jpp8 1479864895 installed <13>Jan 26 06:01:40 rpmi: apache-commons-parent-0:40-alt1_2jpp8 1482064601 installed <13>Jan 26 06:01:40 rpmi: maven-doxia-tools-0:1.6-alt1_4jpp8 1480006415 installed <13>Jan 26 06:01:40 rpmi: maven-checkstyle-plugin-2.12-alt1_2jpp8 1480448808 installed <13>Jan 26 06:01:40 rpmi: mojo-parent-0:39-alt1_1jpp8 1482089093 installed <13>Jan 26 06:01:40 rpmi: maven-javadoc-plugin-2.10.4-alt1_1jpp8 1482219089 installed <13>Jan 26 06:01:40 rpmi: javapackages-local-1:4.6.0-alt10_14jpp8 1481282571 installed <13>Jan 26 06:01:40 rpmi: maven-local-1:4.6.0-alt10_14jpp8 1481282571 installed <13>Jan 26 06:01:40 rpmi: libcups-2.2.1-alt1 1480317617 installed <13>Jan 26 06:01:41 rpmi: libgtk+4-3.89.3-alt1 1485229937 installed <13>Jan 26 06:01:41 rpmi: libgtk+4-gir-3.89.3-alt1 1485229937 installed <13>Jan 26 06:01:42 rpmi: python-module-matplotlib-1.5.0-alt5.git20150829 1464448387 installed <13>Jan 26 06:01:42 rpmi: python-module-matplotlib-gtk3-1.5.0-alt5.git20150829 1464448387 installed <13>Jan 26 06:01:42 rpmi: python-module-numpydoc-1:0.6-alt1.dev.git20150712 1440938301 installed <13>Jan 26 06:01:42 rpmi: libnumpy-devel-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 06:01:43 rpmi: libnumpy-py3-devel-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 06:01:43 rpmi: python-module-setuptools-tests-1:18.1-alt4 1469693421 installed <13>Jan 26 06:01:43 rpmi: python-module-google-apputils-0.4.2-alt2 1484663741 installed <13>Jan 26 06:01:43 rpmi: python3-module-setuptools-tests-1:18.1-alt4 1469693421 installed <13>Jan 26 06:01:43 rpmi: python3-module-google-apputils-0.4.2-alt2 1484663741 installed <13>Jan 26 06:01:43 rpmi: java-devel-default-1.7.0-alt1 1454012839 installed <13>Jan 26 06:01:43 rpmi: python3-module-mox-0.5.3-alt3.git20140721.1 1457991187 installed <13>Jan 26 06:01:43 rpmi: python-module-mox-0.5.3-alt3.git20140721.1 1457991187 installed <13>Jan 26 06:01:44 rpmi: gcc6-c++-6.3.1-alt1 1484277945 installed <13>Jan 26 06:01:44 rpmi: zlib-devel-1.2.8-alt1 1371079011 installed Installing protobuf-2.6.1-alt1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.12567 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf protobuf-2.6.1 + echo 'Source #0 (protobuf-2.6.1.tar):' Source #0 (protobuf-2.6.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/protobuf-2.6.1.tar + cd protobuf-2.6.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (protobuf-2.6.1-alt1.1.patch):' Patch #0 (protobuf-2.6.1-alt1.1.patch): + /usr/bin/patch -p1 patching file .gear/protobuf.spec patching file .gear/rules patching file .gear/tags/24672ff1c2170244617dac968596db81128d2dd3 patching file .gear/tags/list patching file Makefile.am patching file autogen.sh patching file java/pom.xml patching file src/Makefile.am + rm -rf java/src/test + rm -rf gtest + cp -fR python 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/stubout.py RefactoringTool: Refactored python3/setup.py RefactoringTool: Refactored python3/mox.py RefactoringTool: Refactored python3/google/protobuf/text_format.py --- python3/stubout.py (original) +++ python3/stubout.py (refactored) @@ -60,7 +60,7 @@ Raises AttributeError if the attribute cannot be found. """ if (inspect.ismodule(obj) or - (not inspect.isclass(obj) and obj.__dict__.has_key(attr_name))): + (not inspect.isclass(obj) and attr_name in obj.__dict__)): orig_obj = obj orig_attr = getattr(obj, attr_name) --- python3/setup.py (original) +++ python3/setup.py (refactored) @@ -49,7 +49,7 @@ if (not os.path.exists(output) or (os.path.exists(source) and os.path.getmtime(source) > os.path.getmtime(output))): - print ("Generating %s..." % output) + print(("Generating %s..." % output)) if not os.path.exists(source): sys.stderr.write("Can't find required file: %s\n" % source) --- python3/mox.py (original) +++ python3/mox.py (refactored) @@ -65,6 +65,7 @@ import unittest import stubout +import collections class Error(AssertionError): """Base exception for this module.""" @@ -152,8 +153,8 @@ # A list of types that should be stubbed out with MockObjects (as # opposed to MockAnythings). - _USE_MOCK_OBJECT = [types.ClassType, types.InstanceType, types.ModuleType, - types.ObjectType, types.TypeType] + _USE_MOCK_OBJECT = [type, types.InstanceType, types.ModuleType, + object, type] def __init__(self): """Initialize a new Mox.""" @@ -306,7 +307,7 @@ return MockMethod(method_name, self._expected_calls_queue, self._replay_mode) - def __nonzero__(self): + def __bool__(self): """Return 1 for nonzero so the mock can be used as a conditional.""" return 1 @@ -378,7 +379,7 @@ self._known_vars = set() self._class_to_mock = class_to_mock for method in dir(class_to_mock): - if callable(getattr(class_to_mock, method)): + if isinstance(getattr(class_to_mock, method), collections.Callable): self._known_methods.add(method) else: self._known_vars.add(method) @@ -778,7 +779,7 @@ rhs: any python object """ - raise NotImplementedError, 'method must be implemented by a subclass.' + raise NotImplementedError('method must be implemented by a subclass.') def __eq__(self, rhs): return self.equals(rhs) @@ -1350,8 +1351,8 @@ for attr_name in dir(base): d[attr_name] = getattr(base, attr_name) - for func_name, func in d.items(): - if func_name.startswith('test') and callable(func): + for func_name, func in list(d.items()): + if func_name.startswith('test') and isinstance(func, collections.Callable): setattr(cls, func_name, MoxMetaTestBase.CleanUpTest(cls, func)) @staticmethod @@ -1386,7 +1387,7 @@ return new_method -class MoxTestBase(unittest.TestCase): +class MoxTestBase(unittest.TestCase, metaclass=MoxMetaTestBase): """Convenience test class to make stubbing easier. Sets up a "mox" attribute which is an instance of Mox - any mox tests will @@ -1395,7 +1396,5 @@ code. """ - __metaclass__ = MoxMetaTestBase - def setUp(self): self.mox = Mox() --- python3/google/protobuf/text_format.py (original) +++ python3/google/protobuf/text_format.py (refactored) @@ -36,7 +36,7 @@ __author__ = 'kenton@google.com (Kenton Varda)' -import cStringIO +import io import re from google.protobuf.internal import type_checkers @@ -89,7 +89,7 @@ Returns: A string of the text formatted protocol buffer message. """ - out = cStringIO.StringIO() + out = io.StringIO() PrintMessage(message, out, as_utf8=as_utf8, as_one_line=as_one_line, pointy_brackets=pointy_brackets, use_index_order=use_index_order, @@ -189,7 +189,7 @@ out.write(str(value)) elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_STRING: out.write('\"') - if isinstance(value, unicode): + if isinstance(value, str): out_value = value.encode('utf-8') else: out_value = value @@ -499,7 +499,7 @@ def _PopLine(self): while lenRefactoringTool: Refactored python3/google/protobuf/text_encoding.py (self._current_line) <= self._column: try: - self._current_line = self._lines.next() + self._current_line = next(self._lines) except StopIteration: self._current_line = '' self._more_lines = False @@ -569,7 +569,7 @@ """ try: result = ParseInteger(self.token, is_signed=True, is_long=False) - except ValueError, e: + except ValueError as e: raise self._ParseError(str(e)) self.NextToken() return result @@ -585,7 +585,7 @@ """ try: result = ParseInteger(self.token, is_signed=False, is_long=False) - except ValueError, e: + except ValueError as e: raise self._ParseError(str(e)) self.NextToken() return result @@ -601,7 +601,7 @@ """ try: result = ParseInteger(self.token, is_signed=True, is_long=True) - except ValueError, e: + except ValueError as e: raise self._ParseError(str(e)) self.NextToken() return result @@ -617,7 +617,7 @@ """ try: result = ParseInteger(self.token, is_signed=False, is_long=True) - except ValueError, e: + except ValueError as e: raise self._ParseError(str(e)) self.NextToken() return result @@ -633,7 +633,7 @@ """ try: result = ParseFloat(self.token) - except ValueError, e: + except ValueError as e: raise self._ParseError(str(e)) self.NextToken() return result @@ -649,7 +649,7 @@ """ try: result = ParseBool(self.token) - except ValueError, e: + except ValueError as e: raise self._ParseError(str(e)) self.NextToken() return result @@ -665,8 +665,8 @@ """ the_bytes = self.ConsumeByteString() try: - return unicode(the_bytes, 'utf-8') - except UnicodeDecodeError, e: + return str(the_bytes, 'utf-8') + except UnicodeDecodeError as e: raise self._StringParseError(e) def ConsumeByteString(self): @@ -700,7 +700,7 @@ try: result = text_encoding.CUnescape(text[1:-1]) - except ValueError, e: + except ValueError as e: raise self._ParseError(str(e)) self.NextToken() return result @@ -708,7 +708,7 @@ def ConsumeEnum(self, field): try: result = ParseEnum(field, self.token) - except ValueError, e: + except ValueError as e: raise self._ParseError(str(e)) self.NextToken() return result @@ -773,7 +773,7 @@ # alternate implementations where the distinction is more significant # (e.g. the C++ implementation) simpler. if is_long: - result = long(text, 0) + result = int(text, 0) else: result = int(text, 0) except ValueError: --- python3/google/protobuf/text_encoding.py (original) +++ python3/google/protobuf/text_encoding.py (refactored) @@ -36,7 +36,7 @@ import sys ##PY25 # Lookup table for utf8 -_cescape_utf8_to_str = [chr(i) for i in xrange(0, 256)] +_cescape_utf8_to_str = [chr(i) for i in range(0, 256)] _cescape_utf8_to_str[9] = r'\t' # optional escape _cescape_utf8_to_str[10] = r'\n' # optional escape _cescape_utf8_to_str[13] = r'\r' # optional escape @@ -46,9 +46,9 @@ _cescape_utf8_to_str[92] = r'\\' # necessary escape # Lookup table for non-utf8, with necessary escapes at (o >= 127 or o < 32) -_cescape_byte_to_str = ([r'\%03o' % i for i in xrange(0, 32)] + - [chr(i) for i in xrange(32, 127)] + - [r'\%03o' % i for i in xrange(127, 256)]) +_cescape_byte_to_str = ([r'\%03o' % i for i in range(0, 32)] + + [chr(i) for i in range(32, 127)] + + [r'\%03o' % i for i in range(127, 256)]) _cescape_byte_to_str[9] = r'\t' # optional escape _cescape_byte_to_str[10] = r'\n' # optional escape _cescape_byte_to_str[13] = r'\r' # optional escape @@ -75,7 +75,7 @@ """ # PY3 hack: make Ord work for str and bytes: # //platforms/networking/data uses unicode here, hence basestring. - Ord = ord if isinstance(text, basestring) else lambda x: x + Ord = ord if isinstance(text, str) else lambda RefactoringTool: No changes to python3/google/protobuf/symbol_database.py RefactoringTool: No changes to python3/google/protobuf/service_reflection.py RefactoringTool: No changes to python3/google/protobuf/service.py RefactoringTool: Refactored python3/google/protobuf/reflection.py RefactoringTool: No changes to python3/google/protobuf/pyext/reflection_cpp2_generated_test.py RefactoringTool: No changes to python3/google/protobuf/pyext/message_factory_cpp2_test.py RefactoringTool: No changes to python3/google/protobuf/pyext/descriptor_cpp2_test.py RefactoringTool: No changes to python3/google/protobuf/pyext/cpp_message.py RefactoringTool: Refactored python3/google/protobuf/message_factory.py RefactoringTool: No changes to python3/google/protobuf/message.py RefactoringTool: No changes to python3/google/protobuf/internal/wire_format_test.py RefactoringTool: No changes to python3/google/protobuf/internal/wire_format.py RefactoringTool: No changes to python3/google/protobuf/internal/unknown_fields_test.py RefactoringTool: Refactored python3/google/protobuf/internal/type_checkers.py x: x if as_utf8: return ''.join(_cescape_utf8_to_str[Ord(c)] for c in text) return ''.join(_cescape_byte_to_str[Ord(c)] for c in text) --- python3/google/protobuf/reflection.py (original) +++ python3/google/protobuf/reflection.py (refactored) @@ -196,7 +196,7 @@ The Message class object described by the descriptor. """ attributes = {} - for name, nested_type in descriptor.nested_types_by_name.items(): + for name, nested_type in list(descriptor.nested_types_by_name.items()): attributes[name] = MakeClass(nested_type) attributes[GeneratedProtocolMessageType._DESCRIPTOR_KEY] = descriptor --- python3/google/protobuf/message_factory.py (original) +++ python3/google/protobuf/message_factory.py (refactored) @@ -111,7 +111,7 @@ result = {} for file_name in files: file_desc = self.pool.FindFileByName(file_name) - for name, msg in file_desc.message_types_by_name.iteritems(): + for name, msg in file_desc.message_types_by_name.items(): if file_desc.package: full_name = '.'.join([file_desc.package, name]) else: @@ -128,7 +128,7 @@ # ignore the registration if the original was the same, or raise # an error if they were different. - for name, extension in file_desc.extensions_by_name.iteritems(): + for name, extension in file_desc.extensions_by_name.items(): if extension.containing_type.full_name not in self._classes: self.GetPrototype(extension.containing_type) extended_class = self._classes[extension.containing_type.full_name] --- python3/google/protobuf/internal/type_checkers.py (original) +++ python3/google/protobuf/internal/type_checkers.py (refactored) @@ -111,9 +111,9 @@ """Checker used for integer fields. Performs type-check and range check.""" def CheckValue(self, proposed_value): - if not isinstance(proposed_value, (int, long)): + if not isinstance(proposed_value, int): message = ('%.1024r has type %s, but expected one of: %s' % - (proposed_value, type(proposed_value), (int, long))) + (proposed_value, type(proposed_value), (int, int))) raise TypeError(message) if not self._MIN <= proposed_value <= self._MAX: raise ValueError('Value out of range: %d' % proposed_value) @@ -132,9 +132,9 @@ self._enum_type = enum_type def CheckValue(self, proposed_value): - if not isinstance(proposed_value, (int, long)): + if not isinstance(proposed_value, int): message = ('%.1024r has type %s, but expected one of: %s' % - (proposed_value, type(proposed_value), (int, long))) + (proposed_value, type(proposed_value), (int, int))) raise TypeError(message) if proposed_value not in self._enum_type.values_by_number: raise ValueError('Unknown enum value: %d' % proposed_value) @@ -149,9 +149,9 @@ """ def CheckValue(self, proposed_value): - if not isinstance(proposed_value, (bytes, unicode)): + if not isinstance(proposed_value, (bytes, str)): message = ('%.1024r has type %s, but expected one of: %s' % - (proposed_value, type(proposed_value), (bytes, unicode))) + (proposed_value, type(proposed_value), (bytes, str))) raise TypeError(message) # If the value is of type 'bytes' make sure that it is in 7-bit ASCII @@ -184,13 +184,13 @@ class Int64ValueChecker(IntValueChecker): _MIN = -(1 << 63) _MAX = (1 << 63) - 1 - _TYPE = long + _TYPE = int class Uint64ValueChecker(IntValueChecker): _MIN = 0 _MAX = (1 << 64) - 1 - _TYPE = long + _TYPE = int # Type-checkers for all scalar CPPTYPEs. @@ -200,9 +200,9 @@ _FieldDescriptor.CPPTYPE_UINT32: Uint32ValueChecker(), _FieldDescriptor.CPPTYPE_UINT64: Uint64ValueChecker(), _FieldDescriptor.CPPTYPE_DOUBLE: TypeChecker( - float, int, long), + float, int, int), _FieldDescriptor.CPPTYPE_FLOAT: TypeChecker( - float, int, long), + float, int, int), _FieldDescriptor.CPPTYPE_BOOL: TypeChecker(bool, inRefactoringTool: Refactored python3/google/protobuf/internal/text_format_test.py t), _FieldDescriptor.CPPTYPE_STRING: TypeChecker(bytes), } --- python3/google/protobuf/internal/text_format_test.py (original) +++ python3/google/protobuf/internal/text_format_test.py (refactored) @@ -125,7 +125,7 @@ message.repeated_double.append(1.23e22) message.repeated_double.append(1.23e-18) message.repeated_string.append('\000\001\a\b\f\n\r\t\v\\\'"') - message.repeated_string.append(u'\u00fc\ua71f') + message.repeated_string.append('\u00fc\ua71f') self.CompareToGoldenText( self.RemoveRedundantZeros(text_format.MessageToString(message)), 'repeated_int64: -9223372036854775808\n' @@ -138,10 +138,10 @@ 'repeated_string: "\\303\\274\\352\\234\\237"\n') def testPrintExoticUnicodeSubclass(self): - class UnicodeSub(unicode): + class UnicodeSub(str): pass message = unittest_pb2.TestAllTypes() - message.repeated_string.append(UnicodeSub(u'\u00fc\ua71f')) + message.repeated_string.append(UnicodeSub('\u00fc\ua71f')) self.CompareToGoldenText( text_format.MessageToString(message), 'repeated_string: "\\303\\274\\352\\234\\237"\n') @@ -198,7 +198,7 @@ message.repeated_double.append(1.23e22) message.repeated_double.append(1.23e-18) message.repeated_string.append('\000\001\a\b\f\n\r\t\v\\\'"') - message.repeated_string.append(u'\u00fc\ua71f') + message.repeated_string.append('\u00fc\ua71f') self.CompareToGoldenText( self.RemoveRedundantZeros( text_format.MessageToString(message, as_one_line=True)), @@ -219,7 +219,7 @@ message.repeated_double.append(1.23e22) message.repeated_double.append(1.23e-18) message.repeated_string.append('\000\001\a\b\f\n\r\t\v\\\'"') - message.repeated_string.append(u'\u00fc\ua71f') + message.repeated_string.append('\u00fc\ua71f') # Test as_utf8 = False. wire_text = text_format.MessageToString( @@ -227,7 +227,7 @@ parsed_message = unittest_pb2.TestAllTypes() r = text_format.Parse(wire_text, parsed_message) self.assertIs(r, parsed_message) - self.assertEquals(message, parsed_message) + self.assertEqual(message, parsed_message) # Test as_utf8 = True. wire_text = text_format.MessageToString( @@ -235,17 +235,17 @@ parsed_message = unittest_pb2.TestAllTypes() r = text_format.Parse(wire_text, parsed_message) self.assertIs(r, parsed_message) - self.assertEquals(message, parsed_message, + self.assertEqual(message, parsed_message, '\n%s != %s' % (message, parsed_message)) def testPrintRawUtf8String(self): message = unittest_pb2.TestAllTypes() - message.repeated_string.append(u'\u00fc\ua71f') + message.repeated_string.append('\u00fc\ua71f') text = text_format.MessageToString(message, as_utf8=True) self.CompareToGoldenText(text, 'repeated_string: "\303\274\352\234\237"\n') parsed_message = unittest_pb2.TestAllTypes() text_format.Parse(text, parsed_message) - self.assertEquals(message, parsed_message, + self.assertEqual(message, parsed_message, '\n%s != %s' % (message, parsed_message)) def testPrintFloatFormat(self): @@ -303,7 +303,7 @@ message = unittest_pb2.TestAllTypes() test_util.SetAllFields(message) - self.assertEquals(message, parsed_message) + self.assertEqual(message, parsed_message) def testParseGoldenExtensions(self): golden_text = '\n'.join(self.ReadGolden( @@ -313,7 +313,7 @@ message = unittest_pb2.TestAllExtensions() test_util.SetAllExtensions(message) - self.assertEquals(message, parsed_message) + self.assertEqual(message, parsed_message) def testParseAllFields(self): message = unittest_pb2.TestAllTypes() @@ -354,8 +354,8 @@ text_format.Parse(text, message) ext1 = unittest_mset_pb2.TestMessageSetExtension1.message_set_extension ext2 = unittest_mset_pb2.TestMessageSetExtension2.message_set_extension - self.assertEquals(23, message.message_set.Extensions[ext1].i) - self.assertEquals('foo', messRefactoringTool: Refactored python3/google/protobuf/internal/text_encoding_test.py RefactoringTool: Refactored python3/google/protobuf/internal/test_util.py age.message_set.Extensions[ext2].str) + self.assertEqual(23, message.message_set.Extensions[ext1].i) + self.assertEqual('foo', message.message_set.Extensions[ext2].str) def testParseExotic(self): message = unittest_pb2.TestAllTypes() @@ -380,8 +380,8 @@ self.assertEqual( '\000\001\a\b\f\n\r\t\v\\\'"', message.repeated_string[0]) self.assertEqual('foocorgegrault', message.repeated_string[1]) - self.assertEqual(u'\u00fc\ua71f', message.repeated_string[2]) - self.assertEqual(u'\u00fc', message.repeated_string[3]) + self.assertEqual('\u00fc\ua71f', message.repeated_string[2]) + self.assertEqual('\u00fc', message.repeated_string[3]) def testParseTrailingCommas(self): message = unittest_pb2.TestAllTypes() @@ -395,14 +395,14 @@ self.assertEqual(100, message.repeated_int64[0]) self.assertEqual(200, message.repeated_int64[1]) self.assertEqual(300, message.repeated_int64[2]) - self.assertEqual(u'one', message.repeated_string[0]) - self.assertEqual(u'two', message.repeated_string[1]) + self.assertEqual('one', message.repeated_string[0]) + self.assertEqual('two', message.repeated_string[1]) def testParseEmptyText(self): message = unittest_pb2.TestAllTypes() text = '' text_format.Parse(text, message) - self.assertEquals(unittest_pb2.TestAllTypes(), message) + self.assertEqual(unittest_pb2.TestAllTypes(), message) def testParseInvalidUtf8(self): message = unittest_pb2.TestAllTypes() @@ -575,7 +575,7 @@ message = unittest_pb2.TestAllTypes() test_util.SetAllFields(message) - self.assertEquals(message, parsed_message) + self.assertEqual(message, parsed_message) def testMergeLinesGolden(self): opened = self.ReadGolden('text_format_unittest_data.txt') --- python3/google/protobuf/internal/text_encoding_test.py (original) +++ python3/google/protobuf/internal/text_encoding_test.py (refactored) @@ -53,15 +53,15 @@ class TextEncodingTestCase(basetest.TestCase): def testCEscape(self): for escaped, escaped_utf8, unescaped in TEST_VALUES: - self.assertEquals(escaped, + self.assertEqual(escaped, text_encoding.CEscape(unescaped, as_utf8=False)) - self.assertEquals(escaped_utf8, + self.assertEqual(escaped_utf8, text_encoding.CEscape(unescaped, as_utf8=True)) def testCUnescape(self): for escaped, escaped_utf8, unescaped in TEST_VALUES: - self.assertEquals(unescaped, text_encoding.CUnescape(escaped)) - self.assertEquals(unescaped, text_encoding.CUnescape(escaped_utf8)) + self.assertEqual(unescaped, text_encoding.CUnescape(escaped)) + self.assertEqual(unescaped, text_encoding.CUnescape(escaped_utf8)) if __name__ == "__main__": --- python3/google/protobuf/internal/test_util.py (original) +++ python3/google/protobuf/internal/test_util.py (refactored) @@ -66,7 +66,7 @@ message.optional_float = 111 message.optional_double = 112 message.optional_bool = True - message.optional_string = u'115' + message.optional_string = '115' message.optional_bytes = b'116' message.optionalgroup.a = 117 @@ -79,8 +79,8 @@ message.optional_foreign_enum = unittest_pb2.FOREIGN_BAZ message.optional_import_enum = unittest_import_pb2.IMPORT_BAZ - message.optional_string_piece = u'124' - message.optional_cord = u'125' + message.optional_string_piece = '124' + message.optional_cord = '125' # # Repeated fields. @@ -99,7 +99,7 @@ message.repeated_float.append(211) message.repeated_double.append(212) message.repeated_bool.append(True) - message.repeated_string.append(u'215') + message.repeated_string.append('215') message.repeated_bytes.append(b'216') message.repeatedgroup.add().a = 217 @@ -112,8 +112,8 @@ message.repeated_foreign_enum.append(unittest_pb2.FOREIGN_BAR) message.repeated_import_enum.append(unittest_import_pb2.IMPORT_BAR) - message.repeated_string_piece.append(u'224') - message.repeated_cord.append(u'225') + message.repeated_string_piece.append('224') + message.repeated_cord.append('225') # Add a second one of each field. message.repeated_int32.append(301) @@ -129,7 +129,7 @@ message.repeated_float.append(311) message.repeated_double.append(312) message.repeated_bool.append(False) - message.repeated_string.append(u'315') + message.repeated_string.append('315') message.repeated_bytes.append(b'316') message.repeatedgroup.add().a = 317 @@ -142,8 +142,8 @@ message.repeated_foreign_enum.append(unittest_pb2.FOREIGN_BAZ) message.repeated_import_enum.append(unittest_import_pb2.IMPORT_BAZ) - message.repeated_string_piece.append(u'324') - message.repeated_cord.append(u'325') + message.repeated_string_piece.append('324') + message.repeated_cord.append('325') # # Fields that have defaults. @@ -211,7 +211,7 @@ extensions[pb2.optional_float_extension] = 111 extensions[pb2.optional_double_extension] = 112 extensions[pb2.optional_bool_extension] = True - extensions[pb2.optional_string_extension] = u'115' + extensions[pb2.optional_string_extension] = '115' extensions[pb2.optional_bytes_extension] = b'116' extensions[pb2.optionalgroup_extension].a = 117 @@ -226,8 +226,8 @@ extensions[pb2.optional_foreign_enum_extension] = pb2.FOREIGN_BAZ extensions[pb2.optional_import_enum_extension] = import_pb2.IMPORT_BAZ - extensions[pb2.optional_string_piece_extension] = u'124' - extensions[pb2.optional_cord_extension] = u'125' + extensions[pb2.optional_string_piece_extension] = '124' + extensions[pb2.optional_cord_extension] = '125' # # Repeated fields. @@ -246,7 +246,7 @@ extensions[pb2.repeated_float_extension].append(211) extensions[pb2.repeated_double_extension].append(212) extensions[pb2.repeated_bool_extension].append(True) - extensions[pb2.repeated_string_extension].append(u'215') + extensions[pb2.repeated_string_extension].append('215') extensions[pb2.repeated_bytes_extension].append(b'216') extensions[pb2.repeatedgroup_extension].add().a = 217 @@ -259,8 +259,8 @@ extensions[pb2.repeated_foreign_enum_extension].append(pb2.FOREIGN_BAR) extensions[pb2.repeated_import_enum_extension].append(import_pb2.IMPORT_BAR) - extensions[pb2.repeated_string_piece_extension].append(u'224') - extensions[pb2.repeated_cord_extension].append(u'225') + extensions[pb2.repeated_string_piece_extension].append('224') + extensions[pb2.repeated_cord_extension].append('225') # Append a second one of each field. extensions[pb2.repeated_int32_extension].append(301) @@ -276,7 +276,7 @@ extensions[pb2.repeated_float_extension].append(311) extensions[pb2.repeated_double_extension].append(312) extensions[pb2.repeated_bool_extension].append(False) - extensions[pb2.repeated_string_extension].append(u'315') + extensions[pb2.repeated_string_extension].append('315') extensions[pb2.repeated_bytes_extension].append(b'316') extensions[pb2.repeatedgroup_extension].add().a = 317 @@ -289,8 +289,8 @@ extensions[pb2.repeated_foreign_enum_extension].append(pb2.FOREIGN_BAZ) extensions[pb2.repeated_import_enum_extension].append(import_pb2.IMPORT_BAZ) - extensions[pb2.repeated_string_piece_extension].append(u'324') - extensions[pb2.repeated_cord_extension].append(u'325') + extensions[pb2.repeated_string_piece_extension].append('324') + extensions[pb2.repeated_cord_extension].append('325') # # Fields with defaults. @@ -309,19 +309,19 @@ extensions[pb2.default_float_extension] = 411 extensions[pb2.default_double_extension] = 412 extensions[pb2.default_bool_extension] = False - extensions[pb2.default_string_extension] = u'415' + extensions[pb2.default_string_extension] = '415' extensions[pb2.default_bytes_extension] = b'416' extensions[pb2.default_nested_enum_extension] = pb2.TestAllTypes.FOO extensions[pb2.default_foreign_enum_extension] = pb2.FOREIGN_FOO extensions[pb2.default_import_enum_extension] = import_pb2.IMPORT_FOO - extensions[pb2.default_string_piece_extension] = u'424' + extensions[pb2.default_string_piece_extension] = '4RefactoringTool: Refactored python3/google/protobuf/internal/symbol_database_test.py RefactoringTool: No changes to python3/google/protobuf/internal/service_reflection_test.py RefactoringTool: Refactored python3/google/protobuf/internal/reflection_test.py 24' extensions[pb2.default_cord_extension] = '425' extensions[pb2.oneof_uint32_extension] = 601 extensions[pb2.oneof_nested_message_extension].bb = 602 - extensions[pb2.oneof_string_extension] = u'603' + extensions[pb2.oneof_string_extension] = '603' extensions[pb2.oneof_bytes_extension] = b'604' --- python3/google/protobuf/internal/symbol_database_test.py (original) +++ python3/google/protobuf/internal/symbol_database_test.py (refactored) @@ -64,53 +64,53 @@ messages['protobuf_unittest.TestAllTypes']) def testGetSymbol(self): - self.assertEquals( + self.assertEqual( unittest_pb2.TestAllTypes, self._Database().GetSymbol( 'protobuf_unittest.TestAllTypes')) - self.assertEquals( + self.assertEqual( unittest_pb2.TestAllTypes.NestedMessage, self._Database().GetSymbol( 'protobuf_unittest.TestAllTypes.NestedMessage')) - self.assertEquals( + self.assertEqual( unittest_pb2.TestAllTypes.OptionalGroup, self._Database().GetSymbol( 'protobuf_unittest.TestAllTypes.OptionalGroup')) - self.assertEquals( + self.assertEqual( unittest_pb2.TestAllTypes.RepeatedGroup, self._Database().GetSymbol( 'protobuf_unittest.TestAllTypes.RepeatedGroup')) def testEnums(self): # Check registration of types in the pool. - self.assertEquals( + self.assertEqual( 'protobuf_unittest.ForeignEnum', self._Database().pool.FindEnumTypeByName( 'protobuf_unittest.ForeignEnum').full_name) - self.assertEquals( + self.assertEqual( 'protobuf_unittest.TestAllTypes.NestedEnum', self._Database().pool.FindEnumTypeByName( 'protobuf_unittest.TestAllTypes.NestedEnum').full_name) def testFindMessageTypeByName(self): - self.assertEquals( + self.assertEqual( 'protobuf_unittest.TestAllTypes', self._Database().pool.FindMessageTypeByName( 'protobuf_unittest.TestAllTypes').full_name) - self.assertEquals( + self.assertEqual( 'protobuf_unittest.TestAllTypes.NestedMessage', self._Database().pool.FindMessageTypeByName( 'protobuf_unittest.TestAllTypes.NestedMessage').full_name) def testFindFindContainingSymbol(self): # Lookup based on either enum or message. - self.assertEquals( + self.assertEqual( 'google/protobuf/unittest.proto', self._Database().pool.FindFileContainingSymbol( 'protobuf_unittest.TestAllTypes.NestedEnum').name) - self.assertEquals( + self.assertEqual( 'google/protobuf/unittest.proto', self._Database().pool.FindFileContainingSymbol( 'protobuf_unittest.TestAllTypes').name) def testFindFileByName(self): - self.assertEquals( + self.assertEqual( 'google/protobuf/unittest.proto', self._Database().pool.FindFileByName( 'google/protobuf/unittest.proto').name) --- python3/google/protobuf/internal/reflection_test.py (original) +++ python3/google/protobuf/internal/reflection_test.py (refactored) @@ -130,10 +130,10 @@ repeated_bool=[True, False, False], repeated_string=["optional_string"]) - self.assertEquals([1, 2, 3, 4], list(proto.repeated_int32)) - self.assertEquals([1.23, 54.321], list(proto.repeated_double)) - self.assertEquals([True, False, False], list(proto.repeated_bool)) - self.assertEquals(["optional_string"], list(proto.repeated_string)) + self.assertEqual([1, 2, 3, 4], list(proto.repeated_int32)) + self.assertEqual([1.23, 54.321], list(proto.repeated_double)) + self.assertEqual([True, False, False], list(proto.repeated_bool)) + self.assertEqual(["optional_string"], list(proto.repeated_string)) def testRepeatedCompositeConstructor(self): # Constructor with only repeated composite types should succeed. @@ -152,18 +152,18 @@ unittest_pb2.TestAllTypes.RepeatedGroup(a=1), unittest_pb2.TestAllTypes.RepeatedGroup(a=2)]) - self.assertEquals( + self.assertEqual( [unittest_pb2.TestAllTypes.NestedMessage( bb=unittest_pb2.TestAllTypes.FOO), unittest_pb2.TestAllTypes.NestedMessage( bb=unittest_pb2.TestAllTypes.BAR)], list(proto.repeated_nested_message)) - self.assertEquals( + self.assertEqual( [unittest_pb2.ForeignMessage(c=-43), unittest_pb2.ForeignMessage(c=45324), unittest_pb2.ForeignMessage(c=12)], list(proto.repeated_foreign_message)) - self.assertEquals( + self.assertEqual( [unittest_pb2.TestAllTypes.RepeatedGroup(), unittest_pb2.TestAllTypes.RepeatedGroup(a=1), unittest_pb2.TestAllTypes.RepeatedGroup(a=2)], @@ -188,15 +188,15 @@ self.assertEqual(24, proto.optional_int32) self.assertEqual('optional_string', proto.optional_string) - self.assertEquals([1.23, 54.321], list(proto.repeated_double)) - self.assertEquals([True, False, False], list(proto.repeated_bool)) - self.assertEquals( + self.assertEqual([1.23, 54.321], list(proto.repeated_double)) + self.assertEqual([True, False, False], list(proto.repeated_bool)) + self.assertEqual( [unittest_pb2.TestAllTypes.NestedMessage( bb=unittest_pb2.TestAllTypes.FOO), unittest_pb2.TestAllTypes.NestedMessage( bb=unittest_pb2.TestAllTypes.BAR)], list(proto.repeated_nested_message)) - self.assertEquals( + self.assertEqual( [unittest_pb2.ForeignMessage(c=-43), unittest_pb2.ForeignMessage(c=45324), unittest_pb2.ForeignMessage(c=12)], @@ -224,18 +224,18 @@ def testConstructorInvalidatesCachedByteSize(self): message = unittest_pb2.TestAllTypes(optional_int32 = 12) - self.assertEquals(2, message.ByteSize()) + self.assertEqual(2, message.ByteSize()) message = unittest_pb2.TestAllTypes( optional_nested_message = unittest_pb2.TestAllTypes.NestedMessage()) - self.assertEquals(3, message.ByteSize()) + self.assertEqual(3, message.ByteSize()) message = unittest_pb2.TestAllTypes(repeated_int32 = [12]) - self.assertEquals(3, message.ByteSize()) + self.assertEqual(3, message.ByteSize()) message = unittest_pb2.TestAllTypes( repeated_nested_message = [unittest_pb2.TestAllTypes.NestedMessage()]) - self.assertEquals(3, message.ByteSize()) + self.assertEqual(3, message.ByteSize()) def testSimpleHasBits(self): # Test a scalar. @@ -469,7 +469,7 @@ proto.repeated_string.extend(['foo', 'bar']) proto.repeated_string.extend([]) proto.repeated_string.append('baz') - proto.repeated_string.extend(str(x) for x in xrange(2)) + proto.repeated_string.extend(str(x) for x in range(2)) proto.optional_int32 = 21 proto.repeated_bool # Access but don't set anything; should not be listed. self.assertEqual( @@ -558,7 +558,7 @@ proto.default_import_enum) proto = unittest_pb2.TestExtremeDefaultValues() - self.assertEqual(u'\u1234', proto.utf8_string) + self.assertEqual('\u1234', proto.utf8_string) def testHasFieldWithUnknownFieldName(self): proto = unittest_pb2.TestAllTypes() @@ -622,14 +622,14 @@ if struct.calcsize('L') == 4: # Python only has signed ints, so 32-bit python can't fit an uint32 # in an int. - TestGetAndDeserialize('optional_uint32', 1 << 31, long) + TestGetAndDeserialize('optional_uint32', 1 << 31, int) else: # 64-bit python can fit uint32 inside an int TestGetAndDeserialize('optional_uint32', 1 << 31, int) - TestGetAndDeserialize('optional_int64', 1 << 30, long) - TestGetAndDeserialize('optional_int64', 1 << 60, long) - TestGetAndDeserialize('optional_uint64', 1 << 30, long) - TestGetAndDeserialize('optional_uint64', 1 << 60, long) + TestGetAndDeserialize('optional_int64', 1 << 30, int) + TestGetAndDeserialize('optional_int64', 1 << 60, int) + TestGetAndDeserialize('optional_uint64', 1 << 30, int) + TestGetAndDeserialize('optional_uint64', 1 << 60, int) def testSingleScalarBoundsChecking(self): def TestMinAndMaxIntegers(field_name, expected_min, expected_max): @@ -755,18 +755,18 @@ def testEnum_KeysAndValues(self): self.assertEqual(['FOREIGN_FOO', 'FOREIGN_BAR', 'FOREIGN_BAZ'], - unittest_pb2.ForeignEnum.keys()) + list(unittest_pb2.ForeignEnum.keys())) self.assertEqual([4, 5, 6], - unittest_pb2.ForeignEnum.values()) + list(unittest_pb2.ForeignEnum.values())) self.assertEqual([('FOREIGN_FOO', 4), ('FOREIGN_BAR', 5), ('FOREIGN_BAZ', 6)], - unittest_pb2.ForeignEnum.items()) - - proto = unittest_pb2.TestAllTypes() - self.assertEqual(['FOO', 'BAR', 'BAZ', 'NEG'], proto.NestedEnum.keys()) - self.assertEqual([1, 2, 3, -1], proto.NestedEnum.values()) + list(unittest_pb2.ForeignEnum.items())) + + proto = unittest_pb2.TestAllTypes() + self.assertEqual(['FOO', 'BAR', 'BAZ', 'NEG'], list(proto.NestedEnum.keys())) + self.assertEqual([1, 2, 3, -1], list(proto.NestedEnum.values())) self.assertEqual([('FOO', 1), ('BAR', 2), ('BAZ', 3), ('NEG', -1)], - proto.NestedEnum.items()) + list(proto.NestedEnum.items())) def testRepeatedScalars(self): proto = unittest_pb2.TestAllTypes() @@ -805,7 +805,7 @@ self.assertEqual([5, 25, 20, 15, 30], proto.repeated_int32[:]) # Test slice assignment with an iterator - proto.repeated_int32[1:4] = (i for i in xrange(3)) + proto.repeated_int32[1:4] = (i for i in range(3)) self.assertEqual([5, 0, 1, 2, 30], proto.repeated_int32) # Test slice assignment. @@ -1008,9 +1008,8 @@ containing_type=None, nested_types=[], enum_types=[], fields=[foo_field_descriptor], extensions=[], options=descriptor_pb2.MessageOptions()) - class MyProtoClass(message.Message): + class MyProtoClass(message.Message, metaclass=reflection.GeneratedProtocolMessageType): DESCRIPTOR = mydescriptor - __metaclass__ = reflection.GeneratedProtocolMessageType myproto_instance = MyProtoClass() self.assertEqual(0, myproto_instance.foo_field) self.assertTrue(not myproto_instance.HasField('foo_field')) @@ -1050,14 +1049,13 @@ new_field.label = descriptor_pb2.FieldDescriptorProto.LABEL_REPEATED desc = descriptor.MakeDescriptor(desc_proto) - self.assertTrue(desc.fields_by_name.has_key('name')) - self.assertTrue(desc.fields_by_name.has_key('year')) - self.assertTrue(desc.fields_by_name.has_key('automatic')) - self.assertTrue(desc.fields_by_name.has_key('price')) - self.assertTrue(desc.fields_by_name.has_key('owners')) - - class CarMessage(message.Message): - __metaclass__ = reflection.GeneratedProtocolMessageType + self.assertTrue('name' in desc.fields_by_name) + self.assertTrue('year' in desc.fields_by_name) + self.assertTrue('automatic' in desc.fields_by_name) + self.assertTrue('price' in desc.fields_by_name) + self.assertTrue('owners' in desc.fields_by_name) + + class CarMessage(message.Message, metaclass=reflection.GeneratedProtocolMessageType): DESCRIPTOR = desc prius = CarMessage() @@ -1175,7 +1173,7 @@ self.assertTrue(1 in unittest_pb2.TestAllExtensions._extensions_by_number) # Make sure extensions haven't been registered into types that shouldn't # have any. - self.assertEquals(0, len(unittest_pb2.TestAllTypes._extensions_by_name)) + self.assertEqual(0, len(unittest_pb2.TestAllTypes._extensions_by_name)) # If message A directly contains message B, and # a.HasField('b') is currently False, then mutating any @@ -1496,18 +1494,18 @@ test_util.SetAllNonLazyFields(proto) # Clear the message. proto.Clear() - self.assertEquals(proto.ByteSize(), 0) + self.assertEqual(proto.ByteSize(), 0) empty_proto = unittest_pb2.TestAllTypes() - self.assertEquals(proto, empty_proto) + self.assertEqual(proto, empty_proto) # Test if extensions which were set are cleared. proto = unittWARNING: couldn't encode python3/google/protobuf/internal/reflection_test.py's diff for your terminal RefactoringTool: Refactored python3/google/protobuf/internal/python_message.py est_pb2.TestAllExtensions() test_util.SetAllExtensions(proto) # Clear the message. proto.Clear() - self.assertEquals(proto.ByteSize(), 0) + self.assertEqual(proto.ByteSize(), 0) empty_proto = unittest_pb2.TestAllExtensions() - self.assertEquals(proto, empty_proto) + self.assertEqual(proto, empty_proto) def testDisconnectingBeforeClear(self): proto = unittest_pb2.TestAllTypes() @@ -1657,17 +1655,17 @@ # Assignment of a unicode object to a field of type 'bytes' is not allowed. self.assertRaises(TypeError, - setattr, proto, 'optional_bytes', u'unicode object') + setattr, proto, 'optional_bytes', 'unicode object') # Check that the default value is of python's 'unicode' type. - self.assertEqual(type(proto.optional_string), unicode) - - proto.optional_string = unicode('Testing') + self.assertEqual(type(proto.optional_string), str) + + proto.optional_string = str('Testing') self.assertEqual(proto.optional_string, str('Testing')) # Assign a value of type 'str' which can be encoded in UTF-8. proto.optional_string = str('Testing') - self.assertEqual(proto.optional_string, unicode('Testing')) + self.assertEqual(proto.optional_string, str('Testing')) # Try to assign a 'str' value which contains bytes that aren't 7-bit ASCII. self.assertRaises(ValueError, @@ -1686,7 +1684,7 @@ extension_message = unittest_mset_pb2.TestMessageSetExtension2 extension = extension_message.message_set_extension --- python3/google/protobuf/internal/python_message.py (original) +++ python3/google/protobuf/internal/python_message.py (refactored) @@ -57,10 +57,10 @@ import sys if sys.version_info[0] < 3: try: - from cStringIO import StringIO as BytesIO + from io import StringIO as BytesIO except ImportError: - from StringIO import StringIO as BytesIO - import copy_reg as copyreg + from io import StringIO as BytesIO + import copyreg as copyreg else: from io import BytesIO import copyreg @@ -237,7 +237,7 @@ def _AddClassAttributesForNestedExtensions(descriptor, dictionary): extension_dict = descriptor.extensions_by_name - for extension_name, extension_field in extension_dict.iteritems(): + for extension_name, extension_field in extension_dict.items(): assert extension_name not in dictionary dictionary[extension_name] = extension_field @@ -323,7 +323,7 @@ self._is_present_in_parent = False self._listener = message_listener_mod.NullMessageListener() self._listener_for_children = _Listener(self) - for field_name, field_value in kwargs.iteritems(): + for field_name, field_value in kwargs.items(): field = _GetFieldByName(message_descriptor, field_name) if field is None: raise TypeError("%s() got an unexpected keyword argument '%s'" % @@ -546,7 +546,7 @@ def _AddPropertiesForExtensions(descriptor, cls): """Adds properties for all fields in this protocol message type.""" extension_dict = descriptor.extensions_by_name - for extension_name, extension_field in extension_dict.iteritems(): + for extension_name, extension_field in extension_dict.items(): constant_name = extension_name.upper() + "_FIELD_NUMBER" setattr(cls, constant_name, extension_field.number) @@ -601,7 +601,7 @@ """Helper for _AddMessageMethods().""" def ListFields(self): - all_fields = [item for item in self._fields.iteritems() if _IsPresent(item)] + all_fields = [item for item in self._fields.items() if _IsPresent(item)] all_fields.sort(key = lambda item: item[0].number) return all_fields @@ -845,7 +845,7 @@ except (IndexError, TypeError): # Now ord(buf[p:p+1]) == ord('') gets TypeError. raise message_mod.DecodeError('Truncated message.') - except struct.error, e: + except struct.error as e: raise message_mod.DecodeError(e) return length # Return this for legacy reasons. cls.MergeFromString = MergeFromString @@ -945,7 +945,7 @@ name = field.name RefactoringTool: Refactored python3/google/protobuf/internal/message_test.py RefactoringTool: No changes to python3/google/protobuf/internal/message_python_test.py RefactoringTool: No changes to python3/google/protobuf/internal/message_listener.py RefactoringTool: Refactored python3/google/protobuf/internal/message_factory_test.py if field.label == _FieldDescriptor.LABEL_REPEATED: - for i in xrange(len(value)): + for i in range(len(value)): element = value[i] prefix = "%s[%d]." % (name, i) sub_errors = element.FindInitializationErrors() @@ -975,7 +975,7 @@ fields = self._fields - for field, value in msg._fields.iteritems(): + for field, value in msg._fields.items(): if field.label == LABEL_REPEATED: field_value = fields.get(field) if field_value is None: --- python3/google/protobuf/internal/message_test.py (original) +++ python3/google/protobuf/internal/message_test.py (refactored) @@ -98,7 +98,7 @@ golden_message.ParseFromString(golden_data) all_set = unittest_pb2.TestAllExtensions() test_util.SetAllExtensions(all_set) - self.assertEquals(all_set, golden_message) + self.assertEqual(all_set, golden_message) self.assertEqual(golden_data, golden_message.SerializeToString()) golden_copy = copy.deepcopy(golden_message) self.assertEqual(golden_data, golden_copy.SerializeToString()) @@ -109,7 +109,7 @@ golden_message.ParseFromString(golden_data) all_set = unittest_pb2.TestPackedTypes() test_util.SetAllPackedFields(all_set) - self.assertEquals(all_set, golden_message) + self.assertEqual(all_set, golden_message) self.assertEqual(golden_data, all_set.SerializeToString()) golden_copy = copy.deepcopy(golden_message) self.assertEqual(golden_data, golden_copy.SerializeToString()) @@ -120,7 +120,7 @@ golden_message.ParseFromString(golden_data) all_set = unittest_pb2.TestPackedExtensions() test_util.SetAllPackedExtensions(all_set) - self.assertEquals(all_set, golden_message) + self.assertEqual(all_set, golden_message) self.assertEqual(golden_data, all_set.SerializeToString()) golden_copy = copy.deepcopy(golden_message) self.assertEqual(golden_data, golden_copy.SerializeToString()) @@ -132,7 +132,7 @@ pickled_message = pickle.dumps(golden_message) unpickled_message = pickle.loads(pickled_message) - self.assertEquals(unpickled_message, golden_message) + self.assertEqual(unpickled_message, golden_message) def testPickleIncompleteProto(self): @@ -140,8 +140,8 @@ pickled_message = pickle.dumps(golden_message) unpickled_message = pickle.loads(pickled_message) - self.assertEquals(unpickled_message, golden_message) - self.assertEquals(unpickled_message.a, 1) + self.assertEqual(unpickled_message, golden_message) + self.assertEqual(unpickled_message.a, 1) # This is still an incomplete proto - so serializing should fail self.assertRaises(message.EncodeError, unpickled_message.SerializeToString) @@ -575,7 +575,7 @@ self.assertEqual('oneof_uint32', m.WhichOneof('oneof_field')) self.assertTrue(m.HasField('oneof_uint32')) - m.oneof_string = u'foo' + m.oneof_string = 'foo' self.assertEqual('oneof_string', m.WhichOneof('oneof_field')) self.assertFalse(m.HasField('oneof_uint32')) self.assertTrue(m.HasField('oneof_string')) --- python3/google/protobuf/internal/message_factory_test.py (original) +++ python3/google/protobuf/internal/message_factory_test.py (refactored) @@ -61,8 +61,8 @@ msg.factory_1_message.nested_factory_1_message.value = ( 'nested message value') msg.factory_1_message.scalar_value = 22 - msg.factory_1_message.list_value.extend([u'one', u'two', u'three']) - msg.factory_1_message.list_value.append(u'four') + msg.factory_1_message.list_value.extend(['one', 'two', 'three']) + msg.factory_1_message.list_value.append('four') msg.factory_1_enum = 1 msg.nested_factory_1_enum = 0 msg.nested_factory_1_message.value = 'nested message value' @@ -70,8 +70,8 @@ msg.circular_message.circular_message.mandatory = 2 msg.circular_message.scalar_value = 'one deep' msg.scalar_value = 'zero deep' - msg.list_value.extend([u'four', u'three', u'two']) - msg.list_value.append(u'one') + msg.list_value.extend(['four', 'three',RefactoringTool: No changes to python3/google/protobuf/internal/message_factory_python_test.py RefactoringTool: Refactored python3/google/protobuf/internal/generator_test.py 'two']) + msg.list_value.append('one') msg.grouped.add() msg.grouped[0].part_1 = 'hello' msg.grouped[0].part_2 = 'world' @@ -81,9 +81,9 @@ serialized = msg.SerializeToString() converted = factory_test2_pb2.Factory2Message.FromString(serialized) reserialized = converted.SerializeToString() - self.assertEquals(serialized, reserialized) + self.assertEqual(serialized, reserialized) result = cls.FromString(reserialized) - self.assertEquals(msg, result) + self.assertEqual(msg, result) def testGetPrototype(self): db = descriptor_database.DescriptorDatabase() @@ -107,14 +107,14 @@ self.assertContainsSubset( ['google.protobuf.python.internal.Factory2Message', 'google.protobuf.python.internal.Factory1Message'], - messages.keys()) + list(messages.keys())) self._ExerciseDynamicClass( messages['google.protobuf.python.internal.Factory2Message']) self.assertContainsSubset( ['google.protobuf.python.internal.Factory2Message.one_more_field', 'google.protobuf.python.internal.another_field'], - (messages['google.protobuf.python.internal.Factory1Message'] - ._extensions_by_name.keys())) + (list(messages['google.protobuf.python.internal.Factory1Message'] + ._extensions_by_name.keys()))) factory_msg1 = messages['google.protobuf.python.internal.Factory1Message'] msg1 = messages['google.protobuf.python.internal.Factory1Message']() ext1 = factory_msg1._extensions_by_name[ @@ -123,8 +123,8 @@ 'google.protobuf.python.internal.another_field'] msg1.Extensions[ext1] = 'test1' msg1.Extensions[ext2] = 'test2' - self.assertEquals('test1', msg1.Extensions[ext1]) - self.assertEquals('test2', msg1.Extensions[ext2]) + self.assertEqual('test1', msg1.Extensions[ext1]) + self.assertEqual('test2', msg1.Extensions[ext2]) if __name__ == '__main__': --- python3/google/protobuf/internal/generator_test.py (original) +++ python3/google/protobuf/internal/generator_test.py (refactored) @@ -153,7 +153,7 @@ # extension and for its value to be set to -789. def testNestedTypes(self): - self.assertEquals( + self.assertEqual( set(unittest_pb2.TestAllTypes.DESCRIPTOR.nested_types), set([ unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR, @@ -294,7 +294,7 @@ self.assertSameElements( nested_names, [field.name for field in desc.oneofs[0].fields]) - for field_name, field_desc in desc.fields_by_name.iteritems(): + for field_name, field_desc in desc.fields_by_name.items(): if field_name in nested_names: self.assertIs(desc.oneofs[0], field_desc.containing_oneof) else: @@ -305,36 +305,36 @@ """Checks that messages, enums and files are correctly registered.""" def testGetSymbol(self): - self.assertEquals( + self.assertEqual( unittest_pb2.TestAllTypes, symbol_database.Default().GetSymbol( 'protobuf_unittest.TestAllTypes')) - self.assertEquals( + self.assertEqual( unittest_pb2.TestAllTypes.NestedMessage, symbol_database.Default().GetSymbol( 'protobuf_unittest.TestAllTypes.NestedMessage')) with self.assertRaises(KeyError): symbol_database.Default().GetSymbol('protobuf_unittest.NestedMessage') - self.assertEquals( + self.assertEqual( unittest_pb2.TestAllTypes.OptionalGroup, symbol_database.Default().GetSymbol( 'protobuf_unittest.TestAllTypes.OptionalGroup')) - self.assertEquals( + self.assertEqual( unittest_pb2.TestAllTypes.RepeatedGroup, symbol_database.Default().GetSymbol( 'protobuf_unittest.TestAllTypes.RepeatedGroup')) def testEnums(self): - self.assertEquals( + self.assertEqual( 'protobuf_unittest.ForeignEnum', symbol_database.Default().pool.FindEnumTypeByName( 'protobuf_unittest.ForeignEnum').full_name) - self.assertEquals( RefactoringTool: No changes to python3/google/protobuf/internal/enum_type_wrapper.py RefactoringTool: No changes to python3/google/protobuf/internal/encoder.py RefactoringTool: No changes to python3/google/protobuf/internal/descriptor_test.py RefactoringTool: No changes to python3/google/protobuf/internal/descriptor_python_test.py RefactoringTool: Refactored python3/google/protobuf/internal/descriptor_pool_test.py + self.assertEqual( 'protobuf_unittest.TestAllTypes.NestedEnum', symbol_database.Default().pool.FindEnumTypeByName( 'protobuf_unittest.TestAllTypes.NestedEnum').full_name) def testFindFileByName(self): - self.assertEquals( + self.assertEqual( 'google/protobuf/unittest.proto', symbol_database.Default().pool.FindFileByName( 'google/protobuf/unittest.proto').name) --- python3/google/protobuf/internal/descriptor_pool_test.py (original) +++ python3/google/protobuf/internal/descriptor_pool_test.py (refactored) @@ -65,15 +65,15 @@ name1 = 'google/protobuf/internal/factory_test1.proto' file_desc1 = self.pool.FindFileByName(name1) self.assertIsInstance(file_desc1, descriptor.FileDescriptor) - self.assertEquals(name1, file_desc1.name) - self.assertEquals('google.protobuf.python.internal', file_desc1.package) + self.assertEqual(name1, file_desc1.name) + self.assertEqual('google.protobuf.python.internal', file_desc1.package) self.assertIn('Factory1Message', file_desc1.message_types_by_name) name2 = 'google/protobuf/internal/factory_test2.proto' file_desc2 = self.pool.FindFileByName(name2) self.assertIsInstance(file_desc2, descriptor.FileDescriptor) - self.assertEquals(name2, file_desc2.name) - self.assertEquals('google.protobuf.python.internal', file_desc2.package) + self.assertEqual(name2, file_desc2.name) + self.assertEqual('google.protobuf.python.internal', file_desc2.package) self.assertIn('Factory2Message', file_desc2.message_types_by_name) def testFindFileByNameFailure(self): @@ -84,17 +84,17 @@ file_desc1 = self.pool.FindFileContainingSymbol( 'google.protobuf.python.internal.Factory1Message') self.assertIsInstance(file_desc1, descriptor.FileDescriptor) - self.assertEquals('google/protobuf/internal/factory_test1.proto', + self.assertEqual('google/protobuf/internal/factory_test1.proto', file_desc1.name) - self.assertEquals('google.protobuf.python.internal', file_desc1.package) + self.assertEqual('google.protobuf.python.internal', file_desc1.package) self.assertIn('Factory1Message', file_desc1.message_types_by_name) file_desc2 = self.pool.FindFileContainingSymbol( 'google.protobuf.python.internal.Factory2Message') self.assertIsInstance(file_desc2, descriptor.FileDescriptor) - self.assertEquals('google/protobuf/internal/factory_test2.proto', + self.assertEqual('google/protobuf/internal/factory_test2.proto', file_desc2.name) - self.assertEquals('google.protobuf.python.internal', file_desc2.package) + self.assertEqual('google.protobuf.python.internal', file_desc2.package) self.assertIn('Factory2Message', file_desc2.message_types_by_name) def testFindFileContainingSymbolFailure(self): @@ -105,72 +105,72 @@ msg1 = self.pool.FindMessageTypeByName( 'google.protobuf.python.internal.Factory1Message') self.assertIsInstance(msg1, descriptor.Descriptor) - self.assertEquals('Factory1Message', msg1.name) - self.assertEquals('google.protobuf.python.internal.Factory1Message', + self.assertEqual('Factory1Message', msg1.name) + self.assertEqual('google.protobuf.python.internal.Factory1Message', msg1.full_name) - self.assertEquals(None, msg1.containing_type) + self.assertEqual(None, msg1.containing_type) nested_msg1 = msg1.nested_types[0] - self.assertEquals('NestedFactory1Message', nested_msg1.name) - self.assertEquals(msg1, nested_msg1.containing_type) + self.assertEqual('NestedFactory1Message', nested_msg1.name) + self.assertEqual(msg1, nested_msg1.containing_type) nested_enum1 = msg1.enum_types[0] - self.assertEquals('NestedFactory1Enum', nested_enum1.name) - self.assertEquals(msg1, nested_enum1.containing_type) - - self.assertEquals(nested_msg1, msg1.fields_by_name[ + self.assertEqual('NestedFactory1Enum', nested_enum1.name) + self.assertEqual(msg1, nested_enum1.containing_type) + + self.assertEqual(nested_msg1, msg1.fields_by_name[ 'nested_factory_1_message'].message_type) - self.assertEquals(nested_enum1, msg1.fields_by_name[ + self.assertEqual(nested_enum1, msg1.fields_by_name[ 'nested_factory_1_enum'].enum_type) msg2 = self.pool.FindMessageTypeByName( 'google.protobuf.python.internal.Factory2Message') self.assertIsInstance(msg2, descriptor.Descriptor) - self.assertEquals('Factory2Message', msg2.name) - self.assertEquals('google.protobuf.python.internal.Factory2Message', + self.assertEqual('Factory2Message', msg2.name) + self.assertEqual('google.protobuf.python.internal.Factory2Message', msg2.full_name) self.assertIsNone(msg2.containing_type) nested_msg2 = msg2.nested_types[0] - self.assertEquals('NestedFactory2Message', nested_msg2.name) - self.assertEquals(msg2, nested_msg2.containing_type) + self.assertEqual('NestedFactory2Message', nested_msg2.name) + self.assertEqual(msg2, nested_msg2.containing_type) nested_enum2 = msg2.enum_types[0] - self.assertEquals('NestedFactory2Enum', nested_enum2.name) - self.assertEquals(msg2, nested_enum2.containing_type) - - self.assertEquals(nested_msg2, msg2.fields_by_name[ + self.assertEqual('NestedFactory2Enum', nested_enum2.name) + self.assertEqual(msg2, nested_enum2.containing_type) + + self.assertEqual(nested_msg2, msg2.fields_by_name[ 'nested_factory_2_message'].message_type) - self.assertEquals(nested_enum2, msg2.fields_by_name[ + self.assertEqual(nested_enum2, msg2.fields_by_name[ 'nested_factory_2_enum'].enum_type) self.assertTrue(msg2.fields_by_name['int_with_default'].has_default_value) - self.assertEquals( + self.assertEqual( 1776, msg2.fields_by_name['int_with_default'].default_value) self.assertTrue( msg2.fields_by_name['double_with_default'].has_default_value) - self.assertEquals( + self.assertEqual( 9.99, msg2.fields_by_name['double_with_default'].default_value) self.assertTrue( msg2.fields_by_name['string_with_default'].has_default_value) - self.assertEquals( + self.assertEqual( 'hello world', msg2.fields_by_name['string_with_default'].default_value) self.assertTrue(msg2.fields_by_name['bool_with_default'].has_default_value) self.assertFalse(msg2.fields_by_name['bool_with_default'].default_value) self.assertTrue(msg2.fields_by_name['enum_with_default'].has_default_value) - self.assertEquals( + self.assertEqual( 1, msg2.fields_by_name['enum_with_default'].default_value) msg3 = self.pool.FindMessageTypeByName( 'google.protobuf.python.internal.Factory2Message.NestedFactory2Message') - self.assertEquals(nested_msg2, msg3) + self.assertEqual(nested_msg2, msg3) self.assertTrue(msg2.fields_by_name['bytes_with_default'].has_default_value) - self.assertEquals( + self.assertEqual( b'a\xfb\x00c', msg2.fields_by_name['bytes_with_default'].default_value) @@ -190,29 +190,29 @@ enum1 = self.pool.FindEnumTypeByName( 'google.protobuf.python.internal.Factory1Enum') self.assertIsInstance(enum1, descriptor.EnumDescriptor) - self.assertEquals(0, enum1.values_by_name['FACTORY_1_VALUE_0'].number) - self.assertEquals(1, enum1.values_by_name['FACTORY_1_VALUE_1'].number) + self.assertEqual(0, enum1.values_by_name['FACTORY_1_VALUE_0'].number) + self.assertEqual(1, enum1.values_by_name['FACTORY_1_VALUE_1'].number) nested_enum1 = self.pool.FindEnumTypeByName( 'google.protobuf.python.internal.Factory1Message.NestedFactory1Enum') self.assertIsInstance(nested_enum1, descriptor.EnumDescriptor) - self.assertEquals( + self.assertEqual( 0, nested_enum1.values_by_name['NESTED_FACTORY_1_VALUE_0'].number) - self.assertEquals( + self.assertEqual( 1, nested_enum1.values_by_name['NESTED_FACTORY_1_VALUE_1'].number) enum2 = self.pool.FindEnumTypeByName( 'google.protobuf.python.internal.Factory2Enum') self.assertIsInstance(enum2, descriptor.EnumDescriptor) - self.assertEquals(0, enum2.values_by_name['FACTORY_2_VALUE_0'].number) - self.assertEquals(1, enum2.values_by_name['FACTORY_2_VALUE_1'].number) + self.assertEqual(0, enum2.values_by_name['FACTORY_2_VALUE_0'].number) + self.assertEqual(1, enum2.values_by_name['FACTORY_2_VALUE_1'].number) nested_enum2 = self.pool.FindEnumTypeByName( 'google.protobuf.python.internal.Factory2Message.NestedFactory2Enum') self.assertIsInstance(nested_enum2, descriptor.EnumDescriptor) - self.assertEquals( + self.assertEqual( 0, nested_enum2.values_by_name['NESTED_FACTORY_2_VALUE_0'].number) - self.assertEquals( + self.assertEqual( 1, nested_enum2.values_by_name['NESTED_FACTORY_2_VALUE_1'].number) def testFindEnumTypeByNameFailure(self): @@ -248,11 +248,11 @@ def CheckFile(self, test, pool): file_desc = pool.FindFileByName(self.name) - test.assertEquals(self.name, file_desc.name) - test.assertEquals(self.package, file_desc.package) + test.assertEqual(self.name, file_desc.name) + test.assertEqual(self.package, file_desc.package) dependencies_names = [f.name for f in file_desc.dependencies] test.assertEqual(self.dependencies, dependencies_names) - for name, msg_type in self.messages.items(): + for name, msg_type in list(self.messages.items()): msg_type.CheckType(test, None, name, file_desc) @@ -299,7 +299,7 @@ test.assertEqual(containing_type_desc, desc.containing_type) test.assertEqual(desc.file, file_desc) test.assertEqual(self.is_extendable, desc.is_extendable) - for name, subtype in self.type_dict.items(): + for name, subtype in list(self.type_dict.items()): subtype.CheckType(test, desc, name, file_desc) for index, (name, field) in enumerate(self.field_list): @@ -404,7 +404,7 @@ def _TestMessage(self, prefix): pool = descriptor_pool.DescriptorPool() pool.AddDescriptor(unittest_pb2.TestAllTypes.DESCRIPTOR) - self.assertEquals( + self.assertEqual( 'protobuf_unittest.TestAllTypes', pool.FindMessageTypeByName( prefix + 'protobuf_unittest.TestAllTypes').full_name) @@ -415,18 +415,18 @@ prefix + 'protobuf_unittest.TestAllTypes.NestedMessage') pool.AddDescriptor(unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR) - self.assertEquals( + self.assertEqual( 'protobuf_unittest.TestAllTypes.NestedMessage', pool.FindMessageTypeByName( prefix + 'protobuf_unittest.TestAllTypes.NestedMessage').full_name) # Files are implicitly also indexed when messages are added. - self.assertEquals( + self.assertEqual( 'google/protobuf/unittest.proto', pool.FindFileByName( 'google/protobuf/unittest.proto').name) - self.assertEquals( + self.assertEqual( 'google/protobuf/unittest.proto', pool.FindFileContainingSymbol( prefix + 'protobuf_unittest.TestAllTypes.NestedMessage').name) @@ -438,7 +438,7 @@ def _TestEnum(self, prefix): pool = descriptor_pool.DescriptorPool() pool.AddEnumDescriptor(unittest_pb2.ForeignEnum.DESCRIPTOR) - self.assertEquals( + self.assertEqual( 'protobuf_unittest.ForeignEnum', pool.FindEnumTypeByName( prefix + 'protobuf_unittest.ForeignEnum').full_name) @@ -449,18 +449,18 @@ prefix + 'protobuf_unittest.ForeignEnum.NestedEnum') pool.AddEnumDescriptor(unittest_pb2.TestAllTypes.NestedEnum.DESCRIPTOR) - self.assertEquals( + self.assertEqual( 'protobuf_unittest.TestAllTypes.NestedEnum', pool.FindEnumTypeByName( prefix + 'protobuf_unittest.TestAllTypes.NestedEnum').full_name) # Files are implicitly also indexed when enums are added. - self.assertEquals( + self.assertEqual( 'google/protobuf/unittest.proto', pool.FindFileByName( 'google/protobuf/unittest.proto').name) - self.asRefactoringTool: Refactored python3/google/protobuf/internal/descriptor_database_test.py RefactoringTool: Refactored python3/google/protobuf/internal/decoder.py RefactoringTool: Refactored python3/google/protobuf/internal/cpp_message.py sertEquals( + self.assertEqual( 'google/protobuf/unittest.proto', pool.FindFileContainingSymbol( prefix + 'protobuf_unittest.TestAllTypes.NestedEnum').name) @@ -472,7 +472,7 @@ def testFile(self): pool = descriptor_pool.DescriptorPool() pool.AddFileDescriptor(unittest_pb2.DESCRIPTOR) - self.assertEquals( + self.assertEqual( 'google/protobuf/unittest.proto', pool.FindFileByName( 'google/protobuf/unittest.proto').name) --- python3/google/protobuf/internal/descriptor_database_test.py (original) +++ python3/google/protobuf/internal/descriptor_database_test.py (refactored) @@ -48,15 +48,15 @@ factory_test2_pb2.DESCRIPTOR.serialized_pb) db.Add(file_desc_proto) - self.assertEquals(file_desc_proto, db.FindFileByName( + self.assertEqual(file_desc_proto, db.FindFileByName( 'google/protobuf/internal/factory_test2.proto')) - self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( + self.assertEqual(file_desc_proto, db.FindFileContainingSymbol( 'google.protobuf.python.internal.Factory2Message')) - self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( + self.assertEqual(file_desc_proto, db.FindFileContainingSymbol( 'google.protobuf.python.internal.Factory2Message.NestedFactory2Message')) - self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( + self.assertEqual(file_desc_proto, db.FindFileContainingSymbol( 'google.protobuf.python.internal.Factory2Enum')) - self.assertEquals(file_desc_proto, db.FindFileContainingSymbol( + self.assertEqual(file_desc_proto, db.FindFileContainingSymbol( 'google.protobuf.python.internal.Factory2Message.NestedFactory2Enum')) if __name__ == '__main__': --- python3/google/protobuf/internal/decoder.py (original) +++ python3/google/protobuf/internal/decoder.py (refactored) @@ -164,8 +164,8 @@ # alternate implementations where the distinction is more significant # (e.g. the C++ implementation) simpler. -_DecodeVarint = _VarintDecoder((1 << 64) - 1, long) -_DecodeSignedVarint = _SignedVarintDecoder((1 << 64) - 1, long) +_DecodeVarint = _VarintDecoder((1 << 64) - 1, int) +_DecodeSignedVarint = _SignedVarintDecoder((1 << 64) - 1, int) # Use these versions for values which must be limited to 32 bits. _DecodeVarint32 = _VarintDecoder((1 << 32) - 1, int) @@ -480,12 +480,12 @@ """Returns a decoder for a string field.""" local_DecodeVarint = _DecodeVarint - local_unicode = unicode + local_unicode = str def _ConvertToUnicode(byte_str): try: return local_unicode(byte_str, 'utf-8') - except UnicodeDecodeError, e: + except UnicodeDecodeError as e: # add more information to the error message and re-raise it. e.reason = '%s in field: %s' % (e, key.full_name) raise --- python3/google/protobuf/internal/cpp_message.py (original) +++ python3/google/protobuf/internal/cpp_message.py (refactored) @@ -34,11 +34,12 @@ __author__ = 'petar@google.com (Petar Petrov)' -import copy_reg +import copyreg import operator from google.protobuf.internal import _net_proto2___python from google.protobuf.internal import enum_type_wrapper from google.protobuf import message +import collections _LABEL_REPEATED = _net_proto2___python.LABEL_REPEATED @@ -146,7 +147,7 @@ def __eq__(self, other): if self is other: return True - if not operator.isSequenceType(other): + if not isinstance(other, collections.Sequence): raise TypeError( 'Can only compare repeated scalar fields against sequences.') # We are presumably comparing against some other sequence type. @@ -259,7 +260,7 @@ index_key = lambda i: key(self[i]) # Sort the list of current indexes by the underlying object. - indexes = range(len(self)) + indexes = list(range(len(self))) indexes.sort(cmp=cmp, key=index_key, reverse=reverse) # Apply the transposition. @@ -385,7 +386,7 @@ _AddInitMethod(message_descriptor, cls) _AddMessageMethods(message_deRefactoringTool: No changes to python3/google/protobuf/internal/containers.py RefactoringTool: No changes to python3/google/protobuf/internal/api_implementation_default_test.py RefactoringTool: No changes to python3/google/protobuf/internal/api_implementation.py RefactoringTool: Refactored python3/google/protobuf/descriptor_pool.py RefactoringTool: No changes to python3/google/protobuf/descriptor_database.py RefactoringTool: Refactored python3/google/protobuf/descriptor.py scriptor, cls) _AddPropertiesForExtensions(message_descriptor, cls) - copy_reg.pickle(cls, lambda obj: (cls, (), obj.__getstate__())) + copyreg.pickle(cls, lambda obj: (cls, (), obj.__getstate__())) def _AddDescriptors(message_descriptor, dictionary): @@ -400,7 +401,7 @@ dictionary['__descriptors'][field.name] = GetFieldDescriptor( field.full_name) - dictionary['__slots__'] = list(dictionary['__descriptors'].iterkeys()) + [ + dictionary['__slots__'] = list(dictionary['__descriptors'].keys()) + [ '_cmsg', '_owner', '_composite_fields', 'Extensions', '_HACK_REFCOUNTS'] @@ -420,7 +421,7 @@ def _AddClassAttributesForNestedExtensions(message_descriptor, dictionary): """Adds class attributes for the nested extensions.""" extension_dict = message_descriptor.extensions_by_name - for extension_name, extension_field in extension_dict.iteritems(): + for extension_name, extension_field in extension_dict.items(): assert extension_name not in dictionary dictionary[extension_name] = extension_field @@ -474,7 +475,7 @@ self._HACK_REFCOUNTS = self self._composite_fields = {} - for field_name, field_value in kwargs.iteritems(): + for field_name, field_value in kwargs.items(): field_cdescriptor = self.__descriptors.get(field_name, None) if not field_cdescriptor: raise ValueError('Protocol message has no "%s" field.' % field_name) @@ -538,7 +539,7 @@ def Clear(self): cmessages_to_release = [] - for field_name, child_field in self._composite_fields.iteritems(): + for field_name, child_field in self._composite_fields.items(): child_cdescriptor = self.__descriptors[field_name] # TODO(anuraag): Support clearing repeated message fields as well. if (child_cdescriptor.label != _LABEL_REPEATED and @@ -631,7 +632,7 @@ return text_format.MessageToString(self, as_utf8=True).decode('utf-8') # Attach the local methods to the message class. - for key, value in locals().copy().iteritems(): + for key, value in locals().copy().items(): if key not in ('key', 'value', '__builtins__', '__name__', '__doc__'): setattr(cls, key, value) @@ -658,6 +659,6 @@ def _AddPropertiesForExtensions(message_descriptor, cls): """Adds properties for all fields in this protocol message type.""" extension_dict = message_descriptor.extensions_by_name - for extension_name, extension_field in extension_dict.iteritems(): + for extension_name, extension_field in extension_dict.items(): constant_name = extension_name.upper() + '_FIELD_NUMBER' setattr(cls, constant_name, extension_field.number) --- python3/google/protobuf/descriptor_pool.py (original) +++ python3/google/protobuf/descriptor_pool.py (refactored) @@ -282,9 +282,9 @@ # file proto. for dependency in built_deps: scope.update(self._ExtractSymbols( - dependency.message_types_by_name.values())) + list(dependency.message_types_by_name.values()))) scope.update((_PrefixWithDot(enum.full_name), enum) - for enum in dependency.enum_types_by_name.values()) + for enum in list(dependency.enum_types_by_name.values())) for message_type in file_proto.message_type: message_desc = self._ConvertMessageDescriptor( @@ -502,7 +502,7 @@ self.SetFieldType(field_proto, field_desc, nested_package, scope) for extension_proto, extension_desc in ( - zip(desc_proto.extension, main_desc.extensions)): + list(zip(desc_proto.extension, main_desc.extensions))): extension_desc.containing_type = self._GetTypeFromScope( nested_package, extension_proto.extendee, scope) self.SetFieldType(extension_proto, extension_desc, nested_package, scope) --- python3/google/protobuf/descriptor.py (original) +++ python3/google/protobuf/descriptor.py (refactored) @@ -846,4 +846,4 @@ desc_name = '.'.join(full_message_name) return Descriptor(desc_proto.name, desc_name, None, None, fields, - nested_types.values(RefactoringTool: No changes to python3/google/__init__.py RefactoringTool: Refactored python3/ez_setup.py RefactoringTool: Files that were modified: RefactoringTool: python3/stubout.py RefactoringTool: python3/setup.py RefactoringTool: python3/mox.py RefactoringTool: python3/google/protobuf/text_format.py RefactoringTool: python3/google/protobuf/text_encoding.py RefactoringTool: python3/google/protobuf/symbol_database.py RefactoringTool: python3/google/protobuf/service_reflection.py RefactoringTool: python3/google/protobuf/service.py RefactoringTool: python3/google/protobuf/reflection.py RefactoringTool: python3/google/protobuf/pyext/reflection_cpp2_generated_test.py RefactoringTool: python3/google/protobuf/pyext/message_factory_cpp2_test.py RefactoringTool: python3/google/protobuf/pyext/descriptor_cpp2_test.py RefactoringTool: python3/google/protobuf/pyext/cpp_message.py RefactoringTool: python3/google/protobuf/message_factory.py RefactoringTool: python3/google/protobuf/message.py RefactoringTool: python3/google/protobuf/internal/wire_format_test.py RefactoringTool: python3/google/protobuf/internal/wire_format.py RefactoringTool: python3/google/protobuf/internal/unknown_fields_test.py RefactoringTool: python3/google/protobuf/internal/type_checkers.py RefactoringTool: python3/google/protobuf/internal/text_format_test.py RefactoringTool: python3/google/protobuf/internal/text_encoding_test.py RefactoringTool: python3/google/protobuf/internal/test_util.py RefactoringTool: python3/google/protobuf/internal/symbol_database_test.py RefactoringTool: python3/google/protobuf/internal/service_reflection_test.py RefactoringTool: python3/google/protobuf/internal/reflection_test.py RefactoringTool: python3/google/protobuf/internal/python_message.py RefactoringTool: python3/google/protobuf/internal/message_test.py RefactoringTool: python3/google/protobuf/internal/message_python_test.py RefactoringTool: python3/google/protobuf/internal/message_listener.py RefactoringTool: python3/google/protobuf/internal/message_factory_test.py RefactoringTool: python3/google/protobuf/internal/message_factory_python_test.py RefactoringTool: python3/google/protobuf/internal/generator_test.py RefactoringTool: python3/google/protobuf/internal/enum_type_wrapper.py RefactoringTool: python3/google/protobuf/internal/encoder.py RefactoringTool: python3/google/protobuf/internal/descriptor_test.py RefactoringTool: python3/google/protobuf/internal/descriptor_python_test.py RefactoringTool: python3/google/protobuf/internal/descriptor_pool_test.py RefactoringTool: python3/google/protobuf/internal/descriptor_database_test.py RefactoringTool: python3/google/protobuf/internal/decoder.py RefactoringTool: python3/google/protobuf/internal/cpp_message.py RefactoringTool: python3/google/protobuf/internal/containers.py RefactoringTool: python3/google/protobuf/internal/api_implementation_default_test.py RefactoringTool: python3/google/protobuf/internal/api_implementation.py RefactoringTool: python3/google/protobuf/descriptor_pool.py RefactoringTool: python3/google/protobuf/descriptor_database.py RefactoringTool: python3/google/protobuf/descriptor.py RefactoringTool: python3/google/__init__.py RefactoringTool: python3/ez_setup.py ), enum_types.values(), []) + list(nested_types.values()), list(enum_types.values()), []) --- python3/ez_setup.py (original) +++ python3/ez_setup.py (refactored) @@ -75,10 +75,10 @@ if egg_name in md5_data: digest = md5(data).hexdigest() if digest != md5_data[egg_name]: - print >>sys.stderr, ( + print(( "md5 validation of %s failed! (Possible download problem?)" % egg_name - ) + ), file=sys.stderr) sys.exit(2) return data @@ -109,14 +109,14 @@ try: return do_download() pkg_resources.require("setuptools>="+version); return - except pkg_resources.VersionConflict, e: + except pkg_resources.VersionConflict as e: if was_imported: - print >>sys.stderr, ( + print(( "The required version of setuptools (>=%s) is not available, and\n" "can't be installed while this script is running. Please install\n" " a more recent version first, using 'easy_install -U setuptools'." "\n\n(Currently using %r)" - ) % (version, e.args[0]) + ) % (version, e.args[0]), file=sys.stderr) sys.exit(2) except pkg_resources.DistributionNotFound: pass @@ -135,7 +135,7 @@ with a '/'). `to_dir` is the directory where the egg will be downloaded. `delay` is the number of seconds to pause before an actual download attempt. """ - import urllib2, shutil + import urllib.request, urllib.error, urllib.parse, shutil egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) url = download_base + egg_name saveto = os.path.join(to_dir, egg_name) @@ -161,7 +161,7 @@ version, download_base, delay, url ); from time import sleep; sleep(delay) log.warn("Downloading %s", url) - src = urllib2.urlopen(url) + src = urllib.request.urlopen(url) # Read/write all in one block, so we don't create a corrupt file # if the download is interrupted. data = _validate_md5(egg_name, src.read()) @@ -222,10 +222,10 @@ os.unlink(egg) else: if setuptools.__version__ == '0.0.1': - print >>sys.stderr, ( + print(( "You have an obsolete version of setuptools installed. Please\n" "remove it from your system entirely before rerunning this script." - ) + ), file=sys.stderr) sys.exit(2) req = "setuptools>="+version @@ -244,8 +244,8 @@ from setuptools.command.easy_install import main main(argv) else: - print "Setuptools version",version,"or greater has been installed." - print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)' + print("Setuptools version",version,"or greater has been installed.") + print('(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)') def update_md5(filenames): """Update our built-in md5 registry""" @@ -258,7 +258,7 @@ md5_data[base] = md5(f.read()).hexdigest() f.close() - data = [" %r: %r,\n" % it for it in md5_data.items()] + data = [" %r: %r,\n" % it for it in list(md5_data.items())] data.sort() repl = "".join(data) @@ -268,7 +268,7 @@ match = re.search("\nmd5_data = {\n([^}]+)}", src) if not match: - print >>sys.stderr, "Internal error!" + print("Internal error!", file=sys.stderr) sys.exit(2) src = src[:match.start(1)] + repl + src[match.end(1):] + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.68655 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd protobuf-2.6.1 + iconv -f iso8859-1 -t utf-8 CONTRIBUTORS.txt + mv CONTRIBUTORS.txt.utf8 CONTRIBUTORS.txt + rm -f m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4 m4/libtool.m4 + export PTHREAD_LIBS=-lpthread + PTHREAD_LIBS=-lpthread + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force -I m4 autoreconf-default: configure.ac: tracing autoreconf-default: configure.ac: subdirectory gtest not present autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in `.'. libtoolize-default: linking file `./config.guess' libtoolize-default: linking file `./config.sub' libtoolize-default: linking file `./install-sh' libtoolize-default: linking file `./ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize-default: linking file `m4/libtool.m4' libtoolize-default: You should add the contents of `m4/libtool.m4' to `aclocal.m4'. libtoolize-default: linking file `m4/ltoptions.m4' libtoolize-default: You should add the contents of `m4/ltoptions.m4' to `aclocal.m4'. libtoolize-default: linking file `m4/ltsugar.m4' libtoolize-default: You should add the contents of `m4/ltsugar.m4' to `aclocal.m4'. libtoolize-default: linking file `m4/ltversion.m4' libtoolize-default: linking file `m4/lt~obsolete.m4' libtoolize-default: You should add the contents of `m4/lt~obsolete.m4' to `aclocal.m4'. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --disable-static checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking target system type... i586-alt-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking C++ compiler flags...... use user-supplied: -pipe -Wall -g -O2 -march=i586 -mtune=generic checking whether __SUNPRO_CC is declared... no checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking if i586-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for working memcmp... yes checking for working strtod... yes checking for ftruncate... yes checking for memset... yes checking for mkdir... yes checking for strchr... yes checking for strerror... yes checking for strtol... yes checking zlib version... ok (1.2.0.4 or later) checking for library containing zlibVersion... -lz checking for pthread_join in LIBS=-lpthread with CFLAGS=... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking whether to check for GCC pthread/shared inconsistencies... yes checking whether -pthread is sufficient with -shared... yes checking whether what we have so far is sufficient with -nostdlib... yes checking the location of hash_map... checking for library containing sched_yield... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating protobuf.pc config.status: creating protobuf-lite.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + '[' -n '' ']' + NPROCS=1 + make -j1 make: Entering directory `/usr/src/RPM/BUILD/protobuf-2.6.1' make all-recursive make[1]: Entering directory `/usr/src/RPM/BUILD/protobuf-2.6.1' Making all in . make[2]: Entering directory `/usr/src/RPM/BUILD/protobuf-2.6.1' make[2]: Leaving directory `/usr/src/RPM/BUILD/protobuf-2.6.1' Making all in src make[2]: Entering directory `/usr/src/RPM/BUILD/protobuf-2.6.1/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/main.o google/protobuf/compiler/main.cc /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/stubs/atomicops_internals_x86_gcc.lo google/protobuf/stubs/atomicops_internals_x86_gcc.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/stubs/atomicops_internals_x86_gcc.cc -fPIC -DPIC -o google/protobuf/stubs/.libs/atomicops_internals_x86_gcc.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/stubs/atomicops_internals_x86_msvc.lo google/protobuf/stubs/atomicops_internals_x86_msvc.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/stubs/atomicops_internals_x86_msvc.cc -fPIC -DPIC -o google/protobuf/stubs/.libs/atomicops_internals_x86_msvc.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/stubs/common.lo google/protobuf/stubs/common.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/stubs/common.cc -fPIC -DPIC -o google/protobuf/stubs/.libs/common.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/stubs/once.lo google/protobuf/stubs/once.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/stubs/once.cc -fPIC -DPIC -o google/protobuf/stubs/.libs/once.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/stubs/stringprintf.lo google/protobuf/stubs/stringprintf.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/stubs/stringprintf.cc -fPIC -DPIC -o google/protobuf/stubs/.libs/stringprintf.o In file included from ./google/protobuf/stubs/stringprintf.h:47:0, from google/protobuf/stubs/stringprintf.cc:33: google/protobuf/stubs/stringprintf.cc: In function 'std::__cxx11::string google::protobuf::StringPrintfVector(const char*, const std::vector >&)': google/protobuf/stubs/stringprintf.cc:164:59: warning: typedef 'arg_count_mismatch' locally defined but not used [-Wunused-local-typedefs] GOOGLE_COMPILE_ASSERT(kStringPrintfVectorMaxArgs == 32, arg_count_mismatch); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/extension_set.lo google/protobuf/extension_set.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/extension_set.cc -fPIC -DPIC -o google/protobuf/.libs/extension_set.o In file included from google/protobuf/extension_set.cc:43:0: ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDie(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:356:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDieNoPrint(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:367:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ google/protobuf/extension_set.cc: In function 'bool google::protobuf::internal::{anonymous}::is_packable(google::protobuf::internal::WireFormatLite::WireType)': google/protobuf/extension_set.cc:74:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/generated_message_util.lo google/protobuf/generated_message_util.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/generated_message_util.cc -fPIC -DPIC -o google/protobuf/.libs/generated_message_util.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/message_lite.lo google/protobuf/message_lite.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/message_lite.cc -fPIC -DPIC -o google/protobuf/.libs/message_lite.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/repeated_field.lo google/protobuf/repeated_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/repeated_field.cc -fPIC -DPIC -o google/protobuf/.libs/repeated_field.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/wire_format_lite.lo google/protobuf/wire_format_lite.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/wire_format_lite.cc -fPIC -DPIC -o google/protobuf/.libs/wire_format_lite.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/io/coded_stream.lo google/protobuf/io/coded_stream.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/io/coded_stream.cc -fPIC -DPIC -o google/protobuf/io/.libs/coded_stream.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/io/zero_copy_stream.lo google/protobuf/io/zero_copy_stream.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/io/zero_copy_stream.cc -fPIC -DPIC -o google/protobuf/io/.libs/zero_copy_stream.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/io/zero_copy_stream_impl_lite.lo google/protobuf/io/zero_copy_stream_impl_lite.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/io/zero_copy_stream_impl_lite.cc -fPIC -DPIC -o google/protobuf/io/.libs/zero_copy_stream_impl_lite.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/stubs/strutil.lo google/protobuf/stubs/strutil.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/stubs/strutil.cc -fPIC -DPIC -o google/protobuf/stubs/.libs/strutil.o In file included from ./google/protobuf/stubs/strutil.h:38:0, from google/protobuf/stubs/strutil.cc:33: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ google/protobuf/stubs/strutil.cc: In function 'char* google::protobuf::DoubleToBuffer(double, char*)': google/protobuf/stubs/strutil.cc:1172:39: warning: typedef 'DBL_DIG_is_too_big' locally defined but not used [-Wunused-local-typedefs] GOOGLE_COMPILE_ASSERT(DBL_DIG < 20, DBL_DIG_is_too_big); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ google/protobuf/stubs/strutil.cc: In function 'char* google::protobuf::FloatToBuffer(float, char*)': google/protobuf/stubs/strutil.cc:1227:39: warning: typedef 'FLT_DIG_is_too_big' locally defined but not used [-Wunused-local-typedefs] GOOGLE_COMPILE_ASSERT(FLT_DIG < 10, FLT_DIG_is_too_big); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/stubs/substitute.lo google/protobuf/stubs/substitute.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/stubs/substitute.cc -fPIC -DPIC -o google/protobuf/stubs/.libs/substitute.o In file included from ./google/protobuf/stubs/substitute.h:35:0, from google/protobuf/stubs/substitute.cc:33: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/stubs/structurally_valid.lo google/protobuf/stubs/structurally_valid.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/stubs/structurally_valid.cc -fPIC -DPIC -o google/protobuf/stubs/.libs/structurally_valid.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/descriptor.lo google/protobuf/descriptor.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/descriptor.cc -fPIC -DPIC -o google/protobuf/.libs/descriptor.o In file included from ./google/protobuf/stubs/hash.h:39:0, from google/protobuf/descriptor.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ In file included from google/protobuf/descriptor.cc:59:0: ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDie(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:356:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDieNoPrint(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:367:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/descriptor.pb.lo google/protobuf/descriptor.pb.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/descriptor.pb.cc -fPIC -DPIC -o google/protobuf/.libs/descriptor.pb.o google/protobuf/descriptor.pb.cc: In member function 'virtual bool google::protobuf::FileOptions::IsInitialized() const': google/protobuf/descriptor.pb.cc:5585:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!_extensions_.IsInitialized()) return false; return true; ^~ google/protobuf/descriptor.pb.cc:5585:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (!_extensions_.IsInitialized()) return false; return true; ^~~~~~ google/protobuf/descriptor.pb.cc: In member function 'virtual bool google::protobuf::MessageOptions::IsInitialized() const': google/protobuf/descriptor.pb.cc:5958:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!_extensions_.IsInitialized()) return false; return true; ^~ google/protobuf/descriptor.pb.cc:5958:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (!_extensions_.IsInitialized()) return false; return true; ^~~~~~ google/protobuf/descriptor.pb.cc: In member function 'virtual bool google::protobuf::FieldOptions::IsInitialized() const': google/protobuf/descriptor.pb.cc:6485:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!_extensions_.IsInitialized()) return false; return true; ^~ google/protobuf/descriptor.pb.cc:6485:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (!_extensions_.IsInitialized()) return false; return true; ^~~~~~ google/protobuf/descriptor.pb.cc: In member function 'virtual bool google::protobuf::EnumOptions::IsInitialized() const': google/protobuf/descriptor.pb.cc:6818:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!_extensions_.IsInitialized()) return false; return true; ^~ google/protobuf/descriptor.pb.cc:6818:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (!_extensions_.IsInitialized()) return false; return true; ^~~~~~ google/protobuf/descriptor.pb.cc: In member function 'virtual bool google::protobuf::EnumValueOptions::IsInitialized() const': google/protobuf/descriptor.pb.cc:7098:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!_extensions_.IsInitialized()) return false; return true; ^~ google/protobuf/descriptor.pb.cc:7098:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (!_extensions_.IsInitialized()) return false; return true; ^~~~~~ google/protobuf/descriptor.pb.cc: In member function 'virtual bool google::protobuf::ServiceOptions::IsInitialized() const': google/protobuf/descriptor.pb.cc:7377:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!_extensions_.IsInitialized()) return false; return true; ^~ google/protobuf/descriptor.pb.cc:7377:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (!_extensions_.IsInitialized()) return false; return true; ^~~~~~ google/protobuf/descriptor.pb.cc: In member function 'virtual bool google::protobuf::MethodOptions::IsInitialized() const': google/protobuf/descriptor.pb.cc:7656:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!_extensions_.IsInitialized()) return false; return true; ^~ google/protobuf/descriptor.pb.cc:7656:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (!_extensions_.IsInitialized()) return false; return true; ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/descriptor_database.lo google/protobuf/descriptor_database.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/descriptor_database.cc -fPIC -DPIC -o google/protobuf/.libs/descriptor_database.o In file included from ./google/protobuf/descriptor_database.h:44:0, from google/protobuf/descriptor_database.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ In file included from google/protobuf/descriptor_database.cc:43:0: ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDie(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:356:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDieNoPrint(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:367:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/dynamic_message.lo google/protobuf/dynamic_message.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/dynamic_message.cc -fPIC -DPIC -o google/protobuf/.libs/dynamic_message.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/extension_set_heavy.lo google/protobuf/extension_set_heavy.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/extension_set_heavy.cc -fPIC -DPIC -o google/protobuf/.libs/extension_set_heavy.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/generated_message_reflection.lo google/protobuf/generated_message_reflection.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/generated_message_reflection.cc -fPIC -DPIC -o google/protobuf/.libs/generated_message_reflection.o google/protobuf/generated_message_reflection.cc: In member function 'void google::protobuf::internal::GeneratedMessageReflection::SwapOneofField(google::protobuf::Message*, google::protobuf::Message*, const google::protobuf::OneofDescriptor*) const': google/protobuf/generated_message_reflection.cc:503:54: warning: 'field1' may be used uninitialized in this function [-Wmaybe-uninitialized] SetField(message2, field1, temp_##TYPE); \ ^ google/protobuf/generated_message_reflection.cc:516:60: warning: 'temp_message' may be used uninitialized in this function [-Wmaybe-uninitialized] SetAllocatedMessage(message2, temp_message, field1); ^ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/message.lo google/protobuf/message.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/message.cc -fPIC -DPIC -o google/protobuf/.libs/message.o In file included from ./google/protobuf/stubs/hash.h:39:0, from google/protobuf/message.cc:37: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ In file included from google/protobuf/message.cc:51:0: ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDie(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:356:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDieNoPrint(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:367:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/reflection_ops.lo google/protobuf/reflection_ops.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/reflection_ops.cc -fPIC -DPIC -o google/protobuf/.libs/reflection_ops.o In file included from ./google/protobuf/reflection_ops.h:41:0, from google/protobuf/reflection_ops.cc:38: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/service.lo google/protobuf/service.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/service.cc -fPIC -DPIC -o google/protobuf/.libs/service.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/text_format.lo google/protobuf/text_format.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/text_format.cc -fPIC -DPIC -o google/protobuf/.libs/text_format.o In file included from ./google/protobuf/text_format.h:46:0, from google/protobuf/text_format.cc:43: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ In file included from google/protobuf/text_format.cc:54:0: ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDie(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:356:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDieNoPrint(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:367:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/unknown_field_set.lo google/protobuf/unknown_field_set.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/unknown_field_set.cc -fPIC -DPIC -o google/protobuf/.libs/unknown_field_set.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/wire_format.lo google/protobuf/wire_format.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/wire_format.cc -fPIC -DPIC -o google/protobuf/.libs/wire_format.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/io/gzip_stream.lo google/protobuf/io/gzip_stream.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/io/gzip_stream.cc -fPIC -DPIC -o google/protobuf/io/.libs/gzip_stream.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/io/printer.lo google/protobuf/io/printer.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/io/printer.cc -fPIC -DPIC -o google/protobuf/io/.libs/printer.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/io/strtod.lo google/protobuf/io/strtod.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/io/strtod.cc -fPIC -DPIC -o google/protobuf/io/.libs/strtod.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/io/tokenizer.lo google/protobuf/io/tokenizer.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/io/tokenizer.cc -fPIC -DPIC -o google/protobuf/io/.libs/tokenizer.o In file included from ./google/protobuf/io/tokenizer.h:42:0, from google/protobuf/io/tokenizer.cc:91: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/io/zero_copy_stream_impl.lo google/protobuf/io/zero_copy_stream_impl.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/io/zero_copy_stream_impl.cc -fPIC -DPIC -o google/protobuf/io/.libs/zero_copy_stream_impl.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/importer.lo google/protobuf/compiler/importer.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/importer.cc -fPIC -DPIC -o google/protobuf/compiler/.libs/importer.o In file included from ./google/protobuf/descriptor.h:60:0, from ./google/protobuf/compiler/importer.h:44, from google/protobuf/compiler/importer.cc:48: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/parser.lo google/protobuf/compiler/parser.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/parser.cc -fPIC -DPIC -o google/protobuf/compiler/.libs/parser.o In file included from ./google/protobuf/stubs/hash.h:39:0, from google/protobuf/compiler/parser.cc:38: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ In file included from google/protobuf/compiler/parser.cc:49:0: ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDie(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:356:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDieNoPrint(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:367:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -version-info 9:1:0 -export-dynamic -no-undefined -o libprotobuf.la -rpath /usr/lib google/protobuf/stubs/atomicops_internals_x86_gcc.lo google/protobuf/stubs/atomicops_internals_x86_msvc.lo google/protobuf/stubs/common.lo google/protobuf/stubs/once.lo google/protobuf/stubs/stringprintf.lo google/protobuf/extension_set.lo google/protobuf/generated_message_util.lo google/protobuf/message_lite.lo google/protobuf/repeated_field.lo google/protobuf/wire_format_lite.lo google/protobuf/io/coded_stream.lo google/protobuf/io/zero_copy_stream.lo google/protobuf/io/zero_copy_stream_impl_lite.lo google/protobuf/stubs/strutil.lo google/protobuf/stubs/substitute.lo google/protobuf/stubs/structurally_valid.lo google/protobuf/descriptor.lo google/protobuf/descriptor.pb.lo google/protobuf/descriptor_database.lo google/protobuf/dynamic_message.lo google/protobuf/extension_set_heavy.lo google/protobuf/generated_message_reflection.lo google/protobuf/message.lo google/protobuf/reflection_ops.lo google/protobuf/service.lo google/protobuf/text_format.lo google/protobuf/unknown_field_set.lo google/protobuf/wire_format.lo google/protobuf/io/gzip_stream.lo google/protobuf/io/printer.lo google/protobuf/io/strtod.lo google/protobuf/io/tokenizer.lo google/protobuf/io/zero_copy_stream_impl.lo google/protobuf/compiler/importer.lo google/protobuf/compiler/parser.lo -lpthread -lz libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/6/../../../crti.o /usr/lib/gcc/i586-alt-linux/6/crtbeginS.o google/protobuf/stubs/.libs/atomicops_internals_x86_gcc.o google/protobuf/stubs/.libs/atomicops_internals_x86_msvc.o google/protobuf/stubs/.libs/common.o google/protobuf/stubs/.libs/once.o google/protobuf/stubs/.libs/stringprintf.o google/protobuf/.libs/extension_set.o google/protobuf/.libs/generated_message_util.o google/protobuf/.libs/message_lite.o google/protobuf/.libs/repeated_field.o google/protobuf/.libs/wire_format_lite.o google/protobuf/io/.libs/coded_stream.o google/protobuf/io/.libs/zero_copy_stream.o google/protobuf/io/.libs/zero_copy_stream_impl_lite.o google/protobuf/stubs/.libs/strutil.o google/protobuf/stubs/.libs/substitute.o google/protobuf/stubs/.libs/structurally_valid.o google/protobuf/.libs/descriptor.o google/protobuf/.libs/descriptor.pb.o google/protobuf/.libs/descriptor_database.o google/protobuf/.libs/dynamic_message.o google/protobuf/.libs/extension_set_heavy.o google/protobuf/.libs/generated_message_reflection.o google/protobuf/.libs/message.o google/protobuf/.libs/reflection_ops.o google/protobuf/.libs/service.o google/protobuf/.libs/text_format.o google/protobuf/.libs/unknown_field_set.o google/protobuf/.libs/wire_format.o google/protobuf/io/.libs/gzip_stream.o google/protobuf/io/.libs/printer.o google/protobuf/io/.libs/strtod.o google/protobuf/io/.libs/tokenizer.o google/protobuf/io/.libs/zero_copy_stream_impl.o google/protobuf/compiler/.libs/importer.o google/protobuf/compiler/.libs/parser.o -lpthread -lz -L/usr/lib/gcc/i586-alt-linux/6 -L/usr/lib/gcc/i586-alt-linux/6/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/6/crtendS.o /usr/lib/gcc/i586-alt-linux/6/../../../crtn.o -O2 -march=i586 -mtune=generic -Wl,-soname -Wl,libprotobuf.so.9 -o .libs/libprotobuf.so.9.0.1 libtool: link: (cd ".libs" && rm -f "libprotobuf.so.9" && ln -s "libprotobuf.so.9.0.1" "libprotobuf.so.9") libtool: link: (cd ".libs" && rm -f "libprotobuf.so" && ln -s "libprotobuf.so.9.0.1" "libprotobuf.so") libtool: link: ( cd ".libs" && rm -f "libprotobuf.la" && ln -s "../libprotobuf.la" "libprotobuf.la" ) /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/code_generator.lo google/protobuf/compiler/code_generator.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/code_generator.cc -fPIC -DPIC -o google/protobuf/compiler/.libs/code_generator.o In file included from ./google/protobuf/compiler/code_generator.h:41:0, from google/protobuf/compiler/code_generator.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/command_line_interface.lo google/protobuf/compiler/command_line_interface.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/command_line_interface.cc -fPIC -DPIC -o google/protobuf/compiler/.libs/command_line_interface.o In file included from ./google/protobuf/compiler/command_line_interface.h:41:0, from google/protobuf/compiler/command_line_interface.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ In file included from google/protobuf/compiler/command_line_interface.cc:69:0: ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDie(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:356:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDieNoPrint(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:367:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/plugin.lo google/protobuf/compiler/plugin.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/plugin.cc -fPIC -DPIC -o google/protobuf/compiler/.libs/plugin.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/plugin.pb.lo google/protobuf/compiler/plugin.pb.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/plugin.pb.cc -fPIC -DPIC -o google/protobuf/compiler/.libs/plugin.pb.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/subprocess.lo google/protobuf/compiler/subprocess.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/subprocess.cc -fPIC -DPIC -o google/protobuf/compiler/.libs/subprocess.o In file included from ./google/protobuf/compiler/subprocess.h:43:0, from google/protobuf/compiler/subprocess.cc:33: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/zip_writer.lo google/protobuf/compiler/zip_writer.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/zip_writer.cc -fPIC -DPIC -o google/protobuf/compiler/.libs/zip_writer.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_enum.lo google/protobuf/compiler/cpp/cpp_enum.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_enum.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_enum.o In file included from ./google/protobuf/compiler/cpp/cpp_options.h:38:0, from ./google/protobuf/compiler/cpp/cpp_enum.h:39, from google/protobuf/compiler/cpp/cpp_enum.cc:38: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_enum_field.lo google/protobuf/compiler/cpp/cpp_enum_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_enum_field.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_enum_field.o In file included from ./google/protobuf/descriptor.h:60:0, from ./google/protobuf/compiler/cpp/cpp_field.h:42, from ./google/protobuf/compiler/cpp/cpp_enum_field.h:40, from google/protobuf/compiler/cpp/cpp_enum_field.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_extension.lo google/protobuf/compiler/cpp/cpp_extension.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_extension.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_extension.o In file included from ./google/protobuf/compiler/cpp/cpp_extension.h:39:0, from google/protobuf/compiler/cpp/cpp_extension.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_field.lo google/protobuf/compiler/cpp/cpp_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_field.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_field.o In file included from ./google/protobuf/descriptor.h:60:0, from ./google/protobuf/compiler/cpp/cpp_field.h:42, from google/protobuf/compiler/cpp/cpp_field.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_file.lo google/protobuf/compiler/cpp/cpp_file.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_file.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_file.o In file included from ./google/protobuf/compiler/cpp/cpp_file.h:41:0, from google/protobuf/compiler/cpp/cpp_file.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_generator.lo google/protobuf/compiler/cpp/cpp_generator.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_generator.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_generator.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_helpers.lo google/protobuf/compiler/cpp/cpp_helpers.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_helpers.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_helpers.o In file included from ./google/protobuf/stubs/hash.h:39:0, from google/protobuf/compiler/cpp/cpp_helpers.cc:38: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ google/protobuf/compiler/cpp/cpp_helpers.cc: In function 'std::__cxx11::string google::protobuf::compiler::cpp::Int32ToString(int)': google/protobuf/compiler/cpp/cpp_helpers.cc:262:55: warning: typedef 'kint32min_value_error' locally defined but not used [-Wunused-local-typedefs] GOOGLE_COMPILE_ASSERT(kint32min == (~0x7fffffff), kint32min_value_error); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ google/protobuf/compiler/cpp/cpp_helpers.cc: In function 'std::__cxx11::string google::protobuf::compiler::cpp::Int64ToString(google::protobuf::int64)': google/protobuf/compiler/cpp/cpp_helpers.cc:274:20: warning: typedef 'kint64min_value_error' locally defined but not used [-Wunused-local-typedefs] kint64min_value_error); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_message.lo google/protobuf/compiler/cpp/cpp_message.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_message.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_message.o In file included from ./google/protobuf/stubs/hash.h:39:0, from google/protobuf/compiler/cpp/cpp_message.cc:36: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ google/protobuf/compiler/cpp/cpp_message.cc: At global scope: google/protobuf/compiler/cpp/cpp_message.cc:280:8: warning: 'std::__cxx11::string google::protobuf::compiler::cpp::{anonymous}::MessageTypeProtoName(const google::protobuf::FieldDescriptor*)' defined but not used [-Wunused-function] string MessageTypeProtoName(const FieldDescriptor* field) { ^~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_message_field.lo google/protobuf/compiler/cpp/cpp_message_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_message_field.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_message_field.o In file included from ./google/protobuf/descriptor.h:60:0, from ./google/protobuf/compiler/cpp/cpp_field.h:42, from ./google/protobuf/compiler/cpp/cpp_message_field.h:40, from google/protobuf/compiler/cpp/cpp_message_field.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_primitive_field.lo google/protobuf/compiler/cpp/cpp_primitive_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_primitive_field.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_primitive_field.o In file included from ./google/protobuf/descriptor.h:60:0, from ./google/protobuf/compiler/cpp/cpp_field.h:42, from ./google/protobuf/compiler/cpp/cpp_primitive_field.h:40, from google/protobuf/compiler/cpp/cpp_primitive_field.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_service.lo google/protobuf/compiler/cpp/cpp_service.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_service.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_service.o In file included from ./google/protobuf/compiler/cpp/cpp_options.h:38:0, from ./google/protobuf/compiler/cpp/cpp_service.h:40, from google/protobuf/compiler/cpp/cpp_service.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/cpp/cpp_string_field.lo google/protobuf/compiler/cpp/cpp_string_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/cpp/cpp_string_field.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_string_field.o In file included from ./google/protobuf/descriptor.h:60:0, from ./google/protobuf/compiler/cpp/cpp_field.h:42, from ./google/protobuf/compiler/cpp/cpp_string_field.h:40, from google/protobuf/compiler/cpp/cpp_string_field.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_context.lo google/protobuf/compiler/java/java_context.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_context.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_context.o In file included from ./google/protobuf/compiler/java/java_context.h:38:0, from google/protobuf/compiler/java/java_context.cc:31: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ In file included from google/protobuf/compiler/java/java_context.cc:38:0: ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDie(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:356:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ ./google/protobuf/stubs/map_util.h: In function 'void google::protobuf::InsertOrDieNoPrint(Collection*, const typename Collection::value_type::first_type&, const typename Collection::value_type::second_type&)': ./google/protobuf/stubs/map_util.h:367:43: warning: typedef 'value_type' locally defined but not used [-Wunused-local-typedefs] typedef typename Collection::value_type value_type; ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_enum.lo google/protobuf/compiler/java/java_enum.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_enum.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_enum.o In file included from ./google/protobuf/compiler/java/java_context.h:38:0, from google/protobuf/compiler/java/java_enum.cc:38: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_enum_field.lo google/protobuf/compiler/java/java_enum_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_enum_field.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_enum_field.o In file included from google/protobuf/compiler/java/java_enum_field.cc:38:0: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_extension.lo google/protobuf/compiler/java/java_extension.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_extension.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_extension.o In file included from ./google/protobuf/compiler/java/java_extension.h:41:0, from google/protobuf/compiler/java/java_extension.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_field.lo google/protobuf/compiler/java/java_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_field.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_field.o In file included from ./google/protobuf/compiler/java/java_field.h:42:0, from google/protobuf/compiler/java/java_field.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_file.lo google/protobuf/compiler/java/java_file.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_file.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_file.o In file included from ./google/protobuf/compiler/java/java_file.h:41:0, from google/protobuf/compiler/java/java_file.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_generator.lo google/protobuf/compiler/java/java_generator.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_generator.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_generator.o In file included from ./google/protobuf/compiler/code_generator.h:41:0, from ./google/protobuf/compiler/java/java_generator.h:41, from google/protobuf/compiler/java/java_generator.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_generator_factory.lo google/protobuf/compiler/java/java_generator_factory.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_generator_factory.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_generator_factory.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_helpers.lo google/protobuf/compiler/java/java_helpers.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_helpers.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_helpers.o In file included from ./google/protobuf/stubs/hash.h:39:0, from google/protobuf/compiler/java/java_helpers.cc:36: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_lazy_message_field.lo google/protobuf/compiler/java/java_lazy_message_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_lazy_message_field.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_lazy_message_field.o /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_message.lo google/protobuf/compiler/java/java_message.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_message.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_message.o In file included from ./google/protobuf/compiler/java/java_field.h:42:0, from ./google/protobuf/compiler/java/java_message.h:40, from google/protobuf/compiler/java/java_message.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_message_field.lo google/protobuf/compiler/java/java_message_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_message_field.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_message_field.o In file included from ./google/protobuf/compiler/java/java_context.h:38:0, from google/protobuf/compiler/java/java_message_field.cc:38: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_name_resolver.lo google/protobuf/compiler/java/java_name_resolver.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_name_resolver.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_name_resolver.o In file included from ./google/protobuf/compiler/java/java_name_resolver.h:37:0, from google/protobuf/compiler/java/java_name_resolver.cc:31: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_primitive_field.lo google/protobuf/compiler/java/java_primitive_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_primitive_field.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_primitive_field.o In file included from google/protobuf/compiler/java/java_primitive_field.cc:38:0: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_shared_code_generator.lo google/protobuf/compiler/java/java_shared_code_generator.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_shared_code_generator.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_shared_code_generator.o In file included from ./google/protobuf/compiler/java/java_shared_code_generator.h:42:0, from google/protobuf/compiler/java/java_shared_code_generator.cc:33: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_service.lo google/protobuf/compiler/java/java_service.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_service.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_service.o In file included from ./google/protobuf/descriptor.h:60:0, from ./google/protobuf/compiler/java/java_service.h:39, from google/protobuf/compiler/java/java_service.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_string_field.lo google/protobuf/compiler/java/java_string_field.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_string_field.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_string_field.o In file included from google/protobuf/compiler/java/java_string_field.cc:39:0: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/java/java_doc_comment.lo google/protobuf/compiler/java/java_doc_comment.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/java/java_doc_comment.cc -fPIC -DPIC -o google/protobuf/compiler/java/.libs/java_doc_comment.o In file included from ./google/protobuf/descriptor.h:60:0, from ./google/protobuf/compiler/java/java_doc_comment.h:38, from google/protobuf/compiler/java/java_doc_comment.cc:35: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c -o google/protobuf/compiler/python/python_generator.lo google/protobuf/compiler/python/python_generator.cc libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -c google/protobuf/compiler/python/python_generator.cc -fPIC -DPIC -o google/protobuf/compiler/python/.libs/python_generator.o In file included from ./google/protobuf/compiler/code_generator.h:41:0, from ./google/protobuf/compiler/python/python_generator.h:40, from google/protobuf/compiler/python/python_generator.cc:54: ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::int64 google::protobuf::strto64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:341:25: warning: typedef 'sizeof_int64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_int64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ ./google/protobuf/stubs/strutil.h: In function 'google::protobuf::uint64 google::protobuf::strtou64(const char*, char**, int)': ./google/protobuf/stubs/strutil.h:347:25: warning: typedef 'sizeof_uint64_is_not_sizeof_long_long' locally defined but not used [-Wunused-local-typedefs] sizeof_uint64_is_not_sizeof_long_long); ^ ./google/protobuf/stubs/common.h:382:11: note: in definition of macro 'GOOGLE_COMPILE_ASSERT' msg[bool(expr) ? 1 : -1] ^~~ /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -version-info 9:1:0 -export-dynamic -no-undefined -o libprotoc.la -rpath /usr/lib google/protobuf/compiler/code_generator.lo google/protobuf/compiler/command_line_interface.lo google/protobuf/compiler/plugin.lo google/protobuf/compiler/plugin.pb.lo google/protobuf/compiler/subprocess.lo google/protobuf/compiler/zip_writer.lo google/protobuf/compiler/cpp/cpp_enum.lo google/protobuf/compiler/cpp/cpp_enum_field.lo google/protobuf/compiler/cpp/cpp_extension.lo google/protobuf/compiler/cpp/cpp_field.lo google/protobuf/compiler/cpp/cpp_file.lo google/protobuf/compiler/cpp/cpp_generator.lo google/protobuf/compiler/cpp/cpp_helpers.lo google/protobuf/compiler/cpp/cpp_message.lo google/protobuf/compiler/cpp/cpp_message_field.lo google/protobuf/compiler/cpp/cpp_primitive_field.lo google/protobuf/compiler/cpp/cpp_service.lo google/protobuf/compiler/cpp/cpp_string_field.lo google/protobuf/compiler/java/java_context.lo google/protobuf/compiler/java/java_enum.lo google/protobuf/compiler/java/java_enum_field.lo google/protobuf/compiler/java/java_extension.lo google/protobuf/compiler/java/java_field.lo google/protobuf/compiler/java/java_file.lo google/protobuf/compiler/java/java_generator.lo google/protobuf/compiler/java/java_generator_factory.lo google/protobuf/compiler/java/java_helpers.lo google/protobuf/compiler/java/java_lazy_message_field.lo google/protobuf/compiler/java/java_message.lo google/protobuf/compiler/java/java_message_field.lo google/protobuf/compiler/java/java_name_resolver.lo google/protobuf/compiler/java/java_primitive_field.lo google/protobuf/compiler/java/java_shared_code_generator.lo google/protobuf/compiler/java/java_service.lo google/protobuf/compiler/java/java_string_field.lo google/protobuf/compiler/java/java_doc_comment.lo google/protobuf/compiler/python/python_generator.lo -lpthread libprotobuf.la -lz libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/6/../../../crti.o /usr/lib/gcc/i586-alt-linux/6/crtbeginS.o google/protobuf/compiler/.libs/code_generator.o google/protobuf/compiler/.libs/command_line_interface.o google/protobuf/compiler/.libs/plugin.o google/protobuf/compiler/.libs/plugin.pb.o google/protobuf/compiler/.libs/subprocess.o google/protobuf/compiler/.libs/zip_writer.o google/protobuf/compiler/cpp/.libs/cpp_enum.o google/protobuf/compiler/cpp/.libs/cpp_enum_field.o google/protobuf/compiler/cpp/.libs/cpp_extension.o google/protobuf/compiler/cpp/.libs/cpp_field.o google/protobuf/compiler/cpp/.libs/cpp_file.o google/protobuf/compiler/cpp/.libs/cpp_generator.o google/protobuf/compiler/cpp/.libs/cpp_helpers.o google/protobuf/compiler/cpp/.libs/cpp_message.o google/protobuf/compiler/cpp/.libs/cpp_message_field.o google/protobuf/compiler/cpp/.libs/cpp_primitive_field.o google/protobuf/compiler/cpp/.libs/cpp_service.o google/protobuf/compiler/cpp/.libs/cpp_string_field.o google/protobuf/compiler/java/.libs/java_context.o google/protobuf/compiler/java/.libs/java_enum.o google/protobuf/compiler/java/.libs/java_enum_field.o google/protobuf/compiler/java/.libs/java_extension.o google/protobuf/compiler/java/.libs/java_field.o google/protobuf/compiler/java/.libs/java_file.o google/protobuf/compiler/java/.libs/java_generator.o google/protobuf/compiler/java/.libs/java_generator_factory.o google/protobuf/compiler/java/.libs/java_helpers.o google/protobuf/compiler/java/.libs/java_lazy_message_field.o google/protobuf/compiler/java/.libs/java_message.o google/protobuf/compiler/java/.libs/java_message_field.o google/protobuf/compiler/java/.libs/java_name_resolver.o google/protobuf/compiler/java/.libs/java_primitive_field.o google/protobuf/compiler/java/.libs/java_shared_code_generator.o google/protobuf/compiler/java/.libs/java_service.o google/protobuf/compiler/java/.libs/java_string_field.o google/protobuf/compiler/java/.libs/java_doc_comment.o google/protobuf/compiler/python/.libs/python_generator.o -Wl,-rpath -Wl,/usr/src/RPM/BUILD/protobuf-2.6.1/src/.libs -lpthread ./.libs/libprotobuf.so -lz -L/usr/lib/gcc/i586-alt-linux/6 -L/usr/lib/gcc/i586-alt-linux/6/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/6/crtendS.o /usr/lib/gcc/i586-alt-linux/6/../../../crtn.o -O2 -march=i586 -mtune=generic -Wl,-soname -Wl,libprotoc.so.9 -o .libs/libprotoc.so.9.0.1 libtool: link: (cd ".libs" && rm -f "libprotoc.so.9" && ln -s "libprotoc.so.9.0.1" "libprotoc.so.9") libtool: link: (cd ".libs" && rm -f "libprotoc.so" && ln -s "libprotoc.so.9.0.1" "libprotoc.so") libtool: link: ( cd ".libs" && rm -f "libprotoc.la" && ln -s "../libprotoc.la" "libprotoc.la" ) /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -o protoc google/protobuf/compiler/main.o -lpthread libprotobuf.la libprotoc.la -lz libtool: link: i586-alt-linux-g++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -o .libs/protoc google/protobuf/compiler/main.o -lpthread ./.libs/libprotobuf.so ./.libs/libprotoc.so -lz oldpwd=`pwd` && ( cd . && $oldpwd/protoc -I. --cpp_out=$oldpwd google/protobuf/unittest.proto google/protobuf/unittest_empty.proto google/protobuf/unittest_import.proto google/protobuf/unittest_import_public.proto google/protobuf/unittest_mset.proto google/protobuf/unittest_optimize_for.proto google/protobuf/unittest_embed_optimize_for.proto google/protobuf/unittest_custom_options.proto google/protobuf/unittest_lite.proto google/protobuf/unittest_import_lite.proto google/protobuf/unittest_import_public_lite.proto google/protobuf/unittest_lite_imports_nonlite.proto google/protobuf/unittest_no_generic_services.proto google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto ) touch unittest_proto_middleman make all-am make[3]: Entering directory `/usr/src/RPM/BUILD/protobuf-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pipe -Wall -g -O2 -march=i586 -mtune=generic -version-info 9:1:0 -export-dynamic -no-undefined -o libprotobuf-lite.la -rpath /usr/lib google/protobuf/stubs/atomicops_internals_x86_gcc.lo google/protobuf/stubs/atomicops_internals_x86_msvc.lo google/protobuf/stubs/common.lo google/protobuf/stubs/once.lo google/protobuf/stubs/stringprintf.lo google/protobuf/extension_set.lo google/protobuf/generated_message_util.lo google/protobuf/message_lite.lo google/protobuf/repeated_field.lo google/protobuf/wire_format_lite.lo google/protobuf/io/coded_stream.lo google/protobuf/io/zero_copy_stream.lo google/protobuf/io/zero_copy_stream_impl_lite.lo -lpthread -lz libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/6/../../../crti.o /usr/lib/gcc/i586-alt-linux/6/crtbeginS.o google/protobuf/stubs/.libs/atomicops_internals_x86_gcc.o google/protobuf/stubs/.libs/atomicops_internals_x86_msvc.o google/protobuf/stubs/.libs/common.o google/protobuf/stubs/.libs/once.o google/protobuf/stubs/.libs/stringprintf.o google/protobuf/.libs/extension_set.o google/protobuf/.libs/generated_message_util.o google/protobuf/.libs/message_lite.o google/protobuf/.libs/repeated_field.o google/protobuf/.libs/wire_format_lite.o google/protobuf/io/.libs/coded_stream.o google/protobuf/io/.libs/zero_copy_stream.o google/protobuf/io/.libs/zero_copy_stream_impl_lite.o -lpthread -lz -L/usr/lib/gcc/i586-alt-linux/6 -L/usr/lib/gcc/i586-alt-linux/6/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/6/crtendS.o /usr/lib/gcc/i586-alt-linux/6/../../../crtn.o -O2 -march=i586 -mtune=generic -Wl,-soname -Wl,libprotobuf-lite.so.9 -o .libs/libprotobuf-lite.so.9.0.1 libtool: link: (cd ".libs" && rm -f "libprotobuf-lite.so.9" && ln -s "libprotobuf-lite.so.9.0.1" "libprotobuf-lite.so.9") libtool: link: (cd ".libs" && rm -f "libprotobuf-lite.so" && ln -s "libprotobuf-lite.so.9.0.1" "libprotobuf-lite.so") libtool: link: ( cd ".libs" && rm -f "libprotobuf-lite.la" && ln -s "../libprotobuf-lite.la" "libprotobuf-lite.la" ) make[3]: Leaving directory `/usr/src/RPM/BUILD/protobuf-2.6.1/src' make[2]: Leaving directory `/usr/src/RPM/BUILD/protobuf-2.6.1/src' make[1]: Leaving directory `/usr/src/RPM/BUILD/protobuf-2.6.1' make: Leaving directory `/usr/src/RPM/BUILD/protobuf-2.6.1' + pushd python ~/RPM/BUILD/protobuf-2.6.1/python ~/RPM/BUILD/protobuf-2.6.1 + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py build --cpp_implementation running build running build_py Generating google/protobuf/descriptor_pb2.py... Generating google/protobuf/compiler/plugin_pb2.py... Generating google/protobuf/unittest_pb2.py... Generating google/protobuf/unittest_custom_options_pb2.py... Generating google/protobuf/unittest_import_pb2.py... Generating google/protobuf/unittest_import_public_pb2.py... Generating google/protobuf/unittest_mset_pb2.py... Generating google/protobuf/unittest_no_generic_services_pb2.py... Generating google/protobuf/internal/descriptor_pool_test1_pb2.py... Generating google/protobuf/internal/descriptor_pool_test2_pb2.py... Generating google/protobuf/internal/test_bad_identifiers_pb2.py... Generating google/protobuf/internal/missing_enum_values_pb2.py... Generating google/protobuf/internal/more_extensions_pb2.py... Generating google/protobuf/internal/more_extensions_dynamic_pb2.py... Generating google/protobuf/internal/more_messages_pb2.py... Generating google/protobuf/internal/factory_test1_pb2.py... Generating google/protobuf/internal/factory_test2_pb2.py... Generating google/protobuf/pyext/python_pb2.py... creating build creating build/lib.linux-i686-2.7 creating build/lib.linux-i686-2.7/google creating build/lib.linux-i686-2.7/google/protobuf creating build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/internal/__init__.py -> build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/internal/api_implementation.py -> build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/internal/containers.py -> build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/internal/cpp_message.py -> build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/internal/decoder.py -> build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/internal/encoder.py -> build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/internal/enum_type_wrapper.py -> build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/internal/message_listener.py -> build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/internal/python_message.py -> build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/internal/type_checkers.py -> build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/internal/wire_format.py -> build/lib.linux-i686-2.7/google/protobuf/internal copying google/protobuf/__init__.py -> build/lib.linux-i686-2.7/google/protobuf copying google/protobuf/descriptor.py -> build/lib.linux-i686-2.7/google/protobuf copying google/protobuf/descriptor_pb2.py -> build/lib.linux-i686-2.7/google/protobuf creating build/lib.linux-i686-2.7/google/protobuf/compiler copying google/protobuf/compiler/__init__.py -> build/lib.linux-i686-2.7/google/protobuf/compiler copying google/protobuf/compiler/plugin_pb2.py -> build/lib.linux-i686-2.7/google/protobuf/compiler copying google/protobuf/message.py -> build/lib.linux-i686-2.7/google/protobuf copying google/protobuf/descriptor_database.py -> build/lib.linux-i686-2.7/google/protobuf copying google/protobuf/descriptor_pool.py -> build/lib.linux-i686-2.7/google/protobuf copying google/protobuf/message_factory.py -> build/lib.linux-i686-2.7/google/protobuf creating build/lib.linux-i686-2.7/google/protobuf/pyext copying google/protobuf/pyext/__init__.py -> build/lib.linux-i686-2.7/google/protobuf/pyext copying google/protobuf/pyext/cpp_message.py -> build/lib.linux-i686-2.7/google/protobuf/pyext copying google/protobuf/reflection.py -> build/lib.linux-i686-2.7/google/protobuf copying google/protobuf/service.py -> build/lib.linux-i686-2.7/google/protobuf copying google/protobuf/service_reflection.py -> build/lib.linux-i686-2.7/google/protobuf copying google/protobuf/symbol_database.py -> build/lib.linux-i686-2.7/google/protobuf copying google/protobuf/text_encoding.py -> build/lib.linux-i686-2.7/google/protobuf copying google/protobuf/text_format.py -> build/lib.linux-i686-2.7/google/protobuf copying google/__init__.py -> build/lib.linux-i686-2.7/google running build_ext building 'google.protobuf.pyext._message' extension creating build/temp.linux-i686-2.7 creating build/temp.linux-i686-2.7/google creating build/temp.linux-i686-2.7/google/protobuf creating build/temp.linux-i686-2.7/google/protobuf/pyext i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DGOOGLE_PROTOBUF_HAS_ONEOF=1 -I. -I../src -I/usr/include/python2.7 -c google/protobuf/pyext/descriptor.cc -o build/temp.linux-i686-2.7/google/protobuf/pyext/descriptor.o In file included from ../src/google/protobuf/descriptor.pb.h:23:0, from google/protobuf/pyext/descriptor.cc:36: ../src/google/protobuf/message.h:123:0: warning: "GOOGLE_PROTOBUF_HAS_ONEOF" redefined #define GOOGLE_PROTOBUF_HAS_ONEOF :0:0: note: this is the location of the previous definition google/protobuf/pyext/descriptor.cc:106:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ google/protobuf/pyext/descriptor.cc:106:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] google/protobuf/pyext/descriptor.cc:106:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] google/protobuf/pyext/descriptor.cc:106:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] google/protobuf/pyext/descriptor.cc:106:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DGOOGLE_PROTOBUF_HAS_ONEOF=1 -I. -I../src -I/usr/include/python2.7 -c google/protobuf/pyext/message.cc -o build/temp.linux-i686-2.7/google/protobuf/pyext/message.o In file included from ../src/google/protobuf/descriptor.pb.h:23:0, from google/protobuf/pyext/message.cc:49: ../src/google/protobuf/message.h:123:0: warning: "GOOGLE_PROTOBUF_HAS_ONEOF" redefined #define GOOGLE_PROTOBUF_HAS_ONEOF :0:0: note: this is the location of the previous definition In file included from google/protobuf/pyext/message.cc:34:0: ./google/protobuf/pyext/message.h:53:7: error: 'internal' has not been declared using internal::shared_ptr; ^~~~~~~~ ./google/protobuf/pyext/message.h:67:3: error: 'shared_ptr' does not name a type shared_ptr owner; ^~~~~~~~~~ ./google/protobuf/pyext/message.h:215:36: error: 'shared_ptr' does not name a type int SetOwner(CMessage* self, const shared_ptr& new_owner); ^~~~~~~~~~ ./google/protobuf/pyext/message.h:215:46: error: expected ',' or '...' before '<' token int SetOwner(CMessage* self, const shared_ptr& new_owner); ^ ./google/protobuf/pyext/message.h:297:58: error: 'string' has not been declared const google::protobuf::FieldDescriptor* descriptor, string value); ^~~~~~ In file included from google/protobuf/pyext/message.cc:57:0: ./google/protobuf/pyext/extension_dict.h:51:17: error: 'google::protobuf::internal::shared_ptr' has not been declared using internal::shared_ptr; ^~~~~~~~~~ In file included from google/protobuf/pyext/message.cc:58:0: ./google/protobuf/pyext/repeated_composite_container.h:53:17: error: 'google::protobuf::internal::shared_ptr' has not been declared using internal::shared_ptr; ^~~~~~~~~~ In file included from google/protobuf/pyext/message.cc:59:0: ./google/protobuf/pyext/repeated_scalar_container.h:50:17: error: 'google::protobuf::internal::shared_ptr' has not been declared using internal::shared_ptr; ^~~~~~~~~~ google/protobuf/pyext/message.cc: In function 'bool google::protobuf::python::CheckAndGetDouble(PyObject*, double*)': google/protobuf/pyext/message.cc:276:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FormatTypeError(arg, "int, long, float"); ^ google/protobuf/pyext/message.cc: In function 'bool google::protobuf::python::CheckAndGetBool(PyObject*, bool*)': google/protobuf/pyext/message.cc:294:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FormatTypeError(arg, "int, long, bool"); ^ google/protobuf/pyext/message.cc: In function 'bool google::protobuf::python::CheckAndSetString(PyObject*, google::protobuf::Message*, const google::protobuf::FieldDescriptor*, const google::protobuf::Reflection*, bool, int)': google/protobuf/pyext/message.cc:311:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FormatTypeError(arg, "bytes, unicode"); ^ google/protobuf/pyext/message.cc:331:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FormatTypeError(arg, "bytes"); ^ google/protobuf/pyext/message.cc: In function 'int google::protobuf::python::cmessage::AssureWritable(google::protobuf::python::CMessage*)': google/protobuf/pyext/message.cc:482:11: error: 'google::protobuf::python::CMessage {aka struct google::protobuf::python::CMessage}' has no member named 'owner' self->owner.reset(self->message); ^~~~~ google/protobuf/pyext/message.cc:489:32: warning: unused variable 'parent_message' [-Wunused-variable] google::protobuf::Message* parent_message = self->parent->message; ^~~~~~~~~~~~~~ google/protobuf/pyext/message.cc: In function 'int google::protobuf::python::cmessage::InitAttributes(google::protobuf::python::CMessage*, PyObject*, PyObject*)': google/protobuf/pyext/message.cc:636:14: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] return NULL; ^~~~ google/protobuf/pyext/message.cc:644:12: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] return NULL; ^~~~ google/protobuf/pyext/message.cc:648:12: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] return NULL; ^~~~ google/protobuf/pyext/message.cc:654:14: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null] return NULL; ^~~~ google/protobuf/pyext/message.cc: In function 'int google::protobuf::python::cmessage::Init(google::protobuf::python::CMessage*, PyObject*, PyObject*)': google/protobuf/pyext/message.cc:769:9: error: 'google::protobuf::python::CMessage {aka struct google::protobuf::python::CMessage}' has no member named 'owner' self->owner.reset(self->message); ^~~~~ google/protobuf/pyext/message.cc: In function 'void google::protobuf::python::cmessage::Dealloc(google::protobuf::python::CMessage*)': google/protobuf/pyext/message.cc:816:9: error: 'google::protobuf::python::CMessage {aka struct google::protobuf::python::CMessage}' has no member named 'owner' self->owner.reset(); ^~~~~ In file included from /usr/include/python2.7/Python.h:80:0, from ./google/protobuf/pyext/message.h:37, from google/protobuf/pyext/message.cc:34: google/protobuf/pyext/message.cc: In function 'PyObject* google::protobuf::python::cmessage::IsInitialized(google::protobuf::python::CMessage*, PyObject*)': /usr/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ /usr/include/python2.7/boolobject.h:27:31: note: in expansion of macro 'Py_INCREF' #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True ^~~~~~~~~ google/protobuf/pyext/message.cc:829:5: note: in expansion of macro 'Py_RETURN_TRUE' Py_RETURN_TRUE; ^~~~~~~~~~~~~~ /usr/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ /usr/include/python2.7/boolobject.h:28:32: note: in expansion of macro 'Py_INCREF' #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False ^~~~~~~~~ google/protobuf/pyext/message.cc:850:3: note: in expansion of macro 'Py_RETURN_FALSE' Py_RETURN_FALSE; ^~~~~~~~~~~~~~~ google/protobuf/pyext/message.cc: In function 'PyObject* google::protobuf::python::cmessage::HasField(google::protobuf::python::CMessage*, PyObject*)': /usr/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ /usr/include/python2.7/boolobject.h:28:32: note: in expansion of macro 'Py_INCREF' #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False ^~~~~~~~~ google/protobuf/pyext/message.cc:912:7: note: in expansion of macro 'Py_RETURN_FALSE' Py_RETURN_FALSE; ^~~~~~~~~~~~~~~ /usr/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ /usr/include/python2.7/boolobject.h:27:31: note: in expansion of macro 'Py_INCREF' #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True ^~~~~~~~~ google/protobuf/pyext/message.cc:932:9: note: in expansion of macro 'Py_RETURN_TRUE' Py_RETURN_TRUE; ^~~~~~~~~~~~~~ /usr/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ /usr/include/python2.7/boolobject.h:28:32: note: in expansion of macro 'Py_INCREF' #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False ^~~~~~~~~ google/protobuf/pyext/message.cc:935:5: note: in expansion of macro 'Py_RETURN_FALSE' Py_RETURN_FALSE; ^~~~~~~~~~~~~~~ google/protobuf/pyext/message.cc:903:39: warning: unused variable 'descriptor' [-Wunused-variable] const google::protobuf::Descriptor* descriptor = message->GetDescriptor(); ^~~~~~~~~~ google/protobuf/pyext/message.cc: In member function 'int google::protobuf::python::cmessage::SetOwnerVisitor::VisitCMessage(google::protobuf::python::CMessage*, const google::protobuf::FieldDescriptor*)': google/protobuf/pyext/message.cc:1005:41: error: cannot convert 'const std::shared_ptr' to 'int' for argument '2' to 'int google::protobuf::python::cmessage::SetOwner(google::protobuf::python::CMessage*, int)' return SetOwner(cmessage, new_owner_); ^ google/protobuf/pyext/message.cc: In function 'int google::protobuf::python::cmessage::SetOwner(google::protobuf::python::CMessage*, const std::shared_ptr&)': google/protobuf/pyext/message.cc:1014:9: error: 'google::protobuf::python::CMessage {aka struct google::protobuf::python::CMessage}' has no member named 'owner' self->owner = new_owner; ^~~~~ google/protobuf/pyext/message.cc: In function 'int google::protobuf::python::cmessage::ReleaseSubMessage(google::protobuf::Message*, const google::protobuf::FieldDescriptor*, google::protobuf::python::CMessage*)': google/protobuf/pyext/message.cc:1049:19: error: 'google::protobuf::python::CMessage {aka struct google::protobuf::python::CMessage}' has no member named 'owner' child_cmessage->owner.swap(released_message); ^~~~~ google/protobuf/pyext/message.cc:1054:64: error: 'google::protobuf::python::CMessage {aka struct google::protobuf::python::CMessage}' has no member named 'owner' SetOwnerVisitor(child_cmessage->owner)); ^~~~~ google/protobuf/pyext/message.cc: In function 'PyObject* google::protobuf::python::cmessage::ClearField(google::protobuf::python::CMessage*, PyObject*)': google/protobuf/pyext/message.cc:1132:39: warning: unused variable 'descriptor' [-Wunused-variable] const google::protobuf::Descriptor* descriptor = message->GetDescriptor(); ^~~~~~~~~~ google/protobuf/pyext/message.cc: In function 'PyObject* google::protobuf::python::cmessage::SerializeToString(google::protobuf::python::CMessage*, PyObject*)': google/protobuf/pyext/message.cc:1217:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PyObject_CallMethod(comma.get(), "join", "O", errors.get())); ^ google/protobuf/pyext/message.cc:1217:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] google/protobuf/pyext/message.cc: In function 'PyObject* google::protobuf::python::cmessage::ListFields(google::protobuf::python::CMessage*)': google/protobuf/pyext/message.cc:1512:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (Py_ssize_t i = 0; i < fields.size(); ++i) { ~~^~~~~~~~~~~~~~~ google/protobuf/pyext/message.cc: In function 'PyObject* google::protobuf::python::cmessage::FindInitializationErrors(google::protobuf::python::CMessage*)': google/protobuf/pyext/message.cc:1588:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (Py_ssize_t i = 0; i < errors.size(); ++i) { ~~^~~~~~~~~~~~~~~ In file included from /usr/include/python2.7/Python.h:80:0, from ./google/protobuf/pyext/message.h:37, from google/protobuf/pyext/message.cc:34: google/protobuf/pyext/message.cc: In function 'PyObject* google::protobuf::python::cmessage::RichCompare(google::protobuf::python::CMessage*, PyObject*, int)': /usr/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ /usr/include/python2.7/boolobject.h:28:32: note: in expansion of macro 'Py_INCREF' #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False ^~~~~~~~~ google/protobuf/pyext/message.cc:1604:7: note: in expansion of macro 'Py_RETURN_FALSE' Py_RETURN_FALSE; ^~~~~~~~~~~~~~~ /usr/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ /usr/include/python2.7/boolobject.h:27:31: note: in expansion of macro 'Py_INCREF' #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True ^~~~~~~~~ google/protobuf/pyext/message.cc:1606:7: note: in expansion of macro 'Py_RETURN_TRUE' Py_RETURN_TRUE; ^~~~~~~~~~~~~~ google/protobuf/pyext/message.cc: In function 'PyObject* google::protobuf::python::cmessage::InternalGetSubMessage(google::protobuf::python::CMessage*, google::protobuf::python::CFieldDescriptor*)': google/protobuf/pyext/message.cc:1730:9: error: 'google::protobuf::python::CMessage {aka struct google::protobuf::python::CMessage}' has no member named 'owner' cmsg->owner = self->owner; ^~~~~ google/protobuf/pyext/message.cc:1730:23: error: 'google::protobuf::python::CMessage {aka struct google::protobuf::python::CMessage}' has no member named 'owner' cmsg->owner = self->owner; ^~~~~ google/protobuf/pyext/message.cc: In function 'PyObject* google::protobuf::python::cmessage::AddDescriptors(PyTypeObject*, PyObject*)': google/protobuf/pyext/message.cc:1900:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PyObject_CallMethod(field_name, "upper", NULL)); ^ google/protobuf/pyext/message.cc:1906:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] field_name_upcased, "__add__", "(O)", _NUMBER_string.get())); ^ google/protobuf/pyext/message.cc:1906:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] google/protobuf/pyext/message.cc:2008:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PyObject_CallMethod(extension_name, "upper", NULL)); ^ google/protobuf/pyext/message.cc:2013:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] field_name_upcased, "__add__", "(O)", _NUMBER_string.get())); ^ google/protobuf/pyext/message.cc:2013:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from /usr/include/python2.7/Python.h:80:0, from ./google/protobuf/pyext/message.h:37, from google/protobuf/pyext/message.cc:34: google/protobuf/pyext/message.cc: In function 'PyObject* google::protobuf::python::cmessage::ToUnicode(google::protobuf::python::CMessage*)': /usr/include/python2.7/object.h:769:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ^ google/protobuf/pyext/message.cc:2065:3: note: in expansion of macro 'Py_INCREF' Py_INCREF(Py_True); ^~~~~~~~~ /usr/include/python2.7/object.h:774:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] --((PyObject*)(op))->ob_refcnt != 0) \ ^ google/protobuf/pyext/message.cc:2068:3: note: in expansion of macro 'Py_DECREF' Py_DECREF(Py_True); ^~~~~~~~~ /usr/include/python2.7/object.h:115:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) ^ /usr/include/python2.7/object.h:764:7: note: in expansion of macro 'Py_TYPE' (*Py_TYPE(op)->tp_dealloc)((PyObject *)(op))) ^~~~~~~ /usr/include/python2.7/object.h:777:9: note: in expansion of macro '_Py_Dealloc' _Py_Dealloc((PyObject *)(op)); \ ^~~~~~~~~~~ google/protobuf/pyext/message.cc:2068:3: note: in expansion of macro 'Py_DECREF' Py_DECREF(Py_True); ^~~~~~~~~ google/protobuf/pyext/message.cc: At global scope: google/protobuf/pyext/message.cc:2132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ google/protobuf/pyext/message.cc:2132:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] google/protobuf/pyext/message.cc: In function 'PyObject* google::protobuf::python::cmessage::GetAttr(google::protobuf::python::CMessage*, PyObject*)': google/protobuf/pyext/message.cc:2234:34: error: 'google::protobuf::python::CMessage {aka struct google::protobuf::python::CMessage}' has no member named 'owner' container->owner = self->owner; ^~~~~ google/protobuf/pyext/message.cc: In instantiation of 'bool google::protobuf::python::CheckAndGetInteger(PyObject*, T*, PyObject*, PyObject*) [with T = int; PyObject = _object]': google/protobuf/pyext/message.cc:265:44: required from here google/protobuf/pyext/message.cc:226:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FormatTypeError(arg, "int, long"); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ google/protobuf/pyext/message.cc: In instantiation of 'bool google::protobuf::python::CheckAndGetInteger(PyObject*, T*, PyObject*, PyObject*) [with T = long long int; PyObject = _object]': google/protobuf/pyext/message.cc:267:44: required from here google/protobuf/pyext/message.cc:226:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] google/protobuf/pyext/message.cc: In instantiation of 'bool google::protobuf::python::CheckAndGetInteger(PyObject*, T*, PyObject*, PyObject*) [with T = unsigned int; PyObject = _object]': google/protobuf/pyext/message.cc:269:45: required from here google/protobuf/pyext/message.cc:226:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] google/protobuf/pyext/message.cc: In instantiation of 'bool google::protobuf::python::CheckAndGetInteger(PyObject*, T*, PyObject*, PyObject*) [with T = long long unsigned int; PyObject = _object]': google/protobuf/pyext/message.cc:271:45: required from here google/protobuf/pyext/message.cc:226:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from google/protobuf/pyext/message.cc:58:0: ./google/protobuf/pyext/repeated_composite_container.h: At global scope: ./google/protobuf/pyext/repeated_composite_container.h:106:19: warning: 'Py_ssize_t google::protobuf::python::repeated_composite_container::Length(google::protobuf::python::RepeatedCompositeContainer*)' declared 'static' but never defined [-Wunused-function] static Py_ssize_t Length(RepeatedCompositeContainer* self); ^~~~~~ error: command 'i586-alt-linux-gcc' failed with exit status 1 error: Bad exit status from /usr/src/tmp/rpm-tmp.68655 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.68655 (%build) Command exited with non-zero status 1 211.07user 14.36system 3:40.10elapsed 102%CPU (0avgtext+0avgdata 298900maxresident)k 0inputs+0outputs (0major+3002689minor)pagefaults 0swaps hsh-rebuild: rebuild of `protobuf-2.6.1-alt1.1.src.rpm' failed. Command exited with non-zero status 1 268.54user 26.34system 4:50.13elapsed 101%CPU (0avgtext+0avgdata 298900maxresident)k 344inputs+0outputs (0major+3844140minor)pagefaults 0swaps