#32244 closed defect (fixed)

homebrew: csdp installation broken

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.4
Component: packages: optional Keywords:
Cc: dimpase Merged in:
Authors: Dima Pasechnik Reviewers: Matthias Koeppe
Report Upstream: N/A Work issues:
Branch: 37aedbf (Commits, GitHub, GitLab) Commit: 37aedbfcaca0d1480ef67261b0010a4424c384ce
Dependencies: Stopgaps:

Status badges


Prompted by https://groups.google.com/g/sage-support/c/2ufrP1M4mRs/m/bpMfD-oKBwAJ I tried to install csdp but ....

[csdp-6.2.p0] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DNOSHORTS -O2 -g -march=native -c easysdp.c  -fno-common -DPIC -o .libs/libsdp_la-easysdp.o
[csdp-6.2.p0] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DNOSHORTS -O2 -g -march=native -c writeprob.c  -fno-common -DPIC -o .libs/libsdp_la-writeprob.o
[csdp-6.2.p0] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DNOSHORTS -O2 -g -march=native -c solvesys.c  -fno-common -DPIC -o .libs/libsdp_la-solvesys.o
[csdp-6.2.p0] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DNOSHORTS -O2 -g -march=native -c makefill.c  -fno-common -DPIC -o .libs/libsdp_la-makefill.o
[csdp-6.2.p0] /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -DNOSHORTS  -O2 -g -march=native -c -o libsdp_la-linesearch.lo `test -f 'linesearch.c' || echo './'`linesearch.c
[csdp-6.2.p0] /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -DNOSHORTS  -O2 -g -march=native -c -o libsdp_la-matvec.lo `test -f 'matvec.c' || echo './'`matvec.c
[csdp-6.2.p0] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DNOSHORTS -O2 -g -march=native -c mat_multsp.c  -fno-common -DPIC -o .libs/libsdp_la-mat_multsp.o
[csdp-6.2.p0] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DNOSHORTS -O2 -g -march=native -c norms.c  -fno-common -DPIC -o .libs/libsdp_la-norms.o
[csdp-6.2.p0] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DNOSHORTS -O2 -g -march=native -c matvec.c  -fno-common -DPIC -o .libs/libsdp_la-matvec.o
[csdp-6.2.p0] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DNOSHORTS -O2 -g -march=native -c linesearch.c  -fno-common -DPIC -o .libs/libsdp_la-linesearch.o
[csdp-6.2.p0] easysdp.c:436:4: error: implicit declaration of function 'checkc' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
[csdp-6.2.p0]    checkc(n,C,printlevel);
[csdp-6.2.p0]    ^
[csdp-6.2.p0] easysdp.c:442:4: error: implicit declaration of function 'checkconstraints' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
[csdp-6.2.p0]    checkconstraints(n,k,C,constraints,printlevel);
[csdp-6.2.p0]    ^
[csdp-6.2.p0] 2 errors generated.
[csdp-6.2.p0] make[5]: *** [libsdp_la-easysdp.lo] Error 1

Change History (7)

comment:1 Changed 19 months ago by dimpase

Authors: Dima Pasechnik
Branch: u/dimpase/packages/csdp/fixclang
Commit: e5687266f18a26d411547ebbf345f854aa34a21c
Status: newneeds_review

New commits:

e568726patch for Apple's clang 12

comment:2 Changed 19 months ago by mkoeppe

Reviewers: Matthias Koeppe
Status: needs_reviewpositive_review

Thanks, this works.

comment:3 Changed 19 months ago by mkoeppe

Status: positive_reviewneeds_work

But there is another copy of the github.org URL in src/sage/features/csdp.py

comment:4 Changed 19 months ago by git

Commit: e5687266f18a26d411547ebbf345f854aa34a21c37aedbfcaca0d1480ef67261b0010a4424c384ce

Branch pushed to git repo; I updated commit sha1. New commits:

37aedbforg->com, http->https for cvxopt

comment:5 Changed 19 months ago by dimpase

Status: needs_workneeds_review

ok, hopefully it's all of these

comment:6 Changed 19 months ago by mkoeppe

Status: needs_reviewpositive_review

comment:7 Changed 19 months ago by vbraun

Branch: u/dimpase/packages/csdp/fixclang37aedbfcaca0d1480ef67261b0010a4424c384ce
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.