Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16889 closed defect (fixed)

libopenraw 0.0.5 fails to build on 10.4.11: __Unwind_resume not found

Reported by: dbueno@… Owned by: dbevans (David B. Evans)
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 (1)

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

Download all attachments as: .zip

Change History (10)

Changed 16 years ago by dbueno@…

Attachment: libopenraw-full.log added

full build failure log

comment:1 Changed 16 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to devans@…
Status: newassigned

comment:2 Changed 16 years ago by dbevans (David B. Evans)

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 16 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 16 years ago by dbevans (David B. Evans)

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 16 years ago by dbueno@…

Thanks -- I was able to build it.

comment:6 Changed 16 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 16 years ago by dbevans (David B. Evans)

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

comment:8 Changed 16 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

comment:9 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.