[...] 362 | rpmSpecSrc ps; | ^~~~~~~~~~ rpm-specdump.c:363:22: warning: implicit declaration of function 'rpmSpecSrcIterNext' [-Wimplicit-function-declaration] 363 | while ((ps = rpmSpecSrcIterNext(si)) != NULL) { | ^~~~~~~~~~~~~~~~~~ rpm-specdump.c:363:46: warning: comparison between pointer and integer 363 | while ((ps = rpmSpecSrcIterNext(si)) != NULL) { | ^~ rpm-specdump.c:364:37: warning: implicit declaration of function 'rpmSpecSrcFlags' [-Wimplicit-function-declaration] 364 | const char *type = (rpmSpecSrcFlags(ps) & RPMBUILD_ISSOURCE) ? "SOURCE" : "PATCH"; | ^~~~~~~~~~~~~~~ rpm-specdump.c:364:59: error: 'RPMBUILD_ISSOURCE' undeclared (first use in this function); did you mean 'RPMBUILD_RMSOURCE'? 364 | const char *type = (rpmSpecSrcFlags(ps) & RPMBUILD_ISSOURCE) ? "SOURCE" : "PATCH"; | ^~~~~~~~~~~~~~~~~ | RPMBUILD_RMSOURCE rpm-specdump.c:364:59: note: each undeclared identifier is reported only once for each function it appears in rpm-specdump.c:365:48: warning: implicit declaration of function 'rpmSpecSrcNum' [-Wimplicit-function-declaration] 365 | printf("s %sURL%d %s\n", type, rpmSpecSrcNum(ps), rpmSpecSrcFilename(ps, 1)); | ^~~~~~~~~~~~~ rpm-specdump.c:365:67: warning: implicit declaration of function 'rpmSpecSrcFilename' [-Wimplicit-function-declaration] 365 | printf("s %sURL%d %s\n", type, rpmSpecSrcNum(ps), rpmSpecSrcFilename(ps, 1)); | ^~~~~~~~~~~~~~~~~~ rpm-specdump.c:365:36: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] 365 | printf("s %sURL%d %s\n", type, rpmSpecSrcNum(ps), rpmSpecSrcFilename(ps, 1)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | char * int | %d rpm-specdump.c:366:43: error: 'RPMBUILD_ISNO' undeclared (first use in this function); did you mean 'RPMBUILD_NONE'? 366 | if (rpmSpecSrcFlags(ps) & RPMBUILD_ISNO) { | ^~~~~~~~~~~~~ | RPMBUILD_NONE rpm-specdump.c:370:9: warning: implicit declaration of function 'rpmSpecSrcIterFree' [-Wimplicit-function-declaration] 370 | rpmSpecSrcIterFree(si); | ^~~~~~~~~~~~~~~~~~ make: *** [Makefile:14: rpm-specdump.o] Error 1 error: Bad exit status from /tmp/B.AJGKNp/BUILD/tmp/rpm-tmp.20229 (%build) RPM build errors: Bad exit status from /tmp/B.AJGKNp/BUILD/tmp/rpm-tmp.20229 (%build) ended at: Mon Jan 1 02:05:17 2024, done in 0:00:00.136494 error: No files produced. + chmod -R u+rwX /tmp/B.AJGKNp/BUILD + rm -rf /tmp/B.AJGKNp/tmp /tmp/B.AJGKNp/BUILD + rm -rf /tmp/B.AJGKNp Begin-TLD-Builder-Info Build-Time: user:0.37s sys:0.14s real:0.62s (faults io:0 non-io:43905) End-TLD-Builder-Info