sys-fs/dd-rescue-1.46 fails to build on my system, maybe a new issue related to the switch to gcc.7.3, which seems to be stricter. Reproducible: Always Steps to Reproduce: 1. emerge -uv sys-fs/dd-rescue Actual Results: dd_rescue.c:312:9: warning: 'fmt_int' is static but used in inline function 'fmt_kiB' which is not static return fmt_int(0, 1, 1024, no, (col? BOLD: ""), (col? NORM: ""), 1); ^~~~~~~ /tmp/portage/sys-fs/dd-rescue-1.46/temp/ccn63StJ.o: In function `sanitize_and_prepare': /tmp/portage/sys-fs/dd-rescue-1.46/work/dd_rescue/dd_rescue.c:2750: undefined reference to `fmt_kiB' /tmp/portage/sys-fs/dd-rescue-1.46/temp/ccn63StJ.o: In function `main': /tmp/portage/sys-fs/dd-rescue-1.46/work/dd_rescue/dd_rescue.c:2878: undefined reference to `fmt_kiB' collect2: error: ld returned 1 exit status make: *** [Makefile:204: dd_rescue] Error 1 * ERROR: sys-fs/dd-rescue-1.46::gentoo failed (compile phase): * emake failed
Created attachment 522426 [details, diff] patch to fix the build error described above this little patch made it work for me
Why do you mix stable dd-rescue with unstable gcc? Unstable dd-rescue builds fine with gcc-7.3 so I don't see any reason to patch the stable version.