guppitank problems during build

Louis Mandelstam louism@infosat.net
Fri, 22 Mar 2002 08:11:02 +0200 (SAST)


On Thu, 21 Mar 2002, Chris Lyttle wrote:

> Checking the list of files you have for your build of Guppi against what I 
> have in my 0.40.2 version you have over half the files missing. This 
> probably means you've run into the libtool bug on RH 7.2 that ends up not 
> building correctly rpms. AFAIK RH still has'nt fixed this bug though there 
> is a work around of changing ltmain.sh in the tarball and making all the 
> relink=yes say relink=no.

Thanks, I'll try that.

> You should probably also check what the rpm spec file has as its file
> listing against an actual build of the rpm. You can do this by doing rpm
> -bi Guppi.spec which will build the rpm up to just before the stage
> where is wipes the temporary installtion directory.

After rpm -bi, I find all the expected libraries in the temp build 
directory:

/var/tmp/Guppi-0.40.3-root/usr/lib/libguppi.so.16.0.0
/var/tmp/Guppi-0.40.3-root/usr/lib/libguppi.so.16
/var/tmp/Guppi-0.40.3-root/usr/lib/libguppi.so
/var/tmp/Guppi-0.40.3-root/usr/lib/libguppi.la
[...]
/var/tmp/Guppi-0.40.3-root/usr/lib/libguppitank.so.16.0.0
/var/tmp/Guppi-0.40.3-root/usr/lib/libguppitank.so.16
/var/tmp/Guppi-0.40.3-root/usr/lib/libguppitank.so
/var/tmp/Guppi-0.40.3-root/usr/lib/libguppitank.la
/var/tmp/Guppi-0.40.3-root/usr/lib/libguppiConf.sh

The SPEC file specifies (for Guppi):

%{_libdir}/lib*.so.*

and for Guppi-devel:

%{_libdir}/lib*.so
%{_libdir}/lib*a

These globs should be matching both the libguppi files and the 
libguppitank files but it somehow seems to only include the former into 
the binary RPM.

> If all this seems to confusing to you the easiest thing might just be to 
> use the binary rpms from rawhide.

I guess I should try that :(   I'll also contact the package maintainer 
for comment.

Thanks for the help.

Regards


-------------------------------------------------------------------------
Louis Mandelstam                     Technical Manager, InfoSat (Pty) Ltd