<?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>163349</bug_id>
          
          <creation_ts>2007-01-22 22:21 0000</creation_ts>
          <short_desc>sys-devel/autogen-5.8.3 configure breaks w/ dev-scheme/guile-1.8.1</short_desc>
          <delta_ts>2007-01-27 12:44:23 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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>163921</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>pierre.poissinger@gmail.com</reporter>
          <assigned_to>toolchain@gentoo.org</assigned_to>
          <cc>dirtyepic@gentoo.org</cc>
    
    <cc>zeekec@mad.scientist.com</cc>

      

      
          <long_desc isprivate="0">
            <who>pierre.poissinger@gmail.com</who>
            <bug_when>2007-01-22 22:21:28 0000</bug_when>
            <thetext>Doing a revdep-rebuild  (autogen was recompiled due to a breakage with libguile) configure script of autogen-5.8.3 breaks when testing for libguile with following error:
checking whether using shell scripts... yes
checking whether using autogen as a daemon... no
checking whether libguile can be linked with... no
configure: error: Cannot find working libguile

A re-emerge of dev-scheme/guile-1.8.1 didn&apos;t help

Reproducible: Always

Actual Results:  
autogen rebuild failed

Expected Results:  
autogen rebuilded

SCM version of autogen configure failed due to more recent guile version installed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pierre.poissinger@gmail.com</who>
            <bug_when>2007-01-22 22:24:42 0000</bug_when>
            <thetext>Created an attachment (id=107848)
patched ebuild to fix SCM version issue

This should fix the SCM version issues by sed&apos;ing the configure included tests</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zeekec@mad.scientist.com</who>
            <bug_when>2007-01-24 04:32:30 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; Created an attachment (id=107848) [edit]
&gt; patched ebuild to fix SCM version issue
&gt; 
&gt; This should fix the SCM version issues by sed&apos;ing the configure included tests
&gt; 

Works for me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-01-24 04:56:46 0000</bug_when>
            <thetext>changing the configure doesnt mean the result actually works

ive added 5.8.8 instead</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pierre.poissinger@gmail.com</who>
            <bug_when>2007-01-24 08:43:34 0000</bug_when>
            <thetext>As far as I could see this was working - Anyway, this new version has a 108 in the configure so it&apos;s even better for me  ;-)  </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2007-01-27 04:30:57 0000</bug_when>
            <thetext>it&apos;s still pooping out.

