[MacPorts] #46167: cmake fails to build on clean 2.3.3 installation
MacPorts
noreply at macports.org
Mon Dec 8 10:50:49 PST 2014
#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
More information about the macports-tickets
mailing list