Opened 2 years ago
Closed 22 months ago
#66013 closed defect (fixed)
dia @0.97.3: error: implicitly declaring library function 'finite' with type 'int (double)'
Reported by: | FrancescoBorraccino | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | arm64 | Cc: | kwolcott |
Port: | dia |
Description (last modified by jmroot (Joshua Root))
~ % sudo port install dia Password: ---> Computing dependencies for dia ---> Fetching archive for dia ---> Attempting to fetch dia-0.97.3_5.darwin_21.arm64.tbz2 from https://packages.macports.org/dia ---> Attempting to fetch dia-0.97.3_5.darwin_21.arm64.tbz2 from https://kmq.jp.packages.macports.org/dia ---> Attempting to fetch dia-0.97.3_5.darwin_21.arm64.tbz2 from http://jog.id.packages.macports.org/macports/packages/dia ---> Building dia Error: Failed to build dia: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_dia/dia/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port dia failed
Attachments (1)
Change History (6)
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Port: | dia added |
comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
And before doing that, please sudo port clean dia
and then try to install it again, since I can see from your terminal output that it was not a clean build attempt.
Changed 22 months ago by kwolcott
Attachment: | dia_install_drom_source_failed.log.bz2 added |
---|
Recent attempt to install dia from source on Ventura 13.1 on M1 chip
comment:3 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | kwolcott added |
---|---|
Keywords: | arm64 added |
Summary: | Dia port broken → dia @0.97.3: |
Thanks for the log, Kenneth. The problem you see is probably the same as the one the original reporter saw:
arrows.c:424:8: error: implicitly declaring library function 'finite' with type 'int (double)' [-Werror,-Wimplicit-function-declaration] if (!finite(vl.x)) { ^
Here's the upstream bug report:
https://gitlab.gnome.org/GNOME/dia/-/issues/525.
It is specific to Apple Silicon systems, which the original reporter was also using.
I'll backport the fix since there has not been a new dia release:
https://gitlab.gnome.org/GNOME/dia/-/commit/3f80231714d692f1dea43bbaa4bfc4e49cbc8d46
comment:4 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Status: | new → accepted |
Summary: | dia @0.97.3: → dia @0.97.3: error: implicitly declaring library function 'finite' with type 'int (double)' |
comment:5 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
Please attach the log.