Bug#486969: libnss-lwres: FTBFS: libtool: link: `/usr/lib/libxml2.la' is not a valid libtool archive

2008-06-24 Thread Julien Cristau
reassign 486969 libbind-dev
retitle 486969 liblwres.la references libxml2.la but doesn't depend on 
libxml2-dev
kthxbye

On Thu, Jun 19, 2008 at 10:15:48 +0200, Lucas Nussbaum wrote:

  /bin/sh ./libtool --mode=link gcc  -g -O2  -o libnss_lwres.la -rpath //lib 
  -version-info 2  -Wl,--version-script=./libnss_lwres.map lwres-host.lo 
  -L/usr/lib -llwres 
  mkdir .libs
  grep: /usr/lib/libxml2.la: No such file or directory
  sed: can't read /usr/lib/libxml2.la: No such file or directory
  libtool: link: `/usr/lib/libxml2.la' is not a valid libtool archive
  make[1]: *** [libnss_lwres.la] Error 1
 

$ grep dependency_libs /usr/lib/liblwres.la 
dependency_libs=' -lcap -lnsl -lpthread /usr/lib/libxml2.la'

libbind-dev needs to either drop this .la file or depend on libxml2-dev.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#486969: libnss-lwres: FTBFS: libtool: link: `/usr/lib/libxml2.la' is not a valid libtool archive

2008-06-19 Thread Lucas Nussbaum
Package: libnss-lwres
Version: 0.93-4.2
Severity: serious
User: [EMAIL PROTECTED]
Usertags: qa-ftbfs-20080619 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on
i386.

Relevant part:
 make[1]: Entering directory 
 `/build/user-libnss-lwres_0.93-4.2-amd64-d0iKQe/libnss-lwres-0.93-4.2'
 /bin/sh ./libtool --mode=compile gcc -DPACKAGE=\nss_lwres\ 
 -DVERSION=\0.93\ -DHAVE_DLFCN_H=1  -I. -I.  -I/usr/include-g -O2 -c 
 lwres-host.c
 gcc -DPACKAGE=\nss_lwres\ -DVERSION=\0.93\ -DHAVE_DLFCN_H=1 -I. -I. 
 -I/usr/include -g -O2 -c lwres-host.c  -fPIC -DPIC -o lwres-host.lo
 lwres-host.c: In function 'copytobuf':
 lwres-host.c:158: warning: incompatible implicit declaration of built-in 
 function 'strlen'
 lwres-host.c:160: warning: incompatible implicit declaration of built-in 
 function 'strlen'
 lwres-host.c:181: warning: incompatible implicit declaration of built-in 
 function 'memcpy'
 lwres-host.c:192: warning: incompatible implicit declaration of built-in 
 function 'strcpy'
 /bin/sh ./libtool --mode=link gcc  -g -O2  -o libnss_lwres.la -rpath //lib 
 -version-info 2-Wl,--version-script=./libnss_lwres.map lwres-host.lo 
 -L/usr/lib -llwres 
 mkdir .libs
 grep: /usr/lib/libxml2.la: No such file or directory
 sed: can't read /usr/lib/libxml2.la: No such file or directory
 libtool: link: `/usr/lib/libxml2.la' is not a valid libtool archive
 make[1]: *** [libnss_lwres.la] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2008/06/19

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3
is now the default on most architectures (even if it's not the case on
i386 yet).  Consequently, many failures are caused by the switch to gcc
4.3.
If you determine that this failure is caused by gcc 4.3, feel free to
downgrade this bug to 'important' if your package is only built on i386,
and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]