Opened 4 years ago

Closed 3 years ago

#60815 closed defect (fixed)

py38-healpy @1.13.0: error: address of overloaded function 'ufunc_ang2pix' does not match required type 'void (char **, const long *, const long *, void *)'

Reported by: olivierdore (Olivier Doré) Owned by: lpsinger (Leo Singer)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: py-healpy

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

main.log (195.3 KB) - added by olivierdore (Olivier Doré) 4 years ago.
log file

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by olivierdore (Olivier Doré)

Attachment: main.log added

log file

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: lpsinger removed
Description: modified (diff)
Owner: set to lpsinger
Port: py-healpy added; py38-healpy removed
Status: newassigned
Summary: py38-healpy @1.13.0 build failurepy38-healpy @1.13.0: error: address of overloaded function 'ufunc_ang2pix' does not match required type 'void (char **, const long *, const long *, void *)'

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.

comment:2 Changed 4 years ago by olivierdore (Olivier Doré)

Ok. Thanks. I put a ticket in the healpy repo.

comment:3 Changed 3 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

current version of the port is 1.15.0 and it appears to build pretty much on all systems. I'm therefore assuming this issue is resolved and will close the ticket; feel free to reopen if that is not the case.

Note: See TracTickets for help on using tickets.