[Bug 267781] devel/xtensa-esp32-elf:

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 15 Nov 2022 12:25:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267781

            Bug ID: 267781
           Summary: devel/xtensa-esp32-elf:
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: leres@freebsd.org
          Reporter: ohartmann@walstatt.org
          Assignee: leres@freebsd.org
             Flags: maintainer-feedback?(leres@freebsd.org)

The port devel/xtensa-esp32-elf fails to build at least on recent CURRENT
(FreeBSD 14.0-CURRENT #101 main-n259201-1854fb8fd8ba: Mon Nov 14 12:42:36 CET
2022 amd64) with recent ports tree, compiling the port traditinally via make:


[...]
[INFO ]  Installing cross-gdb
[ERROR]   
/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/src/gdb-7.10/gdb/guile/scm-ports.c:231:47:
error: invalid use of incomplete typedef 'scm_t_port'
[...]
[ERROR]   
/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.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_TYPE'?
[...]
[ERROR]   
/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/src/gdb-7.10/gdb/guile/scm-ports.c:1090:41:
error: invalid use of incomplete typedef 'scm_t_port'
[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)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from:
do_debug_gdb_build[scripts/build/debug/300-gdb.sh@120]
[ERROR]  >>        called from: do_debug[scripts/build/debug.sh@35]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@646]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      'docs/B - Known issues.txt'
[ERROR]  
[ERROR]  (elapsed: 16:20.00)
gmake[1]: *** [ct-ng:152: build] Error 2
gmake[1]: Leaving directory
'/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5'
*** Error code 2

Stop.
make: stopped in /usr/ports/devel/xtensa-esp32-elf

-- 
You are receiving this mail because:
You are the assignee for the bug.