<86>May 5 04:17:35 userdel[222975]: delete user 'rooter' <86>May 5 04:17:35 userdel[222975]: removed group 'rooter' owned by 'rooter' <86>May 5 04:17:35 userdel[222975]: removed shadow group 'rooter' owned by 'rooter' <86>May 5 04:17:35 groupadd[222991]: group added to /etc/group: name=rooter, GID=531 <86>May 5 04:17:35 groupadd[222991]: group added to /etc/gshadow: name=rooter <86>May 5 04:17:35 groupadd[222991]: new group: name=rooter, GID=531 <86>May 5 04:17:35 useradd[222998]: new user: name=rooter, UID=531, GID=531, home=/root, shell=/bin/bash <86>May 5 04:17:35 userdel[223015]: delete user 'builder' <86>May 5 04:17:35 userdel[223015]: removed group 'builder' owned by 'builder' <86>May 5 04:17:35 userdel[223015]: removed shadow group 'builder' owned by 'builder' <86>May 5 04:17:35 groupadd[223029]: group added to /etc/group: name=builder, GID=532 <86>May 5 04:17:35 groupadd[223029]: group added to /etc/gshadow: name=builder <86>May 5 04:17:35 groupadd[223029]: new group: name=builder, GID=532 <86>May 5 04:17:35 useradd[223039]: new user: name=builder, UID=532, GID=532, home=/usr/src, shell=/bin/bash <13>May 5 04:17:39 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>May 5 04:17:39 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>May 5 04:17:39 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>May 5 04:17:39 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>May 5 04:17:39 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 5 04:17:39 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 5 04:17:39 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>May 5 04:17:39 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 5 04:17:39 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>May 5 04:17:39 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743567 installed <13>May 5 04:17:39 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743567 installed <13>May 5 04:17:39 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed <13>May 5 04:17:40 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed <13>May 5 04:17:40 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed <13>May 5 04:17:40 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>May 5 04:17:40 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>May 5 04:17:45 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>May 5 04:17:45 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>May 5 04:17:45 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>May 5 04:17:45 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>May 5 04:17:45 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>May 5 04:17:45 groupadd[233173]: group added to /etc/group: name=_keytab, GID=499 <86>May 5 04:17:45 groupadd[233173]: group added to /etc/gshadow: name=_keytab <86>May 5 04:17:45 groupadd[233173]: new group: name=_keytab, GID=499 <13>May 5 04:17:45 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137160 installed <13>May 5 04:17:45 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038260 installed <13>May 5 04:17:45 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>May 5 04:17:45 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>May 5 04:17:45 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>May 5 04:17:45 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>May 5 04:17:45 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>May 5 04:17:45 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>May 5 04:17:45 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>May 5 04:17:45 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>May 5 04:17:45 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>May 5 04:17:45 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>May 5 04:17:45 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>May 5 04:17:46 rpmi: python3-dev-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libpagemap-0.0.1-alt2.nosrc.rpm 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.99573 + 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.49796 + 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.46828 + 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 + 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) 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: ./usr/lib64: 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 python modules in /usr/src/tmp/libpagemap-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/libpagemap-buildroot using /usr/bin/python2.7 -O 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 Hardlinking identical .pyc and .pyo files Processing files: libpagemap-0.0.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.5697 + 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.xl22vn 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.5ps1bn find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) 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.1oU1Pp 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.vtMNMn 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.iQVsDn 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.fnF2Bm 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.uKYqgn find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zidO2m 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 Wrote: /usr/src/RPM/RPMS/x86_64/libpagemap-devel-0.0.1-alt2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libpagemap-debuginfo-0.0.1-alt2.x86_64.rpm 9.90user 2.96system 0:21.87elapsed 58%CPU (0avgtext+0avgdata 32784maxresident)k 0inputs+0outputs (0major+444881minor)pagefaults 0swaps 21.61user 10.15system 0:41.80elapsed 76%CPU (0avgtext+0avgdata 109424maxresident)k 0inputs+0outputs (0major+885715minor)pagefaults 0swaps