[MacPorts] #36072: cmake patch error

MacPorts noreply at macports.org
Mon Sep 10 04:23:26 PDT 2012


#36072: cmake patch error
--------------------------------+-------------------------------------------
 Reporter:  aeronova@…          |       Owner:  css@…           
     Type:  defect              |      Status:  new             
 Priority:  Normal              |   Milestone:                  
Component:  ports               |     Version:  2.1.2           
 Keywords:                      |        Port:  cmake           
--------------------------------+-------------------------------------------

Comment(by aeronova@…):

 Thanks for the replies.  I run 'sudo port clean cmake' and then tried
 'sudo port upgrade gmsh', which run upgrading cmake due to dependency.
 The below is the error log I got:

 {{{

 version:1
 :msg:main --->  Computing dependencies for cmake:info:main .:debug:main
 cmake has no conflicts
 :debug:main Searching for dependency: pkgconfig
 :debug:main Found Dependency: receipt exists for pkgconfig
 :debug:main Searching for dependency: libidn
 :debug:main Found Dependency: receipt exists for libidn
 :debug:main Searching for dependency: openssl
 :debug:main Found Dependency: receipt exists for openssl
 :debug:main Searching for dependency: qt4-mac
 :debug:main Found Dependency: receipt exists for qt4-mac
 :msg:main
 :debug:main Executing org.macports.main (cmake)
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 502
 :debug:main Skipping completed org.macports.archivefetch (cmake)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.fetch (cmake)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (cmake)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.extract (cmake)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:patch patch phase started at Mon Sep 10 13:31:23 SGT 2012
 :debug:patch Executing org.macports.patch (cmake)
 :notice:patch --->  Applying patches to cmake
 :info:patch --->  Applying patch-CMakeFindFrameworks.cmake.diff
 :debug:patch Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:patch Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.9"
 && /usr/bin/patch -p0'
 :debug:patch Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.9"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/cmake/files
 /patch-CMakeFindFrameworks.cmake.diff'
 :info:patch patching file Modules/CMakeFindFrameworks.cmake
 :info:patch Reversed (or previously applied) patch detected!  Assume -R?
 [n]
 :info:patch Apply anyway? [n]
 :info:patch Skipping patch.
 :info:patch 1 out of 1 hunk ignored -- saving rejects to file
 Modules/CMakeFindFrameworks.cmake.rej
 :info:patch Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.9"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/cmake/files
 /patch-CMakeFindFrameworks.cmake.diff'
 :info:patch Exit code: 1
 :error:patch org.macports.patch for port cmake returned: command execution
 failed
 :debug:patch Error code: CHILDSTATUS 17892 1
 :debug:patch Backtrace: command execution failed
     while executing
 "system $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec patch "" "< '$patch'""
     (procedure "portpatch::patch_main" line 35)
     invoked from within
 "$procedure $targetname"
 :info:patch Warning: targets not executed for cmake: org.macports.install
 org.macports.patch org.macports.configure org.macports.build
 org.macports.destroot
 :notice:patch Please see the log file for port cmake for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/main.log


 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/36072#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list