gnome-libs: FTBFS: Fails to find the X paths.

Bug #28084 reported by Debian Bug Importer
8
Affects Status Importance Assigned to Milestone
gnome-libs (Debian)
Fix Released
Unknown
gnome-libs (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Automatically imported from Debian bug report #346259 http://bugs.debian.org/346259

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 6 Jan 2006 18:42:13 +0100
From: Kurt Roeckx <email address hidden>
To: <email address hidden>
Subject: gnome-libs: FTBFS: Fails to find the X paths.

Package: gnome-libs
Version: 1.4.2-28
Severity: serious

Hi,

Your package is failing to build with the following error:
checking for X... no
[...]
/bin/sh ../libtool --mode=link gcc -Wall -g -O2 -Wall -Wunused -o gnome-moz-remote gnome-moz-remote.o libgnome.la ../support/libgnomesupport.la -L/usr/lib -lesd -laudiofile -lm -L/usr/lib -laudiofile -lm -ldb-3 -L/usr/lib -lglib -lXext -lX11 -lz -lm
gcc -Wall -g -O2 -Wall -Wunused -o .libs/gnome-moz-remote gnome-moz-remote.o ./.libs/libgnome.so ../support/.libs/libgnomesupport.so -L/usr/lib /usr/lib/libesd.so -lm /usr/lib/libaudiofile.so -lm -ldb-3 /usr/lib/libglib.so -lXext -lX11 -lz -lm
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[3]: *** [gnome-moz-remote] Error 1

This can be solved in 2 ways:
- Add a build dependency on libxt-dev
- Rebuild the configure script with debian's autoconf, since it
  fixes the problem that the macro's check for something in
  libxt-dev. Please also see
  /usr/share/doc/autotools-dev/README.Debian.gz in that case
  on how to avoid timestamp skew issues.

Kurt

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 6 Jan 2006 18:55:58 +0100
From: Kurt Roeckx <email address hidden>
To: <email address hidden>
Subject: Re: Bug#346259: gnome-libs: FTBFS: Fails to find the X paths.

On Fri, Jan 06, 2006 at 06:42:13PM +0100, Kurt Roeckx wrote:
> /usr/bin/ld: cannot find -lXext
> collect2: ld returned 1 exit status
> make[3]: *** [gnome-moz-remote] Error 1

There are some other errors too:
readXPM.c:138:21: error: X11/xpm.h: No such file or directory

This is a missing build dependency on libxpm-dev.

And then later it fails with:
/bin/sh ../libtool --mode=link gcc -Wall -g -O2 -Wall -Wunused -o htmltest test.o libgtkxmhtml.la -ljpeg -lpng12 -lz -lz -lSM -lICE -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lz -lm
gcc -Wall -g -O2 -Wall -Wunused -o .libs/htmltest test.o -rdynamic ./.libs/libgtkxmhtml.so /usr/lib/libjpeg.so -lpng12 -lz -lz -lSM -lICE -L/usr/lib -L/usr/X11R6/lib /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm -lz -lm
./.libs/libgtkxmhtml.so: undefined reference to `XpmCreateXpmImageFromBuffer'
./.libs/libgtkxmhtml.so: undefined reference to `XpmFreeXpmInfo'
./.libs/libgtkxmhtml.so: undefined reference to `XpmGetErrorString'
./.libs/libgtkxmhtml.so: undefined reference to `XpmCreateXpmImageFromData'
./.libs/libgtkxmhtml.so: undefined reference to `XpmFreeXpmImage'
collect2: ld returned 1 exit status
make[3]: *** [htmltest] Error 1
make[3]: *** [htmltest] Error 1
make[3]: Leaving directory `/usr/src/gnome-libs-1.4.2/gtk-xmhtml'

Kurt

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 06 Jan 2006 11:16:59 -0800
From: Thomas Bushnell BSG <email address hidden>
To: Kurt Roeckx <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#346259: gnome-libs: FTBFS: Fails to find the X paths.

Kurt Roeckx <email address hidden> writes:

> This can be solved in 2 ways:
> - Add a build dependency on libxt-dev
> - Rebuild the configure script with debian's autoconf, since it
> fixes the problem that the macro's check for something in
> libxt-dev. Please also see
> /usr/share/doc/autotools-dev/README.Debian.gz in that case
> on how to avoid timestamp skew issues.

Obviously adding a spurious depedency is not the best idea.

Since this is a legacy package, I'd like to avoid the hassle of your
second approach. Fortunately there's a third, which is to give
--x-includes and --x-libraries on the configure invocation.

Thomas

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 06 Jan 2006 11:21:08 -0800
From: Thomas Bushnell BSG <email address hidden>
To: Kurt Roeckx <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#346259: gnome-libs: FTBFS: Fails to find the X paths.

Kurt Roeckx <email address hidden> writes:

> On Fri, Jan 06, 2006 at 06:42:13PM +0100, Kurt Roeckx wrote:
>> /usr/bin/ld: cannot find -lXext
>> collect2: ld returned 1 exit status
>> make[3]: *** [gnome-moz-remote] Error 1
>
> There are some other errors too:
> readXPM.c:138:21: error: X11/xpm.h: No such file or directory

Thanks for this and the other report; an upload is in progress now.

This presumably happened because the dependency on gdx-imlib11-dev
(and perhaps other things) no longer brings in the old xlibs-dev.

Thomas

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (6.1 KiB)

Message-Id: <email address hidden>
Date: Fri, 06 Jan 2006 11:47:08 -0800
From: <email address hidden> (Thomas Bushnell, BSG)
To: <email address hidden>
Subject: Bug#346259: fixed in gnome-libs 1.4.2-29

Source: gnome-libs
Source-Version: 1.4.2-29

We believe that the bug you reported is fixed in the latest version of
gnome-libs, which is due to be installed in the Debian FTP archive:

gnome-bin_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/gnome-bin_1.4.2-29_powerpc.deb
gnome-dev-doc_1.4.2-29_all.deb
  to pool/main/g/gnome-libs/gnome-dev-doc_1.4.2-29_all.deb
gnome-libs-data_1.4.2-29_all.deb
  to pool/main/g/gnome-libs/gnome-libs-data_1.4.2-29_all.deb
gnome-libs_1.4.2-29.diff.gz
  to pool/main/g/gnome-libs/gnome-libs_1.4.2-29.diff.gz
gnome-libs_1.4.2-29.dsc
  to pool/main/g/gnome-libs/gnome-libs_1.4.2-29.dsc
libart-dev_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libart-dev_1.4.2-29_powerpc.deb
libart2_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libart2_1.4.2-29_powerpc.deb
libgnome-dev_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libgnome-dev_1.4.2-29_powerpc.deb
libgnome32_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libgnome32_1.4.2-29_powerpc.deb
libgnomesupport0_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libgnomesupport0_1.4.2-29_powerpc.deb
libgnomeui32_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libgnomeui32_1.4.2-29_powerpc.deb
libgnorba-dev_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libgnorba-dev_1.4.2-29_powerpc.deb
libgnorba27_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libgnorba27_1.4.2-29_powerpc.deb
libgnorbagtk0_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libgnorbagtk0_1.4.2-29_powerpc.deb
libgtkxmhtml-dev_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libgtkxmhtml-dev_1.4.2-29_powerpc.deb
libgtkxmhtml1_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libgtkxmhtml1_1.4.2-29_powerpc.deb
libzvt-dev_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libzvt-dev_1.4.2-29_powerpc.deb
libzvt2_1.4.2-29_powerpc.deb
  to pool/main/g/gnome-libs/libzvt2_1.4.2-29_powerpc.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Bushnell, BSG <email address hidden> (supplier of updated gnome-libs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 6 Jan 2006 11:18:09 -0800
Source: gnome-libs
Binary: libart2 libgnomesupport0 libgnomeui32 libgtkxmhtml-dev gnome-dev-doc libgnorbagtk0 libgtkxmhtml1 libgnorba-dev gnome-libs-data libgnorba27 libzvt-dev libzvt2 gnome-bin libart-dev libgnome32 libgnome-dev
Architecture: source powerpc all
Version: 1.4.2-29
Distribution: unstable
Urgency: low
Maintainer: Thomas Bushnell, BSG <email address hidden>
Changed-By: Thomas Bushnell, BSG <email address hidden>
Description:
 gnome-bin - ...

Read more...

Revision history for this message
Carthik Sharma (carthik) wrote :

Fixed in version gnome-libs/1.4.2-29 by <email address hidden> (Thomas Bushnell, BSG).

Fixed package is in Dapper. Closing.

Changed in gnome-libs:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.