Opened 3 months ago

Closed 3 months ago

#70192 closed defect (duplicate)

Error: Failed to build grace: command execution failed

Reported by: GabiBes Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: grace

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When I look into the log file I see:

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_grace/grace/work/grace-5.1.25" && /usr/bin/make -j8 -w all

When I tried to execute the command /usr/bin/make -j8 -w all in the appropriate directory I get the following (below). It looks to me like a bug in draw.c. Maybe it worked with older versions of the compiler. Can anyone help? Thank you.

/usr/bin/clang -pipe -O1 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64 -I../.. -I. -I../../Xbae -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -I/opt/local/include -DHAVE_CONFIG_H -DDRAW_RESIZE_SHADOW -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk  -c -o Draw.o Draw.c
Draw.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xbaeDrawCellPixmap(mw, row, column, x, y, pixmap, mask, width, height, bg,
^
Draw.c:237:40: error: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
xbaeDrawCellString(mw, row, column, x, y, string, bg, fg)
                                       ^
Draw.c:237:37: error: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
xbaeDrawCellString(mw, row, column, x, y, string, bg, fg)
                                    ^
Draw.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xbaeDrawCellString(mw, row, column, x, y, string, bg, fg)
^
Draw.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xbaeComputeCellColors(mw, row, column, fg, bg)
^
Draw.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xbaeDrawCell(mw, row, column)
^
Draw.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xbaeGetDrawCellValue(mw, row, column, string, pixmap, mask, width,
^
5 warnings and 2 errors generated.

Change History (1)

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

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Duplicate of #69877.

Note: See TracTickets for help on using tickets.