configure:25146: checking whether with-libguile was specified
configure:25153: result: no
configure:25172: checking whether with-libguile-cflags was specified
configure:25179: result: no
configure:25190: checking whether with-libguile-libs was specified
configure:25197: result: no
configure:25223: guile-config used for CFLAGS:  -pthread
configure:25230: guile-config used for LIBS: -pthread -lguile -lltdl  -Wl,-O1 -lgmp -lcrypt -lm -lltdl
configure:25249: checking whether libguile can be linked with
configure:25282: i686-pc-linux-gnu-gcc -std=gnu99 -o conftest -O2 -ggdb -march=prescott -fomit-frame-pointer -fno-ident -pipe   -pthread -Wl,-O1 conftest.c -ldl  -pthread -lguile -lltdl  -Wl,-O1 -lgmp -lcrypt -lm -lltdl &gt;&amp;5
conftest.c: In function &apos;main&apos;:
conftest.c:14: warning: implicit declaration of function &apos;scm_makstr&apos;
conftest.c:14: warning: assignment makes pointer from integer without a cast
conftest.c:15: warning: implicit declaration of function &apos;gh_eval_str&apos;
conftest.c:15: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/sys-devel/autogen-5.8.8/temp/cc28IrJt.o: In function `main&apos;:
/var/tmp/portage/sys-devel/autogen-5.8.8/work/autogen-5.8.8/conftest.c:14: undefined reference to `scm_makstr&apos;
/var/tmp/portage/sys-devel/autogen-5.8.8/work/autogen-5.8.8/conftest.c:15: undefined reference to `gh_eval_str&apos;
collect2: ld returned 1 exit status
configure:25288: $? = 1
configure: failed program was:
| #include &lt;guile/gh.h&gt;
| #include &lt;libguile/list.h&gt;
| #if ((SCM_MAJOR_VERSION * 100) + SCM_MINOR_VERSION) &gt; 108
| choke me
| #endif
| int main () {
|   SCM fumble = SCM_UNDEFINED;
|   SCM bumble = SCM_UNDEFINED;
|   SCM stumble= SCM_UNDEFINED;
|   long lstumble;
|   stumble = scm_cons( fumble, bumble );
|   stumble = scm_display( fumble, bumble );
|   lstumble = scm_ilength( fumble );
|   stumble = scm_makstr( 1, 2 );
|   stumble = gh_eval_str( &quot;stumble&quot; );
|   scm_misc_error( &quot;oops&quot;, &quot;bad&quot;, bumble );
|   stumble = scm_num_eq_p( fumble, bumble );
|   scm_wrong_type_arg( &quot;oops&quot;, 1, bumble );
|   return 0; }
configure:25323: result: no
configure:25344: error: Cannot find working libguile



root@tycho ~ # emerge -pv guile autogen

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-scheme/guile-1.8.1-r1  USE=&quot;threads -debug -debug-freelist -debug-malloc -deprecated -discouraged -elisp -networking -nls -regex&quot; 0 kB
[ebuild     U ] sys-devel/autogen-5.8.8 [5.8.3] 0 kB

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 kB
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-01-27 05:00:50 0000</bug_when>
            <thetext>different issue; file new report</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pierre.poissinger@gmail.com</who>
            <bug_when>2007-01-27 12:44:23 0000</bug_when>
            <thetext>FYI: The issue is linked with new guile 1.8.1-r1 . Broken guile 1.8.1 (with the econfigure not taking use flag in account and using defaults) works fine... 

For sure, autogen need deprecated flag on guile (and guile needs discouraged to compile with deprecated) but something else is needed from default configure, since autogen will seg fault during build using guile-r1 with only these flags... and not with default broken configure from 1.8.1 options...

Anyway, I re-close this one and let some else fill adequate bug report</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>107848</attachid>
            <date>2007-01-22 22:24 0000</date>
            <desc>patched ebuild to fix SCM version issue</desc>
            <filename>autogen-5.8.3.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9zeXMtZGV2ZWwvYXV0b2dlbi9hdXRvZ2VuLTUuOC4zLmVidWlsZAky
MDA3LTAxLTEwIDE5OjA2OjI5LjAwMDAwMDAwMCArMDEwMAorKysgYXV0b2dlbi01LjguMy5lYnVp
bGQJMjAwNy0wMS0yMiAyMzoxMDo0Mi4wMDAwMDAwMDAgKzAxMDAKQEAgLTIzLDYgKzIzLDkgQEAK
IAlzZWQgLWkgLWUgJ3M6cy8tZy8vOnMvLWdcXGIvLzonIGF1dG9vcHRzL3Rlc3QvaW1tZWRpYXRl
LnRlc3QgfHwKIAkJZGllICJzZWQgaW1tZWRpYXRlLnRlc3QgZmFpbGVkIgogCisJIyBCdW1wIFND
TSB2ZXJzaW9uCisgICAgc2VkIC1pICdzL1NDTV9NSU5PUl9WRVJTSU9OKSA+IDEwNy9TQ01fTUlO
T1JfVkVSU0lPTikgPiAxMDgvZycgY29uZmlndXJlIHx8CisJCWRpZSAic2VkIGNvbmZpZ3VyZSBm
YWlsZWQiCiB9CiAKIHNyY19jb21waWxlKCkgewo=
</data>        

          </attachment>
    </bug>

</bugzilla>