Opened 9 years ago

Closed 9 years ago

#47916 closed defect (fixed)

apple-gcc42 @5666.3_15+gpl3: gcc-4.2.1-4.2.4.patch doesn't apply

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: apple-gcc42

Description

patching file maintainer-scripts/gcc_release
Command failed:  cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3" && /usr/bin/patch -p0 < '/opt/local/var/macports/distfiles/apple-gcc42/gcc-4.2.1-4.2.4.patch'
Exit code: 1
Error: Failed to patch apple-gcc42: command execution failed
DEBUG: Error code: CHILDSTATUS 12918 1
DEBUG: Backtrace: command execution failed
    while executing
"system {*}$notty {*}$nice $fullcmdstring"
    invoked from within
"command_exec patch "" "< '$patch'""
    (procedure "portpatch::patch_main" line 35)
    invoked from within
"$procedure $targetname"
Error: See /opt/local/var/macports/logs/_opt_mports_trunk_dports_lang_apple-gcc42/apple-gcc42/main.log for details.
DEBUG: Failed to locate 'lbzip2' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?

A typo somewhere?

Attachments (1)

main.log (48.6 KB) - added by ballapete (Peter "Pete" Dyballa) 9 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

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

Owner: changed from macports-tickets@… to larryv@…

comment:2 Changed 9 years ago by larryv (Lawrence Velázquez)

Status: newassigned
Summary: apple-gcc42 won't build on PPC Leopard, Mac OS X 10.5.8, because of a missing lbzip2 utility?apple-gcc42 @5666.3_15+gpl3: gcc-4.2.1-4.2.4.patch doesn't apply

This has nothing to do with lbzip2. Please read your log more carefully.

:info:patch --->  Applying gcc-4.2.1-4.2.4.patch
:debug:patch Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_apple-gcc42/apple-gcc42/work/.CC_PRINT_OPTIONS'
CPATH='/usr/include'
LIBRARY_PATH='/usr/lib'
MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3" && /usr/bin/patch -p0 < '/opt/local/var/macports/distfiles/apple-gcc42/gcc-4.2.1-4.2.4.patch'
:info:patch patching file ChangeLog
:info:patch patching file INSTALL/binaries.html
:info:patch patching file INSTALL/build.html
:info:patch patching file INSTALL/configure.html
:info:patch patching file INSTALL/download.html
:info:patch patching file INSTALL/finalinstall.html
:info:patch patching file INSTALL/gfdl.html
:info:patch patching file INSTALL/index.html
:info:patch patching file INSTALL/old.html
:info:patch patching file INSTALL/prerequisites.html
:info:patch patching file INSTALL/specific.html
:info:patch patching file INSTALL/test.html
:info:patch patching file config/ChangeLog
:info:patch patching file configure
:info:patch patching file configure.in
:info:patch patching file contrib/ChangeLog
:info:patch patching file contrib/reghunt/ChangeLog
:info:patch patching file contrib/regression/ChangeLog
:info:patch patching file contrib/texi2pod.pl
:info:patch patching file fixincludes/fixincl.x
:info:patch Hunk #1 succeeded at 5654 (offset 70 lines).
:info:patch Hunk #2 succeeded at 5707 (offset 70 lines).
:info:patch Hunk #3 succeeded at 5756 (offset 70 lines).
:info:patch Hunk #4 succeeded at 5805 (offset 70 lines).
:info:patch Hunk #5 succeeded at 5907 (offset 70 lines).
:info:patch Hunk #6 FAILED at 8634.
:info:patch Hunk #7 succeeded at 8785 (offset 72 lines).
:info:patch Hunk #8 succeeded at 9572 (offset 82 lines).
:info:patch 1 out of 8 hunks FAILED -- saving rejects to file fixincludes/fixincl.x.rej
:info:patch patching file fixincludes/inclhack.def
:info:patch Reversed (or previously applied) patch detected!  Assume -R? [n] 
:info:patch Apply anyway? [n] 
:info:patch Skipping patch.
:info:patch 10 out of 10 hunks ignored -- saving rejects to file fixincludes/inclhack.def.rej

comment:3 Changed 9 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.