#29997: g95 @0.92 (lang) - shell command failed ----------------------------------------+----------------------------------- Reporter: patrizio.mariani@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: g95 ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => takeshi@… * port: G95 => g95 Old description:
I have: Mac OSx 10.6.8 and Xcode version 3.2.6
I do : sudo port install g95
{{{ ---> Computing dependencies for g95 ---> Applying patches to g95 Error: Target org.macports.patch returned: shell command failed (see log for details) Log for g95 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_g95/main.log Error: Status 1 encountered during processing. }}}
in the main.log file I have: {{{ :debug:main Executing org.macports.main (g95) :debug:main Skipping completed org.macports.fetch (g95) :debug:main Skipping completed org.macports.checksum (g95) :debug:main Skipping completed org.macports.extract (g95) :debug:patch patch phase started at Fri Jul 1 13:22:06 CEST 2011 :debug:patch Executing org.macports.patch (g95) :msg:patch ---> Applying patches to g95 :info:patch ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/g95/files /patch-Makefile.in.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_lang_g95/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_lang_g95/work/g95-0.92" && /usr/bin/patch -p0' :info:patch patching file Makefile.in :info:patch Reversed (or previously applied) patch detected! Assume -R? [n] :info:patch Apply anyway? [n] :info:patch Skipping patch. :info:patch 3 out of 3 hunks ignored -- saving rejects to file Makefile.in.rej :info:patch shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_g95/work/g95-0.92" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/g95/files /patch-Makefile.in.diff'" returned error 1 :error:patch Target org.macports.patch returned: shell command failed (see log for details) :debug:patch Backtrace: shell command failed (see log for details) while executing "command_exec patch "" "< '$patch'"" (procedure "portpatch::patch_main" line 35) invoked from within "$procedure $targetname" :info:patch Warning: the following items did not execute (for g95): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:patch Log for g95 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_g95/main.log }}}
New description: I have: [[br]] Mac OSx 10.6.8 and Xcode version 3.2.6 I do : {{{ sudo port install g95 ---> Computing dependencies for g95 ---> Applying patches to g95 Error: Target org.macports.patch returned: shell command failed (see log for details) Log for g95 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_g95/main.log Error: Status 1 encountered during processing. }}} in the main.log file I have: {{{ :debug:main Executing org.macports.main (g95) :debug:main Skipping completed org.macports.fetch (g95) :debug:main Skipping completed org.macports.checksum (g95) :debug:main Skipping completed org.macports.extract (g95) :debug:patch patch phase started at Fri Jul 1 13:22:06 CEST 2011 :debug:patch Executing org.macports.patch (g95) :msg:patch ---> Applying patches to g95 :info:patch ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/g95/files /patch-Makefile.in.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_lang_g95/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_lang_g95/work/g95-0.92" && /usr/bin/patch -p0' :info:patch patching file Makefile.in :info:patch Reversed (or previously applied) patch detected! Assume -R? [n] :info:patch Apply anyway? [n] :info:patch Skipping patch. :info:patch 3 out of 3 hunks ignored -- saving rejects to file Makefile.in.rej :info:patch shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_g95/work/g95-0.92" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/g95/files /patch-Makefile.in.diff'" returned error 1 :error:patch Target org.macports.patch returned: shell command failed (see log for details) :debug:patch Backtrace: shell command failed (see log for details) while executing "command_exec patch "" "< '$patch'"" (procedure "portpatch::patch_main" line 35) invoked from within "$procedure $targetname" :info:patch Warning: the following items did not execute (for g95): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:patch Log for g95 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_g95/main.log }}} -- Comment: Clean and try again. {{{ sudo port clean g95 }}} -- Ticket URL: <https://trac.macports.org/ticket/29997#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS