Opened 2 months ago

Last modified 2 months ago

#74229 assigned defect

py27-scipy @1.2.3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]

Reported by: jjfPCSI1 (Jean-Julien Joseph Fleck) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.12.5
Keywords: Cc:
Port: py27-scipy

Description

Even after a selfupdate, an upgrade and a clean, I get the following error

--->  Building py27-scipy
Error: Failed to build py27-scipy: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py27-scipy/py27-scipy/main.log for details.

main.log file attached.

There are a lot of warning but only one error I could spot in there:

:info:build clang: scipy/sparse/linalg/dsolve/SuperLU/SRC/dreadhb.c
:info:build scipy/sparse/linalg/dsolve/SuperLU/SRC/sutil.c:474:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
:info:build   474 | print_float_vec(char *what, int n, float *vec)
:info:build       | ^
:info:build       | int

Attachments (1)

main.log (595.3 KB) - added by jjfPCSI1 (Jean-Julien Joseph Fleck) 2 months ago.

Download all attachments as: .zip

Change History (5)

Changed 2 months ago by jjfPCSI1 (Jean-Julien Joseph Fleck)

Attachment: main.log added

comment:1 Changed 2 months ago by jmroot (Joshua Root)

Owner: set to michaelld
Status: newassigned

comment:2 Changed 2 months ago by reneeotten (Renee Otten)

I tried downgrading the errors to warnings again in recent OSes but without much luck so far.

Having said that, this version is EOL for about 6 years now so you shouldn’t really expect too much effort in keeping this functional. Why do you still need it, is there now way you can use a supported PY3 version?

Last edited 2 months ago by reneeotten (Renee Otten) (previous) (diff)

comment:3 Changed 2 months ago by jjfPCSI1 (Jean-Julien Joseph Fleck)

Thanks for looking into it. I didn't realize it haf been EOL for so long as I didn't change my computer in a long time so the old version was ok.

I just used an LLM to convert my old python2.7 code into python3 and it seems to work fine. So on my side, you don't have to try to make it work anymore, scipy for version 3 is now sufficient for my needs.

Thanks again.

comment:4 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: py27-scipy building errorpy27-scipy @1.2.3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Version: 2.12.5
Note: See TracTickets for help on using tickets.