Opened 7 years ago

Closed 7 years ago

#54710 closed defect (fixed)

freecad @0.16_1: Multiple package management systems detected - define either MACPORTS_PREFIX or HOMEBREW_PREFIX

Reported by: tehcog (tehcog) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: freecad

Description

sudo port install freecad
Portfile changed since last build; discarding previous state.
--->  Computing dependencies for freecad
The following dependencies will be installed:
 Coin-framework
 SoQt
 eigen3
 oce
 py27-pyside
 py27-pyside-tools
 py27-shiboken
 qt4-mac-sqlite3-plugin
 simage
 sparsehash
 xercesc3
Continue? [Y/n]:
--->  Fetching archive for simage
--->  Attempting to fetch simage-1.7.0_5.darwin_13.x86_64.tbz2 from https://packages.macports.org/simage
--->  Attempting to fetch simage-1.7.0_5.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/simage
--->  Installing simage @1.7.0_5
--->  Activating simage @1.7.0_5
--->  Cleaning simage
--->  Fetching archive for Coin-framework
--->  Attempting to fetch Coin-framework-3.1.3_6.darwin_13.x86_64.tbz2 from https://packages.macports.org/Coin-framework
--->  Attempting to fetch Coin-framework-3.1.3_6.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/Coin-framework
--->  Installing Coin-framework @3.1.3_6
--->  Activating Coin-framework @3.1.3_6
--->  Cleaning Coin-framework
--->  Fetching archive for SoQt
--->  Attempting to fetch SoQt-1.5.0_2.darwin_13.x86_64.tbz2 from https://packages.macports.org/SoQt
--->  Attempting to fetch SoQt-1.5.0_2.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/SoQt
--->  Installing SoQt @1.5.0_2
--->  Activating SoQt @1.5.0_2
--->  Cleaning SoQt
--->  Fetching archive for eigen3
--->  Attempting to fetch eigen3-3.3.4_0.darwin_13.noarch.tbz2 from https://packages.macports.org/eigen3
--->  Attempting to fetch eigen3-3.3.4_0.darwin_13.noarch.tbz2.rmd160 from https://packages.macports.org/eigen3
--->  Installing eigen3 @3.3.4_0
--->  Activating eigen3 @3.3.4_0
--->  Cleaning eigen3
--->  Fetching archive for oce
--->  Attempting to fetch oce-0.17.2_0.darwin_13.x86_64.tbz2 from https://packages.macports.org/oce
--->  Attempting to fetch oce-0.17.2_0.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/oce
--->  Installing oce @0.17.2_0
--->  Activating oce @0.17.2_0
--->  Cleaning oce
--->  Fetching archive for sparsehash
--->  Attempting to fetch sparsehash-2.0.3_0.darwin_13.x86_64.tbz2 from https://packages.macports.org/sparsehash
--->  Attempting to fetch sparsehash-2.0.3_0.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/sparsehash
--->  Installing sparsehash @2.0.3_0
--->  Activating sparsehash @2.0.3_0
--->  Cleaning sparsehash
--->  Fetching archive for py27-shiboken
--->  Attempting to fetch py27-shiboken-1.2.2_4.darwin_13.x86_64.tbz2 from https://packages.macports.org/py27-shiboken
--->  Attempting to fetch py27-shiboken-1.2.2_4.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/py27-shiboken
--->  Installing py27-shiboken @1.2.2_4
--->  Activating py27-shiboken @1.2.2_4
--->  Cleaning py27-shiboken
--->  Fetching archive for py27-pyside
--->  Attempting to fetch py27-pyside-1.2.2_2.darwin_13.x86_64.tbz2 from https://packages.macports.org/py27-pyside
--->  Attempting to fetch py27-pyside-1.2.2_2.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/py27-pyside
--->  Installing py27-pyside @1.2.2_2
--->  Activating py27-pyside @1.2.2_2
--->  Cleaning py27-pyside
--->  Fetching archive for py27-pyside-tools
--->  Attempting to fetch py27-pyside-tools-0.2.15_1.darwin_13.x86_64.tbz2 from https://packages.macports.org/py27-pyside-tools
--->  Attempting to fetch py27-pyside-tools-0.2.15_1.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/py27-pyside-tools
--->  Installing py27-pyside-tools @0.2.15_1
--->  Activating py27-pyside-tools @0.2.15_1
--->  Cleaning py27-pyside-tools
--->  Fetching archive for qt4-mac-sqlite3-plugin
--->  Attempting to fetch qt4-mac-sqlite3-plugin-4.8.7_1.darwin_13.x86_64.tbz2 from https://packages.macports.org/qt4-mac-sqlite3-plugin
--->  Attempting to fetch qt4-mac-sqlite3-plugin-4.8.7_1.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/qt4-mac-sqlite3-plugin
--->  Installing qt4-mac-sqlite3-plugin @4.8.7_1
--->  Activating qt4-mac-sqlite3-plugin @4.8.7_1
--->  Cleaning qt4-mac-sqlite3-plugin
--->  Fetching archive for xercesc3
--->  Attempting to fetch xercesc3-3.2.0_0.darwin_13.x86_64.tbz2 from https://packages.macports.org/xercesc3
--->  Attempting to fetch xercesc3-3.2.0_0.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/xercesc3
--->  Installing xercesc3 @3.2.0_0
--->  Activating xercesc3 @3.2.0_0
--->  Cleaning xercesc3
--->  Fetching archive for freecad
--->  Attempting to fetch freecad-0.16_1+gcc6.darwin_13.x86_64.tbz2 from https://packages.macports.org/freecad
--->  Attempting to fetch freecad-0.16_1+gcc6.darwin_13.x86_64.tbz2.rmd160 from https://packages.macports.org/freecad
--->  Installing freecad @0.16_1+gcc6
--->  Activating freecad @0.16_1+gcc6
--->  Cleaning freecad
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  Found 45 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: freecad @0.16+gcc6
Continue? [Y/n]:
--->  Computing dependencies for freecad
--->  Cleaning freecad
--->  Scanning binaries for linking errors
--->  Found 45 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
--->  Rebuilding in order
     freecad @0.16 +gcc6
