Bug 91937 - magicrescue can't find it's recipe files
Bug#: 91937 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: forensics@gentoo.org Reported By: wormo@gentoo.org
Component: Ebuilds
URL: 
Summary: magicrescue can't find it's recipe files
Keywords:  
Status Whiteboard: 
Opened: 2005-05-08 14:11 0000
Description:   Opened: 2005-05-08 14:11 0000
magicrescue comes with some builtin "recipes" for finding files of various
types, but the install prefix is not being set correctly during build time so
it cannot find them.

Attached patch fixex this problem.

Reproducible: Always
Steps to Reproduce:
1.magicrescue -r jpeg-exif -d found_dir /dev/hda9
2.
3.

Actual Results:  
Program output:

Opening jpeg-exif: No such file or directory

and then it quit


Expected Results:  
The program should have started searching for jpeg files on the given partition

Portage 2.0.51.19 (default-linux/ppc/2004.3, gcc-3.4.1,
glibc-2.3.3.20040420-r2,
2.6.10-
gentoo-r6 ppc)
=================================================================
System uname: 2.6.10-gentoo-r6 ppc 750FX
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  7 2005, 00:43:07)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.7.9-r1, 1.4_p6, 1.9.4, 1.6.3
sys-devel/binutils:  2.15.90.0.3-r3
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=750 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=750 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs digest distlocks keepwork maketest
sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/cvsroot/gentoo-x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X berkdb bitmap-fonts cdr dvd emboss esd font-server fortran gd gdbm gif
gimpprint gpm gtk imagemagick imlib java jpeg junit libwww motif mp3 ncurses
pam
perl png ppc qt readline ruby ssl tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts unicode xml2 xprint xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Wormo 2005-05-08 14:13:46 0000 -------
Created an attachment (id=58396) [details]
ebuild patch that sets the install prefix to /usr

------- Comment #2 From Yasha Davidov 2005-09-16 06:26:42 0000 -------
The same problem.
Please add this patch to portage (it seems to resolve that issue).

------- Comment #3 From Daniel Black 2005-09-16 15:23:55 0000 -------
Thanks Wormo and Yasha - sorry it took so long