[MacPorts] #62445: hugin-app @2019.2.0_3 fails to build due to implicit declaration (was: hugin-app build failed on M1)
MacPorts
noreply at macports.org
Sat Mar 13 12:43:29 UTC 2021
#62445: hugin-app @2019.2.0_3 fails to build due to implicit declaration
------------------------+---------------------------------
Reporter: petrvokac | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: catalina bigsur
Port: hugin-app |
------------------------+---------------------------------
Changes (by jmroot):
* status: new => assigned
* keywords: => catalina bigsur
* owner: (none) => MarcusCalhoun-Lopez
* port: => hugin-app
Old description:
> pmm:~ pet$ sudo port install hugin-app
> Warning: The macOS 11.2 SDK does not appear to be installed. Ports may
> not build correctly.
> Warning: You can install it as part of the Xcode Command Line Tools
> package by running `xcode-select --install'.
> ---> Computing dependencies for hugin-app
> ---> Fetching archive for hugin-app
> ---> Attempting to fetch hugin-
> app-2019.2.0_3+accelerate+python38.darwin_20.arm64.tbz2 from
> https://packages.macports.org/hugin-app
> ---> Attempting to fetch hugin-
> app-2019.2.0_3+accelerate+python38.darwin_20.arm64.tbz2 from
> https://cph.dk.packages.macports.org/hugin-app
> ---> Attempting to fetch hugin-
> app-2019.2.0_3+accelerate+python38.darwin_20.arm64.tbz2 from
> https://lil.fr.packages.macports.org/hugin-app
> ---> Fetching distfiles for hugin-app
> ---> Verifying checksums for hugin-app
> ---> Extracting hugin-app
> ---> Applying patches to hugin-app
> ---> Configuring hugin-app
> ---> Building hugin-app
> Error: Failed to build hugin-app: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_graphics_hugin-app/hugin-
> app/main.log for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port hugin-app failed
>
> pmm:~ pet$ uname -a
> Darwin pmm.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51
> PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64
New description:
{{{
pmm:~ pet$ sudo port install hugin-app
Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not
build correctly.
Warning: You can install it as part of the Xcode Command Line Tools
package by running `xcode-select --install'.
---> Computing dependencies for hugin-app
---> Fetching archive for hugin-app
---> Attempting to fetch hugin-
app-2019.2.0_3+accelerate+python38.darwin_20.arm64.tbz2 from
https://packages.macports.org/hugin-app
---> Attempting to fetch hugin-
app-2019.2.0_3+accelerate+python38.darwin_20.arm64.tbz2 from
https://cph.dk.packages.macports.org/hugin-app
---> Attempting to fetch hugin-
app-2019.2.0_3+accelerate+python38.darwin_20.arm64.tbz2 from
https://lil.fr.packages.macports.org/hugin-app
---> Fetching distfiles for hugin-app
---> Verifying checksums for hugin-app
---> Extracting hugin-app
---> Applying patches to hugin-app
---> Configuring hugin-app
---> Building hugin-app
Error: Failed to build hugin-app: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_graphics_hugin-app/hugin-app/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port hugin-app failed
pmm:~ pet$ uname -a
Darwin pmm.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51
PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64
}}}
--
Comment:
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_graphics_hugin-app/hugin-
app/work/hugin-2019.2.0/src/foreign/levmar/lm_core.c:182:7: error:
implicitly declaring library function 'finite' with type 'int (double)'
[-Werror,-Wimplicit-function-declaration]
:info:build if(!LM_FINITE(p_eL2)) stop=7;
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_graphics_hugin-app/hugin-
app/work/hugin-2019.2.0/src/foreign/levmar/compiler.h:36:19: note:
expanded from macro 'LM_FINITE'
:info:build #define LM_FINITE finite // ICC, GCC
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62445#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list