Opened 9 years ago

Closed 9 years ago

#48718 closed defect (invalid)

sudo port install cgal Error: Requested variants "+no_single+no_static+python27" do not match original selection "+no_single+no_static+openmpi+python27"

Reported by: andresfq78@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: andresfq78@…
Port: cgal

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

Hello, When doing installation for cgal as part of requisitos for OpenFoam in iMAC OS 10.10.5 Yosemite with macports 2.3.3 I got an error, what can i do to suceed in cgal installation?

$ sudo port install cgal
Password:
--->  Computing dependencies for cgal
--->  Dependencies to be installed: boost cmake curl curl-ca-bundle perl5 perl5.16 gdbm pkgconfig libarchive libxml2 lzo2 eigen3
Error: Requested variants "+no_single+no_static+python27" do not match original selection "+no_single+no_static+openmpi+python27".
Please use the same variants again, perform 'port clean boost' or specify the force option (-f).
Error: Failed to install boost
Please see the log file for port boost for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/main.log
Error: The following dependencies were not installed: boost cmake curl curl-ca-bundle perl5 perl5.16 gdbm pkgconfig libarchive libxml2 lzo2 eigen3
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets 

The main.log shows the following:

version:1
:debug:main Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/boost/work
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 503
:error:main Requested variants "+no_single+no_static+python27" do not match original selection "+no_single+no_static+openmpi+python27".
Please use the same variants again, perform 'port clean boost' or specify the force option (-f).
:error:main Failed to install boost
:debug:main Registry error: eigen3 not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:main Please see the log file for port boost for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/main.log

Change History (3)

comment:1 Changed 9 years ago by andresfq78@…

Cc: andresfq78@… added

Cc Me!

comment:2 Changed 9 years ago by mdeaudelin (Mathieu Deaudelin-Lemay)

A previous build had failed, and you are now attempting to install a different variant of the same port. To proceed, you first need to clean the port, as the error message helpfully suggested:

Please use the same variants again, perform 'port clean boost' or specify the force option (-f).

Please issue "sudo port clean boost", try installing again, and if it still fails, upload the full main.log file as this one is incomplete. The explanation why this is necessary may be found in the bug reporting guidelines:

If a build fails or is otherwise interrupted, and you try again, MacPorts tries to pick up where it left off. Sometimes this causes new problems, and even if it doesn't, it means that log messages from earlier steps, which can be essential for figuring out why a build failed, are not included in the new log; MacPorts prints “Skipping completed” in the log for each previously-completed phase that was skipped. Before filing a ticket, sudo port clean the port that failed, then try again.

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

Description: modified (diff)
Keywords: cgal installation error removed
Port: cgal added
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.