<?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>159454</bug_id>
          
          <creation_ts>2006-12-30 02:24 0000</creation_ts>
          <short_desc>app-misc/beagle automagic dependency on dev-dotnet/gsf-sharp w/ USE=&quot;-ole&quot;</short_desc>
          <delta_ts>2007-02-02 22:44:24 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>Applications</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://bugzilla.gnome.org/show_bug.cgi?id=396906</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>163958</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>phajdan.jr@gmail.com</reporter>
          <assigned_to>metalgod@gentoo.org</assigned_to>
          <cc>dsd@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>phajdan.jr@gmail.com</who>
            <bug_when>2006-12-30 02:24:35 0000</bug_when>
            <thetext>I ran emerge --depclean --ask which unmerged gsf-sharp among other packages. I ran revdep-rebuild and it reported no packages to rebuild. But beagled stopped working and printed error message that gsf-sharp is missing. The problem disappeared when I re-emerged app-misc/beagle.

IMO some message should be added to gsf-sharp ebuild (when it is unmerged) about possible need of re-emerging some packages depending on it, like beagle.

I set severity to minor, because the problem causes beagle to stop working and an easy workaround is present (re-emerging beagle).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-12-30 02:36:12 0000</bug_when>
            <thetext>Post the output of emerge -pv beagle, please... This is just wrong, see http://www.gentoo.org/proj/en/qa/automagic.xml</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phajdan.jr@gmail.com</who>
            <bug_when>2006-12-30 02:52:09 0000</bug_when>
            <thetext>$ emerge -pv app-misc/beagle # stripped unneeded output
[ebuild   R   ] app-misc/beagle-0.2.14  USE=&quot;pdf python thunderbird -chm -debug -doc -evo -galago -gtk -ole&quot; 0 kB</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>metalgod@gentoo.org</who>
            <bug_when>2006-12-30 09:17:29 0000</bug_when>
            <thetext>i&apos;m still not getting the point. I added gst# dependency for beagle 0.1.13 because there was a bug on the makefiles but the issue was fixed for 0.1.14 so only with OLE use it will use it. So you don&apos;t need gsf# if you don&apos;t have USE=ole.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phajdan.jr@gmail.com</who>
            <bug_when>2006-12-30 09:56:04 0000</bug_when>
            <thetext>metalgod: you are right that gsf is not needed with USE=&quot;-ole&quot; and beagle-0.2.14. That&apos;s why emerge --depclean removed it.

Now we have the issue: gsf-sharp was needed earlier, when I had beagle-0.2.13. At the time I upgraded to 0.2.14 gsf-sharp was not needed, but beagle&apos;s configure script detected presence of gsf-sharp and enabled support/dependency for it (automagic dependency).

When I removed gsf-sharp the problem appeared: support for gsf-sharp was enabled even when USE=&quot;-ole&quot; was set.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phajdan.jr@gmail.com</who>
            <bug_when>2006-12-30 10:27:03 0000</bug_when>
            <thetext>Created an attachment (id=104999)
Patch against beagle&apos;s configure.in

I made a little patch that fixes the automagic dependency on gsf-sharp in beagle&apos;s configure.in. I am not sure whether this patch is 100% correct (though it fixes the problem for me). After applying the patch eautoreconf should probably be called.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-12-30 15:13:47 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; Created an attachment (id=104999) [edit]
&gt; Patch against beagle&apos;s configure.in

23:08:33 &lt;@jakub&gt; Flameeyes: can you check this one, please? http://bugs.gentoo.org/attachment.cgi?id=104999&amp;action=view 
23:09:07 &lt;@Flameeyes&gt; sounds pretty much broken to me                                                                               
23:09:29 &lt;@Flameeyes&gt; a) there&apos;s no AC_HELP_STRING to comment the AC_ARG_ENABLE, and upstream probably won&apos;t accept that
23:09:37 &lt;@Flameeyes&gt; [remember: gentoo patches has to be upstreamable as much as we can]
23:09:50 &lt;@Flameeyes&gt; b) the enable_gsf_sharp is unneeded, as it&apos;s already set                                                     
23:10:11 &lt;@Flameeyes&gt; c) the PKG_CHECK_MODULES should only happen if the support was requested   
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2006-12-30 15:15:29 0000</bug_when>
            <thetext>Look at the configure flag for evo-sharp as an example as how it should be done
(it&apos;s ugly, but this is autoconf we&apos;re dealing with!)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phajdan.jr@gmail.com</who>
            <bug_when>2006-12-31 01:36:51 0000</bug_when>
            <thetext>Created an attachment (id=105028)
Updated patch

Thanks for your review.

&gt; a) there&apos;s no AC_HELP_STRING

Fixed.

&gt; b) the enable_gsf_sharp is unneeded, as it&apos;s already set  

I don&apos;t understand this one, so I don&apos;t know whether it&apos;s fixed in the updated patch or not.

&gt; c) the PKG_CHECK_MODULES should only happen if the support was requested 

