[MacPorts] #70192: Error: Failed to build grace: command execution failed

MacPorts noreply at macports.org
Sun Jun 9 10:17:46 UTC 2024


#70192: Error: Failed to build grace: command execution failed
---------------------+--------------------
 Reporter:  GabiBes  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  grace
---------------------+--------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/70192>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list