Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163349 - sys-devel/autogen-5.8.3 configure breaks w/ dev-scheme/guile-1.8.1
Summary: sys-devel/autogen-5.8.3 configure breaks w/ dev-scheme/guile-1.8.1
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: guile-1.8
  Show dependency tree
 
Reported: 2007-01-22 22:21 UTC by Pierre Poissinger
Modified: 2007-01-27 12:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patched ebuild to fix SCM version issue (autogen-5.8.3.ebuild.patch,428 bytes, patch)
2007-01-22 22:24 UTC, Pierre Poissinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Poissinger 2007-01-22 22:21:28 UTC
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'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
Comment 1 Pierre Poissinger 2007-01-22 22:24:42 UTC
Created attachment 107848 [details, diff]
patched ebuild to fix SCM version issue

This should fix the SCM version issues by sed'ing the configure included tests
Comment 2 Erik Zeek 2007-01-24 04:32:30 UTC
(In reply to comment #1)
> Created an attachment (id=107848) [edit]
> patched ebuild to fix SCM version issue
> 
> This should fix the SCM version issues by sed'ing the configure included tests
> 

Works for me.
Comment 3 SpanKY gentoo-dev 2007-01-24 04:56:46 UTC
changing the configure doesnt mean the result actually works

ive added 5.8.8 instead
Comment 4 Pierre Poissinger 2007-01-24 08:43:34 UTC
As far as I could see this was working - Anyway, this new version has a 108 in the configure so it's even better for me  ;-)  
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2007-01-27 04:30:57 UTC
it'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 >&5
conftest.c: In function 'main':
conftest.c:14: warning: implicit declaration of function 'scm_makstr'
conftest.c:14: warning: assignment makes pointer from integer without a cast
conftest.c:15: warning: implicit declaration of function 'gh_eval_str'
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':
/var/tmp/portage/sys-devel/autogen-5.8.8/work/autogen-5.8.8/conftest.c:14: undefined reference to `scm_makstr'
/var/tmp/portage/sys-devel/autogen-5.8.8/work/autogen-5.8.8/conftest.c:15: undefined reference to `gh_eval_str'
collect2: ld returned 1 exit status
configure:25288: $? = 1
configure: failed program was:
| #include <guile/gh.h>
| #include <libguile/list.h>
| #if ((SCM_MAJOR_VERSION * 100) + SCM_MINOR_VERSION) > 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( "stumble" );
|   scm_misc_error( "oops", "bad", bumble );
|   stumble = scm_num_eq_p( fumble, bumble );
|   scm_wrong_type_arg( "oops", 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="threads -debug -debug-freelist -debug-malloc -deprecated -discouraged -elisp -networking -nls -regex" 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
Comment 6 SpanKY gentoo-dev 2007-01-27 05:00:50 UTC
different issue; file new report
Comment 7 Pierre Poissinger 2007-01-27 12:44:23 UTC
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