Bug#381406: gdome2-xslt: FTBFS: ld: cannot find -lz

2006-08-03 Thread Julien Danjou
Package: gdome2-xslt
Version: 0.0.7-4
Severity: serious

Hello,

There was a problem while autobuilding your package:

> Automatic build of gdome2-xslt_0.0.7-4 on avidan by sbuild/i386 0.49
> Build started at 20060804-0609
> **
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/libgdome 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
> -I/usr/include/gmetadom/gdome_cpp_smart -I/usr/include/libxml2 -I../.. 
> -I../../C/gdome_xslt -g -Wall -O2 -c GdomeSmartDOMXSLTStylesheet.cc  -fPIC 
> -DPIC -o .libs/GdomeSmartDOMXSLTStylesheet.o
>  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/libgdome 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
> -I/usr/include/gmetadom/gdome_cpp_smart -I/usr/include/libxml2 -I../.. 
> -I../../C/gdome_xslt -g -Wall -O2 -c GdomeSmartDOMXSLTStylesheet.cc -o 
> GdomeSmartDOMXSLTStylesheet.o >/dev/null 2>&1
> /bin/bash ../../libtool --mode=link g++  -g -Wall -O2  -o 
> libgdome_xslt_cpp_smart.la -rpath /usr/lib -version-info 0:7:0 
> GdomeSmartDOMXSLTStylesheet.lo ../../C/gdome_xslt/libgdome_xslt.la 
> g++ -shared -nostdlib 
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crti.o 
> /usr/lib/gcc/i486-linux-gnu/4.1.2/crtbeginS.o  
> .libs/GdomeSmartDOMXSLTStylesheet.o  -Wl,--rpath 
> -Wl,/build/buildd/gdome2-xslt-0.0.7/C/gdome_xslt/.libs 
> ../../C/gdome_xslt/.libs/libgdome_xslt.so -L/usr/lib/gcc/i486-linux-gnu/4.1.2 
> -L/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib -L/lib/../lib 
> -L/usr/lib/../lib -lstdc++ -lm -lc -lgcc_s 
> /usr/lib/gcc/i486-linux-gnu/4.1.2/crtendS.o 
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crtn.o  -Wl,-soname 
> -Wl,libgdome_xslt_cpp_smart.so.0 -o .libs/libgdome_xslt_cpp_smart.so.0.0.7
> (cd .libs && rm -f libgdome_xslt_cpp_smart.so.0 && ln -s 
> libgdome_xslt_cpp_smart.so.0.0.7 libgdome_xslt_cpp_smart.so.0)
> (cd .libs && rm -f libgdome_xslt_cpp_smart.so && ln -s 
> libgdome_xslt_cpp_smart.so.0.0.7 libgdome_xslt_cpp_smart.so)
> ar cru .libs/libgdome_xslt_cpp_smart.a  GdomeSmartDOMXSLTStylesheet.o
> ranlib .libs/libgdome_xslt_cpp_smart.a
> creating libgdome_xslt_cpp_smart.la
> (cd .libs && rm -f libgdome_xslt_cpp_smart.la && ln -s 
> ../libgdome_xslt_cpp_smart.la libgdome_xslt_cpp_smart.la)
> make[4]: Leaving directory `/build/buildd/gdome2-xslt-0.0.7/C++/gdome_xslt'
> Making all in test
> make[4]: Entering directory `/build/buildd/gdome2-xslt-0.0.7/C++/test'
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/libgdome 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
> -I/usr/include/gmetadom/gdome_cpp_smart -I/usr/include/libxml2 
> -I../../C/gdome_xslt   -I../../C++/gdome_xslt-g -Wall -O2 -c main.cc
> main.cc: In function 'int main()':
> main.cc:35: warning: unused variable 'bytes'
> /bin/bash ../../libtool --mode=link g++  -g -Wall -O2  -o test  main.o -lz 
> -lm -lgmetadom_gdome_cpp_smart -lgdome -lglib-2.0 -lxml2 -lxslt -lxml2
>  ../../C++/gdome_xslt/libgdome_xslt_cpp_smart.la 
> mkdir .libs
> g++ -g -Wall -O2 -o .libs/test main.o  -lz -lm 
> /usr/lib/libgmetadom_gdome_cpp_smart.so /usr/lib/libgdome.so 
> /usr/lib/libglib-2.0.so /usr/lib/libxslt.so /usr/lib/libxml2.so 
> ../../C++/gdome_xslt/.libs/libgdome_xslt_cpp_smart.so
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make[4]: *** [test] Error 1
> make[4]: Leaving directory `/build/buildd/gdome2-xslt-0.0.7/C++/test'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/build/buildd/gdome2-xslt-0.0.7/C++'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/gdome2-xslt-0.0.7'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/build/buildd/gdome2-xslt-0.0.7'
> make: *** [debian/stamp-makefile-build] Error 2
> **
> Build finished at 20060804-0611
> FAILED [dpkg-buildpackage died]
> --

-- 
Julien Danjou
.''`.  Debian Developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD


signature.asc
Description: Digital signature


Bug#381406: gdome2-xslt: FTBFS: ld: cannot find -lz

2006-08-04 Thread Stefano Zacchiroli
reassign 381406 libgdome2-cpp-smart-dev
thanks

On Fri, Aug 04, 2006 at 08:45:02AM +0200, Julien Danjou wrote:
> package: gdome2-xslt
> version: 0.0.7-4
> severity: serious
> 
> hello,
> 
> There was a problem while autobuilding your package:

> > g++ -g -Wall -O2 -o .libs/test main.o  -lz -lm 
> > /usr/lib/libgmetadom_gdome_cpp_smart.so /usr/lib/libgdome.so 
> > /usr/lib/libglib-2.0.so /usr/lib/libxslt.so /usr/lib/libxml2.so 
> > ../../C++/gdome_xslt/.libs/libgdome_xslt_cpp_smart.so
> > /usr/bin/ld: cannot find -lz

Thanks for the bug report, I was not aware of this issue.

Still, the problem apparently come from gmetadom, as gdome2-xslt does
not use zlib at all and correctly does not declare any kind of
dependency toward it.

gmetadom OTOH has a -lz flag in its pkg-config file, but does not
declare a proper dependency on zlib.

Now, wearing my gmetadom maintainer's hat :-), I'm investigating
upstream weather that dependency is spurious and than should be removed
from the pkg-config file or if it is actually useful and then should be
listed as a dependency against zlib.

Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
[EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-


signature.asc
Description: Digital signature


Processed: Re: Bug#381406: gdome2-xslt: FTBFS: ld: cannot find -lz

2006-08-04 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reassign 381406 libgdome2-cpp-smart-dev
Bug#381406: gdome2-xslt: FTBFS: ld: cannot find -lz
Bug reassigned from package `gdome2-xslt' to `libgdome2-cpp-smart-dev'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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