Opened 13 years ago

Closed 13 years ago

#30837 closed defect (fixed)

file 5.08 patch fails with +with_text_magic_file variant

Reported by: gnw3 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), ghosthound
Port: file

Description

On Leopard, "port upgrade file" fails at the patch step:

:notice:patch --->  Applying patches to file                                    
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/r\
elease/ports/sysutils/file/files/patch-magic-Magdir-msdos.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_r\
elease_ports_sysutils_file/file/work/. \
CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'                   
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_v\
ar_macports_sources_rsync.macports.org_release_ports_sysutils_file/file/work/fi\
le-5.08" && /usr/bin/patch -p0'                                                 
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_lo\
cal_var_macports_sources_rsync.macports.org_release_ports_sysutils_file/file/wo\
rk/file-5.08" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.ma\
cports.org/release/ports/sysutils/file/files/patch-magic-Magdir-msdos.diff'     
:info:patch patching file magic/Magdir/msdos                                    
: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 magic/Magdir/msdos.

Change History (5)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Keywords: patch failure removed
Owner: changed from macports-tickets@… to jay-macports@…
Port: file added; sysutils/file removed

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

Cc: ryandesign@… added
Owner: changed from jay-macports@… to macports-tickets@…

Are you using the +with_text_magic_file variant? I do see that it doesn't work.

comment:3 Changed 13 years ago by gnw3

Yes, I am using the +with_text_magic_file variant

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

Summary: sysutils/file 5.08 patch failsfile 5.08 patch fails with +with_text_magic_file variant

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

Cc: ricci@… added
Resolution: fixed
Status: newclosed

I believe r82716 resolved this.

Note: See TracTickets for help on using tickets.