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
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
(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.
changing the configure doesnt mean the result actually works ive added 5.8.8 instead
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 ;-)
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
different issue; file new report
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