==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: atop 2.12.0-1 (Sun Jun 15 01:47:29 2025)
==> Retrieving sources...
  -> Found atop-2.12.0.tar.gz
  -> Found atop.default
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    atop-2.12.0.tar.gz ... Passed
    atop.default ... Passed
==> Making package: atop 2.12.0-1 (Sun Jun 15 01:47:37 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found atop-2.12.0.tar.gz
  -> Found atop.default
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting atop-2.12.0.tar.gz with bsdtar
==> Starting build()...
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o atop.o atop.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o version.o version.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o various.o various.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o deviate.o deviate.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o procdbase.o procdbase.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o acctproc.o acctproc.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o photoproc.o photoproc.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o photosyst.o photosyst.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o cgroups.o cgroups.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o rawlog.o rawlog.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o ifprop.o ifprop.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o parseable.o parseable.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o showgeneric.o showgeneric.c
atop.c: In function 'twinprepare':
atop.c:1382:10: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o drawbar.o drawbar.c
cgroups.c: In function 'walkcgroup':
cgroups.c:383:2: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o showlinux.o showlinux.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o showsys.o showsys.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o showprocs.o showprocs.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o atopsar.o atopsar.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o netatopif.o netatopif.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o netatopbpfif.o netatopbpfif.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o gpucom.o gpucom.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o json.o json.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o utsnames.o utsnames.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o atopacctd.o atopacctd.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o netlink.o netlink.c
drawbar.c: In function 'headergetch':
drawbar.c:2513:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o atopconvert.o atopconvert.c
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o atopcat.o atopcat.c
showgeneric.c: In function 'text_samp':
showgeneric.c:1234:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
cc -O2 -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wmissing-prototypes -Wmissing-declarations -Wformat-security -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -Wno-stringop-truncation   -c -o atophide.o atophide.c
cc atopcat.o -o atopcat -lglib-2.0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
cc atopacctd.o netlink.o -o atopacctd -lglib-2.0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
cc atop.o version.o various.o  deviate.o   procdbase.o acctproc.o photoproc.o photosyst.o cgroups.o rawlog.o ifprop.o parseable.o showgeneric.o drawbar.o showlinux.o  showsys.o showprocs.o atopsar.o  netatopif.o netatopbpfif.o gpucom.o  json.o utsnames.o -o atop -lncursesw -lz -lm -lrt -lglib-2.0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
ln -sf atop atopsar
cc atophide.o -o atophide -lz -lglib-2.0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
atopconvert.c: In function 'writesamp':
atopconvert.c:2244:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
cc atopconvert.o -o atopconvert -lz -lglib-2.0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
==> Entering fakeroot environment...
==> Starting package()...
if [ ! -d /build/atop/pkg/atop/var/log/atop ]; 		\
	then	mkdir -p /build/atop/pkg/atop/var/log/atop; fi
if [ ! -d /build/atop/pkg/atop/etc/default ]; 		\
	then	mkdir -p /build/atop/pkg/atop/etc/default; fi
if [ ! -d /build/atop/pkg/atop/usr/bin ]; 		\
	then	mkdir -p /build/atop/pkg/atop/usr/bin; fi
if [ ! -d /build/atop/pkg/atop/usr/bin ]; 		\
	then mkdir -p /build/atop/pkg/atop/usr/bin; fi
if [ ! -d /build/atop/pkg/atop/usr/share/man/man1 ]; 		\
	then	mkdir -p /build/atop/pkg/atop/usr/share/man/man1;	fi
if [ ! -d /build/atop/pkg/atop/usr/share/man/man5 ]; 		\
	then	mkdir -p /build/atop/pkg/atop/usr/share/man/man5;	fi
if [ ! -d /build/atop/pkg/atop/usr/share/man/man8 ]; 		\
	then	mkdir -p /build/atop/pkg/atop/usr/share/man/man8;	fi
#
touch       		/build/atop/pkg/atop/etc/default/atop
chmod 644      		/build/atop/pkg/atop/etc/default/atop
#
cp atop   		/build/atop/pkg/atop/usr/bin/atop
chmod 0711 		/build/atop/pkg/atop/usr/bin/atop
ln -sf atop             /build/atop/pkg/atop/usr/bin/atopsar
cp atopacctd  		/build/atop/pkg/atop/usr/bin/atopacctd
chmod 0700 		/build/atop/pkg/atop/usr/bin/atopacctd
cp atopgpud  		/build/atop/pkg/atop/usr/bin/atopgpud
chmod 0700 		/build/atop/pkg/atop/usr/bin/atopgpud
cp atop   		/build/atop/pkg/atop/usr/bin/atop-2.12.0
ln -sf atop-2.12.0     /build/atop/pkg/atop/usr/bin/atopsar-2.12.0
cp atopconvert 		/build/atop/pkg/atop/usr/bin/atopconvert
chmod 0711 		/build/atop/pkg/atop/usr/bin/atopconvert
cp atopcat 		/build/atop/pkg/atop/usr/bin/atopcat
chmod 0711 		/build/atop/pkg/atop/usr/bin/atopcat
cp atophide 		/build/atop/pkg/atop/usr/bin/atophide
chmod 0711 		/build/atop/pkg/atop/usr/bin/atophide
cp man/atop.1    	/build/atop/pkg/atop/usr/share/man/man1
cp man/atopsar.1 	/build/atop/pkg/atop/usr/share/man/man1
cp man/atopconvert.1 	/build/atop/pkg/atop/usr/share/man/man1
cp man/atopcat.1 	/build/atop/pkg/atop/usr/share/man/man1
cp man/atophide.1 	/build/atop/pkg/atop/usr/share/man/man1
cp man/atoprc.5  	/build/atop/pkg/atop/usr/share/man/man5
cp man/atopacctd.8  	/build/atop/pkg/atop/usr/share/man/man8
cp man/atopgpud.8  	/build/atop/pkg/atop/usr/share/man/man8
if [ ! -d /build/atop/pkg/atop/usr/lib/systemd/system ]; 			\
	then	mkdir -p /build/atop/pkg/atop/usr/lib/systemd/system; fi
if [ ! -d /build/atop/pkg/atop/usr/lib/systemd/system-sleep ]; 			\
	then	mkdir -p /build/atop/pkg/atop/usr/lib/systemd/system-sleep; fi
#
cp atop.service        /build/atop/pkg/atop/usr/lib/systemd/system
chmod 0644             /build/atop/pkg/atop/usr/lib/systemd/system/atop.service
cp atopgpu.service     /build/atop/pkg/atop/usr/lib/systemd/system
chmod 0644             /build/atop/pkg/atop/usr/lib/systemd/system/atopgpu.service
cp atop-rotate.service /build/atop/pkg/atop/usr/lib/systemd/system
chmod 0644             /build/atop/pkg/atop/usr/lib/systemd/system/atop-rotate.service
cp atop-rotate.timer   /build/atop/pkg/atop/usr/lib/systemd/system
chmod 0644             /build/atop/pkg/atop/usr/lib/systemd/system/atop-rotate.timer
cp atopacct.service    /build/atop/pkg/atop/usr/lib/systemd/system
chmod 0644             /build/atop/pkg/atop/usr/lib/systemd/system/atopacct.service
cp atop-pm.sh          /build/atop/pkg/atop/usr/lib/systemd/system-sleep
chmod 0711             /build/atop/pkg/atop/usr/lib/systemd/system-sleep/atop-pm.sh
#
# only when making on target system:
#
if [ -z "/build/atop/pkg/atop" -a -f /bin/systemctl ]; 		\
	then	/bin/systemctl disable --now atop     2> /dev/null; \
		/bin/systemctl disable --now atopacct 2> /dev/null; \
		/bin/systemctl daemon-reload;			\
		/bin/systemctl enable  --now atopacct;		\
		/bin/systemctl enable  --now atop;		\
		/bin/systemctl enable  --now atop-rotate.timer;	\
	fi
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "atop"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: atop 2.12.0-1 (Sun Jun 15 01:47:41 2025)
==> Cleaning up...