--->  Computing dependencies for freecad
--->  Fetching distfiles for freecad
--->  Attempting to fetch FreeCAD-0.16.tar.gz from https://distfiles.macports.org/freecad
--->  Attempting to fetch FreeCAD-0.16.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/freecad
--->  Attempting to fetch FreeCAD-0.16.tar.gz from http://lil.fr.distfiles.macports.org/freecad
--->  Attempting to fetch FreeCAD-0.16.tar.gz from http://osl.no.distfiles.macports.org/freecad
--->  Attempting to fetch FreeCAD-0.16.tar.gz from http://nue.de.distfiles.macports.org/freecad
--->  Attempting to fetch FreeCAD-0.16.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/freecad
--->  Attempting to fetch FreeCAD-0.16.tar.gz from https://github.com/FreeCAD/FreeCAD/tarball/0.16
--->  Verifying checksums for freecad
--->  Extracting freecad
--->  Applying patches to freecad
--->  Configuring freecad
Error: Failed to configure freecad: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cad_freecad/freecad/main.log for details.
Error: rev-upgrade failed: Error rebuilding freecad
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
--->  Some of the ports you installed have notes:
  eigen3 has the following notes:
    This product includes software developed by the University of Chicago, as Operator of Argonne National Laboratory.

Attachments (1)

main.log (41.7 KB) - added by tehcog (tehcog) 7 years ago.
main.log

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by tehcog (tehcog)

Attachment: main.log added

main.log

comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)

You seem to have both Homebrew and MacPorts installed. cmake requires one or the other,

comment:2 Changed 7 years ago by tehcog (tehcog)

Thanks for the tip.

The only thing I had left in there was "thefuck".

I successfully removed homebrew with "https://github.com/Homebrew/install"

freecad installed correctly after that.

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

Cc: ryandesign added
Owner: set to Schamschula
Port: @0.16_1+gcc6 removed
Status: newassigned
Summary: freecad @0.16_1+gcc6 fails to build on Mavericksfreecad @0.16_1: Multiple package management systems detected - define either MACPORTS_PREFIX or HOMEBREW_PREFIX

Replying to Schamschula:

You seem to have both Homebrew and MacPorts installed. cmake requires one or the other,

While we don't support having both MacPorts and Homebrew installed, this message isn't coming from cmake; it's coming from freecad's CMakeLists.txt file. We can possibly fix it by defining MACPORTS_PREFIX. I'll check it out.

comment:4 Changed 7 years ago by tehcog (tehcog)

BTW, FWIW:

For anyone else who may be interested in this potential issue, even though it is off topic, I STRONGLY recommend macports over Homebrew. Perhaps it is just because I had installed ports early on, before Hombrew existed. I have nothing against Homebrew as I have obviously had it installed and used it, but I have found, over time, by and by, that I have gone back to ports exclusively, partially due to the ability for ports to "make it work", plus the added benefit of support from the ports community (this site + the great documentation).

I feel it is a privilege to have the support from such a great port community. THANK YOU!

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

Resolution: fixed
Status: assignedclosed

In 883cebd1a556d9969c11ca30fb61771ef839176c/macports-ports:

freecad: Fix configure failure when Homebrew is installed

Closes: #54710

Note: See TracTickets for help on using tickets.