[MacPorts] #29997: g95 @0.92 (lang) - shell command failed
#29997: g95 @0.92 (lang) - shell command failed ----------------------------------------+----------------------------------- Reporter: patrizio.mariani@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: G95 ----------------------------------------+----------------------------------- 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/29997> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#29997: g95 @0.92 patch failure ----------------------------------------+----------------------------------- Reporter: patrizio.mariani@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: g95 ----------------------------------------+----------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/29997#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29997: g95 @0.92 patch failure ----------------------------------------+----------------------------------- Reporter: patrizio.mariani@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: g95 ----------------------------------------+----------------------------------- Comment(by takeshi@…): This appears to be caused by an update of patch to 2.5.8. It does not allow patches starting with ".." for security reasons. I do not have a clean solution to fix this problem. gimp-gap seems to have the same problem (#29983). -- Ticket URL: <https://trac.macports.org/ticket/29997#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29997: g95 @0.92 patch failure ----------------------------------------+----------------------------------- Reporter: patrizio.mariani@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: g95 ----------------------------------------+----------------------------------- Comment(by takeshi@…): I fixed the problem by creating a simlink to the gcc source directory. Committed in r80020. Update the tree and try again. -- Ticket URL: <https://trac.macports.org/ticket/29997#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29997: g95 @0.92 patch failure ----------------------------------------+----------------------------------- Reporter: patrizio.mariani@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: g95 ----------------------------------------+----------------------------------- Comment(by patrizio.mariani@…): Thanks. The problem with the patch appears to be solved.[[BR]] However, the installation does not work yet.[[BR]] It enters the "configuring g95" step but does not terminate it (no error message it just stays there forever: now I have been waiting 30min).[[BR]] Here is what I do: {{{ sudo port install g95 ---> Computing dependencies for g95 ---> Fetching g95 ---> Attempting to fetch g95_source.tgz from http://lil.fr.distfiles.macports.org/gcc42 ---> Verifying checksum(s) for g95 ---> Extracting g95 ---> Applying patches to g95 ---> Configuring g95 }}} -- Ticket URL: <https://trac.macports.org/ticket/29997#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29997: g95 @0.92 patch failure ----------------------------------------+----------------------------------- Reporter: patrizio.mariani@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: g95 ----------------------------------------+----------------------------------- Comment(by patrizio.mariani@…): Please forget my previous message.[[BR]] I have now successfully installed g95. [[BR]] The configuration was indeed quite long and the all process took around 45min on my Macbook air 2,13Ghz.[[BR]] But now g95 is installed and running. Thanks -- Ticket URL: <https://trac.macports.org/ticket/29997#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29997: g95 @0.92 patch failure -----------------------------------------+---------------------------------- Reporter: patrizio.mariani@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: g95 | -----------------------------------------+---------------------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/29997#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts