<?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>164842</bug_id>
          
          <creation_ts>2007-02-01 14:11 0000</creation_ts>
          <short_desc>sci-libs/libgeda-20061020 fails w/ guile-1.8.1-r1</short_desc>
          <delta_ts>2007-03-09 06:47:58 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>x86</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>
          
          <blocked>163921</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>jazzenco@fastwebnet.it</reporter>
          <assigned_to>sci-electronics@gentoo.org</assigned_to>
          <cc>gentoobugs@wonderclown.com</cc>

      

      
          <long_desc isprivate="0">
            <who>jazzenco@fastwebnet.it</who>
            <bug_when>2007-02-01 14:11:07 0000</bug_when>
            <thetext>libgeda fails during compile:

g_smob.c:53: error: syntax error before &quot;g_free_attrib_smob&quot;
g_smob.c: In function `g_free_attrib_smob&apos;:
g_smob.c:57: error: `scm_sizet&apos; undeclared (first use in this function)
g_smob.c:57: error: (Each undeclared identifier is reported only once
g_smob.c:57: error: for each function it appears in.)
g_smob.c:57: error: syntax error before &quot;size&quot;
g_smob.c:60: error: `size&apos; undeclared (first use in this function)
g_smob.c: In function `g_print_attrib_smob&apos;:

Don&apos;t mind line numbers (I added some).
I solved it adding:

     #define scm_sizet size_t

at the beginning. This definition is from /usr/include/libguile/deprecated.h.
My guile is  1.8.1-r1.
the deprecated.h is included by /usr/include/libguile.h but it is not used as the name suggests.


Reproducible: Always

Steps to Reproduce:
1.(emerge guile-1.8.1-r1)
2.emerge libgeda-20061020
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>calchan@gentoo.org</who>
            <bug_when>2007-03-03 13:36:12 0000</bug_when>
            <thetext>I have made geda depend on &lt;dev-scheme/guile-1.8 as there seems to be a general issue with guile-1.8.1. I will look at the solution you propose whew I&apos;m done with some urgent stuff. Although that won&apos;t solve the issue with libgeda, which geda depends on.

Thanks for your help.

Denis.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>calchan@gentoo.org</who>
            <bug_when>2007-03-03 14:36:12 0000</bug_when>
            <thetext>Ooops. Above I actually meant that it won&apos;t solve the issue with geda which is the only reason we have libgeda in the tree.

I will try and find some time to commit the latest version of geda/libgeda, let&apos;s hope this will be the proper fix to our guile issues.

Denis.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoobugs@wonderclown.com</who>
            <bug_when>2007-03-05 15:05:40 0000</bug_when>
            <thetext>I just build it successfully against guile-1.8.1-r3.  (I had to modify the ebuild to remove the &lt;guile1.8 requirement.)  This might be a difference between -r1 and -r3, but I have also noticed lots of weirdness with recent guile updates that are fixed by rebuilding everything guile-related after any guile update.  revdep-rebuild will often find the things that need to be rebuilt.  guile-1.8 also has various USE flags that should be activated.  I&apos;m guessing that the deprecated flag is probably important.  See the various bugs and changelogs on gnucash, which went through similar problems recently.  Here&apos;s my USE flags for guile:

[ebuild   R   ] dev-scheme/guile-1.8.1-r3  USE=&quot;deprecated discouraged nls regex -debug -debug-freelist -debug-malloc -elisp -networking -threads&quot; 0 kB
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>calchan@gentoo.org</who>
            <bug_when>2007-03-09 06:47:58 0000</bug_when>
            <thetext>It&apos;s fixed for good, now. Thanks for your bug report.

Note that for guile-1.8.1, having both &apos;deprecated&apos; and &apos;discouraged&apos; in your USE flags invalidates &apos;discouraged&apos;. See the new version of the ebuild for guile-1.8.1. This has no impact on geda and libgeda, though, as what we need is &apos;deprecated&apos;.

Now I will work on a version bump.

Denis.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>