<86>Mar  8 09:14:25 userdel[1371227]: delete user 'rooter'
<86>Mar  8 09:14:25 userdel[1371227]: removed group 'rooter' owned by 'rooter'
<86>Mar  8 09:14:25 userdel[1371227]: removed shadow group 'rooter' owned by 'rooter'
<86>Mar  8 09:14:25 groupadd[1371236]: group added to /etc/group: name=rooter, GID=537
<86>Mar  8 09:14:25 groupadd[1371236]: group added to /etc/gshadow: name=rooter
<86>Mar  8 09:14:25 groupadd[1371236]: new group: name=rooter, GID=537
<86>Mar  8 09:14:25 useradd[1371245]: new user: name=rooter, UID=537, GID=537, home=/root, shell=/bin/bash
<86>Mar  8 09:14:25 userdel[1371254]: delete user 'builder'
<86>Mar  8 09:14:25 userdel[1371254]: removed group 'builder' owned by 'builder'
<86>Mar  8 09:14:25 userdel[1371254]: removed shadow group 'builder' owned by 'builder'
<86>Mar  8 09:14:25 groupadd[1371263]: group added to /etc/group: name=builder, GID=538
<86>Mar  8 09:14:25 groupadd[1371263]: group added to /etc/gshadow: name=builder
<86>Mar  8 09:14:25 groupadd[1371263]: new group: name=builder, GID=538
<86>Mar  8 09:14:25 useradd[1371269]: new user: name=builder, UID=538, GID=538, home=/usr/src, shell=/bin/bash
<13>Mar  8 09:14:29 rpmi: libusb-1.0.22-alt1 1525452055 installed
<13>Mar  8 09:14:29 rpmi: libusb-compat-0.1.5-alt1 1404810477 installed
<13>Mar  8 09:14:29 rpmi: libusb-compat-devel-0.1.5-alt1 1404810477 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/printer-driver-rname-0.23-alt1.nosrc.rpm
Installing printer-driver-rname-0.23-alt1.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.56476
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf pegg-0.23
+ /bin/mkdir -p pegg-0.23
+ cd pegg-0.23
+ echo 'Source #0 (pegg-0.23.tar):'
Source #0 (pegg-0.23.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/pegg-0.23.tar
+ echo 'Source #1 (xbm2crw-0.4.tar):'
Source #1 (xbm2crw-0.4.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/xbm2crw-0.4.tar
+ echo 'Source #2 (cups2pegg-0.21a.tar):'
Source #2 (cups2pegg-0.21a.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/cups2pegg-0.21a.tar
+ echo 'Source #3 (pegg_el-0.11.tar):'
Source #3 (pegg_el-0.11.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/pegg_el-0.11.tar
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #1 (cups-drivers-pegg-0.23-LDFLAGS.patch):'
Patch #1 (cups-drivers-pegg-0.23-LDFLAGS.patch):
+ /usr/bin/patch -p1
patching file pegg-0.23/Makefile
patching file pegg_el-0.11/src/Makefile
+ find -name '*.1.gz'
+ xargs gunzip
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.56476
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd pegg-0.23
+ make -C pegg-0.23 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' LIB_PATH=/usr/lib
make: Entering directory '/usr/src/RPM/BUILD/pegg-0.23/pegg-0.23'
gcc -o pegg pegg.c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic  -I/usr/include -L/usr/lib -lusb
pegg.c: In function 'main':
pegg.c:115:9: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration]
     if (strstr(argv[i],"-w") != 0x00) {
         ^~~~~~
pegg.c:115:9: warning: incompatible implicit declaration of built-in function 'strstr'
pegg.c:115:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg.c:48:1:
+#include <string.h>
 
pegg.c:115:9:
     if (strstr(argv[i],"-w") != 0x00) {
         ^~~~~~
pegg.c:116:10: warning: implicit declaration of function 'strtok'; did you mean 'strtoq'? [-Wimplicit-function-declaration]
       if(strtok(argv[i], "-w") != NULL) width = chr2int(strtok(argv[i], "-w"));
          ^~~~~~
          strtoq
pegg.c:116:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-w") != NULL) width = chr2int(strtok(argv[i], "-w"));
                                ^~
pegg.c:116:49: warning: implicit declaration of function 'chr2int'; did you mean 'chroot'? [-Wimplicit-function-declaration]
       if(strtok(argv[i], "-w") != NULL) width = chr2int(strtok(argv[i], "-w"));
                                                 ^~~~~~~
                                                 chroot
pegg.c:118:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-d") != 0x00) {
         ^~~~~~
pegg.c:118:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg.c:119:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-d") != NULL) density = chr2int(strtok(argv[i], "-d"));
                                ^~
pegg.c:121:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-o") != 0x00) {
         ^~~~~~
pegg.c:121:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg.c:122:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-o") != NULL) pnm_filename = 2+strstr(argv[i], "-o");
                                ^~
pegg.c:124:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-t") != 0x00) test = 1;
         ^~~~~~
pegg.c:124:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg.c:129:4: warning: implicit declaration of function 'display_printer_status' [-Wimplicit-function-declaration]
    display_printer_status();
    ^~~~~~~~~~~~~~~~~~~~~~
pegg.c:156:7: warning: implicit declaration of function 'send_raw_data' [-Wimplicit-function-declaration]
       send_raw_data(data);
       ^~~~~~~~~~~~~
pegg.c: In function 'recv_from_printer':
pegg.c:203:7: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
   int n,rd=0, loop=0;
       ^
make: Leaving directory '/usr/src/RPM/BUILD/pegg-0.23/pegg-0.23'
+ make -C pegg_el-0.11/src 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' LIB_PATH=/usr/lib
make: Entering directory '/usr/src/RPM/BUILD/pegg-0.23/pegg_el-0.11/src'
gcc -o pegg_el pegg_el.c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic  -I/usr/include -L/usr/lib -lusb
pegg_el.c:53:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main (int argc, char *argv[]) {  /* The Main Program handles commandline args
 ^~~~
pegg_el.c: In function 'main':
pegg_el.c:85:9: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration]
     if (strstr(argv[i],"-w") != 0x00) {
         ^~~~~~
pegg_el.c:85:9: warning: incompatible implicit declaration of built-in function 'strstr'
pegg_el.c:85:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg_el.c:52:1:
+#include <string.h>
 
pegg_el.c:85:9:
     if (strstr(argv[i],"-w") != 0x00) {
         ^~~~~~
pegg_el.c:86:10: warning: implicit declaration of function 'strtok'; did you mean 'strtoq'? [-Wimplicit-function-declaration]
       if(strtok(argv[i], "-w") != NULL) width = chr2int(strtok(argv[i], "-w"));
          ^~~~~~
          strtoq
pegg_el.c:86:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-w") != NULL) width = chr2int(strtok(argv[i], "-w"));
                                ^~
pegg_el.c:86:49: warning: implicit declaration of function 'chr2int'; did you mean 'chroot'? [-Wimplicit-function-declaration]
       if(strtok(argv[i], "-w") != NULL) width = chr2int(strtok(argv[i], "-w"));
                                                 ^~~~~~~
                                                 chroot
pegg_el.c:89:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-h") != 0x00) {
         ^~~~~~
pegg_el.c:89:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg_el.c:90:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-h") != NULL) height = chr2int(strtok(argv[i], "-h"));
                                ^~
pegg_el.c:93:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-o") != 0x00) {
         ^~~~~~
pegg_el.c:93:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg_el.c:94:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-o") != NULL) offset = chr2int(strtok(argv[i], "-o"));
                                ^~
pegg_el.c:97:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-O") != 0x00) {
         ^~~~~~
pegg_el.c:97:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg_el.c:98:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-O") != NULL) pnm_filename = 2+strstr(argv[i], "-O");
                                ^~
pegg_el.c:101:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-c") != 0x00) {
         ^~~~~~
pegg_el.c:101:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg_el.c:102:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-c") != NULL) {
                                ^~
pegg_el.c:116:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-H") != 0x00) {
         ^~~~~~
pegg_el.c:116:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg_el.c:117:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-H") != NULL) {
                                ^~
pegg_el.c:129:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-d") != 0x00) {
         ^~~~~~
pegg_el.c:129:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg_el.c:130:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-d") != NULL) {
                                ^~
pegg_el.c:149:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-s") != 0x00) {
         ^~~~~~
pegg_el.c:149:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg_el.c:150:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-s") != NULL) {
                                ^~
pegg_el.c:160:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-f") != 0x00) {
         ^~~~~~
pegg_el.c:160:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg_el.c:161:32: warning: comparison between pointer and integer
       if(strtok(argv[i], "-f") != NULL) {
                                ^~
pegg_el.c:178:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-t") != 0x00) testmode = 1;
         ^~~~~~
pegg_el.c:178:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg_el.c:180:9: warning: incompatible implicit declaration of built-in function 'strstr'
     if (strstr(argv[i],"-C") != 0x00) {
         ^~~~~~
pegg_el.c:180:9: note: include '<string.h>' or provide a declaration of 'strstr'
pegg_el.c:181:12: warning: implicit declaration of function 'open_printer'; did you mean 'opendir'? [-Wimplicit-function-declaration]
         if(open_printer() < 0){
            ^~~~~~~~~~~~
            opendir
pegg_el.c:187:9: warning: implicit declaration of function 'write_to_printer' [-Wimplicit-function-declaration]
         write_to_printer(1);
         ^~~~~~~~~~~~~~~~
pegg_el.c:188:9: warning: implicit declaration of function 'close_printer'; did you mean 'closedir'? [-Wimplicit-function-declaration]
         close_printer();
         ^~~~~~~~~~~~~
         closedir
pegg_el.c:224:7: warning: implicit declaration of function 'print_label' [-Wimplicit-function-declaration]
       print_label(data);
       ^~~~~~~~~~~
pegg_el.c:249:6: warning: implicit declaration of function 'test_printer'; did you mean 'isprint_l'? [-Wimplicit-function-declaration]
      test_printer();
      ^~~~~~~~~~~~
      isprint_l
pegg_el.c: In function 'print_label':
pegg_el.c:606:5: warning: implicit declaration of function 'wait_for_ready' [-Wimplicit-function-declaration]
     wait_for_ready();
     ^~~~~~~~~~~~~~
pegg_el.c: At top level:
pegg_el.c:801:6: warning: conflicting types for 'wait_for_ready'
 void wait_for_ready() {
      ^~~~~~~~~~~~~~
pegg_el.c:606:5: note: previous implicit declaration of 'wait_for_ready' was here
     wait_for_ready();
     ^~~~~~~~~~~~~~
pegg_el.c: In function 'recv_from_printer':
pegg_el.c:286:7: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
   int n,rd=0, loop=0;
       ^
make: Leaving directory '/usr/src/RPM/BUILD/pegg-0.23/pegg_el-0.11/src'
+ perl -p -i -e s:/var/log/cups/cups2pegg.log:/dev/null: cups2pegg-0.21a/src/cups2pegg
+ perl -p -i -e 's/^(\*ModelName:).*$/$1 "CASIO Computer CO. LTD. EL-700 EL-5000W"/' cups2pegg-0.21a/src/ppd/casio_el.ppd
+ perl -p -i -e 's/^(\*ShortNickName:).*$/$1 "CASIO EL-700 EL-5000W"/' cups2pegg-0.21a/src/ppd/casio_el.ppd
+ perl -p -i -e 's/^(\*ModelName:).*$/$1 "CASIO Computer CO. LTD. KL-P1000 KL-E11"/' cups2pegg-0.21a/src/ppd/casio_kl.ppd
+ perl -p -i -e 's/^(\*ShortNickName:).*$/$1 "CASIO KL-P1000 KL-E11"/' cups2pegg-0.21a/src/ppd/casio_kl.ppd
+ perl -p -i -e 's/: Letter/: 128_64/' cups2pegg-0.21a/src/ppd/casio_kl.ppd
+ perl -p -i -e 's/^(\*ModelName:).*$/$1 "CASIO Computer CO. LTD. KP-C10 KP-C50"/' cups2pegg-0.21a/src/ppd/casio_kp.ppd
+ perl -p -i -e 's/^(\*ShortNickName:).*$/$1 "CASIO KP-C10 KP-C50"/' cups2pegg-0.21a/src/ppd/casio_kp.ppd
+ perl -p -i -e 's/: Letter/: 512_64/' cups2pegg-0.21a/src/ppd/casio_kp.ppd
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.45099
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/printer-driver-rname-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/printer-driver-rname-buildroot
+ cd pegg-0.23
+ install -d /usr/src/tmp/printer-driver-rname-buildroot/usr/bin
+ install -d /usr/src/tmp/printer-driver-rname-buildroot/usr/lib/cups/backend
+ install -d /usr/src/tmp/printer-driver-rname-buildroot/usr/share/cups/model/pegg
+ install -d /usr/src/tmp/printer-driver-rname-buildroot/usr/share/man/man1
+ install -m0755 pegg-0.23/pegg /usr/src/tmp/printer-driver-rname-buildroot/usr/bin/
+ install -m0755 pegg_el-0.11/src/pegg_el /usr/src/tmp/printer-driver-rname-buildroot/usr/bin/
+ install -m0755 xbm2crw-0.4/xbm2crw /usr/src/tmp/printer-driver-rname-buildroot/usr/bin/
+ install -m0755 cups2pegg-0.21a/src/cups2pegg /usr/src/tmp/printer-driver-rname-buildroot/usr/lib/cups/backend/
+ install -m0644 pegg-0.23/pegg.1 /usr/src/tmp/printer-driver-rname-buildroot/usr/share/man/man1/
+ install -m0644 pegg_el-0.11/src/pegg_el.1 /usr/src/tmp/printer-driver-rname-buildroot/usr/share/man/man1/
+ install -m0644 cups2pegg-0.21a/src/ppd/casio_el.ppd cups2pegg-0.21a/src/ppd/casio_kl.ppd cups2pegg-0.21a/src/ppd/casio_kp.ppd /usr/src/tmp/printer-driver-rname-buildroot/usr/share/cups/model/pegg/
+ rm -rf installed_docs
+ mkdir -p installed_docs/pegg_el installed_docs/xbm2crw installed_docs/cups2pegg
+ cp pegg_el-0.11/README pegg_el-0.11/TODO pegg_el-0.11/INSTALL installed_docs/pegg_el/
+ cp xbm2crw-0.4/README installed_docs/xbm2crw/
+ cp cups2pegg-0.21a/install_1.png cups2pegg-0.21a/install_2.png cups2pegg-0.21a/install_3.png cups2pegg-0.21a/install_4.png cups2pegg-0.21a/howto_label.html cups2pegg-0.21a/install.html installed_docs/cups2pegg/
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/printer-driver-rname-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/printer-driver-rname-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/printer-driver-rname-buildroot/ (default)
Compressing files in /usr/src/tmp/printer-driver-rname-buildroot (auto)
Adjusting library links in /usr/src/tmp/printer-driver-rname-buildroot
./usr/lib:
Verifying ELF objects in /usr/src/tmp/printer-driver-rname-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: WARNING: ./usr/bin/pegg_el: uses non-LFS functions: fopen
verify-elf: WARNING: ./usr/bin/pegg: uses non-LFS functions: fopen
Hardlinking identical .pyc and .pyo files
Processing files: printer-driver-rname-0.23-alt1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.90810
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd pegg-0.23
+ DOCDIR=/usr/src/tmp/printer-driver-rname-buildroot/usr/share/doc/printer-driver-rname-0.23
+ export DOCDIR
+ rm -rf /usr/src/tmp/printer-driver-rname-buildroot/usr/share/doc/printer-driver-rname-0.23
+ /bin/mkdir -p /usr/src/tmp/printer-driver-rname-buildroot/usr/share/doc/printer-driver-rname-0.23
+ cp -prL pegg-0.23/CHANGELOG pegg-0.23/README pegg-0.23/LICENSE pegg-0.23/INSTALL installed_docs/cups2pegg installed_docs/pegg_el installed_docs/xbm2crw /usr/src/tmp/printer-driver-rname-buildroot/usr/share/doc/printer-driver-rname-0.23
+ chmod -R go-w /usr/src/tmp/printer-driver-rname-buildroot/usr/share/doc/printer-driver-rname-0.23
+ chmod -R a+rX /usr/src/tmp/printer-driver-rname-buildroot/usr/share/doc/printer-driver-rname-0.23
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.v83sUS
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.wJQO01
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks)
/usr/src/tmp/printer-driver-rname-buildroot/usr/bin/xbm2crw syntax OK
/usr/src/tmp/printer-driver-rname-buildroot/usr/lib/cups/backend/cups2pegg syntax OK
Requires: cups, ImageMagick-tools, /lib/ld-linux.so.2, /usr/bin/perl, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libusb-0.1.so.4 >= set:ie4ZxxKnLaj7RHqqOdPJIAcVq3, rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XUKAfE
Creating printer-driver-rname-debuginfo package
Processing files: printer-driver-rname-debuginfo-0.23-alt1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.olUh0H
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IRxiGh
find-requires: running scripts (debuginfo)
Requires: printer-driver-rname = 0.23-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libusb-0.1.so.4)
Wrote: /usr/src/RPM/RPMS/i586/printer-driver-rname-0.23-alt1.i586.rpm
Wrote: /usr/src/RPM/RPMS/i586/printer-driver-rname-debuginfo-0.23-alt1.i586.rpm
5.62user 1.53system 0:12.04elapsed 59%CPU (0avgtext+0avgdata 26804maxresident)k
0inputs+0outputs (0major+223602minor)pagefaults 0swaps
11.93user 6.54system 0:24.31elapsed 76%CPU (0avgtext+0avgdata 115224maxresident)k
0inputs+0outputs (0major+500002minor)pagefaults 0swaps