Fixed.  </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>metalgod@gentoo.org</who>
            <bug_when>2007-01-15 02:39:23 0000</bug_when>
            <thetext>can you open an upstream bug and cc us too please ? The patch looks good but i&apos;m not sure if upstream will accept due gsf-sharp job.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phajdan.jr@gmail.com</who>
            <bug_when>2007-01-15 15:44:26 0000</bug_when>
            <thetext>(In reply to comment #9)
&gt; can you open an upstream bug and cc us too please ? The patch looks good but
&gt; i&apos;m not sure if upstream will accept due gsf-sharp job.

OK, opened bug report http://bugzilla.gnome.org/show_bug.cgi?id=396906

CC-ed you and dsd.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phajdan.jr@gmail.com</who>
            <bug_when>2007-01-16 19:25:50 0000</bug_when>
            <thetext>Upstream accepted the patch. Now we only have to wait for new version of beagle.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phajdan.jr@gmail.com</who>
            <bug_when>2007-01-26 20:20:33 0000</bug_when>
            <thetext>Added dependency on version bump bug (I assume this was the right thing to do). When beagle is bumped, this bug can be resolved as fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>metalgod@gentoo.org</who>
            <bug_when>2007-02-02 22:44:24 0000</bug_when>
            <thetext>this bug can be closed because the fix is in 0.2.15.1 now you&apos;ll have USE=&quot;ole&quot; enables gsf-sharp

Thanks for helping.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>104999</attachid>
            <date>2006-12-30 10:27 0000</date>
            <desc>Patch against beagle&apos;s configure.in</desc>
            <filename>patchfile</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGNvbmZpZ3VyZS5pbi5vbGQJMjAwNi0xMi0zMCAxODo1Njo0MC4wMDAwMDAwMDAgKzAxMDAK
KysrIGNvbmZpZ3VyZS5pbgkyMDA2LTEyLTMwIDE5OjA2OjIwLjAwMDAwMDAwMCArMDEwMApAQCAt
MzQ5LDcgKzM0OSwxNyBAQAogCiBkbmwgZ3NmLXNoYXJwCiAKLVBLR19DSEVDS19NT0RVTEVTKEdT
Rl9TSEFSUCwgZ3NmLXNoYXJwID49IDAuNSwgZW5hYmxlX2dzZl9zaGFycD15ZXMsIGVuYWJsZV9n
c2Zfc2hhcnA9bm8pCitBQ19BUkdfRU5BQkxFKFtnc2Ytc2hhcnBdLAorCVtdLAorCSBlbmFibGVf
Z3NmX3NoYXJwPSRlbmFibGV2YWwsCisJIGVuYWJsZV9nc2Zfc2hhcnA9YXV0bykKK1BLR19DSEVD
S19NT0RVTEVTKEdTRl9TSEFSUCwgZ3NmLXNoYXJwID49IDAuNSwgaGFzX2dzZl9zaGFycD15ZXMs
IGhhc19nc2Zfc2hhcnA9bm8pCitpZiB0ZXN0ICJ4JGhhc19nc2Zfc2hhcnAiID0gInhubyI7IHRo
ZW4KKwlpZiB0ZXN0ICJ4JGVuYWJsZV9nc2Zfc2hhcnAiID0gInh5ZXMiOyB0aGVuCisJCUFDX01T
R19FUlJPUihbZ3NmLXNoYXJwID49IDAuNSBub3QgZm91bmRdKQorCQllbmFibGVfZ3NmX3NoYXJw
PSJubyIKKwlmaQorZmkKIEFNX0NPTkRJVElPTkFMKEVOQUJMRV9HU0ZfU0hBUlAsIHRlc3QgIngk
ZW5hYmxlX2dzZl9zaGFycCIgPSAieHllcyIpCiBpZiB0ZXN0ICJ4JGVuYWJsZV9nc2Zfc2hhcnAi
ID0gInh5ZXMiOyB0aGVuCiAJQkVBR0xFX0RFRklORVM9IiRCRUFHTEVfREVGSU5FUyAtZGVmaW5l
OkVOQUJMRV9HU0ZfU0hBUlAiCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>105028</attachid>
            <date>2006-12-31 01:36 0000</date>
            <desc>Updated patch</desc>
            <filename>patchfile</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGNvbmZpZ3VyZS5pbi5vbGQJMjAwNi0xMi0zMCAxODo1Njo0MC4wMDAwMDAwMDAgKzAxMDAK
KysrIGNvbmZpZ3VyZS5pbgkyMDA2LTEyLTMxIDEwOjI1OjE0LjAwMDAwMDAwMCArMDEwMApAQCAt
MzQ5LDcgKzM0OSwyMCBAQAogCiBkbmwgZ3NmLXNoYXJwCiAKLVBLR19DSEVDS19NT0RVTEVTKEdT
Rl9TSEFSUCwgZ3NmLXNoYXJwID49IDAuNSwgZW5hYmxlX2dzZl9zaGFycD15ZXMsIGVuYWJsZV9n
c2Zfc2hhcnA9bm8pCitB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