<86>Nov  8 08:13:08 userdel[128397]: delete user 'rooter'
<86>Nov  8 08:13:08 userdel[128397]: removed shadow group 'rooter' owned by 'rooter'
<86>Nov  8 08:13:08 groupadd[128434]: group added to /etc/group: name=rooter, GID=663
<86>Nov  8 08:13:08 groupadd[128434]: group added to /etc/gshadow: name=rooter
<86>Nov  8 08:13:08 groupadd[128434]: new group: name=rooter, GID=663
<86>Nov  8 08:13:08 useradd[128441]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash
<86>Nov  8 08:13:08 userdel[128465]: delete user 'builder'
<86>Nov  8 08:13:08 userdel[128465]: removed group 'builder' owned by 'builder'
<86>Nov  8 08:13:08 userdel[128465]: removed shadow group 'builder' owned by 'builder'
<86>Nov  8 08:13:08 groupadd[128481]: group added to /etc/group: name=builder, GID=664
<86>Nov  8 08:13:08 groupadd[128481]: group added to /etc/gshadow: name=builder
<86>Nov  8 08:13:08 groupadd[128481]: new group: name=builder, GID=664
<86>Nov  8 08:13:08 useradd[128491]: new user: name=builder, UID=664, GID=664, home=/usr/src, shell=/bin/bash
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/pentaxpj-1.0.0-alt2.nosrc.rpm
Installing pentaxpj-1.0.0-alt2.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.75556
+ 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.75556
+ 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 -march=i586 -mtune=generic -DLONG_FORM_FEED'
make: Entering directory '/usr/src/RPM/BUILD/pentaxpj-1.0.0'
gcc  -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DLONG_FORM_FEED  pentaxpj.c -o pentaxpj
pentaxpj.c: In function 'cmdff':
pentaxpj.c:88:6: warning: unused variable 'i' [-Wunused-variable]
   88 |  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]
  102 |  sprintf(cmdbuf+2,"%c%c",cmd,parm);
      |          ~~~~~~^~
      |                |
      |                unsigned char *
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 *'
   31 | __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]
  108 |  sprintf(cmdbuf+2,"%c%c%c",cmd,parm % 256, parm / 256);
      |          ~~~~~~^~
      |                |
      |                unsigned char *
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 *'
   31 | __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]
  128 |   s = buf;
      |     ^
pentaxpj.c:152:4: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
  152 |   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]
  224 |   if (strncmp(buf,"P4",2)) {
      |               ^~~
      |               |
      |               unsigned char *
In file included from pentaxpj.h:11,
                 from pentaxpj.c:10:
/usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *'
  139 | 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]
  238 |   if (sscanf(buf,"%d %d",&bmwidth,&bmheight)<2) {
      |              ^~~
      |              |
      |              unsigned char *
In file included from pentaxpj.h:9,
                 from pentaxpj.c:10:
/usr/include/stdio.h:385:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  385 | extern int sscanf (const char *__restrict __s,
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~
pentaxpj.c:211:6: warning: unused variable 'xc' [-Wunused-variable]
  211 |  int xc=0,yc=0;
      |      ^~
pentaxpj.c:208:8: warning: unused variable 'j' [-Wunused-variable]
  208 |  int i,j,rb;
      |        ^
pentaxpj.c: In function 'device_init':
pentaxpj.c:403:9: warning: unused variable 'res' [-Wunused-variable]
  403 |  int c, res,maj,m;
      |         ^~~
pentaxpj.c:403:6: warning: unused variable 'c' [-Wunused-variable]
  403 |  int c, res,maj,m;
      |      ^
pentaxpj.c: In function 'dump_pbmfile':
pentaxpj.c:452:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  452 |   if (verbose)
      |   ^~
pentaxpj.c:454:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  454 |    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]
   83 |  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]
   92 |   write(lp,"\033~*\x00\x00",5);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pentaxpj.c:94:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   94 |  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]
  103 |  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]
  109 |  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]
  628 |   fgets( optbuf, 80, cfgf );
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
pentaxpj.c:702:4: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
  702 |    pipe(gspipe);
      |    ^~~~~~~~~~~~
pentaxpj.c:732:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
  732 |      pipe(catpipe);
      |      ^~~~~~~~~~~~~
pentaxpj.c:756:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  756 |         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.72878
+ 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/lib/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/lib/pentaxpj
+ ln -s /usr/lib/pentaxpj/pentaxsetup /usr/src/tmp/pentaxpj-buildroot/usr/sbin
+ ln -s /usr/lib/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/lib:
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)
verify-elf: WARNING: ./usr/lib/pentaxpj/pentaxpj: uses non-LFS functions: __fxstat fopen open
Hardlinking identical .pyc and .pyo files
Processing files: pentaxpj-1.0.0-alt2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.2193
+ 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.RjTeyS
find-provides: absolute symbolic link /usr/src/tmp/pentaxpj-buildroot/usr/bin/pentaxpj -> /usr/lib/pentaxpj/pentaxpj is not going to provide anything
find-provides: absolute symbolic link /usr/src/tmp/pentaxpj-buildroot/usr/sbin/pentaxsetup -> /usr/lib/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.pkfqcT
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks)
/usr/src/tmp/pentaxpj-buildroot/usr/lib/pentaxpj/pentaxsetup: line 6: syntax error near unexpected token `('
/usr/src/tmp/pentaxpj-buildroot/usr/lib/pentaxpj/pentaxsetup: line 6: `set settings(model) 0 ;# 0 = 300dpi , 1 = 200dpi'
shell.req: /usr/src/tmp/pentaxpj-buildroot/usr/lib/pentaxpj/pentaxsetup is wish script!
find-requires: FINDPACKAGE-COMMANDS: wish
Requires: /bin/sh, /lib/ld-linux.so.2, 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), libc.so.6(GLIBC_2.7), rtld(GNU_HASH), tk
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9tq3b4
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.egS5Ju
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.U21eee
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/lib/ld-linux.so.2.debug, debug(libc.so.6)
Wrote: /usr/src/RPM/RPMS/i586/pentaxpj-1.0.0-alt2.i586.rpm
Wrote: /usr/src/RPM/RPMS/i586/pentaxpj-debuginfo-1.0.0-alt2.i586.rpm
3.34user 0.51system 0:08.56elapsed 45%CPU (0avgtext+0avgdata 27368maxresident)k
0inputs+0outputs (0major+167418minor)pagefaults 0swaps
4.74user 2.53system 0:12.61elapsed 57%CPU (0avgtext+0avgdata 27368maxresident)k
0inputs+0outputs (0major+348388minor)pagefaults 0swaps