public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] pango fails to build
@ 2008-07-04 15:32 Roger Mason
  2008-07-04 15:54 ` Justin Findlay
  2008-07-08 16:12 ` [gentoo-user] pango fails to build [solved] Roger Mason
  0 siblings, 2 replies; 4+ messages in thread
From: Roger Mason @ 2008-07-04 15:32 UTC (permalink / raw
  To: gentoo-user

Hello all,

I'm trying to install firefox-bin on a new (to me) machine.
pango-1.20.3 is a depenency that, unfortunately fails to build:

i686-pc-linux-gnu-gcc -O2 -mtune=pentium4 -pipe -Wall -o .libs/pangox-view viewer-render.o viewer-x.o viewer-main.o viewer-pangox.o pangox-view.o  ../pango/.libs/libpango-1.0.so ../pango/.libs/libpangox-1.0.so /var/tmp/portage/x11-libs/pango-1.20.3/work/pango-1.20.3/pango/.libs/libpango-1.0.so -lm /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl 
/usr/lib/libcairo.so: undefined reference to `__sync_fetch_and_add_4'
collect2: ld returned 1 exit status
distcc[15035] ERROR: compile (null) on localhost failed
make[3]: *** [pango-view] Error 1
make[3]: *** Waiting for unfinished jobs....
creating pangox-view
make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.20.3/work/pango-1.20.3/pango-view'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.20.3/work/pango-1.20.3/pango-view'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.20.3/work/pango-1.20.3'
make: *** [all] Error 2
 * 
 * ERROR: x11-libs/pango-1.20.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2567:  Called gnome2_src_compile
 *             environment, line 1938:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure


In case it is relevant, here is the version of cairo:

hyalophane etc # emerge -pv cairo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/cairo-1.6.4  USE="X -debug -directfb -doc -glitz -opengl -svg -test -xcb" 0 kB 

Thanks for any help,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] pango fails to build
  2008-07-04 15:32 [gentoo-user] pango fails to build Roger Mason
@ 2008-07-04 15:54 ` Justin Findlay
  2008-07-04 19:23   ` Roger Mason
  2008-07-08 16:12 ` [gentoo-user] pango fails to build [solved] Roger Mason
  1 sibling, 1 reply; 4+ messages in thread
From: Justin Findlay @ 2008-07-04 15:54 UTC (permalink / raw
  To: gentoo-user

On AD 2008 July 04 Friday 01:02:39 PM -0230, Roger Mason wrote:
> /usr/lib/libcairo.so: undefined reference to `__sync_fetch_and_add_4'

Did you try revdep-rebuild, or even just remerging cairo?


Justin
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] pango fails to build
  2008-07-04 15:54 ` Justin Findlay
@ 2008-07-04 19:23   ` Roger Mason
  0 siblings, 0 replies; 4+ messages in thread
From: Roger Mason @ 2008-07-04 19:23 UTC (permalink / raw
  To: gentoo-user

Justin Findlay <justin@jfindlay.us> writes:

> On AD 2008 July 04 Friday 01:02:39 PM -0230, Roger Mason wrote:
>> /usr/lib/libcairo.so: undefined reference to `__sync_fetch_and_add_4'
>
> Did you try revdep-rebuild, or even just remerging cairo?

I rebuilt cairo several times and revdep-rebuild says everything is
OK.

Thanks,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] pango fails to build [solved]
  2008-07-04 15:32 [gentoo-user] pango fails to build Roger Mason
  2008-07-04 15:54 ` Justin Findlay
@ 2008-07-08 16:12 ` Roger Mason
  1 sibling, 0 replies; 4+ messages in thread
From: Roger Mason @ 2008-07-08 16:12 UTC (permalink / raw
  To: gentoo-user

Roger Mason <rmason@esd.mun.ca> writes:

> I'm trying to install firefox-bin on a new (to me) machine.
> pango-1.20.3 is a depenency that, unfortunately fails to build:
>

On a hunch I changed CFLAGS from -mtune=pentium4 to -march=i686 and
did emerge -e world.

Now pango compiles without any problem.  This is a satisfactory,
though not very enlightening, solution.

Cheers,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-08 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-04 15:32 [gentoo-user] pango fails to build Roger Mason
2008-07-04 15:54 ` Justin Findlay
2008-07-04 19:23   ` Roger Mason
2008-07-08 16:12 ` [gentoo-user] pango fails to build [solved] Roger Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox