[MacPorts] #46167: cmake fails to build on clean 2.3.3 installation
#46167: cmake fails to build on clean 2.3.3 installation ------------------------+-------------------------------- Reporter: diochnos@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ------------------------+-------------------------------- I find it hard to believe that I am posting this ticket, but I can not see what I have done wrong. In a nutshell: cmake fails to install on a new macports installation. Background: There was a previous version of macports installed on the system (before the upgrade to Yosemite), which was uninstalled entirely (together with complete removal of the /opt/local/ directory). In particular, for the previous version I gave the following: $ sudo port -f uninstall installed \\ $ sudo port clean all For this version (2.3.3) I also gave a $ make clean before I started. This time I attempted a custom installation with the following command for configuration: $ env PATH=/usr/bin:/bin:/usr/sbin:/sbin CFLAGS="-pipe -Os" ./configure --prefix=/opt/macports/yosemite --with-applications- dir=/opt/macports/yosemite/Applications Other than that $ make \\ $ sudo make install \\ $ sudo port selfupdate \\ $ sudo port upgrade outdated \\ (everything as expected; meanwhile I also gave at some point `xcode-select --install`, so that's not a problem either) Then: $ sudo port install cmake fails on the last package, when attempting to bring in cmake. Upon the error: $ sudo port clean cmake \\ $ sudo port install cmake Same problem (even with a restart). Log attached. Running Xcode 6.1.1 on OS X 10.10.1. -- Ticket URL: <https://trac.macports.org/ticket/46167> MacPorts <https://www.macports.org/> Ports system for OS X
#46167: cmake fails to build on clean 2.3.3 installation -------------------------+------------------- Reporter: diochnos@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cmake | -------------------------+------------------- Changes (by mf2k@…): * owner: macports-tickets@… => css@… * port: => cmake Comment: In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers ({{{port info --maintainers cmake}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/46167#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46167: cmake fails to build on clean 2.3.3 installation -------------------------+------------------- Reporter: diochnos@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cmake | -------------------------+------------------- Old description:
I find it hard to believe that I am posting this ticket, but I can not see what I have done wrong.
In a nutshell: cmake fails to install on a new macports installation.
Background: There was a previous version of macports installed on the system (before the upgrade to Yosemite), which was uninstalled entirely (together with complete removal of the /opt/local/ directory). In particular, for the previous version I gave the following: $ sudo port -f uninstall installed \\ $ sudo port clean all
For this version (2.3.3) I also gave a $ make clean before I started.
This time I attempted a custom installation with the following command for configuration: $ env PATH=/usr/bin:/bin:/usr/sbin:/sbin CFLAGS="-pipe -Os" ./configure --prefix=/opt/macports/yosemite --with-applications- dir=/opt/macports/yosemite/Applications
Other than that $ make \\ $ sudo make install \\ $ sudo port selfupdate \\ $ sudo port upgrade outdated \\ (everything as expected; meanwhile I also gave at some point `xcode- select --install`, so that's not a problem either)
Then: $ sudo port install cmake fails on the last package, when attempting to bring in cmake.
Upon the error: $ sudo port clean cmake \\ $ sudo port install cmake
Same problem (even with a restart). Log attached. Running Xcode 6.1.1 on OS X 10.10.1.
New description: I find it hard to believe that I am posting this ticket, but I can not see what I have done wrong. In a nutshell: cmake fails to install on a new macports installation. Background: There was a previous version of macports installed on the system (before the upgrade to Yosemite), which was uninstalled entirely (together with complete removal of the /opt/local/ directory). In particular, for the previous version I gave the following: {{{ $ sudo port -f uninstall installed $ sudo port clean all }}} For this version (2.3.3) I also gave a {{{ $ make clean }}} before I started. This time I attempted a custom installation with the following command for configuration: {{{ $ env PATH=/usr/bin:/bin:/usr/sbin:/sbin CFLAGS="-pipe -Os" ./configure --prefix=/opt/macports/yosemite --with-applications- dir=/opt/macports/yosemite/Applications }}} Other than that {{{ $ make $ sudo make install $ sudo port selfupdate $ sudo port upgrade outdated }}} (everything as expected; meanwhile I also gave at some point `xcode-select --install`, so that's not a problem either) Then: {{{ $ sudo port install cmake }}} fails on the last package, when attempting to bring in cmake. Upon the error: {{{ $ sudo port clean cmake $ sudo port install cmake }}} Same problem (even with a restart). Log attached. Running Xcode 6.1.1 on OS X 10.10.1. -- Comment (by mf2k@…): Forget my WikiFormatting comment. Reformatted with code tags. -- Ticket URL: <https://trac.macports.org/ticket/46167#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46167: cmake fails to build on clean 2.3.3 installation -------------------------+------------------- Reporter: diochnos@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cmake | -------------------------+------------------- Comment (by diochnos@…): @mf2k: I will certainly try to remember to do so. Meanwhile, I was able to install cmake using the `classical` approach of using the .pkg installer and performing the installation under /opt/local/. So, I guess the whole issue arises with the custom installation directory. On the other hand, I definitely prefer to have the ability to install macports under a custom install dir like the one I was trying to install stuff. It is much more convenient on migrations because in many cases I just transfer some configuration files from the directory that was dedicated to the previous OS release to the one for the newest OS release. -- Ticket URL: <https://trac.macports.org/ticket/46167#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46167: cmake fails to build on clean 2.3.3 installation -------------------------+------------------- Reporter: diochnos@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cmake | -------------------------+------------------- Comment (by michaelld@…): I don't know if this ticket is still an issue ... the build error is: {{{ :info:build ld: warning: ignoring file /Library/Frameworks/libcurl.framework/libcurl, file was built for unsupported file format ( 0xFE 0xED 0xFA 0xCE 0x00 0x00 0x00 0x12 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x06 ) which is not the architecture being linked (x86_64): /Library/Frameworks/libcurl.framework/libcurl }}} This directory is a place to install non-System provided frameworks; 'port' provides 'curl' already, so I'd recommend removing this framework if you don't otherwise know what it's there for (and, it's for the wrong ABI arch anyway). Then do: {{{ sudo port clean cmake sudo port selfupdate sudo port install cmake }}} and see if that works. We try hard to be specific about dependencies / arguments when building, but we can't catch them all ;) -- Ticket URL: <https://trac.macports.org/ticket/46167#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46167: cmake fails to build on clean 2.3.3 installation -------------------------+------------------------- Reporter: diochnos@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cmake | -------------------------+------------------------- Changes (by michaelld@…): * owner: css@… => michaelld@… -- Ticket URL: <https://trac.macports.org/ticket/46167#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46167: cmake fails to build on clean 2.3.3 installation -------------------------+------------------------- Reporter: diochnos@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cmake | -------------------------+------------------------- Changes (by michaelld@…): * cc: css@… (added) -- Ticket URL: <https://trac.macports.org/ticket/46167#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46167: cmake fails to build on clean 2.3.3 installation -------------------------+------------------------- Reporter: diochnos@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: worksforme | Keywords: Port: cmake | -------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => worksforme Comment: I'm closing this ticket as "works for me" since it does & I think the issue is with a foreign framework. If anyone disagrees, please reopen and respond on-ticket with more info. -- Ticket URL: <https://trac.macports.org/ticket/46167#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts