Opened 13 years ago

Closed 13 years ago

#29958 closed defect (fixed)

wxWidgets @2.8.12 fails to apply patch

Reported by: frenchja@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc: jyrkiwahlstedt
Port: wxWidgets

Description

version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/wxWidgets/work
:debug:main Executing org.macports.main (wxWidgets)
:msg:main --->  Fetching wxWidgets
:debug:fetch fetch phase started at Tue Jun 28 14:08:37 CDT 2011
:debug:fetch Executing org.macports.fetch (wxWidgets)
:info:fetch --->  wxWidgets-2.8.12.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/wxWidgets/2.8.12
:debug:fetch Pinging downloads.sourceforge.net...
:debug:fetch Pinging aarnet.dl.sourceforge.net...
:debug:fetch Pinging biznetnetworks.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-us-1.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-us-2.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-kr-1.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-kr-2.dl.sourceforge.net...
:debug:fetch Pinging citylan.dl.sourceforge.net...
:debug:fetch Pinging dfn.dl.sourceforge.net...
:debug:fetch Pinging fastbull.dl.sourceforge.net...
:debug:fetch Pinging freefr.dl.sourceforge.net...
:debug:fetch Pinging garr.dl.sourceforge.net...
:debug:fetch Pinging heanet.dl.sourceforge.net...
:debug:fetch Pinging hivelocity.dl.sourceforge.net...
:debug:fetch Pinging ignum.dl.sourceforge.net...
:debug:fetch Pinging internode.dl.sourceforge.net...
:debug:fetch Pinging iweb.dl.sourceforge.net...
:debug:fetch Pinging jaist.dl.sourceforge.net...
:debug:fetch Pinging kent.dl.sourceforge.net...
:debug:fetch Pinging mesh.dl.sourceforge.net...
:debug:fetch Pinging nchc.dl.sourceforge.net...
:debug:fetch Pinging ncu.dl.sourceforge.net...
:debug:fetch Pinging netcologne.dl.sourceforge.net...
:debug:fetch Pinging puzzle.dl.sourceforge.net...
:debug:fetch Pinging softlayer.dl.sourceforge.net...
:debug:fetch Pinging space.dl.sourceforge.net...
:debug:fetch Pinging sunet.dl.sourceforge.net...
:debug:fetch Pinging surfnet.dl.sourceforge.net...
:debug:fetch Pinging switch.dl.sourceforge.net...
:debug:fetch Pinging transact.dl.sourceforge.net...
:debug:fetch Pinging ufpr.dl.sourceforge.net...
:debug:fetch Pinging voxel.dl.sourceforge.net...
:debug:fetch Pinging waix.dl.sourceforge.net...
:debug:fetch Pinging biolpc22.york.ac.uk...
:debug:fetch Pinging distfiles.macports.org...
:debug:fetch Pinging aarnet.au.distfiles.macports.org...
:debug:fetch Pinging lil.fr.distfiles.macports.org...
:debug:fetch Pinging sea.us.distfiles.macports.org...
:debug:fetch Pinging ykf.ca.distfiles.macports.org...
:debug:fetch downloads.sourceforge.net ping time is 2.803
:debug:fetch aarnet.dl.sourceforge.net ping time is 217.526
:debug:fetch biznetnetworks.dl.sourceforge.net ping time is 279.326
:debug:fetch cdnetworks-us-1.dl.sourceforge.net ping time is 51.475
:debug:fetch cdnetworks-us-2.dl.sourceforge.net ping time is 51.670
:debug:fetch cdnetworks-kr-1.dl.sourceforge.net ping time is 215.767
:debug:fetch cdnetworks-kr-2.dl.sourceforge.net ping time is 215.858
:debug:fetch citylan.dl.sourceforge.net ping time is 163.384
:debug:fetch dfn.dl.sourceforge.net ping time is 124.410
:debug:fetch fastbull.dl.sourceforge.net ping time is 119.201
:debug:fetch freefr.dl.sourceforge.net ping time is 97.946
:debug:fetch garr.dl.sourceforge.net ping time is 143.219
:debug:fetch heanet.dl.sourceforge.net ping time is 130.652
:debug:fetch hivelocity.dl.sourceforge.net ping time is 10000
:debug:fetch ignum.dl.sourceforge.net ping time is 116.829
:debug:fetch internode.dl.sourceforge.net ping time is 297.555
:debug:fetch iweb.dl.sourceforge.net ping time is 21.662
:debug:fetch jaist.dl.sourceforge.net ping time is 176.328
:debug:fetch kent.dl.sourceforge.net ping time is 121.985
:debug:fetch mesh.dl.sourceforge.net ping time is 110.386
:debug:fetch nchc.dl.sourceforge.net ping time is 191.459
:debug:fetch ncu.dl.sourceforge.net ping time is 10000
:debug:fetch netcologne.dl.sourceforge.net ping time is 10000
:debug:fetch puzzle.dl.sourceforge.net ping time is 119.259
:debug:fetch softlayer.dl.sourceforge.net ping time is 23.641
:debug:fetch space.dl.sourceforge.net ping time is 10000
:debug:fetch sunet.dl.sourceforge.net ping time is 129.933
:debug:fetch surfnet.dl.sourceforge.net ping time is 126.976
:debug:fetch switch.dl.sourceforge.net ping time is 126.964
:debug:fetch transact.dl.sourceforge.net ping time is 232.346
:debug:fetch ufpr.dl.sourceforge.net ping time is 171.760
:debug:fetch voxel.dl.sourceforge.net ping time is 1.976
:debug:fetch waix.dl.sourceforge.net ping time is 266.873
:debug:fetch biolpc22.york.ac.uk ping time is 10000
:debug:fetch distfiles.macports.org ping time is 65.456
:debug:fetch aarnet.au.distfiles.macports.org ping time is 217.399
:debug:fetch lil.fr.distfiles.macports.org ping time is 100.121
:debug:fetch sea.us.distfiles.macports.org ping time is 10000
:debug:fetch ykf.ca.distfiles.macports.org ping time is 17.098
:msg:fetch --->  Attempting to fetch wxWidgets-2.8.12.tar.bz2 from http://voxel.dl.sourceforge.net/wxwindows
:msg:fetch --->  Verifying checksum(s) for wxWidgets
:debug:checksum checksum phase started at Tue Jun 28 14:08:50 CDT 2011
:debug:checksum Executing org.macports.checksum (wxWidgets)
:info:checksum --->  Checksumming wxWidgets-2.8.12.tar.bz2
:debug:checksum Correct (md5) checksum for wxWidgets-2.8.12.tar.bz2
:debug:checksum Correct (sha1) checksum for wxWidgets-2.8.12.tar.bz2
:debug:checksum Correct (rmd160) checksum for wxWidgets-2.8.12.tar.bz2
:debug:checksum setting option extract.cmd to /usr/bin/bzip2
:msg:checksum --->  Extracting wxWidgets
:debug:extract extract phase started at Tue Jun 28 14:08:50 CDT 2011
:debug:extract Executing org.macports.extract (wxWidgets)
:info:extract --->  Extracting wxWidgets-2.8.12.tar.bz2
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/wxWidgets/2.8.12/wxWidgets-2.8.12.tar.bz2'
:debug:extract 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_wxWidgets/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/wxWidgets/2.8.12/wxWidgets-2.8.12.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:patch patch phase started at Tue Jun 28 14:09:03 CDT 2011
:debug:patch Executing org.macports.patch (wxWidgets)
:msg:patch --->  Applying patches to wxWidgets
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/wxWidgets/files/patch-chkconf.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_wxWidgets/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_wxWidgets/work/wxWidgets-2.8.12/build" && /usr/bin/patch -p0'
:info:patch /usr/bin/patch: **** rejecting file name with ".." component: ../include/wx/mac/carbon/chkconf.h
:info:patch shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.12/build" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/wxWidgets/files/patch-chkconf.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 wxWidgets): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:patch Failed to install wxWidgets
:notice:patch Log for wxWidgets is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/main.log

Attachments (1)

wxWidgets-Portfile-patch-fix.diff (1010 bytes) - added by pixilla (Bradley Giesbrecht) 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by pixilla (Bradley Giesbrecht)

comment:1 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Keywords: haspatch added; wxWidgets patch fail removed

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: frenchja@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

This is due to a "security fix" in the version of /usr/bin/patch in 10.6.8 / 10.7.0. Several ports need to be updated to accommodate this change.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Fixed in r79871.

Note: See TracTickets for help on using tickets.