<86>Apr 24 13:26:47 userdel[3014497]: delete user 'rooter' <86>Apr 24 13:26:47 userdel[3014497]: removed group 'rooter' owned by 'rooter' <86>Apr 24 13:26:47 userdel[3014497]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 24 13:26:47 groupadd[3014560]: group added to /etc/group: name=rooter, GID=639 <86>Apr 24 13:26:47 groupadd[3014560]: group added to /etc/gshadow: name=rooter <86>Apr 24 13:26:47 groupadd[3014560]: new group: name=rooter, GID=639 <86>Apr 24 13:26:47 useradd[3014629]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>Apr 24 13:26:47 userdel[3014681]: delete user 'builder' <86>Apr 24 13:26:47 userdel[3014681]: removed group 'builder' owned by 'builder' <86>Apr 24 13:26:47 userdel[3014681]: removed shadow group 'builder' owned by 'builder' <86>Apr 24 13:26:47 groupadd[3014704]: group added to /etc/group: name=builder, GID=640 <86>Apr 24 13:26:47 groupadd[3014704]: new group: name=builder, GID=640 <86>Apr 24 13:26:47 useradd[3014733]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash <13>Apr 24 13:26:54 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 24 13:26:54 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Apr 24 13:26:54 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 24 13:26:54 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 24 13:26:54 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 24 13:26:54 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 24 13:26:54 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>Apr 24 13:26:54 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 24 13:26:54 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Apr 24 13:26:54 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 24 13:26:54 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Apr 24 13:26:54 rpmi: python3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 24 13:26:55 rpmi: python3-base-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 24 13:26:55 rpmi: libpython3-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 24 13:26:55 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 24 13:26:55 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 24 13:27:05 rpmi: python-modules-compiler-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Apr 24 13:27:05 rpmi: python-modules-email-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Apr 24 13:27:05 rpmi: python-modules-unittest-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Apr 24 13:27:06 rpmi: python-modules-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Apr 24 13:27:06 rpmi: python-modules-encodings-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Apr 24 13:27:06 rpmi: python-modules-ctypes-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Apr 24 13:27:06 rpmi: python-modules-multiprocessing-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Apr 24 13:27:06 rpmi: python-modules-logging-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Apr 24 13:27:06 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 24 13:27:06 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Apr 24 13:27:06 rpmi: python3-dev-3.9.4-alt1 sisyphus+268966.100.1.1 1617609166 installed <13>Apr 24 13:27:06 rpmi: python-tools-2to3-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.62329 + 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.42770 + 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.59151 + 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/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,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) 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.2933 + 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.UVjhPL 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.zOi0UK 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 = 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.DBHqpJ 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.YEIqGK 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.RlpAaI 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.N3CtkI 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.6DCv3K find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aC8D0K 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 (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpagemap-devel-0.0.1-alt2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpagemap-debuginfo-0.0.1-alt2.i586.rpm (w2.lzdio) 12.04user 2.87system 0:20.97elapsed 71%CPU (0avgtext+0avgdata 27080maxresident)k 0inputs+0outputs (0major+376905minor)pagefaults 0swaps 25.61user 10.56system 0:50.94elapsed 71%CPU (0avgtext+0avgdata 107016maxresident)k 0inputs+0outputs (0major+803395minor)pagefaults 0swaps