Opened 5 years ago

Closed 5 years ago

#58855 closed defect (fixed)

gnucash 3.5: config error -> build failure on Mohave

Reported by: LenoreHorner Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: gnucash

Description (last modified by LenoreHorner)

Clean install of 10.14 upgraded to 10.14.6. Migration procedure followed. Xcode is 10.3. Ports have been installing fine up until gnucash. See attached logs.

I'm not using +quartz variant (no such variant is listed but I see several tickets about it). X11 is what I was aiming for.

I cleaned --all and tried again. Still failed in configure stage.

Attachments (3)

CMakeError.log (8.5 KB) - added by LenoreHorner 5 years ago.
CMake error log
CMakeOutput.log (99.5 KB) - added by LenoreHorner 5 years ago.
CMake output log
main.log (502.6 KB) - added by LenoreHorner 5 years ago.
main log

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by LenoreHorner

Attachment: CMakeError.log added

CMake error log

Changed 5 years ago by LenoreHorner

Attachment: CMakeOutput.log added

CMake output log

Changed 5 years ago by LenoreHorner

Attachment: main.log added

main log

comment:1 Changed 5 years ago by LenoreHorner

Description: modified (diff)

comment:3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to drkp
Status: newassigned
Summary: gnucash 3.5: config error -> build failure on Mohavegnucash @3.5: Unknown CMake command "check_symbol_exists"

gnucash 3.5 built successfully on our buildbot servers back in April. Presumably something has changed in one of its dependencies (cmake seems like the likely culprit) since then.

gnucash 3.6 is available upstream. Maybe updating to that would fix this problem.

comment:4 Changed 5 years ago by LenoreHorner

Summary: gnucash @3.5: Unknown CMake command "check_symbol_exists"gnucash 3.5: config error -> build failure on Mohave

Following Ken's link and adding include(CheckSymbolExists) near the top of my CMakeLists.txt (despite not Finding check_symbol_exists in the file) enabled configure to complete and gnucash to build. Something's not set right for the graphical interface, but that's a separate issue I expect.

comment:5 Changed 5 years ago by kencu (Ken)

comment:6 Changed 5 years ago by ken-cunningham-webuse

Resolution: fixed
Status: assignedclosed

In 718ad6cc2ea08fb03295ae3db72498258baf65e1/macports-ports (master):

gnucash: add missing cmake fix

closes: #58855

Note: See TracTickets for help on using tickets.