<86>Jun 17 09:55:17 userdel[98331]: delete user 'rooter' <86>Jun 17 09:55:17 userdel[98331]: removed group 'rooter' owned by 'rooter' <86>Jun 17 09:55:17 userdel[98331]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 17 09:55:17 groupadd[98424]: group added to /etc/group: name=rooter, GID=621 <86>Jun 17 09:55:17 groupadd[98424]: group added to /etc/gshadow: name=rooter <86>Jun 17 09:55:17 groupadd[98424]: new group: name=rooter, GID=621 <86>Jun 17 09:55:17 useradd[98476]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Jun 17 09:55:17 userdel[98493]: delete user 'builder' <86>Jun 17 09:55:17 userdel[98493]: removed group 'builder' owned by 'builder' <86>Jun 17 09:55:17 userdel[98493]: removed shadow group 'builder' owned by 'builder' <86>Jun 17 09:55:17 groupadd[98503]: group added to /etc/group: name=builder, GID=622 <86>Jun 17 09:55:17 groupadd[98503]: group added to /etc/gshadow: name=builder <86>Jun 17 09:55:17 groupadd[98503]: new group: name=builder, GID=622 <86>Jun 17 09:55:17 useradd[98513]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/perfctr-2.6.42-alt1.nosrc.rpm Installing perfctr-2.6.42-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.52100 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf perfctr-2.6.42 + echo 'Source #0 (perfctr-2.6.42.tar.gz):' Source #0 (perfctr-2.6.42.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/perfctr-2.6.42.tar.gz + /bin/tar -xf - + cd perfctr-2.6.42 + /bin/chmod -c -Rf u+rwX,go-w . + install /usr/src/RPM/SOURCES/init.info . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.89967 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd perfctr-2.6.42 + cp linux/include/linux/perfctr.h linux/include/ + make -j8 make: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42' rm -f linux/include/asm ln -s asm-i386 linux/include/asm make: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42' make MAKETARGET=default all-subdirs for dir in usr.lib etc examples; do \ (cd $dir; make default; cd ..); \ done make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' ln -s ../linux/drivers/perfctr/marshal.h . make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' ln -s ../linux/drivers/perfctr/marshal.c . make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -o event_set_x86.o event_set_x86.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -o event_set_amd.o event_set_amd.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -o event_set_centaur.o event_set_centaur.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -o event_set_p4.o event_set_p4.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -o event_set_p5.o event_set_p5.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -o event_set_p6.o event_set_p6.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -o x86.o x86.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -fPIC -o event_set_x86.os event_set_x86.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -fPIC -o event_set_amd.os event_set_amd.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -fPIC -o event_set_centaur.os event_set_centaur.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -fPIC -o event_set_p4.os event_set_p4.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -fPIC -o virtual.os virtual.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -fPIC -o global.os global.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -fPIC -o event_set_p6.os event_set_p6.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -fPIC -o x86.os x86.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -fPIC -o misc.os misc.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -fPIC -o event_set_p5.os event_set_p5.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -o global.o global.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -o misc.o misc.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -o marshal.o marshal.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -fPIC -o marshal.os marshal.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include gen-event-codes.c event_set_x86.o event_set_amd.o event_set_centaur.o event_set_p4.o event_set_p5.o event_set_p6.o -o gen-event-codes make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' ./gen-event-codes > perfctr_event_codes.h make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -shared -o libperfctr.so -Wl,-soname,libperfctr.so.5 global.os misc.os virtual.os marshal.os event_set_x86.os event_set_amd.os event_set_centaur.os event_set_p4.os event_set_p5.os event_set_p6.os x86.os make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' gcc -pipe -O2 -Wall -fPIC -DPIC -fomit-frame-pointer -mpreferred-stack-boundary=2 -I../linux/include -c -o virtual.o virtual.c make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' ld -r -o libperfctr.o global.o misc.o virtual.o marshal.o event_set_x86.o event_set_amd.o event_set_centaur.o event_set_p4.o event_set_p5.o event_set_p6.o x86.o make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' ar ruv libperfctr.a global.o misc.o virtual.o marshal.o event_set_x86.o event_set_amd.o event_set_centaur.o event_set_p4.o event_set_p5.o event_set_p6.o x86.o ar: creating libperfctr.a a - global.o a - misc.o a - virtual.o a - marshal.o a - event_set_x86.o a - event_set_amd.o a - event_set_centaur.o a - event_set_p4.o a - event_set_p5.o a - event_set_p6.o a - x86.o ranlib libperfctr.a make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Nothing to be done for 'default'. make MAKETARGET=default all-subdirs for dir in self global perfex signal; do \ (cd $dir; make default; cd ..); \ done make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' gcc -O2 -fomit-frame-pointer -Wall -I../../linux/include -I../../usr.lib -c -o x86.o x86.c make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' gcc -O2 -fomit-frame-pointer -Wall -I../../linux/include -I../../usr.lib -c -o self.o self.c make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' gcc self.o x86.o ../../usr.lib/libperfctr.a -o self make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' gcc -O2 -fomit-frame-pointer -Wall -I../../linux/include -I../../usr.lib -c -o x86.o x86.c make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' gcc -O2 -fomit-frame-pointer -Wall -I../../linux/include -I../../usr.lib -c -o global.o global.c make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' gcc global.o x86.o ../../usr.lib/libperfctr.a -o global make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' gcc -O2 -fomit-frame-pointer -Wall -I../../linux/include -I../../usr.lib -c -o x86.o x86.c make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' gcc -O2 -fomit-frame-pointer -Wall -I../../linux/include -I../../usr.lib -c -o perfex.o perfex.c make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' gcc perfex.o x86.o ../../usr.lib/libperfctr.a -o perfex make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/signal' gcc -O2 -fomit-frame-pointer -Wall -I../../linux/include -I../../usr.lib -c -o x86.o x86.c In file included from x86.c:12: arch.h:7:47: warning: 'struct ucontext' declared inside parameter list will not be visible outside of this definition or declaration extern unsigned long ucontext_pc(const struct ucontext *uc); ^~~~~~~~ x86.c:31:40: warning: 'struct ucontext' declared inside parameter list will not be visible outside of this definition or declaration unsigned long ucontext_pc(const struct ucontext *uc) ^~~~~~~~ x86.c:31:15: error: conflicting types for 'ucontext_pc' unsigned long ucontext_pc(const struct ucontext *uc) ^~~~~~~~~~~ In file included from x86.c:12: arch.h:7:22: note: previous declaration of 'ucontext_pc' was here extern unsigned long ucontext_pc(const struct ucontext *uc); ^~~~~~~~~~~ x86.c: In function 'ucontext_pc': x86.c:33:27: error: dereferencing pointer to incomplete type 'const struct ucontext' return mcontext_pc(&uc->uc_mcontext); ^~ x86.c:34:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[4]: *** [: x86.o] Error 1 make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/signal' make[4]: *** Waiting for unfinished jobs.... make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/signal' gcc -O2 -fomit-frame-pointer -Wall -I../../linux/include -I../../usr.lib -c -o signal.o signal.c In file included from signal.c:19: arch.h:7:47: warning: 'struct ucontext' declared inside parameter list will not be visible outside of this definition or declaration extern unsigned long ucontext_pc(const struct ucontext *uc); ^~~~~~~~ signal.c: In function 'on_sigio': signal.c:67:22: warning: passing argument 1 of 'ucontext_pc' from incompatible pointer type [-Wincompatible-pointer-types] pc = ucontext_pc(uc); ^~ In file included from signal.c:19: arch.h:7:57: note: expected 'const struct ucontext *' but argument is of type 'struct ucontext *' extern unsigned long ucontext_pc(const struct ucontext *uc); ~~~~~~~~~~~~~~~~~~~~~~~^~ make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/signal' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.17947 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/perfctr-buildroot + : + /bin/rm -rf -- /usr/src/tmp/perfctr-buildroot + cd perfctr-2.6.42 + /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/perfctr-buildroot/usr exec_prefix=/usr/src/tmp/perfctr-buildroot/usr bindir=/usr/src/tmp/perfctr-buildroot/usr/bin sbindir=/usr/src/tmp/perfctr-buildroot/usr/sbin sysconfdir=/usr/src/tmp/perfctr-buildroot/etc datadir=/usr/src/tmp/perfctr-buildroot/usr/share includedir=/usr/src/tmp/perfctr-buildroot/usr/include libdir=/usr/src/tmp/perfctr-buildroot/usr/lib libexecdir=/usr/src/tmp/perfctr-buildroot/usr/lib localstatedir=/usr/src/tmp/perfctr-buildroot/var/lib sharedstatedir=/usr/src/tmp/perfctr-buildroot/var/lib mandir=/usr/src/tmp/perfctr-buildroot/usr/share/man infodir=/usr/src/tmp/perfctr-buildroot/usr/share/info install install2 PREFIX=/usr/src/tmp/perfctr-buildroot/usr BINDIR=/usr/src/tmp/perfctr-buildroot/usr/bin LIBDIR=/usr/src/tmp/perfctr-buildroot/usr/lib INCLDIR=/usr/src/tmp/perfctr-buildroot/usr/include ETCDIR=/usr/src/tmp/perfctr-buildroot/etc make: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42' /usr/bin/make MAKETARGET=default all-subdirs make[1]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42' for dir in usr.lib etc examples; do \ (cd $dir; /usr/bin/make default; cd ..); \ done make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Nothing to be done for 'default'. make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/etc' make[2]: Nothing to be done for 'default'. make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/etc' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' /usr/bin/make MAKETARGET=default all-subdirs make[3]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' for dir in self global perfex signal; do \ (cd $dir; /usr/bin/make default; cd ..); \ done make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' make[4]: Nothing to be done for 'default'. make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' make[4]: Nothing to be done for 'default'. make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' make[4]: Nothing to be done for 'default'. make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/signal' gcc -O2 -fomit-frame-pointer -Wall -I../../linux/include -I../../usr.lib -c -o x86.o x86.c In file included from x86.c:12: arch.h:7:47: warning: 'struct ucontext' declared inside parameter list will not be visible outside of this definition or declaration extern unsigned long ucontext_pc(const struct ucontext *uc); ^~~~~~~~ x86.c:31:40: warning: 'struct ucontext' declared inside parameter list will not be visible outside of this definition or declaration unsigned long ucontext_pc(const struct ucontext *uc) ^~~~~~~~ x86.c:31:15: error: conflicting types for 'ucontext_pc' unsigned long ucontext_pc(const struct ucontext *uc) ^~~~~~~~~~~ In file included from x86.c:12: arch.h:7:22: note: previous declaration of 'ucontext_pc' was here extern unsigned long ucontext_pc(const struct ucontext *uc); ^~~~~~~~~~~ x86.c: In function 'ucontext_pc': x86.c:33:27: error: dereferencing pointer to incomplete type 'const struct ucontext' return mcontext_pc(&uc->uc_mcontext); ^~ x86.c:34:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[4]: *** [: x86.o] Error 1 make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/signal' make[3]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' make[1]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42' etc/install.sh "/usr/src/tmp/perfctr-buildroot/usr" "/usr/src/tmp/perfctr-buildroot/usr/bin" "/usr/src/tmp/perfctr-buildroot/usr/lib" "/usr/src/tmp/perfctr-buildroot/usr/include" "/usr/src/tmp/perfctr-buildroot/etc" "i386" make[1]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42' make MAKEARGS="BINDIR=/usr/src/tmp/perfctr-buildroot/usr/bin LIBDIR=/usr/src/tmp/perfctr-buildroot/usr/lib INCLDIR=/usr/src/tmp/perfctr-buildroot/usr/include ETCDIR=/usr/src/tmp/perfctr-buildroot/etc" MAKETARGET=install all-subdirs make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42' for dir in usr.lib etc examples; do \ (cd $dir; make BINDIR=/usr/src/tmp/perfctr-buildroot/usr/bin LIBDIR=/usr/src/tmp/perfctr-buildroot/usr/lib INCLDIR=/usr/src/tmp/perfctr-buildroot/usr/include ETCDIR=/usr/src/tmp/perfctr-buildroot/etc install; cd ..); \ done make[3]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' mkdir -p /usr/src/tmp/perfctr-buildroot/usr/include /usr/src/tmp/perfctr-buildroot/usr/include/asm /usr/src/tmp/perfctr-buildroot/usr/include/linux cp -f libperfctr.h /usr/src/tmp/perfctr-buildroot/usr/include/ cp perfctr_event_codes.h /usr/src/tmp/perfctr-buildroot/usr/include/ cp -f ../linux/include/asm-x86/perfctr.h /usr/src/tmp/perfctr-buildroot/usr/include/asm/ cp -f ../linux/include/perfctr.h /usr/src/tmp/perfctr-buildroot/usr/include/linux/ mkdir -p /usr/src/tmp/perfctr-buildroot/usr/lib cp libperfctr.a /usr/src/tmp/perfctr-buildroot/usr/lib/ cp libperfctr.so /usr/src/tmp/perfctr-buildroot/usr/lib/libperfctr.so.5.2.6.42 ln -sf libperfctr.so.5.2.6.42 /usr/src/tmp/perfctr-buildroot/usr/lib/libperfctr.so.5 ln -sf libperfctr.so.5 /usr/src/tmp/perfctr-buildroot/usr/lib/libperfctr.so make[3]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[3]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/etc' if [ -n "/usr/src/tmp/perfctr-buildroot/etc" ]; then make install-etc; fi make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/etc' mkdir -p /usr/src/tmp/perfctr-buildroot/etc/udev/rules.d/ cp perfctr.rules /usr/src/tmp/perfctr-buildroot/etc/udev/rules.d/99-perfctr.rules chmod 644 /usr/src/tmp/perfctr-buildroot/etc/udev/rules.d/99-perfctr.rules mkdir -p /usr/src/tmp/perfctr-buildroot/etc/rc.d/init.d/ cp perfctr.rc /usr/src/tmp/perfctr-buildroot/etc/rc.d/init.d/perfctr chmod 755 /usr/src/tmp/perfctr-buildroot/etc/rc.d/init.d/perfctr if [ "/usr/src/tmp/perfctr-buildroot/etc" = "/etc" ]; then /sbin/chkconfig --add perfctr; fi make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/etc' make[3]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/etc' make[3]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' make MAKEARGS="BINDIR=/usr/src/tmp/perfctr-buildroot/usr/bin" MAKETARGET=install all-subdirs make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' for dir in self global perfex signal; do \ (cd $dir; make BINDIR=/usr/src/tmp/perfctr-buildroot/usr/bin install; cd ..); \ done make[5]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' make[5]: Nothing to be done for 'install'. make[5]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' make[5]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' make[5]: Nothing to be done for 'install'. make[5]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' make[5]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' mkdir -p /usr/src/tmp/perfctr-buildroot/usr/bin cp perfex /usr/src/tmp/perfctr-buildroot/usr/bin/ make[5]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' make[5]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/signal' make[5]: Nothing to be done for 'install'. make[5]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/signal' make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' make[3]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42' make[1]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42' /usr/bin/make MAKEARGS="BINDIR=/usr/src/tmp/perfctr-buildroot/usr/bin LIBDIR=/usr/src/tmp/perfctr-buildroot/usr/lib INCLDIR=/usr/src/tmp/perfctr-buildroot/usr/include ETCDIR=/usr/src/tmp/perfctr-buildroot/etc" MAKETARGET=install all-subdirs make[1]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42' for dir in usr.lib etc examples; do \ (cd $dir; /usr/bin/make BINDIR=/usr/src/tmp/perfctr-buildroot/usr/bin LIBDIR=/usr/src/tmp/perfctr-buildroot/usr/lib INCLDIR=/usr/src/tmp/perfctr-buildroot/usr/include ETCDIR=/usr/src/tmp/perfctr-buildroot/etc install; cd ..); \ done make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' mkdir -p /usr/src/tmp/perfctr-buildroot/usr/include /usr/src/tmp/perfctr-buildroot/usr/include/asm /usr/src/tmp/perfctr-buildroot/usr/include/linux cp -f libperfctr.h /usr/src/tmp/perfctr-buildroot/usr/include/ cp perfctr_event_codes.h /usr/src/tmp/perfctr-buildroot/usr/include/ cp -f ../linux/include/asm-x86/perfctr.h /usr/src/tmp/perfctr-buildroot/usr/include/asm/ cp -f ../linux/include/perfctr.h /usr/src/tmp/perfctr-buildroot/usr/include/linux/ mkdir -p /usr/src/tmp/perfctr-buildroot/usr/lib cp libperfctr.a /usr/src/tmp/perfctr-buildroot/usr/lib/ cp libperfctr.so /usr/src/tmp/perfctr-buildroot/usr/lib/libperfctr.so.5.2.6.42 ln -sf libperfctr.so.5.2.6.42 /usr/src/tmp/perfctr-buildroot/usr/lib/libperfctr.so.5 ln -sf libperfctr.so.5 /usr/src/tmp/perfctr-buildroot/usr/lib/libperfctr.so make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/usr.lib' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/etc' if [ -n "/usr/src/tmp/perfctr-buildroot/etc" ]; then /usr/bin/make install-etc; fi make[3]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/etc' mkdir -p /usr/src/tmp/perfctr-buildroot/etc/udev/rules.d/ cp perfctr.rules /usr/src/tmp/perfctr-buildroot/etc/udev/rules.d/99-perfctr.rules chmod 644 /usr/src/tmp/perfctr-buildroot/etc/udev/rules.d/99-perfctr.rules mkdir -p /usr/src/tmp/perfctr-buildroot/etc/rc.d/init.d/ cp perfctr.rc /usr/src/tmp/perfctr-buildroot/etc/rc.d/init.d/perfctr chmod 755 /usr/src/tmp/perfctr-buildroot/etc/rc.d/init.d/perfctr if [ "/usr/src/tmp/perfctr-buildroot/etc" = "/etc" ]; then /sbin/chkconfig --add perfctr; fi make[3]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/etc' make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/etc' make[2]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' /usr/bin/make MAKEARGS="BINDIR=/usr/src/tmp/perfctr-buildroot/usr/bin" MAKETARGET=install all-subdirs make[3]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' for dir in self global perfex signal; do \ (cd $dir; /usr/bin/make BINDIR=/usr/src/tmp/perfctr-buildroot/usr/bin install; cd ..); \ done make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' make[4]: Nothing to be done for 'install'. make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/self' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' make[4]: Nothing to be done for 'install'. make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/global' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' mkdir -p /usr/src/tmp/perfctr-buildroot/usr/bin cp perfex /usr/src/tmp/perfctr-buildroot/usr/bin/ make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/perfex' make[4]: Entering directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/signal' make[4]: Nothing to be done for 'install'. make[4]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples/signal' make[3]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' make[2]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42/examples' make[1]: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42' make: Leaving directory '/usr/src/RPM/BUILD/perfctr-2.6.42' + mv /usr/src/tmp/perfctr-buildroot/usr/include/linux/perfctr.h /usr/src/tmp/perfctr-buildroot/usr/include/ + mv /usr/src/tmp/perfctr-buildroot/usr/include/asm/perfctr.h /usr/src/tmp/perfctr-buildroot/usr/include/asm_perfctr.h + sed -i 's|asm/perfctr.h|asm_perfctr.h|' /usr/src/tmp/perfctr-buildroot/usr/include/perfctr.h + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/perfctr-buildroot (auto) mode of './usr/lib/libperfctr.so.5.2.6.42' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/perfctr-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/perfctr-buildroot/ (default) Compressing files in /usr/src/tmp/perfctr-buildroot (auto) Adjusting library links in /usr/src/tmp/perfctr-buildroot ./usr/lib: libperfctr.so.5 -> libperfctr.so.5.2.6.42 Verifying ELF objects in /usr/src/tmp/perfctr-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/perfex: uses non-LFS functions: fopen mmap open verify-elf: WARNING: ./usr/lib/libperfctr.so.5.2.6.42: uses non-LFS functions: mmap open Hardlinking identical .pyc and .pyo files Processing files: perfctr-2.6.42-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.17947 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd perfctr-2.6.42 + DOCDIR=/usr/src/tmp/perfctr-buildroot/usr/share/doc/perfctr-2.6.42 + export DOCDIR + rm -rf /usr/src/tmp/perfctr-buildroot/usr/share/doc/perfctr-2.6.42 + /bin/mkdir -p /usr/src/tmp/perfctr-buildroot/usr/share/doc/perfctr-2.6.42 + cp -prL README CHANGES TODO OTHER /usr/src/tmp/perfctr-buildroot/usr/share/doc/perfctr-2.6.42 + chmod -R go-w /usr/src/tmp/perfctr-buildroot/usr/share/doc/perfctr-2.6.42 + chmod -R a+rX /usr/src/tmp/perfctr-buildroot/usr/share/doc/perfctr-2.6.42 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kbundo find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rm4VoO find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) find-requires: FINDPACKAGE-COMMANDS: grep mknod modprobe rmmod Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nlEZPu Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KNqHkt Requires: libperfctr = 2.6.42-alt1, /bin/bash, /etc/rc.d/init.d, /etc/rc.d/init.d/functions, /etc/udev/rules.d, /lib/ld-linux.so.2, coreutils, grep, kmod, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rn3klE Creating perfctr-debuginfo package Processing files: libperfctr-2.6.42-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lDbRZ8 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/perfctr-buildroot/usr/lib/libperfctr.so.5: 76 symbols, 17 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.eIKp7X find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Provides: libperfctr.so.5 = set:kdgzTM2MQ5q4GgJ8LzuI8GIZKw11hqxLhWjfgeKcUyAlQgmAsSMNmJ792sZrbZc0TH78J9zo4aBBLlnKcjjFtFRpLjaxNBfFhxM6eHPpqvP34VaPSFXvZwZgbnZ7RKCpUYyWifwkQQwF8gginuEbYzk17lAKpH2 Requires: libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Z3dQe3 Creating libperfctr-debuginfo package Processing files: libperfctr-devel-2.6.42-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XriWzt find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Misq69 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: libperfctr = 2.6.42-alt1, /usr/lib/libperfctr.so.5, glibc-kernheaders-generic Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.s6vDDc Processing files: libperfctr-devel-static-2.6.42-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.me8jer find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9DPPM0 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: libperfctr-devel = 2.6.42-alt1, glibc-devel-static Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DJW3b2 Processing files: perfctr-debuginfo-2.6.42-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.942ATk find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GyBU70 find-requires: running scripts (debuginfo) Requires: perfctr = 2.6.42-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6) Processing files: libperfctr-debuginfo-2.6.42-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oDz9M7 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YQpQ3F find-requires: running scripts (debuginfo) Provides: debug(libperfctr.so.5) Requires: libperfctr = 2.6.42-alt1, debug(libc.so.6) Removing 1 extra deps from libperfctr-devel due to dependency on libperfctr Removing 4 extra deps from perfctr due to repentancy on libperfctr Wrote: /usr/src/RPM/RPMS/i586/perfctr-2.6.42-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libperfctr-2.6.42-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libperfctr-devel-2.6.42-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libperfctr-devel-static-2.6.42-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/perfctr-debuginfo-2.6.42-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libperfctr-debuginfo-2.6.42-alt1.i586.rpm 7.92user 1.55system 0:27.39elapsed 34%CPU (0avgtext+0avgdata 24752maxresident)k 0inputs+0outputs (0major+601483minor)pagefaults 0swaps 9.91user 4.67system 0:34.42elapsed 42%CPU (0avgtext+0avgdata 24752maxresident)k 0inputs+0outputs (0major+858844minor)pagefaults 0swaps --- libperfctr-debuginfo-2.6.42-alt1.i586.rpm.repo 2011-04-09 01:47:45.000000000 +0000 +++ libperfctr-debuginfo-2.6.42-alt1.i586.rpm.hasher 2019-06-17 09:55:49.675334007 +0000 @@ -2,3 +2,2 @@ /usr/lib/debug/usr/lib/libperfctr.so.5.debug 120777 libperfctr.so.5.2.6.42.debug -/usr/lib/debug/usr/lib/libperfctr.so.debug 120777 libperfctr.so.5.2.6.42.debug Requires: libperfctr = 2.6.42-alt1 --- libperfctr-devel-2.6.42-alt1.i586.rpm.repo 2011-04-09 01:47:45.000000000 +0000 +++ libperfctr-devel-2.6.42-alt1.i586.rpm.hasher 2019-06-17 09:55:49.722333501 +0000 @@ -6,2 +6,3 @@ Requires: libperfctr = 2.6.42-alt1 +Requires: glibc-kernheaders-generic Requires: rpmlib(PayloadIsLzma) --- perfctr-2.6.42-alt1.i586.rpm.repo 2011-04-09 01:47:45.000000000 +0000 +++ perfctr-2.6.42-alt1.i586.rpm.hasher 2019-06-17 09:55:49.922331348 +0000 @@ -10,3 +10,2 @@ Requires: /bin/sh -Requires: /bin/sh Requires: /bin/bash @@ -18,4 +17,4 @@ Requires: grep +Requires: kmod Requires: libc.so.6(GLIBC_2.1) -Requires: module-init-tools Requires: /usr/sbin/post_service