Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10936 - libgnomeprint does not build / emerge on alpha
Summary: libgnomeprint does not build / emerge on alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Bjoern Brauel (RETIRED)
URL:
Whiteboard:
Keywords:
: 11786 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-18 20:24 UTC by Ted Goodridge, Jr
Modified: 2003-03-03 13:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ted Goodridge, Jr 2002-11-18 20:24:17 UTC
libgnomeprint build fails on alpha with the following error:

ations -o .libs/generate generate.o -Wl,--export-dynamic 
../libgnomeprint/.libs/libgnomeprint-2.so /usr/lib/libart_lgpl_2.so
/usr/lib/libpango-1.0.so /usr/lib/libbonobo-2.so /usr/lib/libORBitCosNaming-2.so
/usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so /usr/lib/libxml2.so -lm
/usr/lib/liblinc.so -lssl -lcrypto /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread
/usr/lib/libglib-2.0.so /usr/lib/libfreetype.so /usr/lib/libpopt.so
../libgnomeprint/.libs/libgnomeprint-2.so: undefined reference to `deflate'
../libgnomeprint/.libs/libgnomeprint-2.so: undefined reference to `deflateInit_'
../libgnomeprint/.libs/libgnomeprint-2.so: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
make[2]: *** [generate] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libgnomeprint-1.116.0/work/libgnomeprint-1.116.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libgnomeprint-1.116.0/work/libgnomeprint-1.116.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: gnome-base/libgnomeprint-1.116.0 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! compile failure
Comment 1 foser (RETIRED) gentoo-dev 2002-11-19 07:28:59 UTC
Looks like a missing libz link (-lz) to me. Why this pop ups so sudden is a bit
of a mystery to me.

What libpng are you using ?
Comment 2 Ted Goodridge, Jr 2002-11-19 11:03:34 UTC
I'm using libpng 1.2.4.  It is the one that built from inside libgnomeprint.
Comment 3 sa 2002-11-24 23:14:42 UTC
I have been getting these undefined references to zlib functiosn alot lately too...
to fix this one i edited /usr/lib/pkgconfig/libxml-2.0.pc
and added a -lz like:
Libs: -L${libdir} -lxml2   -lm  -lz

mabey the libxml2 ebuild needs to be patched?

im using gentoo 1.4?? with
/etc/make.profile -> ../usr/portage/profiles/default-1.0
Comment 4 Isaac Straley 2002-11-26 11:07:39 UTC
This is affecting the x86 architecture as well.  Patching libxml-2.0.pc seems to
work, though..
Comment 5 Ted Goodridge, Jr 2002-11-27 13:00:06 UTC
So has libxml2 been patched?  If it has I'll try and re-emerge this.
Comment 6 Ted Goodridge, Jr 2002-11-28 11:26:06 UTC
A workaround is to set CFLAGS="$CFLAGS -lz".  This compiled fine for me after I
did that.
Comment 7 foser (RETIRED) gentoo-dev 2002-12-13 06:36:41 UTC
*** Bug 11786 has been marked as a duplicate of this bug. ***
Comment 8 Michael Tomkins 2002-12-18 18:05:40 UTC
Same error on a PPC604/Gentoo1.4

Patching /usr/lib/pkgconfig/libxml-2.0.pc as in comment #3 fixed bug.
Comment 9 Ted Goodridge, Jr 2003-03-03 12:25:56 UTC
This is an old bug...it's fixed as I can now build Gnome 2.2 on alpha.  Please mark resolved.
Comment 10 Aron Griffis (RETIRED) gentoo-dev 2003-03-03 13:57:59 UTC
Great.  Sorry I didn't see this earlier (it was assigned to bjb, I should
really look through his bugs).