<?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>164039</bug_id>
          
          <creation_ts>2007-01-27 11:45 0000</creation_ts>
          <short_desc>app-misc/beagle-0.2.14 has wrong paths in /etc/cron.daily/beagle-crawl-system</short_desc>
          <delta_ts>2007-02-07 19:09:29 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>All</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>graaff@gentoo.org</reporter>
          <assigned_to>metalgod@gentoo.org</assigned_to>
          <cc>cbm@m.fsf.org</cc>
    
    <cc>dsd@gentoo.org</cc>
    
    <cc>maxima.bugs@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>graaff@gentoo.org</who>
            <bug_when>2007-01-27 11:45:19 0000</bug_when>
            <thetext>I just upgraded from beagle 0.2.7 to 0.2.14 and noticed that the paths in /etc/cron.daily/beagle-crawl-system are incorrect. They now refer to /usr/local/etc instead of /etc. Included is the diff that dispatch-conf showed me:

@@ -36,7 +36,7 @@
 MONO_SHARED_DIR=`mktemp -d -p $TMPDIR .beagleindexwapi.XXXXXXXXXX`|| ( echo &quot;Can&apos;t create wapi directory!&quot; ; 
exit 1 )
 chown $CRAWL_USER $MONO_SHARED_DIR
 
-for crawl_file in /etc/beagle/crawl-*; do 
+for crawl_file in /usr/local/etc/beagle/crawl-*; do 
     unset CRAWL_ENABLED CRAWL_DISABLE_FILTERING CRAWL_RECURSIVE CRAWL_CACHE_TEXT CRAWL_ALLOW_PATTERNS CRAWL_D
ENY_PATTERNS CRAWL_PATHS CRAWL_INDEX_NAME
 
     if [ -f $crawl_file ] ; then


@@ -64,7 +67,7 @@
                 IONICE=&quot;$IONICE -c 3&quot;
             fi
 
-           eval nice -n 19 $IONICE su -s /bin/bash $CRAWL_USER -c \&quot;MONO_SHARED_DIR=$MONO_SHARED_DIR /usr/sbi
n/beagle-build-index --target /var/lib/cache/beagle/indexes/$CRAWL_INDEX_NAME $OPTIONS $CRAWL_PATHS\&quot; &gt; /dev/n
ull 2&gt;&amp;1
+           eval nice -n 19 $IONICE su -s /bin/bash $CRAWL_USER -c \&quot;MONO_SHARED_DIR=$MONO_SHARED_DIR /usr/loc
al/sbin/beagle-build-index --target /usr/local/var/cache/beagle/indexes/$CRAWL_INDEX_NAME $OPTIONS $CRAWL_PATH
S\&quot; &gt; /dev/null 2&gt;&amp;1
        fi
     fi
 done


Reproducible: Always

Steps to Reproduce:
1. install beagle 0.2.14
2. watch cron emit errors daily
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-27 11:47:15 0000</bug_when>
            <thetext>Delete the file, not used any more.

*** This bug has been marked as a duplicate of bug 138119 ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>graaff@gentoo.org</who>
            <bug_when>2007-01-27 11:57:34 0000</bug_when>
            <thetext>I&apos;m sorry, but this is not a duplicate of bug 138119. That bug talks about issues with an old file that was not removed. This bug is about wrong paths in a file that beagle 0.2.14 installs. I&apos;ve just confirmed with &quot;ebuild beagle-0.2.14 install&quot; that this version of beagle installs the file with the wrong path.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-01-27 12:03:37 0000</bug_when>
            <thetext>Shrug; as far as I can see it doesn&apos;t install any cronjob whatsoever. Won&apos;t compile the tons of dotnet cruft to verify this.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>graaff@gentoo.org</who>
            <bug_when>2007-01-27 12:56:11 0000</bug_when>
            <thetext>It&apos;s installed by the package itself (in tools/Makefile). The file is shipped by upstream with the /usr/local paths and not properly re-generated after running configure.

Punting tools/beagle-crawl-system after unpacking seems to work for me, although it may be better to understand why it didn&apos;t get re-generated in the first place.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cbm@m.fsf.org</who>
            <bug_when>2007-01-27 22:52:17 0000</bug_when>
            <thetext>can confirm and agree its not a dup of bug #138119.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>graaff@gentoo.org</who>
            <bug_when>2007-01-27 23:20:31 0000</bug_when>
            <thetext>Filed upstream as http://bugzilla.gnome.org/show_bug.cgi?id=401504</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>graaff@gentoo.org</who>
            <bug_when>2007-02-01 07:39:36 0000</bug_when>
            <thetext>Fixed upstream in SVN by not including the pre-built beagle-crawl-system file, so that it is always generated during the build process. So my work-around in comment #4 is actually the correct fix. :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>metalgod@gentoo.org</who>
            <bug_when>2007-02-02 22:25:42 0000</bug_when>
            <thetext>i added the upstream fix to our ebuild. so we can close this bug.
Thanks for your bug report!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>metalgod@gentoo.org</who>
            <bug_when>2007-02-02 23:00:49 0000</bug_when>
            <thetext>ok this isn&apos;t really fixed now using a patched makefile from the upstream svn it appears for crawl_file in /home/joe/build/beagle/etc/beagle/crawl-*;
Are you sure it&apos;s really fixed for you ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>graaff@gentoo.org</who>
            <bug_when>2007-02-03 09:31:55 0000</bug_when>
            <thetext>I&apos;m seeing the same thing with beagle-0.2.15.1. I think you only applied part of the patch: the Makefile changes are one part, but the other part is to remove the beagle-crawl-system file. The gnome svn viewer doesn&apos;t really show this, but that is what I infer from the log message for the revision: http://svn.gnome.org/viewcvs/beagle?view=rev&amp;rev=3357

I think if you just punt the file the Makefile patch is not even needed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>metalgod@gentoo.org</who>
            <bug_when>2007-02-07 19:09:29 0000</bug_when>
            <thetext>fixed in 0.2.16 that is in cvs that why i didn&apos;t fixed this before. This release will it stable asap.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>