I've discovered that if lang/guile2 in installed, building
devel/xtensa-esp32-elf breaks as follows:
[INFO ]  =================================================================
[INFO ]  Installing final gcc compiler
[INFO ]  Installing final gcc compiler: done in 345.00s (at 15:06)
[INFO ]  =================================================================
[INFO ]  Installing cross-gdb
[ERROR]    
/tank/obj/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-80-g6c4433a5/.build/src/gdb-7.10/gdb/guile/scm-ports.c:231:47:
 error: dereferencing pointer to incomplete type 'scm_t_port {aka struct 
scm_t_port}'
[ERROR]    
/tank/obj/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-80-g6c4433a5/.build/src/gdb-7.10/gdb/guile/scm-ports.c:681:19:
 error: 'SCM_PORT_NEITHER' undeclared (first use in this function); did you 
mean 'SCM_PORT_TYPE'?
[ERROR]    
/tank/obj/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-80-g6c4433a5/.build/src/gdb-7.10/gdb/guile/scm-ports.c:711:19:
 error: 'SCM_PORT_NEITHER' undeclared (first use in this function); did you 
mean 'SCM_PORT_TYPE'?
[ERROR]    
/tank/obj/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-80-g6c4433a5/.build/src/gdb-7.10/gdb/guile/scm-ports.c:790:24:
 error: 'SCM_PORT_WRITE' undeclared (first use in this function); did you mean 
'SCM_PORT_TYPE'?
[ERROR]    
/tank/obj/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-80-g6c4433a5/.build/src/gdb-7.10/gdb/guile/scm-ports.c:816:29:
 error: 'SCM_PORT_READ' undeclared (first use in this function); did you mean 
'SCM_PORT_WRITE'?
[ERROR]    gmake[4]: *** [Makefile:2469: scm-ports.o] Error 1
[ERROR]    gmake[3]: *** [Makefile:8755: all-gdb] Error 2
[ERROR]    gmake[2]: *** [Makefile:845: all] Error 2
[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing cross-gdb'
[ERROR]  >>        called in step '(top-level)'

Uninstalling guile2 fixes the problem.

I presume this is another case of autotools-induced breakage but it's
not clear how to fix it since in's presumable the autotools embedded
in the cross-gdb build that's broken.

-- 
Peter Jeremy

Attachment: signature.asc
Description: PGP signature

Reply via email to