Bug 689762

Summary: ghostscript-8.62 fails to build against pango-1.20.0 and atk-1.22.0
Product: Ghostscript Reporter: engelsman <duncan.gibson>
Component: Build ProcessAssignee: Ralph Giles <ralph.giles>
Status: NOTIFIED INVALID    
Severity: normal    
Priority: P4    
Version: 8.62   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: compile log of failed build

Description engelsman 2008-03-21 03:52:33 UTC
I have a Lunar Linux machine at home (http://www.lunar-linux.org) and am working
through all installed packages to check whether they are up to date. I updated
pango from 1.18.4 to 1.20.0 and atk from 1.20.0 to 1.22.0, but later found that
ghostscript-8.6.2 fails to build against these versions. The error message is:

<pre>
./src/dxmain.c:654: warning: passing argument 3 of 'gtk_signal_connect_full'
from incompatible pointer type
/usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libpango-1.0.so: undefined
reference to `g_assertion_message'
/usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../libatk-1.0.so: undefined reference
to `g_assertion_message_expr'
collect2: ld returned 1 exit status
</pre>

I reverted pango to 1.18.4 and had a similar error. I reverted atk to 1.20.0 and
was able to build again.
Comment 1 engelsman 2008-03-21 03:57:37 UTC
Created attachment 3882 [details]
compile log of failed build

full compile log of failed build against pango-1.20.0 and atk-1.22.0 to show
full compile options, and build history
Comment 2 engelsman 2008-03-21 07:05:03 UTC
Hold fire on investigating further on this one.
I think I have an inconsistent set of libraries
so I'm rebuilding from glib-2 upwards. It will
be some time before I get back up to ghostscript
Comment 3 engelsman 2008-03-21 17:25:33 UTC
I have now installed:
glib-2.16.1
gtk+-2.12.9
atk-1.22.0
pango-1.20.0
ghostscript-8.62
so the problem was down to out-of-synch libraries.
Please close this report as PEBCAK