First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 163349
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pierre Poissinger <pierre.poissinger@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
autogen-5.8.3.ebuild.patch patched ebuild to fix SCM version issue patch Pierre Poissinger 2007-01-22 22:24 0000 428 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 163349 depends on: Show dependency tree
Show dependency graph
Bug 163349 blocks: 163921
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)





View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-22 22:21 0000
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 From Pierre Poissinger 2007-01-22 22:24:42 0000 -------
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

------- Comment #2 From Erik Zeek 2007-01-24 04:32:30 0000 -------
(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 From SpanKY 2007-01-24 04:56:46 0000 -------
changing the configure doesnt mean the result actually works

ive added 5.8.8 instead

------- Comment #4 From Pierre Poissinger 2007-01-24 08:43:34 0000 -------
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 From Ryan Hill 2007-01-27 04:30:57 0000 -------
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 From SpanKY 2007-01-27 05:00:50 0000 -------
different issue; file new report

------- Comment #7 From Pierre Poissinger 2007-01-27 12:44:23 0000 -------
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

First Last Prev Next    No search results available      Search page      Enter new bug