<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>91937</bug_id>
          
          <creation_ts>2005-05-08 14:11 0000</creation_ts>
          <short_desc>magicrescue can&apos;t find it&apos;s recipe files</short_desc>
          <delta_ts>2005-09-16 15:23:55 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>wormo@gentoo.org</reporter>
          <assigned_to>forensics@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>wormo@gentoo.org</who>
            <bug_when>2005-05-08 14:11:28 0000</bug_when>
            <thetext>magicrescue comes with some builtin &quot;recipes&quot; 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=&quot;ppc&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -mcpu=750 -pipe&quot;
CHOST=&quot;powerpc-unknown-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -mcpu=750 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache cvs digest distlocks keepwork maketest
sandbox sfperms strict test&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/cvsroot/gentoo-x86&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wormo@gentoo.org</who>
            <bug_when>2005-05-08 14:13:46 0000</bug_when>
            <thetext>Created an attachment (id=58396)
ebuild patch that sets the install prefix to /usr
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidov@complat.ru</who>
            <bug_when>2005-09-16 06:26:42 0000</bug_when>
            <thetext>The same problem.
Please add this patch to portage (it seems to resolve that issue).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-09-16 15:23:55 0000</bug_when>
            <thetext>Thanks Wormo and Yasha - sorry it took so long  </thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>58396</attachid>
            <date>2005-05-08 14:13 0000</date>
            <desc>ebuild patch that sets the install prefix to /usr</desc>
            <filename>magicrescue.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG1hZ2ljcmVzY3VlLTEuMS40LmVidWlsZAkyMDA1LTA1LTA4IDE0OjAxOjIwLjAwMDAwMDAw
MCAtMDcwMAorKysgbWFnaWNyZXNjdWUtMS4xLjQtcjEuZWJ1aWxkCTIwMDUtMDUtMDggMTM6NTA6
NDQuMjgwNjg5MTc2IC0wNzAwCkBAIC0xNyw3ICsxNyw3IEBACiAKIAogc3JjX2NvbXBpbGUoKSB7
Ci0JLi9jb25maWd1cmUgfHxkaWUgImZha2UgY29uZmlndXJlIHNjcmlwdCBmYWlsZWQiCisJLi9j
b25maWd1cmUgLS1wcmVmaXg9L3VzciB8fCBkaWUgImZha2UgY29uZmlndXJlIHNjcmlwdCBmYWls
ZWQiCiAKIAllbWFrZSBDQz0iJCh0Yy1nZXRDQykiIEdDQ19PUFQ9IiR7Q0ZMQUdTfSIgXAogCQl8
fCBkaWUgIm1ha2UgZmFpbGVkIgo=
</data>        

          </attachment>
    </bug>

</bugzilla>