New ebuild for sys-fs/ext3grep recover deleted files on an ext3 file system It is a small but powerfull tool and will help people alot!
Created attachment 171210 [details] ext3grep-0.10.0.ebuild ext3grep-0.10.0.ebuild
Created attachment 171211 [details] files/gcc-4.3.patch gcc-4.3.patch
This is now in the sunrise overlay. You can find it at: http://overlays.gentoo.org/svn/proj/sunrise/reviewed/sys-fs/ext3grep
I get the following error compiling the release 0.10.1 (but it's the same with 0.10.0) with USE=-mmap load_meta_data.cc: In function `void load_inodes(int)': load_meta_data.cc:42: error: `load_meta_data' was not declared in this scope load_meta_data.cc:54: error: cannot convert `const Inode' to `void*' for argument `1' to `void* std::memcpy(void*, const void*, unsigned int)' make[3]: *** [ext3grep-load_meta_data.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/sys-fs/ext3grep-0.10.1/work/ext3grep-0.10.1/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-fs/ext3grep-0.10.1/work/ext3grep-0.10.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-fs/ext3grep-0.10.1/work/ext3grep-0.10.1' make: *** [all] Error 2 * * ERROR: sys-fs/ext3grep-0.10.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2297: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-fs:ext3grep-0.10.1:20090215-113152.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/ext3grep-0.10.1/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage-overlays/sunrise/' *
Created attachment 190926 [details] ext3grep-0.10.1.ebuild New version, no-mmap code seems to be broken, so disabling. If any sunrise dev reads this, feel free to commit it there.
(In reply to comment #5) > Created an attachment (id=190926) [edit] > ext3grep-0.10.1.ebuild > > New version, no-mmap code seems to be broken, so disabling. > > If any sunrise dev reads this, feel free to commit it there. > Its in sunrise, thanks for new ebuild.
Committed with some cleanups (didn't include libcwd support as this would've required another ebuild for a rarely used library, didn't include an option to disable largefile support as I saw no purpose in it), also advanced the patch for gcc 4.4.