[MacPorts] #60815: py38-healpy @1.13.0: error: address of overloaded function 'ufunc_ang2pix' does not match required type 'void (char **, const long *, const long *, void *)' (was: py38-healpy @1.13.0 build failure)
MacPorts
noreply at macports.org
Sat Jul 11 07:39:57 UTC 2020
#60815: py38-healpy @1.13.0: error: address of overloaded function 'ufunc_ang2pix'
does not match required type 'void (char **, const long *, const long *,
void *)'
--------------------------+----------------------
Reporter: olivierdore | Owner: lpsinger
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: py-healpy |
--------------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* cc: lpsinger (removed)
* owner: (none) => lpsinger
* port: py38-healpy => py-healpy
Old description:
> The py38-healpy build fails with the following error. Log file attached.
> "
> ---> Building py38-healpy
> Error: Failed to build py38-healpy: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> healpy/py38-healpy/main.log for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port py38-healpy failed
> "
>
> I installed it a while back (and uninstalled it) and it used to build
> properly but now fails for some reasons.
New description:
The py38-healpy build fails with the following error. Log file attached.
{{{
---> Building py38-healpy
Error: Failed to build py38-healpy: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-healpy/py38-healpy/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py38-healpy failed
}}}
I installed it a while back (and uninstalled it) and it used to build
properly but now fails for some reasons.
--
Comment:
The relevant first error in your log is:
{{{
:info:build healpy/src/_healpy_pixel_lib.cc:400:3: error: address of
overloaded function 'ufunc_ang2pix' does not match required type 'void
(char **, const long *, const long *, void *)'
:info:build ufunc_ang2pix<RING>
:info:build ^~~~~~~~~~~~~~~~~~~
:info:build healpy/src/_healpy_pixel_lib.cc:42:3: note: candidate template
ignored: could not match 'void (char **, npy_intp *, npy_intp *, void *)'
(aka 'void (char **, long *, long *, void *)') against 'void (char **,
const long *, const long *, void *)'
:info:build ufunc_ang2pix(char **args, npy_intp *dimensions, npy_intp
*steps, void *func)
:info:build ^
}}}
I see the same build failure. Maybe the update of py-numpy to 1.19.0 last
month broke py-healpy. It doesn't sound like a MacPorts-specific problem
so you could look in the upstream issue tracker and file a ticket there if
they don't already have one for this problem.
--
Ticket URL: <https://trac.macports.org/ticket/60815#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list