warning: user build does not exist - using root warning: group build does not exist - using root warning: user build does not exist - using root warning: group build does not exist - using root warning: user build does not exist - using root warning: group build does not exist - using root warning: user build does not exist - using root warning: group build does not exist - using root warning: user build does not exist - using root warning: group build does not exist - using root warning: user build does not exist - using root warning: group build does not exist - using root Installing tpctl-4.15-1.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3327 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + cd /usr/src/redhat/BUILD + rm -rf tpctl-4.15 + /usr/bin/gzip -dc /usr/src/redhat/SOURCES/tpctl_4.15.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd tpctl-4.15 ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tpctl-rpm.patch):' Patch #0 (tpctl-rpm.patch): + patch -p1 -s + echo 'Patch #1 (tpctl-optflags.patch):' Patch #1 (tpctl-optflags.patch): + patch -p1 -s + echo 'Patch #2 (tpctl-4.8-alt-cli.patch):' Patch #2 (tpctl-4.8-alt-cli.patch): + patch -p1 -s + cp -p tpctlir/README README.tpctlir + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3327 + umask 022 + cd /usr/src/redhat/BUILD + cd tpctl-4.15 + LANG=C + export LANG + unset DISPLAY + CC=gcc + make all make -C lib make[1]: Entering directory `/usr/src/redhat/BUILD/tpctl-4.15/lib' gcc -Wall -Wcast-align -Wstrict-prototypes -O2 -g -pipe -m32 -fsigned-char -I../include -fPIC -DLINUX -o smapidev.o -c smapidev.c In file included from ../include/thinkpad_common.h:80, from smapidev.c:39: ../include/rtcmosram.h:171: warning: `packed' attribute ignored ld -shared -lc -soname libsmapidev.so.2 -o libsmapidev.so.2.0 smapidev.o ln -sf libsmapidev.so.2.0 libsmapidev.so.2 ln -sf libsmapidev.so.2 libsmapidev.so make[1]: Leaving directory `/usr/src/redhat/BUILD/tpctl-4.15/lib' make -C tpctl make[1]: Entering directory `/usr/src/redhat/BUILD/tpctl-4.15/tpctl' gcc -Wall -Wcast-align -Wstrict-prototypes -Wno-uninitialized -O2 -g -pipe -m32 -fsigned-char -L../lib -I../include -DLINUX -o tpctl.o -c tpctl.c In file included from ../include/thinkpad_common.h:80, from tpctl.c:47: ../include/rtcmosram.h:171: warning: `packed' attribute ignored gcc -Wall -Wcast-align -Wstrict-prototypes -Wno-uninitialized -O2 -g -pipe -m32 -fsigned-char -L../lib -I../include -DLINUX -o tpctl tpctl.o -lncurses -lsmapidev make[1]: Leaving directory `/usr/src/redhat/BUILD/tpctl-4.15/tpctl' make -C ntpctl make[1]: Entering directory `/usr/src/redhat/BUILD/tpctl-4.15/ntpctl' gcc -Wall -Wcast-align -Wstrict-prototypes -O2 -g -pipe -m32 -fsigned-char -L../lib -I../include -DLINUX -o ntpctl.o -c ntpctl.c In file included from ../include/thinkpad_common.h:80, from ntpctl.h:27, from ntpctl.c:38: ../include/rtcmosram.h:171: warning: `packed' attribute ignored gcc -Wall -Wcast-align -Wstrict-prototypes -O2 -g -pipe -m32 -fsigned-char -L../lib -I../include -DLINUX -o event_cond.o -c event_cond.c In file included from ../include/thinkpad_common.h:80, from ntpctl.h:27, from event_cond.c:34: ../include/rtcmosram.h:171: warning: `packed' attribute ignored gcc -Wall -Wcast-align -Wstrict-prototypes -O2 -g -pipe -m32 -fsigned-char -L../lib -I../include -DLINUX -o pointing_device.o -c pointing_device.c In file included from ../include/thinkpad_common.h:80, from ntpctl.h:27, from pointing_device.c:34: ../include/rtcmosram.h:171: warning: `packed' attribute ignored gcc -Wall -Wcast-align -Wstrict-prototypes -O2 -g -pipe -m32 -fsigned-char -L../lib -I../include -DLINUX -o timer.o -c timer.c In file included from ../include/thinkpad_common.h:80, from ntpctl.h:27, from timer.c:34: ../include/rtcmosram.h:171: warning: `packed' attribute ignored gcc -Wall -Wcast-align -Wstrict-prototypes -O2 -g -pipe -m32 -fsigned-char -L../lib -I../include -DLINUX -o ntpctl ntpctl.o event_cond.o pointing_device.o timer.o -lmenu -lncurses -lsmapidev make[1]: Leaving directory `/usr/src/redhat/BUILD/tpctl-4.15/ntpctl' + CC=gcc + make -C tpctlir make: Entering directory `/usr/src/redhat/BUILD/tpctl-4.15/tpctlir' gcc -Wall -Wcast-align -Wstrict-prototypes -O2 -g -pipe -m32 -fsigned-char -o tpctlir tpctlir.c tpctlir.c:5:20: sys/io.h: No such file or directory tpctlir.c: In function `main': tpctlir.c:21: warning: implicit declaration of function `strcmp' tpctlir.c:30: warning: implicit declaration of function `iopl' tpctlir.c:37: warning: implicit declaration of function `inb' tpctlir.c:38: warning: implicit declaration of function `outb' {standard input}: Assembler messages: {standard input}:119: Error: missing operand {standard input}:119: Error: missing operand {standard input}:169: Error: Unrecognized opcode: `sti' make: *** [tpctlir] Error 1 make: Leaving directory `/usr/src/redhat/BUILD/tpctl-4.15/tpctlir' error: Bad exit status from /var/tmp/rpm-tmp.3327 (%build) RPM build errors: user build does not exist - using root group build does not exist - using root user build does not exist - using root group build does not exist - using root user build does not exist - using root group build does not exist - using root user build does not exist - using root group build does not exist - using root user build does not exist - using root group build does not exist - using root user build does not exist - using root group build does not exist - using root Bad exit status from /var/tmp/rpm-tmp.3327 (%build)