Opened 9 years ago

Last modified 9 years ago

#46167 closed defect

cmake fails to build on clean 2.3.3 installation — at Version 2

Reported by: diochnos Owned by: css@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: cmake

Description (last modified by mf2k (Frank Schima))

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.

Change History (3)

Changed 9 years ago by diochnos

Attachment: main.log added

Log file

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

Owner: changed from macports-tickets@… to css@…
Port: cmake added

In the future, please fill in the Port field and Cc the port maintainers (port info --maintainers cmake), if any.

Last edited 9 years ago by mf2k (Frank Schima) (previous) (diff)

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

Forget my WikiFormatting comment. Reformatted with code tags.

Note: See TracTickets for help on using tickets.