<86>Sep 7 09:11:34 userdel[3332094]: delete user 'rooter' <86>Sep 7 09:11:34 userdel[3332094]: removed group 'rooter' owned by 'rooter' <86>Sep 7 09:11:34 groupadd[3332102]: group added to /etc/group: name=rooter, GID=615 <86>Sep 7 09:11:34 groupadd[3332102]: group added to /etc/gshadow: name=rooter <86>Sep 7 09:11:34 groupadd[3332102]: new group: name=rooter, GID=615 <86>Sep 7 09:11:34 useradd[3332107]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash <86>Sep 7 09:11:34 userdel[3332114]: delete user 'builder' <86>Sep 7 09:11:34 userdel[3332114]: removed group 'builder' owned by 'builder' <86>Sep 7 09:11:34 userdel[3332114]: removed shadow group 'builder' owned by 'builder' <86>Sep 7 09:11:34 groupadd[3332119]: group added to /etc/group: name=builder, GID=616 <86>Sep 7 09:11:34 groupadd[3332119]: group added to /etc/gshadow: name=builder <86>Sep 7 09:11:34 groupadd[3332119]: new group: name=builder, GID=616 <86>Sep 7 09:11:34 useradd[3332123]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash <13>Sep 7 09:11:36 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Sep 7 09:11:36 rpmi: libexpat-2.2.9-alt1 sisyphus+252464.200.2.1 1590958865 installed <13>Sep 7 09:11:36 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Sep 7 09:11:36 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Sep 7 09:11:36 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 7 09:11:36 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 7 09:11:36 rpmi: ca-certificates-2020.06.29-alt1 sisyphus+254237.300.1.1 1593450881 installed <13>Sep 7 09:11:36 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 7 09:11:36 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Sep 7 09:11:36 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Sep 7 09:11:36 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Sep 7 09:11:36 rpmi: python3-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Sep 7 09:11:37 rpmi: python3-base-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Sep 7 09:11:37 rpmi: libpython3-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed <13>Sep 7 09:11:37 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Sep 7 09:11:37 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Sep 7 09:11:39 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Sep 7 09:11:39 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Sep 7 09:11:39 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Sep 7 09:11:39 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Sep 7 09:11:39 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed <13>Sep 7 09:11:39 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Sep 7 09:11:39 groupadd[3341419]: group added to /etc/group: name=_keytab, GID=499 <86>Sep 7 09:11:39 groupadd[3341419]: group added to /etc/gshadow: name=_keytab <86>Sep 7 09:11:39 groupadd[3341419]: new group: name=_keytab, GID=499 <13>Sep 7 09:11:39 rpmi: libkrb5-1.18.2-alt2 sisyphus+254565.100.4.1 1594375666 installed <13>Sep 7 09:11:39 rpmi: libtirpc-1.2.6-alt1 sisyphus+250076.100.1.1 1587038270 installed <13>Sep 7 09:11:39 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Sep 7 09:11:39 rpmi: python-modules-encodings-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 7 09:11:39 rpmi: python-modules-compiler-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 7 09:11:39 rpmi: python-modules-email-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 7 09:11:39 rpmi: python-modules-unittest-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 7 09:11:39 rpmi: python-modules-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 7 09:11:39 rpmi: python-modules-nis-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 7 09:11:39 rpmi: python-modules-ctypes-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 7 09:11:39 rpmi: python-modules-multiprocessing-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 7 09:11:39 rpmi: python-modules-logging-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 7 09:11:39 rpmi: python-tools-2to3-2.7.18-alt1 sisyphus+255741.100.1.1 1596450480 installed <13>Sep 7 09:11:39 rpmi: python3-dev-3.8.5-alt1 sisyphus+244405.100.3.1 1595544514 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libpagemap-0.0.1-alt2.nosrc.rpm Installing libpagemap-0.0.1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.85156 + 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.52903 + 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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -fPIC -DPIC -fPIC -c libpagemap.c libpagemap.c: In function 'open_kpagemap': libpagemap.c:135:44: warning: format '%lu' expects argument of type 'long unsigned int *', but argument 3 has type 'uint64_t *' {aka 'long long unsigned int *'} [-Wformat=] 135 | if (sscanf(buffer,"MemTotal: %lu kB",&ramsize) < 1) { | ~~^ ~~~~~~~~ | | | | | uint64_t * {aka long long unsigned int *} | long unsigned int * | %llu gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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.58397 + 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/lib/libpagemap.so.0.0.0 cd /usr/src/tmp/libpagemap-buildroot/usr/lib && 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/lib/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: 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) verify-elf: WARNING: ./usr/lib/libpagemap.so.0.0.0: uses non-LFS functions: fopen open readdir 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 Bytecompiling python3 modules with optimization in /usr/src/tmp/libpagemap-buildroot using /usr/bin/python3 -O Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/libpagemap-buildroot using /usr/bin/python3 -OO 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.19844 + 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.PExElH find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/libpagemap-buildroot/usr/lib/libpagemap.so.0: 11 symbols, 14 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.brbU4F 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 = set:hd3C2DlfmnEST0iNhXJksJB0, python3(pagemapdata) Requires: /lib/ld-linux.so.2, /usr/bin/env, /usr/lib/python3/site-packages, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), 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.Q9uLgJ 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.FRxZvH 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.2fVFmI 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/lib/libpagemap.so.0.0.0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yUuYBF 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.Sjv3jI find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KkTGQH find-requires: running scripts (debuginfo) Provides: debug(libpagemap.so.0) Requires: libpagemap = 0.0.1-alt2, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(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/i586/libpagemap-0.0.1-alt2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpagemap-devel-0.0.1-alt2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpagemap-debuginfo-0.0.1-alt2.i586.rpm 6.21user 1.16system 0:13.79elapsed 53%CPU (0avgtext+0avgdata 27032maxresident)k 0inputs+0outputs (0major+367006minor)pagefaults 0swaps 13.17user 4.31system 0:23.86elapsed 73%CPU (0avgtext+0avgdata 110268maxresident)k 0inputs+0outputs (0major+792955minor)pagefaults 0swaps