Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#69336 closed defect (fixed)

gnome-chemistry-utils @0.14.17_1: error: cannot initialize a member subobject of type 'GnmFuncFlags' with an rvalue of type 'long'

Reported by: isolated-matrix Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc:
Port: gnome-chemistry-utils

Description

As the title suggests, gnome-chemistry-utils fails to build. It appears that the port has not been updated for some time, and the port health appears to be quite poor for all versions of macOS listed here: https://ports.macports.org/port/gnome-chemistry-utils/details/

The final few lines of the main.log file read:

:info:build Exit code: 2
:error:build Failed to build gnome-chemistry-utils: command execution failed
:debug:build Error code: CHILDSTATUS 56457 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

I suspect that the developers are no longer active, as their last post on their website was in 2016. Hoping someone can find a fix, because it sounds like a very useful port.

Attachments (1)

main.log (1.7 MB) - added by isolated-matrix 9 months ago.
log file

Download all attachments as: .zip

Change History (5)

Changed 9 months ago by isolated-matrix

Attachment: main.log added

log file

comment:1 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: gnome-chemistry-utils @0.14.17_1: fails to buildgnome-chemistry-utils @0.14.17_1: error: cannot initialize a member subobject of type 'GnmFuncFlags' with an rvalue of type 'long'

The first error in your log is:

:info:build functions.cc:198:46: error: cannot initialize a member subobject of type 'GnmFuncFlags' with an rvalue of type 'long'
:info:build                         help_molarmass, gnumeric_molarmass, NULL, NULL, NULL,
:info:build                                                                   ^~~~
:info:build /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/stddef.h:84:18: note: expanded from macro 'NULL'
:info:build #    define NULL __null
:info:build                  ^~~~~~

Since the buildbot logs had expired I reran builds on macOS 10.14, 10.15, and 11, and they all had the same error.

comment:2 in reply to:  description Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Status: newaccepted

Replying to isolated-matrix:

I suspect that the developers are no longer active,

Looking in their issue tracker, I found this which contains a fix for this issue which I will add to this port but it also says "the project is dead anyway since my retirement from professional life."

comment:3 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 00e5ad18fda27d1675cd675fda7a5ffeef8d252c/macports-ports (master):

gnome-chemistry-utils: Fix build with gnumeric >= 1.12.42

Closes: #69336

comment:4 Changed 9 months ago by isolated-matrix

Thank you for looking at this so soon! Unfortunately, the same error is popping up. I have tried cleaning and reinstalling, but no luck. Is there anything else that might be causing the issue? The version I have of gnumeric installed is @1.12.55 - could it be that it's too new?

Note: See TracTickets for help on using tickets.