#71233 closed defect (fixed)
opencascade @7.8.0: error: cannot initialize a variable of type 'const char *' with an rvalue of type 'unsigned char *'
| Reported by: | randymortensen (Randy Mortensen) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | sequoia | Cc: | Dave-Allured (Dave Allured) |
| Port: | opencascade |
Description
Installing kicad on sequoia 15.1 fails due to opencascade build failure. Using MacBook Pro 2021 with Apple M1 Pro, sequoia 15.1 and Xcode 16.1 main.log file attached
Seems caused by:
work/occt-V7_8_0/src/StdPrs/StdPrs_BRepFont.cxx:460:17: error: cannot initialize a variable of type 'const char *' with an rvalue of type 'unsigned char *' :info:build 460 | const char* aTags = &anOutline->tags[aStartIndex]; :info:build | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Attachments (1)
Change History (8)
Changed 19 months ago by randymortensen (Randy Mortensen)
| Attachment: | main.log.gz added |
|---|
comment:1 Changed 19 months ago by jmroot (Joshua Root)
| Owner: | set to MarcusCalhoun-Lopez |
|---|---|
| Status: | new → assigned |
comment:2 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
| Keywords: | sequoia added |
|---|---|
| Summary: | opencascade @7.8.0 build fail → opencascade @7.8.0: error: cannot initialize a variable of type 'const char *' with an rvalue of type 'unsigned char *' |
comment:3 Changed 17 months ago by Dave-Allured (Dave Allured)
| Cc: | Dave-Allured added |
|---|
comment:4 Changed 17 months ago by Dave-Allured (Dave Allured)
Tested latest upstream release, 7.8.1. Tested on CI. Got same error cannot initialize in same source file StdPrs_BRepFont.cxx. Same error on CI OS 13, 14, and 15.
comment:5 Changed 17 months ago by Dave-Allured (Dave Allured)
Has upstream report.
https://github.com/Open-Cascade-SAS/OCCT/discussions/48
Has upstream fix in master branch.
https://github.com/Open-Cascade-SAS/OCCT/pull/49
Looks like an easy one-line patch.
comment:6 Changed 17 months ago by Dave-Allured (Dave Allured)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

main.log