[MacPorts] #68848: R-lpSolveAPI broken on Sonoma: error: unknown type name 'Colamd_Row', 'Colamd_Col'
MacPorts
noreply at macports.org
Wed Dec 6 13:46:29 UTC 2023
#68848: R-lpSolveAPI broken on Sonoma: error: unknown type name 'Colamd_Row',
'Colamd_Col'
---------------------------+--------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: sonoma, arm64 | Port: R-lpSolveAPI
---------------------------+--------------------------
{{{
/opt/local/bin/clang-mp-15 -pipe -Os
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk
-arch arm64 -fPIC -I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk
-I../../inst/include
-I/opt/local/Library/Frameworks/R.framework/Resources/include
-DYY_NO_INPUT -DR_EMBEDDED_LPSOLVE -DYY_NEVER_INTERACTIVE -DPARSER_LP
-DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c colamd.c -o
colamd.o
colamd.c:772:5: error: unknown type name 'Colamd_Row'
Colamd_Row Row [],
^
colamd.c:773:5: error: unknown type name 'Colamd_Col'
Colamd_Col Col [],
^
colamd.c:783:5: error: unknown type name 'Colamd_Row'
Colamd_Row Row [],
^
colamd.c:784:5: error: unknown type name 'Colamd_Col'
Colamd_Col Col [],
^
colamd.c:798:5: error: unknown type name 'Colamd_Row'
Colamd_Row Row [],
^
colamd.c:799:5: error: unknown type name 'Colamd_Col'
Colamd_Col Col [],
^
colamd.c:810:5: error: unknown type name 'Colamd_Col'
Colamd_Col Col [],
^
colamd.c:822:5: error: unknown type name 'Colamd_Col'
Colamd_Col Col [],
^
colamd.c:833:5: error: unknown type name 'Colamd_Row'
Colamd_Row Row [],
^
colamd.c:834:5: error: unknown type name 'Colamd_Col'
Colamd_Col Col [],
^
colamd.c:842:5: error: unknown type name 'Colamd_Row'
Colamd_Row Row []
^
colamd.c:954:12: error: conflicting types for 'colamd_recommended'
PUBLIC int colamd_recommended /* returns recommended value of Alen. */
^
/opt/local/include/colamd.h:132:8: note: previous declaration is here
size_t colamd_recommended /* returns recommended value of Alen, */
^
colamd.c:963:13: warning: call to undeclared function
'COLAMD_RECOMMENDED'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
return (COLAMD_RECOMMENDED (nnz, n_row, n_col)) ;
^
colamd.c:1381:5: error: use of undeclared identifier 'Colamd_Row'
Colamd_Row *Row ; /* pointer into A of Row [0..n_row] array
*/
^
colamd.c:1381:17: error: use of undeclared identifier 'Row'
Colamd_Row *Row ; /* pointer into A of Row [0..n_row] array
*/
^
colamd.c:1382:5: error: use of undeclared identifier 'Colamd_Col'; did you
mean 'colamd_l'?
Colamd_Col *Col ; /* pointer into A of Col [0..n_col] array
*/
^~~~~~~~~~
colamd_l
/opt/local/include/colamd.h:169:18: note: 'colamd_l' declared here
SuiteSparse_long colamd_l /* returns (1) if successful, (0)
otherwise*/
^
colamd.c:1382:17: error: use of undeclared identifier 'Col'
Colamd_Col *Col ; /* pointer into A of Col [0..n_col] array
*/
^
colamd.c:1465:16: warning: call to undeclared function 'COLAMD_C'; ISO C99
and later do not support implicit function declarations [-Wimplicit-
function-declaration]
Col_size = COLAMD_C (n_col) ;
^
colamd.c:1466:16: warning: call to undeclared function 'COLAMD_R'; ISO C99
and later do not support implicit function declarations [-Wimplicit-
function-declaration]
Row_size = COLAMD_R (n_row) ;
^
colamd.c:1480:5: error: use of undeclared identifier 'Col'
Col = (Colamd_Col *) &A [Alen] ;
^
colamd.c:1480:24: error: expected expression
Col = (Colamd_Col *) &A [Alen] ;
^
colamd.c:1480:12: error: use of undeclared identifier 'Colamd_Col'; did
you mean 'colamd_l'?
Col = (Colamd_Col *) &A [Alen] ;
^~~~~~~~~~
colamd_l
/opt/local/include/colamd.h:169:18: note: 'colamd_l' declared here
SuiteSparse_long colamd_l /* returns (1) if successful, (0)
otherwise*/
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
}}}
Both our existing @5.5.2.0-17.10 and CRAN @5.5.2.0-17.11 fail.
--
Ticket URL: <https://trac.macports.org/ticket/68848>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list