Powered by Unix conspiracy. Your IP: 18.97.14.85 | lslk dc54b8a7-f0cc-4bc1-8c77-9493b5914f5aToc:- error 1
main.c:48:1: error: return type defaults to ‘int’ [-Wimplicit-int]
- error 2
safe.c:86:24: error: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration]
- error 3
safe.c:208:30: error: too many arguments to function ‘r_fn’; expected 0, have 3
- error 4
safe.c:261:18: error: too many arguments to function ‘fn’; expected 0, have 3
- error 5
safe.c:386:39: error: passing argument 1 of ‘doinchild’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 6
safe.c:506:26: error: passing argument 1 of ‘doinchild’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 7
error: Bad exit status from /tmp/B.qvjp3hnv/BUILD/tmp/rpm-tmp.tw3goL (%build)
- error 8
RPM build errors:
- error 9
error: No files produced.
Content:- updated to 1.29.
* Sat Jun 16 2001 kloczek <kloczek@pld-linux.org> 198c387 - release 2.
* Mon Apr 30 2001 kloczek <kloczek@pld-linux.org> 0446615 - added using %%{rpmcflags} macro.
* Thu Jan 25 2001 Arkadiusz Miśkiewicz <arekm@maven.pl> a8d97c8 - Massive attack. We use -O0 instead -O flags while debug enabled.
* Tue Jan 23 2001 kloczek <kloczek@pld-linux.org> 32dc93c - updated to 1.28.
* Thu Dec 28 2000 Jan Rękorajski <baggins@pld-linux.org> 1d28400 - release 2
- fixed CFLAGS
* Sat Dec 23 2000 michuz <michuz@pld-linux.org> 4758aeb - changed %%{!?debug:...}%%{?debug...} to %%{?debug:...}%%{!?debug...}
(now it's more C like)
+ rpm -Uhv --nodeps --define '_topdir /tmp/B.qvjp3hnv' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' lslk-1.29-6.src.rpm
Updating / installing...
lslk-1.29-6 ########################################
+ rm -f lslk-1.29-6.src.rpm
+ install -m 700 -d /tmp/B.qvjp3hnv/BUILD/tmp
+ TMPDIR=/tmp/B.qvjp3hnv/BUILD/tmp
+ exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.qvjp3hnv' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'prep exit 0' /tmp/B.qvjp3hnv/lslk.spec
Building target platforms: i686-pld-linux
Building for target i686-pld-linux
warning: Could not canonicalize hostname: nereid
RPM build warnings:
Could not canonicalize hostname: nereid
checking BuildConflict-ing packages
rpm: Building target platforms: i686-pld-linux
rpm: Building for target i686-pld-linux
rpm: warning: Could not canonicalize hostname: nereid
rpm:
rpm: RPM build warnings:
rpm: Could not canonicalize hostname: nereid
no BuildConflicts found
checking BR
rpm: Building target platforms: i686-pld-linux
rpm: Building for target i686-pld-linux
rpm: warning: Could not canonicalize hostname: nereid
rpm:
rpm: RPM build warnings:
rpm: Could not canonicalize hostname: nereid
no BR needed
building RPM using: set -ex; : build-id: dc54b8a7-f0cc-4bc1-8c77-9493b5914f5a; TMPDIR=/tmp/B.qvjp3hnv/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '__jobs 28' --define '_smp_mflags -j28' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.qvjp3hnv' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.qvjp3hnv/lslk.spec
+ : build-id: dc54b8a7-f0cc-4bc1-8c77-9493b5914f5a
+ TMPDIR=/tmp/B.qvjp3hnv/BUILD/tmp
+ exec nice -n 0 rpmbuild -bb --define '__jobs 28' --define '_smp_mflags -j28' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.qvjp3hnv' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.qvjp3hnv/lslk.spec
Building target platforms: i686-pld-linux
Building for target i686-pld-linux
warning: Could not canonicalize hostname: nereid
Executing(%mkbuilddir): /bin/sh -e /tmp/B.qvjp3hnv/BUILD/tmp/rpm-tmp.DEIyYw
Executing(%prep): /bin/sh -e /tmp/B.qvjp3hnv/BUILD/tmp/rpm-tmp.RmoG9f
+ umask 022
+ cd /tmp/B.qvjp3hnv/BUILD/lslk-1.29-build
+ cd /tmp/B.qvjp3hnv/BUILD/lslk-1.29-build
+ rm -rf lslk
+ /bin/mkdir -p lslk
+ cd lslk
+ /usr/lib/rpm/rpmuncompress -x /tmp/B.qvjp3hnv/lslk_1.29_W.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ tar xf lslk_1.29.tar
+ >c.tmp
+ sed -e 's@test -r /proc/locks@true@' lslk_1.29/Configure
+ mv -f c.tmp lslk_1.29/Configure
+ chmod +x lslk_1.29/Configure
+ RPM_EC=0
+ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /tmp/B.qvjp3hnv/BUILD/tmp/rpm-tmp.tw3goL
TMP=/home/users/builder/tmp
HOME=/home/users/builder
PATH=/home/users/builder/GNUstep/Tools:/bin:/usr/bin:/usr/local/bin:/home/users/builder/bin
TMPDIR=/tmp/B.qvjp3hnv/BUILD/tmp
+ umask 022
+ cd /tmp/B.qvjp3hnv/BUILD/lslk-1.29-build
+ cd lslk
+ cd lslk_1.29
+ ./Configure -n linux
rm -f dmnt.c dlock.c dlock1.c dstore.c dlslk.h dproto.h kernelbase.h machine.h machine.h.old new_machine.h Makefile
ln -s dialects/linux/proc/dlock.c dlock.c
ln -s dialects/linux/proc/dmnt.c dmnt.c
ln -s dialects/linux/proc/dlslk.h dlslk.h
ln -s dialects/linux/proc/dproto.h dproto.h
ln -s dialects/linux/proc/machine.h machine.h
Makefile created.
+ /usr/bin/make -Otarget -j28 'DEBUG=-O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security '
Constructing version.h
gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -DLINUXV=61807 -c -o store.o store.c
gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -DLINUXV=61807 -c -o main.o main.c
main.c:48:1: error: return type defaults to ‘int’ [-Wimplicit-int]
48 | main(argc, argv)
| ^~~~
main.c: In function ‘main’:
main.c:48:1: warning: old-style function definition [-Wold-style-definition]
main.c: In function ‘comppid’:
main.c:278:1: warning: old-style function definition [-Wold-style-definition]
278 | comppid(a1, a2)
| ^~~~~~~
make: *** [<builtin>: main.o] Error 1
make: *** Waiting for unfinished jobs....
gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -DLINUXV=61807 -c -o safe.o safe.c
safe.c: In function ‘childx’:
safe.c:86:24: error: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration]
86 | (void) wait(NULL);
| ^~~~
safe.c: In function ‘doinchild’:
safe.c:119:1: warning: old-style function definition [-Wold-style-definition]
119 | doinchild(fn, fp, rbuf, rbln)
| ^~~~~~~~~
safe.c:208:30: error: too many arguments to function ‘r_fn’; expected 0, have 3
208 | rv = r_fn(r_arg, r_rbuf, r_rbln);
| ^~~~ ~~~~~
safe.c:261:18: error: too many arguments to function ‘fn’; expected 0, have 3
261 | rv = fn(fp, rbuf, rbln);
| ^~ ~~
safe.c: In function ‘dolstat’:
safe.c:279:1: warning: old-style function definition [-Wold-style-definition]
279 | dolstat(path, rbuf, rbln)
| ^~~~~~~
safe.c: In function ‘doreadlink’:
safe.c:296:1: warning: old-style function definition [-Wold-style-definition]
296 | doreadlink(path, rbuf, rbln)
| ^~~~~~~~~~
safe.c: In function ‘Exit’:
safe.c:310:1: warning: old-style function definition [-Wold-style-definition]
310 | Exit(xv)
| ^~~~
safe.c: In function ‘handleint’:
safe.c:330:1: warning: old-style function definition [-Wold-style-definition]
330 | handleint(sig)
| ^~~~~~~~~
safe.c: In function ‘Readlink’:
safe.c:342:1: warning: old-style function definition [-Wold-style-definition]
342 | Readlink(arg)
| ^~~~~~~~
safe.c:386:39: error: passing argument 1 of ‘doinchild’ from incompatible pointer type [-Wincompatible-pointer-types]
386 | if ((llen = doinchild(doreadlink, tbuf, lbuf, sizeof(lbuf) - 1))
| ^~~~~~~~~~
| |
| int (*)(char *, char *, int)
safe.c:120:15: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(char *, char *, int)’
120 | int (*fn)(); /* function to perform */
| ^~
safe.c:296:1: note: ‘doreadlink’ declared here
296 | doreadlink(path, rbuf, rbln)
| ^~~~~~~~~~
safe.c: In function ‘statsafely’:
safe.c:494:1: warning: old-style function definition [-Wold-style-definition]
494 | statsafely(path, buf)
| ^~~~~~~~~~
safe.c:506:26: error: passing argument 1 of ‘doinchild’ from incompatible pointer type [-Wincompatible-pointer-types]
506 | return(doinchild(dolstat, path, (char *)buf, sizeof(struct stat)));
| ^~~~~~~
| |
| int (*)(char *, char *, int)
safe.c:120:15: note: expected ‘int (*)(void)’ but argument is of type ‘int (*)(char *, char *, int)’
120 | int (*fn)(); /* function to perform */
| ^~
safe.c:279:1: note: ‘dolstat’ declared here
279 | dolstat(path, rbuf, rbln)
| ^~~~~~~
make: *** [<builtin>: safe.o] Error 1
gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -DLINUXV=61807 -c -o dlock.o dlock.c
dlock.c: In function ‘get_cmdnm’:
dlock.c:98:1: warning: old-style function definition [-Wold-style-definition]
98 | get_cmdnm(lp)
| ^~~~~~~~~
dlock.c: In function ‘print_dev’:
dlock.c:257:1: warning: old-style function definition [-Wold-style-definition]
257 | print_dev(lp)
| ^~~~~~~~~
dlock.c: In function ‘savelock’:
dlock.c:272:1: warning: old-style function definition [-Wold-style-definition]
272 | savelock(fp)
| ^~~~~~~~
gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -DLINUXV=61807 -c -o dmnt.o dmnt.c
dmnt.c: In function ‘get_fields’:
dmnt.c:56:1: warning: old-style function definition [-Wold-style-definition]
56 | get_fields(ln, sep, fr)
| ^~~~~~~~~~
gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -DLINUXV=61807 -c -o arg.o arg.c
arg.c: In function ‘enter_nwad’:
arg.c:60:1: warning: old-style function definition [-Wold-style-definition]
60 | enter_nwad(opt)
| ^~~~~~~~~~
arg.c: In function ‘enter_pid’:
arg.c:129:1: warning: old-style function definition [-Wold-style-definition]
129 | enter_pid(opt)
| ^~~~~~~~~
arg.c: In function ‘isnullstr’:
arg.c:198:1: warning: old-style function definition [-Wold-style-definition]
198 | isnullstr(s)
| ^~~~~~~~~
arg.c: In function ‘usage’:
arg.c:217:1: warning: old-style function definition [-Wold-style-definition]
217 | usage(xv)
| ^~~~~
gcc -O2 -fwrapv -pipe -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -DLINUXV=61807 -c -o misc.o misc.c
misc.c: In function ‘get_haddr’:
misc.c:143:1: warning: old-style function definition [-Wold-style-definition]
143 | get_haddr(ty, hn, a, err)
| ^~~~~~~~~
misc.c: In function ‘is_readable’:
misc.c:296:1: warning: old-style function definition [-Wold-style-definition]
296 | is_readable(path, msg)
| ^~~~~~~~~~~
misc.c: In function ‘print_lock_info’:
misc.c:314:1: warning: old-style function definition [-Wold-style-definition]
314 | print_lock_info(sp)
| ^~~~~~~~~~~~~~~
misc.c:413:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=]
413 | (void) printf("%-*.*s %*d %*s %*ld ",
| ~~^
| |
| int
| %*ld
414 | srcl, srcl, src,
415 | pidl, lp->pid,
| ~~~~~~~
| |
| long unsigned int
error: Bad exit status from /tmp/B.qvjp3hnv/BUILD/tmp/rpm-tmp.tw3goL (%build)
RPM build warnings:
Could not canonicalize hostname: nereid
RPM build errors:
Bad exit status from /tmp/B.qvjp3hnv/BUILD/tmp/rpm-tmp.tw3goL (%build)
ended at: Tue Mar 3 00:16:22 2026, done in 0:00:00.610011
error: No files produced.
+ chmod -R u+rwX /tmp/B.qvjp3hnv/BUILD
+ rm -rf /tmp/B.qvjp3hnv/tmp /tmp/B.qvjp3hnv/BUILD
+ rm -rf /tmp/B.qvjp3hnv
Begin-PLD-Builder-Info
Build-Time: user:2.07s sys:1.01s real:2.54s (faults io:0 non-io:143092)
End-PLD-Builder-Info
|
|