Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#44879 closed defect (fixed)

defect libunwind-headers: tiger-Unwind_GetIPInfo.patch does not get applied on PPC Tiger, Mac OS X 10.4.11

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: tiger Cc:
Port: libunwind-headers

Description

--->  Applying patches to libunwind-headers
--->  Applying tiger-Unwind_GetIPInfo.patch
DEBUG: Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libunwind-headers/libunwind-headers/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libunwind-headers/libunwind-headers/work/libunwind-35.1" && /usr/bin/patch -p0'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libunwind-headers/libunwind-headers/work/libunwind-35.1" && /usr/bin/patch -p0 < '/opt/mports/trunk/dports/devel/libunwind-headers/files/tiger-Unwind_GetIPInfo.patch'
patching file include/unwind.h
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file include/unwind.h.rej
Command failed:  cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_libunwind-headers/libunwind-headers/work/libunwind-35.1" && /usr/bin/patch -p0 < '/opt/mports/trunk/dports/devel/libunwind-headers/files/tiger-Unwind_GetIPInfo.patch'
Exit code: 1
Error: org.macports.patch for port libunwind-headers returned: command execution failed

Attachments (1)

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

Download all attachments as: .zip

Change History (12)

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

Attachment: main.log added

main.log

comment:1 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Commenting the line with the patch file in Portfile produces something that seems to be usable…

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Cc: mfeiri@… removed
Keywords: tiger added
Owner: changed from macports-tickets@… to mfeiri@…

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

Owner: changed from mfeiri@… to jeremyhu@…

Your log shows an unclean build; it's not surprising therefore that the patch would fail to apply, since it had already been applied previously. Please clean, selfupdate, and try again.

comment:4 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

This port has had a major update over the past 2 weeks. Please try the current port and report any errors.

comment:5 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

This evening I really cleaned libunwind-headers! I have now a different problem:

make: Entering directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_ld64/ld64/work/ld64-97.17'
/opt/local/bin/g++-apple-4.2 -Os -Os  -arch ppc  -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers -I/opt/local/include  -c -o src/other/ObjectDump.o src/other/ObjectDump.cpp
In file included from src/ld/MachOReaderRelocatable.hpp:37,
                 from src/other/ObjectDump.cpp:31:
src/abstraction/MachOFileAbstraction.hpp:36:44: error: mach-o/compact_unwind_encoding.h: No such file or directory
In file included from src/ld/MachOReaderRelocatable.hpp:43,
                 from src/other/ObjectDump.cpp:31:
src/ld/parsers/libunwind/DwarfInstructions.hpp:39:23: error: libunwind.h: No such file or directory
In file included from src/ld/MachOReaderRelocatable.hpp:37,
                 from src/other/ObjectDump.cpp:31:

and can't build libunwind-headers…

comment:6 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

src/ld/parsers/libunwind/DwarfInstructions.hpp:39:23: error: libunwind.h: No such file or directory

I'm confused. The problem you are reporting here is a build failure in ld64 because the libunwind-headers port is not installed. Why can't you install the libunwind-headers port? It has no dependency on ld64.

comment:7 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

We can deal with that in your new ticket, #46547

It looks like your port tree is either corrupt or out of date.

comment:8 in reply to:  6 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Replying to jeremyhu@…:

I'm confused.

So am I! I explicitly asked port to 'buil libunwind-headers' and at least you can see msg:main ---> Computing dependencies for libunwind-headers:msg:main in main.log, but then port starts to build something completely different! Are now MS programmers writing on port?

Why can't you install the libunwind-headers port?

Because port is preventing me from doing so. I am really willing to build the libunwind-headers!

comment:9 in reply to:  6 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Replying to jeremyhu@…:

Why can't you install the libunwind-headers port?

It seems that I managed to install them! I remember vaguely that I patched Portfile to apply the one patch. When I now try to forcibly build libunwind-headers I can see:

DEBUG: No need to upgrade! libunwind-headers 35.3_0 >= libunwind-headers 35.3_0

and then port starts to build ld64…

There must be something not working correctly with svn by which I have to update Macports. Or I need to return to the normal setup of MacPorts and perform the (self)update with rsynch…

comment:10 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Yes, your ports checkout is corrupt our out of date. See #46547.

comment:11 in reply to:  10 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Replying to jeremyhu@…:

Yes, your ports checkout is corrupt our out of date. See #46547.

I switched back to the rsynch method. Libunwind-headers 3.5.0_7 built and installed without problem.

Note: See TracTickets for help on using tickets.