[MacPorts] #36072: cmake patch error (was: gmsh @2.5.0_0 update error - build failure)
MacPorts
noreply at macports.org
Sun Sep 9 19:03:45 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
--------------------------------+-------------------------------------------
Changes (by macsforever2000@…):
* keywords: gmsh =>
* owner: macports-tickets@… => css@…
* port: => cmake
Old description:
> Hello,
>
> I'd like to report the following error when I tried to upgrade gmsh from
> 2.5.0_0 to 2.5.0_1 (Mac OS X 10.6.8):
>
> 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 09:44:40 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 17534 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
New description:
Hello,
I'd like to report the following error when I tried to upgrade gmsh from
2.5.0_0 to 2.5.0_1 (Mac OS X 10.6.8):
{{{
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 09:44:40 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 17534 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
}}}
--
Comment:
In the future, please use WikiFormatting, fill in the Port field with the
port that actually failed to build, and Cc that port's maintainer.
--
Ticket URL: <https://trac.macports.org/ticket/36072#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list