Error updating macports

Ted Kord teddy.kord at gmail.com
Sun May 25 13:59:59 PDT 2014


Hi Ryan

Sorry for the late reply.

I just updated to the latest version of MacPorts: 2.3.0. Then:

sudo port clean cgal
sudo port upgrade outdated

I still get:

--->  Configuring cgal

Error: org.macports.configure for port cgal returned: configure failure:
command execution failed

Please see the log file for port cgal for details:


/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/cgal/main.log

Error: Unable to upgrade port: 1

====

The last lines of the log file:


:info:configure -- Configuring incomplete, errors occurred!

:info:configure See also
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/cgal/work/CGAL-4.4/CMakeFiles/CMakeOutput.log".

:info:configure Command failed:  cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/cgal/work/CGAL-4.4"
&& /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/local
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
-DCMAKE_INSTALL_RPATH=/opt/local/lib
-DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr"
-DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules
-DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev
-DCGAL_INSTALL_CMAKE_DIR="share/CGAL/cmake" -DWITH_CGAL_Qt3:BOOL=OFF
-DWITH_CGAL_Qt4:BOOL=OFF -DBoost_DIR:PATH=/opt/local -DWITH_Eigen3:BOOL=ON
-DWITH_ZLIB:BOOL=ON -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG"
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64"
-DCMAKE_OSX_SYSROOT="/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk"
-DCMAKE_OSX_DEPLOYMENT_TARGET="10.9"

:info:configure Exit code: 1

:error:configure org.macports.configure for port cgal returned: configure
failure: command execution failed

:debug:configure Error code: NONE

:debug:configure Backtrace: configure failure: command execution failed

    while executing

"portconfigure::configure_main org.macports.configure"

    ("eval" body line 1)

    invoked from within

"eval $procedure $targetname"

:info:configure Warning: targets not executed for cgal:
org.macports.install org.macports.configure org.macports.build
org.macports.destroot


On 17 May 2014 20:44, Ryan Schmidt <ryandesign at macports.org> wrote:

> On May 17, 2014, at 07:14, Ted Kord wrote:
>
> > I get an error during cgal configuration:
> >
> > --->  Configuring cgal
> > Error: org.macports.configure for port cgal returned: configure failure:
> command execution failed
> > Please see the log file for port cgal for details:
> >
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/cgal/main.log
> > Error: Unable to upgrade port: 1
> >
> > The last few lines in the log file suggests a cmake problem (I could be
> wrong!):
> >
> > :info:configure
> > :info:configure CMake Error at
> /opt/local/share/cmake-2.8/Modules/Platform/Darwin.cmake:211 (message):
> > :info:configure   CMAKE_OSX_DEPLOYMENT_TARGET is '10.9' but
> CMAKE_OSX_SYSROOT:
> > :info:configure
> > :info:configure    ""
> > :info:configure
> > :info:configure   is not set to a MacOSX SDK with a recognized version.
>  Either set
> > :info:configure   CMAKE_OSX_SYSROOT to a valid SDK or set
> CMAKE_OSX_DEPLOYMENT_TARGET to
> > :info:configure   empty.
>
> We've had quite a few tickets about this problem; here's one:
>
> https://trac.macports.org/ticket/41321
>
> I don't see this problem building cgal on my system anymore, so we may
> already have resolved it in the latest versions of things.
>
> First, make sure you're up to date:
>
> sudo port selfupdate
> sudo port clean cgal
> sudo port upgrade outdated
>
> Then try again. If cgal still fails, what version of MacPorts are you
> using? If a version earlier than 2.3.0rc1, please try 2.3.0rc1, available
> here:
>
> https://lists.macosforge.org/pipermail/macports-users/2014-May/035383.html
>
>


-- 
Best regards,

Theodore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140525/aa99a92f/attachment.html>


More information about the macports-users mailing list