Opened 4 years ago

Closed 3 years ago

#61296 closed defect (fixed)

arb @6.0.4_1 build failure

Reported by: vkorman Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: arb

Description (last modified by jmroot (Joshua Root))

viccikorman@RoverMed ~ % sudo port clean arb
Password:
--->  Cleaning arb
viccikorman@RoverMed ~ % sudo port install arb
--->  Computing dependencies for arb
--->  Fetching archive for arb
--->  Attempting to fetch arb-6.0.4_1.darwin_19.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/arb/arb
--->  Attempting to fetch arb-6.0.4_1.darwin_19.x86_64.tbz2 from https://packages.macports.org/arb
--->  Attempting to fetch arb-6.0.4_1.darwin_19.x86_64.tbz2 from https://mse.uk.packages.macports.org/arb
--->  Fetching distfiles for arb
--->  Verifying checksums for arb

Hi I am new to MacPorts so I apologize if I am missing any information regarding this bug.

--->  Extracting arb
--->  Applying patches to arb
--->  Configuring arb
Warning: reinplace s|@@64BIT@@|1|g didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_arb/arb/work/arbsrc_14797/config.makefile
--->  Building arb
Error: Failed to build arb: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_arb/arb/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port arb failed
viccikorman@RoverMed ~ % 

Attachments (2)

main.log.zip (800.5 KB) - added by vkorman 4 years ago.
main.log 2.zip (796.3 KB) - added by vkorman 4 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: arb removed
Port: arb added
Summary: Port arb failedarb @6.0.4_1 build failure

Please attach the main.log mentioned in the error message.

comment:2 Changed 4 years ago by vkorman

sorry I am trying to find the log file

comment:3 Changed 4 years ago by vkorman

log file too big 60 MB

info:build 1 error generated.
:info:build 1 warning generated.
:info:build make[6]: *** [obj/subfams.o] Error 1
:info:build make[6]: *** Waiting for unfinished jobs....
:info:build make[6]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_arb/arb/work/arbsrc_14797/GDE/MUSCLE'
:info:build make[5]: *** [all] Error 2
:info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_arb/arb/work/arbsrc_14797/GDE/MUSCLE'
:info:build make[4]: *** [MUSCLE/MUSCLE.dummy] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_arb/arb/work/arbsrc_14797/GDE'
:info:build make[3]: *** [GDE.a] Error 2
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_arb/arb/work/arbsrc_14797/GDE'
:info:build make[2]: *** [GDE/GDE.dummy] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_arb/arb/work/arbsrc_14797'
:info:build make[1]: *** [arb] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_arb/arb/work/arbsrc_14797'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_arb/arb/work/arbsrc_14797'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_arb/arb/work/arbsrc_14797" && /usr/bin/make -j4 -w all CXX=/usr/bin/clang++ CC=/usr/bin/clang 
:info:build Exit code: 2
:error:build Failed to build arb: command execution failed
:debug:build Error code: CHILDSTATUS 91051 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_arb/arb/main.log for details.
Last edited 4 years ago by jmroot (Joshua Root) (previous) (diff)

comment:4 Changed 4 years ago by jmroot (Joshua Root)

Compress it with gzip or bzip2 first, then add to the ticket as an attachment.

comment:5 Changed 4 years ago by jmroot (Joshua Root)

The arb port was just updated to 6.0.6, so please selfupdate and see if the new version works for you.

Changed 4 years ago by vkorman

Attachment: main.log.zip added

comment:6 Changed 4 years ago by vkorman

I tried the upgrade it didn't seem to work attaching new log for that.

Changed 4 years ago by vkorman

Attachment: main.log 2.zip added

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

Ok, the error in the log is:

:info:build src/subfams.cpp:4:13: error: functions that differ only in their return type cannot be overloaded
:info:build const float INFINITY = float(1e29);
:info:build       ~~~~~ ^
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/math.h:68:21: note: expanded from macro 'INFINITY'
:info:build #define INFINITY    HUGE_VALF
:info:build                     ^
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/math.h:58:28: note: expanded from macro 'HUGE_VALF'
:info:build #   define    HUGE_VALF    __builtin_huge_valf()
:info:build                            ^
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/limits:332:90: note: previous implicit declaration is here
:info:build     _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return __builtin_huge_valf();}
:info:build                                                                                          ^
:info:build 1 error generated.

Here is a similar bug report: https://github.com/arb-project/homebrew-arb/issues/4

Sounds like a bug in arb. I've filed it here: http://bugs.arb-home.de/ticket/830

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

Cc: ryandesign added

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

In 92ed655c50c1114fbabbcc91e3825f2c0f57b63c/macports-ports (master):

arb: Avoid redefinition of INFINITY

See: #61296

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

Does that help? Wait an hour, then sudo port selfupdate and try installing arb again.

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

Please let us know if that helped so that we can close our ticket and let the developers know that they can close theirs.

comment:12 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Presumed fixed.

Note: See TracTickets for help on using tickets.