<86>May  5 01:01:11 userdel[97147]: delete user 'rooter'
<86>May  5 01:01:11 groupadd[97162]: group added to /etc/group: name=rooter, GID=579
<86>May  5 01:01:11 groupadd[97162]: group added to /etc/gshadow: name=rooter
<86>May  5 01:01:11 groupadd[97162]: new group: name=rooter, GID=579
<86>May  5 01:01:11 useradd[97190]: new user: name=rooter, UID=579, GID=579, home=/root, shell=/bin/bash
<86>May  5 01:01:11 userdel[97246]: delete user 'builder'
<86>May  5 01:01:11 userdel[97246]: removed group 'builder' owned by 'builder'
<86>May  5 01:01:11 userdel[97246]: removed shadow group 'builder' owned by 'builder'
<86>May  5 01:01:11 groupadd[97266]: group added to /etc/group: name=builder, GID=580
<86>May  5 01:01:11 groupadd[97266]: group added to /etc/gshadow: name=builder
<86>May  5 01:01:11 groupadd[97266]: new group: name=builder, GID=580
<86>May  5 01:01:11 useradd[97280]: new user: name=builder, UID=580, GID=580, home=/usr/src, shell=/bin/bash
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/pentaxpj-1.0.0-alt2.nosrc.rpm
Installing pentaxpj-1.0.0-alt2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.18504
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf pentaxpj-1.0.0
+ echo 'Source #0 (pentaxpj-1.0.0.tar):'
Source #0 (pentaxpj-1.0.0.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/pentaxpj-1.0.0.tar
+ cd pentaxpj-1.0.0
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (pentaxpj-glibc28_fix.patch):'
Patch #0 (pentaxpj-glibc28_fix.patch):
+ /usr/bin/patch -p0
patching file pentaxpj.c
+ echo 'Patch #1 (pentaxpj-1.0.0-LDFLAGS.patch):'
Patch #1 (pentaxpj-1.0.0-LDFLAGS.patch):
+ /usr/bin/patch -p0
patching file Makefile
+ find . -type d -perm 0700 -exec chmod 755 '{}' ';'
+ find . -type f -perm 0555 -exec chmod 755 '{}' ';'
+ find . -type f -perm 0444 -exec chmod 644 '{}' ';'
++ find . -type d -name CVS
++ find . -type d -name .svn
++ find . -type f -name '.cvs*'
++ find . -type f -name '.#*'
+ for i in `find . -type d -name CVS` `find . -type d -name .svn` `find . -type f -name .cvs\*` `find . -type f -name .#\*`
+ for i in `find . -type d -name CVS` `find . -type d -name .svn` `find . -type f -name .cvs\*` `find . -type f -name .#\*`
+ for i in `find . -type d -name CVS` `find . -type d -name .svn` `find . -type f -name .cvs\*` `find . -type f -name .#\*`
+ for i in `find . -type d -name CVS` `find . -type d -name .svn` `find . -type f -name .cvs\*` `find . -type f -name .#\*`
+ for i in `find . -type d -name CVS` `find . -type d -name .svn` `find . -type f -name .cvs\*` `find . -type f -name .#\*`
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.18504
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd pentaxpj-1.0.0
+ make 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -DLONG_FORM_FEED'
make: Entering directory '/usr/src/RPM/BUILD/pentaxpj-1.0.0'
gcc  -pipe -frecord-gcc-switches -Wall -g -O2 -DLONG_FORM_FEED  pentaxpj.c -o pentaxpj
pentaxpj.c: In function 'cmdff':
pentaxpj.c:88:6: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
pentaxpj.c: In function 'cmdh1':
pentaxpj.c:102:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  sprintf(cmdbuf+2,"%c%c",cmd,parm);
          ~~~~~~^~
In file included from /usr/include/features.h:428,
                 from /usr/include/unistd.h:25,
                 from pentaxpj.h:8,
                 from pentaxpj.c:10:
/usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
 __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
 ^~~~~
pentaxpj.c: In function 'cmdh2':
pentaxpj.c:108:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  sprintf(cmdbuf+2,"%c%c%c",cmd,parm % 256, parm / 256);
          ~~~~~~^~
In file included from /usr/include/features.h:428,
                 from /usr/include/unistd.h:25,
                 from pentaxpj.h:8,
                 from pentaxpj.c:10:
/usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
 __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
 ^~~~~
pentaxpj.c: In function 'read_bitmap':
pentaxpj.c:128:5: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
   s = buf;
     ^
pentaxpj.c:152:4: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
   s=buf;
    ^
pentaxpj.c: In function 'send_bitmap':
pentaxpj.c:224:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
   if (strncmp(buf,"P4",2)) {
               ^~~
In file included from pentaxpj.h:11,
                 from pentaxpj.c:10:
/usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
            ^~~~~~~
pentaxpj.c:238:14: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign]
   if (sscanf(buf,"%d %d",&bmwidth,&bmheight)<2) {
              ^~~
In file included from /usr/include/features.h:428,
                 from /usr/include/unistd.h:25,
                 from pentaxpj.h:8,
                 from pentaxpj.c:10:
/usr/include/stdio.h:400:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
 extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s,
            ^~~~~~~~~~~~~~
pentaxpj.c:211:6: warning: unused variable 'xc' [-Wunused-variable]
  int xc=0,yc=0;
      ^~
pentaxpj.c:208:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,rb;
        ^
pentaxpj.c: In function 'device_init':
pentaxpj.c:403:9: warning: unused variable 'res' [-Wunused-variable]
  int c, res,maj,m;
         ^~~
pentaxpj.c:403:6: warning: unused variable 'c' [-Wunused-variable]
  int c, res,maj,m;
      ^
pentaxpj.c: In function 'dump_pbmfile':
pentaxpj.c:452:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (verbose)
   ^~
pentaxpj.c:454:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    bitmapf = stdin;
    ^~~~~~~
pentaxpj.c: In function 'cmdreset':
pentaxpj.c:83:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(lp,"\033@",2);
  ^~~~~~~~~~~~~~~~~~~
pentaxpj.c: In function 'cmdff':
pentaxpj.c:92:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   write(lp,"\033~*\x00\x00",5);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pentaxpj.c:94:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(lp,"\033~\f",3);
  ^~~~~~~~~~~~~~~~~~~~~
pentaxpj.c: In function 'cmdh1':
pentaxpj.c:103:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(lp,cmdbuf,4);
  ^~~~~~~~~~~~~~~~~~
pentaxpj.c: In function 'cmdh2':
pentaxpj.c:109:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(lp,cmdbuf,5);
  ^~~~~~~~~~~~~~~~~~
pentaxpj.c: In function 'main':
pentaxpj.c:628:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
   fgets( optbuf, 80, cfgf );
   ^~~~~~~~~~~~~~~~~~~~~~~~~
pentaxpj.c:702:4: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
    pipe(gspipe);
    ^~~~~~~~~~~~
pentaxpj.c:732:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
      pipe(catpipe);
      ^~~~~~~~~~~~~
pentaxpj.c:756:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
         write(STDOUT_FILENO,catbuf,catn);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ln -sf ./pentaxpj ./pentaxpj_sh
make: Leaving directory '/usr/src/RPM/BUILD/pentaxpj-1.0.0'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.40889
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/pentaxpj-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/pentaxpj-buildroot
+ cd pentaxpj-1.0.0
+ install -d /usr/src/tmp/pentaxpj-buildroot/usr/bin
+ install -d /usr/src/tmp/pentaxpj-buildroot/usr/sbin
+ install -d /usr/src/tmp/pentaxpj-buildroot/usr/lib64/pentaxpj
+ install -d /usr/src/tmp/pentaxpj-buildroot/etc
+ cp -a BWidget-1.3.1 pentaxpj pentaxsetup pentax.xpm test-page.ps.gz /usr/src/tmp/pentaxpj-buildroot/usr/lib64/pentaxpj
+ ln -s /usr/lib64/pentaxpj/pentaxsetup /usr/src/tmp/pentaxpj-buildroot/usr/sbin
+ ln -s /usr/lib64/pentaxpj/pentaxpj /usr/src/tmp/pentaxpj-buildroot/usr/bin
+ cat
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/pentaxpj-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/pentaxpj-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/pentaxpj-buildroot/ (default)
Compressing files in /usr/src/tmp/pentaxpj-buildroot (auto)
Adjusting library links in /usr/src/tmp/pentaxpj-buildroot
./usr/lib64:
Verifying ELF objects in /usr/src/tmp/pentaxpj-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Hardlinking identical .pyc and .pyo files
Processing files: pentaxpj-1.0.0-alt2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.92162
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd pentaxpj-1.0.0
+ DOCDIR=/usr/src/tmp/pentaxpj-buildroot/usr/share/doc/pentaxpj-1.0.0
+ export DOCDIR
+ rm -rf /usr/src/tmp/pentaxpj-buildroot/usr/share/doc/pentaxpj-1.0.0
+ /bin/mkdir -p /usr/src/tmp/pentaxpj-buildroot/usr/share/doc/pentaxpj-1.0.0
+ cp -prL README /usr/src/tmp/pentaxpj-buildroot/usr/share/doc/pentaxpj-1.0.0
+ chmod -R go-w /usr/src/tmp/pentaxpj-buildroot/usr/share/doc/pentaxpj-1.0.0
+ chmod -R a+rX /usr/src/tmp/pentaxpj-buildroot/usr/share/doc/pentaxpj-1.0.0
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MThpiE
find-provides: absolute symbolic link /usr/src/tmp/pentaxpj-buildroot/usr/bin/pentaxpj -> /usr/lib64/pentaxpj/pentaxpj is not going to provide anything
find-provides: absolute symbolic link /usr/src/tmp/pentaxpj-buildroot/usr/sbin/pentaxsetup -> /usr/lib64/pentaxpj/pentaxsetup is not going to provide anything
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.wrOheR
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks)
/usr/src/tmp/pentaxpj-buildroot/usr/lib64/pentaxpj/pentaxsetup: line 6: syntax error near unexpected token `('
/usr/src/tmp/pentaxpj-buildroot/usr/lib64/pentaxpj/pentaxsetup: line 6: `set settings(model) 0 ;# 0 = 300dpi , 1 = 200dpi'
shell.req: /usr/src/tmp/pentaxpj-buildroot/usr/lib64/pentaxpj/pentaxsetup is wish script!
find-requires: FINDPACKAGE-COMMANDS: wish
Requires: /bin/sh, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), rtld(GNU_HASH), tk
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Skajx7
Creating pentaxpj-debuginfo package
Processing files: pentaxpj-debuginfo-1.0.0-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0MHjer
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Q96w9N
find-requires: running scripts (debuginfo)
objdump: '/usr/src/tmp/pentaxpj-buildroot/usr/bin/pentaxpj': No such file
debuginfo.req: WARNING: /usr/src/tmp/pentaxpj-buildroot/usr/bin/pentaxpj: objdump failed
Requires: pentaxpj = 1.0.0-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6)
Wrote: /usr/src/RPM/RPMS/x86_64/pentaxpj-1.0.0-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/pentaxpj-debuginfo-1.0.0-alt2.x86_64.rpm
2.66user 0.41system 0:09.69elapsed 31%CPU (0avgtext+0avgdata 34132maxresident)k
0inputs+0outputs (0major+197406minor)pagefaults 0swaps
4.01user 1.99system 0:14.49elapsed 41%CPU (0avgtext+0avgdata 34132maxresident)k
0inputs+0outputs (0major+386255minor)pagefaults 0swaps