devel/xtensa-esp32-elf build breaks if lang/guile2 installed

Peter Jeremy peter at rulingia.com
Fri Sep 6 23:53:18 UTC 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20190907/eae99a7e/attachment.sig>


More information about the freebsd-ports mailing list