Opened 4 weeks ago

Last modified 3 weeks ago

#70611 new defect

alps @2.3.0_16: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'udt_builtin_mixture_enum' [-Wenum-constexpr-conversion] — at Version 3

Reported by: jcampo-ruiz Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: alps

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

Working with Sonoma 14.6.1 in a MacBook M3 max. Xcode 15.4 The "alps" port failed to be built and finally it is not install.

--->  Fetching archive for alps
--->  Attempting to fetch alps-2.3.0_16+applications+python27.darwin_23.arm64.tbz2 from https://packages.macports.org/alps
--->  Attempting to fetch alps-2.3.0_16+applications+python27.darwin_23.arm64.tbz2 from https://mse.uk.packages.macports.org/alps
--->  Attempting to fetch alps-2.3.0_16+applications+python27.darwin_23.arm64.tbz2 from http://fco.it.packages.macports.org/alps
--->  Building alps
Error: Failed to build alps: command execution failed    
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_alps/alps/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port alps failed

Change History (4)

comment:1 Changed 4 weeks ago by reneeotten (Renee Otten)

Priority: HighNormal
Type: requestdefect

comment:2 Changed 4 weeks ago by jmroot (Joshua Root)

Summary: Error: Failed to build alps: command execution failedalps @2.3.0_16 build failure
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_alps/alps/work/alps-2.3.0-src-with-boost/boost/boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'udt_builtin_mixture_enum' [-Wenum-constexpr-conversion]

Changed 4 weeks ago by jmroot (Joshua Root)

Attachment: main.log.bz2 added

comment:3 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: alps @2.3.0_16 build failurealps @2.3.0_16: error: integer value -1 is outside the valid range of values [0, 3] for the enumeration type 'udt_builtin_mixture_enum' [-Wenum-constexpr-conversion]

This is a well-known problem with older versions of boost that we have already fixed in the boost ports but the alps port uses a bundled copy of boost. We'll either need to patch the copy of boost used here or switch the alps port to use one of the MacPorts versions of boost.

The alps port's homepage has disappeared. Maybe a new version which might already fix this problem is available if the project has moved its homepage elsewhere.

Note: See TracTickets for help on using tickets.