Powered by Parallel thinking. Your IP: 18.97.14.86 | recoverdm bf961014-b1d4-42e3-b5cb-0e39cfcfea98Toc:- mkbuilddir
Executing(%mkbuilddir): /bin/sh -e /tmp/B.314_buv4/BUILD/tmp/rpm-tmp.6x26Nt
- prep
Executing(%prep): /bin/sh -e /tmp/B.314_buv4/BUILD/tmp/rpm-tmp.ozRktk
- build
Executing(%build): /bin/sh -e /tmp/B.314_buv4/BUILD/tmp/rpm-tmp.lA2rSM
- error 1
dev.c:174:9: error: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
- error 2
recoverdm.c:184:43: error: passing argument 1 of ‘create_sector’ from incompatible pointer type [-Wincompatible-pointer-types]
- error 3
235 | error_exit("Internal error: no byte found!");
- error 4
419 | error_exit("Internal error: could not find the badblock \"we're in\".\n");
- error 5
error: Bad exit status from /tmp/B.314_buv4/BUILD/tmp/rpm-tmp.lA2rSM (%build)
- error 6
RPM build errors:
- error 7
error: No files produced.
Content:request from: arekm2
checking if we should skip the build
started at: Tue Mar 3 00:11:45 2026
killing old processes on a builder
sending signal 9 to pid -1
cleaning up /tmp
fetching https://srcbuilder.pld-linux.org/th//srpms/bf961014-b1d4-42e3-b5cb-0e39cfcfea98/recoverdm-0.20-2.src.rpm
fetched 24458 bytes, 153.0 K/s
installing srpm: recoverdm-0.20-2.src.rpm
+ install -d /tmp/B.314_buv4/BUILD /tmp/B.314_buv4/RPMS
+ LC_ALL=en_US.UTF-8
+ rpm -qp --changelog recoverdm-0.20-2.src.rpm
* Tue Mar 03 2026 PLD Linux Team <feedback@pld-linux.org>
- For complete changelog see: http://git.pld-linux.org/?p=packages/recoverdm.git;a=log;h=master
* Tue Mar 03 2026 Arkadiusz Miśkiewicz <arekm@maven.pl> b11d9c6 - Release 2 (by relup.sh)
* Tue Jul 15 2025 Arkadiusz Miśkiewicz <arekm@maven.pl> bc9e046 - Fix applying patches.
* Sat Mar 14 2009 duddits <duddits@pld-linux.org> 166c7d2 - up to 0.20
- nostrip.patch obsolete
- new, VERSION.patch merged from old nostrip.patch
* Sat Mar 14 2009 duddits <duddits@pld-linux.org> 7af15d9 - new, merged from the old nostrip.patch (as nostrip isn't there anyway)
* Sat Mar 14 2009 duddits <duddits@pld-linux.org> 01613f0 - obsolete
* Mon Feb 12 2007 Elan Ruusamäe <glen@pld-linux.org> 7d07cea - tabs in preamble
* Mon Feb 12 2007 Jan Rękorajski <baggins@pld-linux.org> 7ebf8cb - converted to UTF-8
* Tue Aug 01 2006 sparky <sparky@pld-linux.org> bac34f0 - pass rpmldflags
* Tue Aug 01 2006 sparky <sparky@pld-linux.org> 2e350c8 - updated to 0.19
* Tue Aug 01 2006 sparky <sparky@pld-linux.org> e265843 - updated
* Tue Sep 14 2004 darekr <darekr@pld-linux.org> 1669224 - updated to 0.17
* Tue Feb 17 2004 areq <areq@pld-linux.org> 49c2024 - 0.15
* Wed May 28 2003 Michal Moskal <michal@moskal.me> 5c28c0d - massive attack: source-md5
* Sun May 25 2003 misi3k <misi3k@pld-linux.org> d599b23 - massive attack s/pld.org.pl/pld-linux.org/
* Mon Feb 10 2003 Jakub Bogusz <qboosh@pld-linux.org> 95cf098 - removed redundant BR: kernel-headers (glibc-devel depends on its kh,
this package doesn't contain any kernel modules)
- added nostrip patch to avoid unconditional stripping during build
- use proper CC and CFLAGS
* Mon Feb 10 2003 Jakub Bogusz <qboosh@pld-linux.org> 6d778b3 - don't always strip during build
* Sat Feb 08 2003 grzegol <grzegol@pld-linux.org> 6d09f90 - new
+ rpm -Uhv --nodeps --define '_topdir /tmp/B.314_buv4' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' recoverdm-0.20-2.src.rpm
Updating / installing...
recoverdm-0.20-2 ########################################
+ rm -f recoverdm-0.20-2.src.rpm
+ install -m 700 -d /tmp/B.314_buv4/BUILD/tmp
+ TMPDIR=/tmp/B.314_buv4/BUILD/tmp
+ exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.314_buv4' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x32-pld-linux --define 'prep exit 0' /tmp/B.314_buv4/recoverdm.spec
Building target platforms: x32-pld-linux
Building for target x32-pld-linux
checking BuildConflict-ing packages
rpm: Building target platforms: x32-pld-linux
rpm: Building for target x32-pld-linux
no BuildConflicts found
checking BR
rpm: Building target platforms: x32-pld-linux
rpm: Building for target x32-pld-linux
no BR needed
building RPM using: set -ex; : build-id: bf961014-b1d4-42e3-b5cb-0e39cfcfea98; TMPDIR=/tmp/B.314_buv4/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.314_buv4' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x32-pld-linux /tmp/B.314_buv4/recoverdm.spec
+ : build-id: bf961014-b1d4-42e3-b5cb-0e39cfcfea98
+ TMPDIR=/tmp/B.314_buv4/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.314_buv4' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x32-pld-linux /tmp/B.314_buv4/recoverdm.spec
Building target platforms: x32-pld-linux
Building for target x32-pld-linux
Executing(%mkbuilddir): /bin/sh -e /tmp/B.314_buv4/BUILD/tmp/rpm-tmp.6x26Nt
Executing(%prep): /bin/sh -e /tmp/B.314_buv4/BUILD/tmp/rpm-tmp.ozRktk
+ umask 022
+ cd /tmp/B.314_buv4/BUILD/recoverdm-0.20-build
+ cd /tmp/B.314_buv4/BUILD/recoverdm-0.20-build
+ rm -rf recoverdm-0.20
+ /usr/lib/rpm/rpmuncompress -x /tmp/B.314_buv4/recoverdm-0.20.tgz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd recoverdm-0.20
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (recoverdm-VERSION.patch):'
Patch #0 (recoverdm-VERSION.patch):
+ </tmp/B.314_buv4/recoverdm-VERSION.patch
+ /usr/bin/patch -s -f -p1 '--fuzz=0'
+ RPM_EC=0
+ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /tmp/B.314_buv4/BUILD/tmp/rpm-tmp.lA2rSM
HOME=/home/users/builder
PATH=/home/users/builder/GNUstep/Tools:/bin:/usr/bin:/usr/local/bin
TMPDIR=/tmp/B.314_buv4/BUILD/tmp
+ umask 022
+ cd /tmp/B.314_buv4/BUILD/recoverdm-0.20-build
+ cd recoverdm-0.20
+ /usr/bin/make -Otarget -j28 'CC=/usr/bin/x86_64-pld-linux-gnux32-gcc' 'LDFLAGS=-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' 'CFLAGS=-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 -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -Wshadow -Wwrite-strings -Wconversion -Winline'
/usr/bin/x86_64-pld-linux-gnux32-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 -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -Wshadow -Wwrite-strings -Wconversion -Winline -c -o dev.o dev.c
dev.c: In function ‘read_raw_cd’:
dev.c:174:9: error: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
174 | memcpy(whereto, &pframe[12 + 4], 2048);
| ^~~~~~
dev.c:23:1: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
22 | #include "dev.h"
+++ |+#include <string.h>
23 |
dev.c:174:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
174 | memcpy(whereto, &pframe[12 + 4], 2048);
| ^~~~~~
dev.c:174:9: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
make: *** [<builtin>: dev.o] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/x86_64-pld-linux-gnux32-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 -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -Wshadow -Wwrite-strings -Wconversion -Winline -c -o recoverdm.o recoverdm.c
recoverdm.c: In function ‘lba_to_msf’:
recoverdm.c:55:27: warning: conversion from ‘off64_t’ {aka ‘long long int’} to ‘unsigned char’ may change value [-Wconversion]
55 | *minute = (lba + 150) / (60 * 75);
| ^
recoverdm.c:57:27: warning: conversion from ‘off64_t’ {aka ‘long long int’} to ‘unsigned char’ may change value [-Wconversion]
57 | *second = (lba + 150) / 75;
| ^
recoverdm.c:59:26: warning: conversion from ‘off64_t’ {aka ‘long long int’} to ‘unsigned char’ may change value [-Wconversion]
59 | *frame = (lba + 150);
| ^
recoverdm.c:63:27: warning: conversion from ‘off64_t’ {aka ‘long long int’} to ‘unsigned char’ may change value [-Wconversion]
63 | *minute = (lba + 450150) / (60 * 75);
| ^
recoverdm.c:65:27: warning: conversion from ‘off64_t’ {aka ‘long long int’} to ‘unsigned char’ may change value [-Wconversion]
65 | *second = (lba + 450150) / 75;
| ^
recoverdm.c:67:26: warning: conversion from ‘off64_t’ {aka ‘long long int’} to ‘unsigned char’ may change value [-Wconversion]
67 | *frame = (lba + 450150);
| ^
recoverdm.c: In function ‘create_sector’:
recoverdm.c:75:57: warning: passing argument 2 of ‘mymalloc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
75 | char *sector_out = (char *)mymalloc(block_size, "sector");
| ^~~~~~~~
In file included from recoverdm.c:13:
utils.h:1:36: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void * mymalloc(size_t size, char *what);
| ~~~~~~^~~~
recoverdm.c:107:53: warning: conversion from ‘int’ to ‘short int’ may change value [-Wconversion]
107 | chosen_byte_count = count[loop2];
| ^~~~~
recoverdm.c:108:47: warning: conversion from ‘int’ to ‘short int’ may change value [-Wconversion]
108 | chosen_byte = loop2;
| ^~~~~
recoverdm.c:126:44: warning: conversion from ‘short int’ to ‘char’ may change value [-Wconversion]
126 | sector_out[loop] = chosen_byte;
| ^~~~~~~~~~~
recoverdm.c:149:44: warning: conversion to ‘char’ from ‘unsigned char’ may change the sign of the result [-Wsign-conversion]
149 | sector_out[loop] = sectors[max_n_ok_index][loop];
| ^~~~~~~
recoverdm.c: In function ‘get_raw_cd’:
recoverdm.c:169:71: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
169 | char **sector_list = (char **)mymalloc(sizeof(char *) * n_raw_retries, "sectorlist");
| ^
recoverdm.c:169:88: warning: passing argument 2 of ‘mymalloc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
169 | char **sector_list = (char **)mymalloc(sizeof(char *) * n_raw_retries, "sectorlist");
| ^~~~~~~~~~~~
utils.h:1:36: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void * mymalloc(size_t size, char *what);
| ~~~~~~^~~~
recoverdm.c:174:74: warning: passing argument 2 of ‘mymalloc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
174 | sector_list[loop] = (char *)mymalloc(block_size, "sector");
| ^~~~~~~~
utils.h:1:36: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void * mymalloc(size_t size, char *what);
| ~~~~~~^~~~
recoverdm.c:184:43: error: passing argument 1 of ‘create_sector’ from incompatible pointer type [-Wincompatible-pointer-types]
184 | if (create_sector(sector_list, n_raw_retries, block_size, &dummy) == -1)
| ^~~~~~~~~~~
| |
| char **
recoverdm.c:71:35: note: expected ‘unsigned char **’ but argument is of type ‘char **’
71 | int create_sector(unsigned char **sectors, int n_sectors, size_t block_size, char **psector_out)
| ~~~~~~~~~~~~~~~~^~~~~~~
recoverdm.c: In function ‘main’:
recoverdm.c:235:36: warning: conversion from ‘int’ to ‘char’ may change value [-Wconversion]
235 | dev_type = atoi(optarg);
| ^~~~
recoverdm.c:256:37: warning: conversion from ‘int’ to ‘char’ may change value [-Wconversion]
256 | n_retries = atoi(optarg);
| ^~~~
recoverdm.c:262:36: warning: conversion from ‘int’ to ‘char’ may change value [-Wconversion]
262 | cd_speed = atoi(optarg);
| ^~~~
recoverdm.c:265:44: warning: conversion from ‘int’ to ‘char’ may change value [-Wconversion]
265 | n_raw_cd_retries = atoi(optarg);
| ^~~~
recoverdm.c:307:47: warning: passing argument 2 of ‘mymalloc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
307 | buffer = (char *)mymalloc(block_size, "sectorbuffer");
| ^~~~~~~~~~~~~~
utils.h:1:36: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void * mymalloc(size_t size, char *what);
| ~~~~~~^~~~
recoverdm.c:308:48: warning: passing argument 2 of ‘mymalloc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
308 | buffer2 = (char *)mymalloc(block_size, "sectorbuffer for retries");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
utils.h:1:36: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void * mymalloc(size_t size, char *what);
| ~~~~~~^~~~
recoverdm.c:445:91: warning: conversion to ‘size_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
445 | fprintf(dsecfile, "%lld %ld\n", curpos, block_size*skip_value);
| ^
recoverdm.c:445:67: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=]
445 | fprintf(dsecfile, "%lld %ld\n", curpos, block_size*skip_value);
| ~~^ ~~~~~~~~~~~~~~~~~~~~~
| | |
| long int size_t {aka unsigned int}
| %d
recoverdm.c:440:38: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
440 | char ok = 1;
| ^~
make: *** [<builtin>: recoverdm.o] Error 1
/usr/bin/x86_64-pld-linux-gnux32-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 -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -Wshadow -Wwrite-strings -Wconversion -Winline -c -o error.o error.c
/usr/bin/x86_64-pld-linux-gnux32-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 -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -Wshadow -Wwrite-strings -Wconversion -Winline -c -o io.o io.c
io.c: In function ‘READ’:
io.c:30:52: warning: passing argument 1 of ‘error_exit’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
30 | error_exit("unexpected error while reading: %s (%d)\n", strerror(errno), errno);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from io.c:12:
error.h:1:23: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void error_exit(char *format, ...);
| ~~~~~~^~~~~~
io.c:42:29: warning: conversion to ‘size_t’ {aka ‘unsigned int’} from ‘ssize_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
42 | len -= rc;
| ^~
io.c: In function ‘WRITE’:
io.c:75:29: warning: conversion to ‘size_t’ {aka ‘unsigned int’} from ‘ssize_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion]
75 | len -= rc;
| ^~
io.c: In function ‘phantom_write’:
io.c:132:39: warning: conversion to ‘size_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
132 | move_a_little -= rc;
| ^~
io.c:181:24: warning: conversion to ‘size_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
181 | nbytes -= rc;
| ^~
/usr/bin/x86_64-pld-linux-gnux32-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 -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -Wshadow -Wwrite-strings -Wconversion -Winline -c -o utils.o utils.c
utils.c: In function ‘mymalloc’:
utils.c:21:28: warning: passing argument 1 of ‘error_exit’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
21 | error_exit("failed to allocate %d bytes for %s\n", size, what);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from utils.c:15:
error.h:1:23: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void error_exit(char *format, ...);
| ~~~~~~^~~~~~
utils.c: In function ‘myrealloc’:
utils.c:30:28: warning: passing argument 1 of ‘error_exit’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
30 | error_exit("failed to reallocate to %d bytes for %s\n", newsize, what);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.h:1:23: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void error_exit(char *format, ...);
| ~~~~~~^~~~~~
utils.c: In function ‘get_filesize’:
utils.c:40:28: warning: passing argument 1 of ‘error_exit’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
40 | error_exit("Failed to retrieve length of file %s: %s (%d)\n", filename, strerror(errno), errno);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.h:1:23: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void error_exit(char *format, ...);
| ~~~~~~^~~~~~
In file included from utils.c:13:
utils.c: In function ‘copy_block’:
gen.h:1:25: warning: conversion from ‘off64_t’ {aka ‘long long int’} to ‘size_t’ {aka ‘unsigned int’} may change value [-Wconversion]
1 | #define min(x, y) ((x)<(y)?(x):(y))
| ^
utils.c:51:38: note: in expansion of macro ‘min’
51 | size_t sector_size = min(block_size, 512);
| ^~~
utils.c: In function ‘myseek’:
utils.c:78:28: warning: passing argument 1 of ‘error_exit’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
78 | error_exit("Failed to seek in file to offset %lld: %s (%d)\n", offset, strerror(errno), errno);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.h:1:23: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void error_exit(char *format, ...);
| ~~~~~~^~~~~~
/usr/bin/x86_64-pld-linux-gnux32-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 -fPIC -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wformat -Werror=format-security -Wall -Wshadow -Wwrite-strings -Wconversion -Winline -c -o mergebad.o mergebad.c
mergebad.c: In function ‘read_mapfile’:
mergebad.c:191:67: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
191 | bbs = (badblock *)myrealloc(bbs, sizeof(badblock) * (n_bb + 1), "badblocks list");
| ^
mergebad.c:191:81: warning: passing argument 3 of ‘myrealloc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
191 | bbs = (badblock *)myrealloc(bbs, sizeof(badblock) * (n_bb + 1), "badblocks list");
| ^~~~~~~~~~~~~~~~
In file included from mergebad.c:14:
utils.h:2:52: note: expected ‘char *’ but argument is of type ‘const char *’
2 | void * myrealloc(void *oldp, size_t newsize, char *what);
| ~~~~~~^~~~
mergebad.c:196:45: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int’ [-Wformat=]
196 | printf("%d] %lld %lld\n", n_bb, offset, block_size);
| ~~~^ ~~~~~~~~~~
| | |
| long long int int
| %d
mergebad.c: In function ‘select_most_occuring_byte’:
mergebad.c:228:41: warning: conversion from ‘int’ to ‘char’ may change value [-Wconversion]
228 | selected_byte = loop;
| ^~~~
mergebad.c:235:28: warning: passing argument 1 of ‘error_exit’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
235 | error_exit("Internal error: no byte found!");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mergebad.c:15:
error.h:1:23: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void error_exit(char *format, ...);
| ~~~~~~^~~~~~
mergebad.c: In function ‘main’:
mergebad.c:269:62: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
269 | imgs = myrealloc(imgs, sizeof(image) * (n_imgs + 1), "image structure");
| ^
mergebad.c:269:78: warning: passing argument 3 of ‘myrealloc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
269 | imgs = myrealloc(imgs, sizeof(image) * (n_imgs + 1), "image structure");
| ^~~~~~~~~~~~~~~~~
utils.h:2:52: note: expected ‘char *’ but argument is of type ‘const char *’
2 | void * myrealloc(void *oldp, size_t newsize, char *what);
| ~~~~~~^~~~
mergebad.c:318:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘off64_t’ {aka ‘long long int’} [-Wformat=]
318 | printf("Length set to: %d\n", length);
| ~^ ~~~~~~
| | |
| int off64_t {aka long long int}
| %lld
mergebad.c:413:65: warning: conversion to ‘size_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion]
413 | guess_bytes = (unsigned char *)mymalloc(n_imgs, "temp buffer for bytes from each image to select from");
| ^~~~~~
mergebad.c:413:73: warning: passing argument 2 of ‘mymalloc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
413 | guess_bytes = (unsigned char *)mymalloc(n_imgs, "temp buffer for bytes from each image to select from");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils.h:1:36: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void * mymalloc(size_t size, char *what);
| ~~~~~~^~~~
mergebad.c:419:44: warning: passing argument 1 of ‘error_exit’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
419 | error_exit("Internal error: could not find the badblock \"we're in\".\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.h:1:23: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void error_exit(char *format, ...);
| ~~~~~~^~~~~~
mergebad.c:441:44: warning: passing argument 1 of ‘error_exit’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
441 | error_exit("Number of \"bytes to guess\" less then 1!\n");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error.h:1:23: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void error_exit(char *format, ...);
| ~~~~~~^~~~~~
mergebad.c:449:50: warning: conversion from ‘off64_t’ {aka ‘long long int’} to ‘size_t’ {aka ‘unsigned int’} may change value [-Wconversion]
449 | output_buffer = mymalloc(n_to_guess, "guessed bytes");
| ^~~~~~~~~~
mergebad.c:449:62: warning: passing argument 2 of ‘mymalloc’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
449 | output_buffer = mymalloc(n_to_guess, "guessed bytes");
| ^~~~~~~~~~~~~~~
utils.h:1:36: note: expected ‘char *’ but argument is of type ‘const char *’
1 | void * mymalloc(size_t size, char *what);
| ~~~~~~^~~~
mergebad.c:472:66: warning: conversion from ‘off64_t’ {aka ‘long long int’} to ‘size_t’ {aka ‘unsigned int’} may change value [-Wconversion]
472 | if (phantom_write(fd_out, output_buffer, n_to_guess) != n_to_guess)
| ^~~~~~~~~~
mergebad.c: In function ‘read_mapfile’:
mergebad.c:189:17: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
189 | fscanf(fh, "%lld %d", &offset, &block_size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: Bad exit status from /tmp/B.314_buv4/BUILD/tmp/rpm-tmp.lA2rSM (%build)
RPM build errors:
Bad exit status from /tmp/B.314_buv4/BUILD/tmp/rpm-tmp.lA2rSM (%build)
ended at: Tue Mar 3 00:11:47 2026, done in 0:00:00.481273
error: No files produced.
+ chmod -R u+rwX /tmp/B.314_buv4/BUILD
+ rm -rf /tmp/B.314_buv4/tmp /tmp/B.314_buv4/BUILD
+ rm -rf /tmp/B.314_buv4
Begin-PLD-Builder-Info
Build-Time: user:1.64s sys:0.92s real:2.23s (faults io:1 non-io:128085)
End-PLD-Builder-Info
|
|