[MacPorts] #30219: pgplot: patching fails due to ".." path component (was: pgplot installation fails while installing patches)

MacPorts noreply at macports.org
Mon Jul 18 08:35:55 PDT 2011


#30219: pgplot: patching fails due to ".." path component
-------------------------------+--------------------------------------------
 Reporter:  mcbentz@…          |       Owner:  mcalhoun@…           
     Type:  defect             |      Status:  new                  
 Priority:  Normal             |   Milestone:                       
Component:  ports              |     Version:  1.9.2                
 Keywords:                     |        Port:  pgplot               
-------------------------------+--------------------------------------------
Changes (by jmr@…):

  * owner:  macports-tickets@… => mcalhoun@…
  * keywords:  pgplot patch =>
  * port:  => pgplot


Old description:

> While attempting to install pgplot tonight, the installation failed while
> installing a patch.  I had just run selfupdate immediately before
> installation.
>
> Here's the error message I received:
>
> --->  Applying patches to pgplot
> Error: Target org.macports.patch returned: shell command failed (see log
> for details)
> Log for pgplot is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_pgplot/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
>
> And the contents of main.log:
> :msg:patch --->  Applying patches to pgplot
> :info:patch --->  Applying
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/pgplot/files
> /patch-makemake.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_graphics_pgplot/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_graphics_pgplot/work/build"
> && /usr/bin/patch -p0'
> :info:patch /usr/bin/patch: **** rejecting file name with ".." component:
> ../pgplot/makemake
> :info:patch shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_pgplot/work/build"
> && /usr/bin/patch -p0 <
> '/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/pgplot/files
> /patch-makemake.diff'" returned error 2
> :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 pgplot):
> org.macports.activate org.macports.patch org.macports.configure
> org.macports.build org.macports.destroot org.macports.install
> :notice:patch Log for pgplot is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_pgplot/main.log
>

> I would appreciate any help here.  Architecture is Mac OS X 10.6.8.
> Thanks!

New description:

 While attempting to install pgplot tonight, the installation failed while
 installing a patch.  I had just run selfupdate immediately before
 installation.

 Here's the error message I received:
 {{{
 --->  Applying patches to pgplot
 Error: Target org.macports.patch returned: shell command failed (see log
 for details)
 Log for pgplot is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_pgplot/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}
 And the contents of main.log:
 {{{
 :msg:patch --->  Applying patches to pgplot
 :info:patch --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/pgplot/files
 /patch-makemake.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_graphics_pgplot/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_graphics_pgplot/work/build"
 && /usr/bin/patch -p0'
 :info:patch /usr/bin/patch: **** rejecting file name with ".." component:
 ../pgplot/makemake
 :info:patch shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_pgplot/work/build"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/pgplot/files
 /patch-makemake.diff'" returned error 2
 :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 pgplot):
 org.macports.activate org.macports.patch org.macports.configure
 org.macports.build org.macports.destroot org.macports.install
 :notice:patch Log for pgplot is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_pgplot/main.log
 }}}

 I would appreciate any help here.  Architecture is Mac OS X 10.6.8.
 Thanks!

--

Comment:

 Please remember to preview and use WikiFormatting, put the name of the
 port in the Port field, and cc the maintainer.

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


More information about the macports-tickets mailing list