Opened 11 years ago

Last modified 4 years ago

#40105 assigned defect

alps @2.1.1 error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3

Reported by: jcaprentice@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: majoc-at-astro (majoc-at-astro), chrstphrchvz (Christopher Chavez)
Port: alps

Description (last modified by mf2k (Frank Schima))

I had a similar problem a while ago that was patched, but this appears to be something different. I'm on OS X 10.7.5, with Xcode 4.5.2. I have completely reinstalled MacPorts and only installed the ports that alps depends on (with the fortran variant of hdf5-18, as I would like to use the tebd section of alps, which requires fortran). These have all installed fine, I then attempt to install alps itself with the variants python27 and openmpi, and the build fails. The last few lines in the terminal are:

--->  Building alps
Error: org.macports.build for port alps returned: command execution failed
Please see the log file for port alps for details:
    /Volumes/Scratch/macports/prentice/var/macports/logs/_Volumes_Scratch_macports_prentice_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_alps/alps/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port alps failed

I will attach the main.log file. The errors within the log seem to occur when Boost is involved, but I don't know why.

Attachments (1)

main.log (336.3 KB) - added by jcaprentice@… 11 years ago.

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by jcaprentice@…

Attachment: main.log added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to gamperl@…

In the future, please use WikiFormatting and Cc the port maintainer(s).

comment:2 Changed 11 years ago by gamperl@…

Hi you are using llvm-gcc-4.2 and it seems the used boost version is not compatible with this compier. There will be a new release this month which fixes the problem.

comment:3 in reply to:  2 Changed 11 years ago by jcaprentice@…

Replying to gamperl@…:

Hi you are using llvm-gcc-4.2 and it seems the used boost version is not compatible with this compier. There will be a new release this month which fixes the problem.

Thank you very much, has the new release gone through yet? I've tried reinstalling all my ports, but I still get the same problem as far as I can tell. Also, the port llvm-gcc42 does not seem to install automatically when I install alps, is this a problem as well?

comment:4 Changed 11 years ago by majoc-at-astro (majoc-at-astro)

Cc: majoc@… added

Cc Me!

comment:5 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Does this issue still exist/was it ever fixed?

comment:6 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:7 Changed 5 years ago by mf2k (Frank Schima)

I got the following configure error trying to install version 2.3.0 with +openmpi:

:info:configure -- Looking for Boost Source
:info:configure CMake Error at config/FindBoostSrc.cmake:106 (message):
:info:configure   Boost Source not Found
:info:configure Call Stack (most recent call first):
:info:configure   config/FindBoostForALPS.cmake:75 (find_package)
:info:configure   CMakeLists.txt:294 (find_package)
:info:configure -- Configuring incomplete, errors occurred!

comment:8 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)

Owner: gamperl@… deleted
Status: newassigned

comment:9 in reply to:  7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: alps@2.1.1 build failure: command execution failed - Boost problem?alps @2.1.1 error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3

Replying to mf2k:

I got the following configure error trying to install version 2.3.0 with +openmpi:

That is a different problem for which I've filed a different ticket: #60825

Note: See TracTickets for help on using tickets.