Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 2019 09:52:49 +1000
From:      Peter Jeremy <peter@rulingia.com>
To:        leres@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   devel/xtensa-esp32-elf build breaks if lang/guile2 installed
Message-ID:  <20190906235249.GB6256@server.rulingia.com>

next in thread | raw e-mail | index | archive | help

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I've discovered that if lang/guile2 in installed, building
devel/xtensa-esp32-elf breaks as follows:
[INFO ]  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[INFO ]  Installing final gcc compiler
[INFO ]  Installing final gcc compiler: done in 345.00s (at 15:06)
[INFO ]  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[INFO ]  Installing cross-gdb
[ERROR]    /tank/obj/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.2=
2.0-80-g6c4433a5/.build/src/gdb-7.10/gdb/guile/scm-ports.c:231:47: error: d=
ereferencing 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.2=
2.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 'SC=
M_PORT_TYPE'?
[ERROR]    /tank/obj/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.2=
2.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 'SC=
M_PORT_TYPE'?
[ERROR]    /tank/obj/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.2=
2.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.2=
2.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_P=
ORT_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] =20
[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.

--=20
Peter Jeremy

--ew6BAiZeqk4r7MaW
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAl1y8UtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF
QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi
CzSOjw//WCW+DWF9LGzhV6PZw4RntQvMq2NpAGTIfTUvVxmwxjvwkXsykmqnAuY6
riQw1g+b7Z33WFzFmIfIA2ltP5MvjObVq2CenuwC8LGwHja7piGe0/kX+yyUWIWA
M26kHTBuJRmFCMRYsHwSaIk293Z5fl1ybPIyDbmS2YK+w7lhR9zwzTMZ6fCjlboq
8nnL0UiRSVL3o7HvsxEgQTLqML4dYcgVoMW93q1/Ul/fOSQOh536UnWb55QxTL3l
8f7OIKRwr9hmeOKBhoV70DErYP9u+ThJuTEr3OpGfLC7dvv/pVV6zr6GO/GvsANG
uTCZHeFBG32GLMvXzQ3UNLPJv67Vc8lQbEq4zku/2k0u8Qd1HiYu5zaTg3PQLPJo
Z4RTAZqpWfEk7J165uE6FKk8g/QJVpo44zXm/fCSkkc27+5QU8wv0dmoQOGZGH5V
Z7Ab9JUUUaeP0Xm/M982D81TFHYKdhIG9Upf0BUn8QZ++2j4lDfQc8Dj+iOG8NrT
meHxHkqiZI/GWmzyT6iBBcAwYCUlKh5+/+h4ZwuRGOwECWdcQsWNhCveeD/iSZ9r
hRHGx4Us6d7pgy1phQxhXBBfmJ0K8yVb9HDc0xQC7ZQWthieDO7SZM6sTCPgtfyr
EyPTHAcVW4guqS6sYBNVOkPxNY1wHZgqzg0ngd95td7YFiymBoA=
=99Ur
-----END PGP SIGNATURE-----

--ew6BAiZeqk4r7MaW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190906235249.GB6256>