<86>Jun 22 03:19:01 userdel[3274348]: delete user 'rooter' <86>Jun 22 03:19:01 userdel[3274348]: removed group 'rooter' owned by 'rooter' <86>Jun 22 03:19:01 userdel[3274348]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 22 03:19:01 groupadd[3274379]: group added to /etc/group: name=rooter, GID=639 <86>Jun 22 03:19:01 groupadd[3274379]: group added to /etc/gshadow: name=rooter <86>Jun 22 03:19:01 groupadd[3274379]: new group: name=rooter, GID=639 <86>Jun 22 03:19:01 useradd[3274386]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>Jun 22 03:19:01 userdel[3274414]: delete user 'builder' <86>Jun 22 03:19:01 userdel[3274414]: removed group 'builder' owned by 'builder' <86>Jun 22 03:19:01 userdel[3274414]: removed shadow group 'builder' owned by 'builder' <86>Jun 22 03:19:01 groupadd[3274442]: group added to /etc/group: name=builder, GID=640 <86>Jun 22 03:19:01 groupadd[3274442]: group added to /etc/gshadow: name=builder <86>Jun 22 03:19:01 groupadd[3274442]: new group: name=builder, GID=640 <86>Jun 22 03:19:01 useradd[3274463]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash <13>Jun 22 03:19:03 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Jun 22 03:19:03 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824514 installed <13>Jun 22 03:19:03 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jun 22 03:19:03 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>Jun 22 03:19:03 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 22 03:19:03 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 22 03:19:03 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Jun 22 03:19:03 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jun 22 03:19:03 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jun 22 03:19:03 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <13>Jun 22 03:19:03 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <13>Jun 22 03:19:03 rpmi: python3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748574 installed <13>Jun 22 03:19:03 rpmi: python3-base-3.9.5-alt1 sisyphus+271461.100.1.1 1620748574 installed <13>Jun 22 03:19:04 rpmi: libpython3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748574 installed <13>Jun 22 03:19:04 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Jun 22 03:19:04 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Jun 22 03:19:06 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 22 03:19:06 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 22 03:19:06 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 22 03:19:06 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 22 03:19:06 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 22 03:19:06 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 22 03:19:06 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 22 03:19:06 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 22 03:19:06 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 22 03:19:06 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 22 03:19:06 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851422 installed <13>Jun 22 03:19:06 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851422 installed <13>Jun 22 03:19:06 rpmi: python3-dev-3.9.5-alt1 sisyphus+271461.100.1.1 1620748574 installed <13>Jun 22 03:19:06 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libpagemap-0.0.1-alt2.nosrc.rpm (w1.gzdio) Installing libpagemap-0.0.1-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.42806 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libpagemap-0.0.1 + echo 'Source #0 (v0.0.1.tar.gz):' Source #0 (v0.0.1.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/v0.0.1.tar.gz + /bin/tar -xf - + cd libpagemap-0.0.1 + /bin/chmod -c -Rf u+rwX,go-w . + find -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 ./libpagemap-0.0.1/pagemapdata.py RefactoringTool: Files that were modified: RefactoringTool: ./libpagemap-0.0.1/pagemapdata.py --- ./libpagemap-0.0.1/pagemapdata.py (original) +++ ./libpagemap-0.0.1/pagemapdata.py (refactored) @@ -107,7 +107,7 @@ try: self.kpagemap[p] = self.count_stats(p) except: - print 'pagemap error for pid %s' % p + print('pagemap error for pid %s' % p) #for k in sorted(self.kpagemap.iterkeys()): # print '%s = uss %d pss %d share %d res %d swap %d' % (k, self.kpagemap[k][0], self.kpagemap[k][1],self.kpagemap[k][2],self.kpagemap[k][3],self.kpagemap[k][4]) @@ -125,7 +125,7 @@ for line in m_file: line = line.replace('-',' ') address = line.split(None,2) - areas.append((long(address[0],16), long(address[1],16))) + areas.append((int(address[0],16), int(address[1],16))) m_file.close() return areas @@ -144,7 +144,7 @@ try: maps = self.read_maps(pid) except NoMapsAccess: - print 'No maps access for %d' % pid + print('No maps access for %d' % pid) name = ''.join(['/proc/',str(pid),'/pagemap']) try: p_file = open(name,"rb", 0) @@ -194,14 +194,14 @@ swap = 0 # checks if is present or in swap - if number & (1L << 63): + if number & (1 << 63): res = 1 else: - if number & (1L << 62): + if number & (1 << 62): swap = 1 return uss, pss, share, res, swap # add pfn count - pfn = number & ((1L << 55) - 1) + pfn = number & ((1 << 55) - 1) # get page count pos = pfn*8 @@ -228,7 +228,7 @@ f = open("/proc/meminfo", "r", 0) for line in f: if line.find("MemTotal") != -1: - self.pagecount = long(line.split()[1])/4 + self.pagecount = int(line.split()[1])/4 break f.close() + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.30889 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libpagemap-0.0.1 + cd libpagemap-0.0.1 + make 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' make: Entering directory '/usr/src/RPM/BUILD/libpagemap-0.0.1/libpagemap-0.0.1' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -fPIC -c libpagemap.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -shared -Wl,-soname,libpagemap.so.0 -o libpagemap.so.0.0.0 libpagemap.o -lc ln -s libpagemap.so.0.0.0 libpagemap.so.0 gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -c pgmap.c pgmap.c: In function 'make_header': pgmap.c:268:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 268 | if (p) | ^~ pgmap.c:270:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 270 | if (!start) | ^~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o pgmap pgmap.o libpagemap.so.0 make: Leaving directory '/usr/src/RPM/BUILD/libpagemap-0.0.1/libpagemap-0.0.1' + sed -i 1s,python,python3, pagemapdata.py + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.30889 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libpagemap-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libpagemap-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd libpagemap-0.0.1 + cd libpagemap-0.0.1 + make install DESTDIR=/usr/src/tmp/libpagemap-buildroot make: Entering directory '/usr/src/RPM/BUILD/libpagemap-0.0.1/libpagemap-0.0.1' install -Dp libpagemap.so.0.0.0 /usr/src/tmp/libpagemap-buildroot/usr/lib64/libpagemap.so.0.0.0 cd /usr/src/tmp/libpagemap-buildroot/usr/lib64 && ln -s libpagemap.so.0.0.0 libpagemap.so.0 && ln -s libpagemap.so.0.0.0 libpagemap.so && cd - /usr/src/RPM/BUILD/libpagemap-0.0.1/libpagemap-0.0.1 install -Dp pgmap /usr/src/tmp/libpagemap-buildroot/usr/bin/pgmap install -Dp pgmap.1 /usr/src/tmp/libpagemap-buildroot/usr/share/man/man1/pgmap.1 install -Dp -m 0644 libpagemap.h /usr/src/tmp/libpagemap-buildroot/usr/include/libpagemap.h make: Leaving directory '/usr/src/RPM/BUILD/libpagemap-0.0.1/libpagemap-0.0.1' + install -D -p -m 755 pagemapdata.py /usr/src/tmp/libpagemap-buildroot//usr/lib/python3/site-packages/pagemapdata.py + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libpagemap-buildroot (auto) mode of './usr/lib64/libpagemap.so.0.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/libpagemap-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/libpagemap-buildroot/ (default) Compressing files in /usr/src/tmp/libpagemap-buildroot (auto) mode of '/usr/src/tmp/libpagemap-buildroot/usr/share/man/man1/pgmap.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Adjusting library links in /usr/src/tmp/libpagemap-buildroot ./usr/lib: (from :0) ./usr/lib64: (from :0) libpagemap.so.0 -> libpagemap.so.0.0.0 Verifying ELF objects in /usr/src/tmp/libpagemap-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python3 modules in /usr/src/tmp/libpagemap-buildroot using /usr/bin/python3 Can't list '/usr/src/tmp/libpagemap-buildroot/usr/lib64/python3/site-packages' Bytecompiling python3 modules with optimization in /usr/src/tmp/libpagemap-buildroot using /usr/bin/python3 -O Can't list '/usr/src/tmp/libpagemap-buildroot/usr/lib64/python3/site-packages' Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/libpagemap-buildroot using /usr/bin/python3 -OO Can't list '/usr/src/tmp/libpagemap-buildroot/usr/lib64/python3/site-packages' Hardlinking identical .pyc and .opt-?.pyc files Processing files: libpagemap-0.0.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.64070 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libpagemap-0.0.1 + DOCDIR=/usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + export DOCDIR + rm -rf /usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + /bin/mkdir -p /usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + cp -prL libpagemap-0.0.1/contrib/ /usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + chmod -R go-w /usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + chmod -R a+rX /usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + cp -prL libpagemap-0.0.1/README /usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + chmod -R go-w /usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + chmod -R a+rX /usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + cp -prL libpagemap-0.0.1/COPYING /usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + chmod -R go-w /usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + chmod -R a+rX /usr/src/tmp/libpagemap-buildroot/usr/share/doc/libpagemap-0.0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UDCWAM find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/libpagemap-buildroot/usr/lib64/libpagemap.so.0: 11 symbols, 14 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GAfIGL find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python import parser, symbol, token, types find-requires: FINDPACKAGE-COMMANDS: python3 Provides: libpagemap.so.0()(64bit) = set:hd3C2DlfmnEST0iNhXJksJB0, python3(pagemapdata) Requires: /lib64/ld-linux-x86-64.so.2, /usr/bin/env, /usr/lib/python3/site-packages, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), python3, python3(os) < 0, python3(resource) < 0, python3(struct) < 0, rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.n1J72N Creating libpagemap-debuginfo package Processing files: libpagemap-devel-0.0.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.88tGHN find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7FjN8N find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libpagemap = 0.0.1-alt2, /usr/lib64/libpagemap.so.0.0.0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NOuXrN Processing files: libpagemap-debuginfo-0.0.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DpLHmK find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9p5AxN find-requires: running scripts (debuginfo) Provides: debug64(libpagemap.so.0) Requires: libpagemap = 0.0.1-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6) Adding to libpagemap-devel a strict dependency on libpagemap Adding to libpagemap-debuginfo a strict dependency on libpagemap Removing 1 extra deps from libpagemap-devel due to dependency on libpagemap Wrote: /usr/src/RPM/RPMS/x86_64/libpagemap-0.0.1-alt2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/libpagemap-devel-0.0.1-alt2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/libpagemap-debuginfo-0.0.1-alt2.x86_64.rpm (w2.lzdio) 6.42user 1.34system 0:14.65elapsed 52%CPU (0avgtext+0avgdata 32020maxresident)k 0inputs+0outputs (0major+482909minor)pagefaults 0swaps 12.71user 4.55system 0:24.22elapsed 71%CPU (0avgtext+0avgdata 106484maxresident)k 0inputs+0outputs (0major+918590minor)pagefaults 0swaps