Opened 14 years ago

Closed 13 years ago

#27011 closed defect (fixed)

cairo doesn't build universal i386 x86_64 on Leopard

Reported by: vipulp@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: cairo

Description (last modified by mf2k (Frank Schima))

:info:build --->  Building cairo for architecture x86_64
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt
/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_rel
ease_ports_graphics_cairo/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' 
CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_va
r_macports_sources_rsync.macports.org_release_ports_graphics_cairo/work/cairo-1.
10.0-x86_64" && /usr/bin/make -j8 all'
:info:build /usr/bin/make  all-recursive
:info:build Making all in src
:info:build /usr/bin/make  all-am
:info:build   CCLD   libcairo.la
:info:build Undefined symbols:
:info:build   "___umodti3", referenced from:
:info:build       __cairo_uint128_divrem in cairo-wideint.o
:info:build   "___udivti3", referenced from:
:info:build       __cairo_uint128_divrem in cairo-wideint.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[3]: *** [libcairo.la] Error 1
:info:build make[2]: *** [all] Error 2
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_ma
ports_sources_rsync.macports.org_release_ports_graphics_cairo/work/cairo-1.10.0
x86_64" && /usr/bin/make -j8 all " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"$procedure $targetname"

Change History (6)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: cairo added

In the future, please fill in the port field, Cc the maintainer and review WikiFormatting.

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

I see you are building x86_64 (as part of a universal build) with deployment target 10.5, which is something I have not tested. I take it you are on Leopard? (Or are you on Snow Leopard with deployment target set to 10.5?) You could try building for i386 only and see if you still get the problem.

I also have not tested 8 parallel make jobs which I see you are using but I would be less inclined to think that's the problem. You could test by cleaning the port then building with "sudo port install cairo build.jobs=1".

It might help to see the complete main.log.

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

Summary: libcairo.la doesn't build - undefined symbolscairo doesn't build universal i386 x86_64 on Leopard

This has also been reported on the mailing list now.

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

Changed cairo and cairo-devel to use gcc-4.2 on Leopard in r73419.

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Should this be closed, or did that change not fix the problem?

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

Resolution: fixed
Status: newclosed

The reporter responded to me by email saying:

I believe it did.

Note: See TracTickets for help on using tickets.