New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16889 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

libopenraw 0.0.5 fails to build on 10.4.11: __Unwind_resume not found

Reported by: dbueno@… Owned by: devans@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: libopenraw Cc:
Port: libopenraw

Description

After sudo port -vvv install libopenraw, the symptom is:

/usr/bin/gcc-4.0 -O2 -Wextra -pedantic -g -Wall -o thumbc thumbc.o  -L/opt/local/var/macports/build/_opt_local_var_macport
s_sources_rsync.macports.org_release_ports_graphics_libopenraw/work/libopenraw-0.0.5/lib -L/opt/local/lib ../lib/.libs/lib
openraw.a -lstdc++ /opt/local/lib/libjpeg.dylib  
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
__Unwind_Resume
collect2: ld returned 1 exit status
make[2]: *** [thumbc] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Warning: the following items did not execute (for libopenraw): org.macports.activate org.macports.build org.macports.destr
oot org.macports.install

I did a port sync an hour ago. I ran into this problem when trying to install the gimp port.

I'll attach the full build log in case it shows anything interesting.

Attachments

libopenraw-full.log (48.9 KB) - added by dbueno@… 5 years ago.
full build failure log

Change History

Changed 5 years ago by dbueno@…

full build failure log

comment:1 Changed 5 years ago by devans@…

  • Status changed from new to assigned
  • Owner changed from macports-tickets@… to devans@…

comment:2 follow-up: ↓ 3 Changed 5 years ago by devans@…

This seems to be related to XCode and how it links C++ code. However, I just tried it on by 10.4.11 ppc and it built OK. I see some reports of this happening with XCode 2.2. What version of XCode are you using? I'm using 2.5.

comment:3 in reply to: ↑ 2 Changed 5 years ago by dbueno@…

Replying to devans@…:

This seems to be related to XCode and how it links C++ code. However, I just tried it on by 10.4.11 ppc and it built OK. I see some reports of this happening with XCode 2.2. What version of XCode are you using? I'm using 2.5.

I'm using XCode 2.5 on an Intel Mac (MacBook Pro).

comment:4 Changed 5 years ago by devans@…

Since I can't reproduce the failure here right now, I have disabled the building of the demo directory in r40857 and r40858. Hopefully, that will let you finish building the rest of the port while I try to figure out what is going on. Also have removed libopenraw as a dependency in gegl in r40856 as it is optional there.

So after things sync up (an hour or so from now), do

sudo port -d sync

and try again.

Please report back with your results either + or -.

comment:5 Changed 5 years ago by dbueno@…

Thanks -- I was able to build it.

comment:6 Changed 5 years ago by blb@…

You might try a

build.env   LD=g++

see if that links better...I had to do that for the MPlayer port ages ago, could be the same issue.

comment:7 Changed 5 years ago by devans@…

Yes, perhaps. But why does it work for one person and not another?

comment:8 Changed 5 years ago by devans@…

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:9 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.