I have a small library RPM which built OK on Fedora 13 but is broken on Fedora 
16.  Rpmbuild reports that the shared library in the package is required by 
the package itself.  There is no "Provides" line, and when I try to install 
the RPM it reports: 

    error: Failed dependencies:
            libglv.so.0()(64bit) is needed by libglv0-0.3.1-1.x86_64

If I run /usr/lib/rpm/find-provides manually on the libraries it reports the 
correct information:

    libglv.so.0()(64bit)


Here is the build output:

$ rpmbuild -bb glv.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x2bz7z
+ umask 022
+ cd /home/karl/src/rpm/BUILD
+ cd /home/karl/src/rpm/BUILD
+ rm -rf libglv-0.3.1
+ /usr/bin/gzip -dc /home/karl/src/rpm/SOURCES/libglv-0.3.1.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libglv-0.3.1
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.l6ENXV
+ umask 022
+ cd /home/karl/src/rpm/BUILD
+ cd libglv-0.3.1
+ make -C x11
make: Entering directory `/home/karl/src/rpm/BUILD/libglv-0.3.1/x11'
gcc -c -fPIC -Wall -W -Wno-unused-parameter -O3 -DUSE_XF86VMODE -o glv.o -I. 
glv.c
gcc -o libglv.so.0.3 -Wl,-soname,libglv.so.0 -shared glv.o  -lXxf86vm
ln -sf libglv.so.0.3 libglv.so.0
ln -sf libglv.so.0.3 libglv.so
make: Leaving directory `/home/karl/src/rpm/BUILD/libglv-0.3.1/x11'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I2Hazi
+ umask 022
+ cd /home/karl/src/rpm/BUILD
+ cd libglv-0.3.1
+ mkdir -p /home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64/usr/lib64
+ mkdir -p /home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64/usr/include/GL
+ install -m 644 x11/glv.h x11/glv_keys.h 
/home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64/usr/include/GL
+ install -m 644 x11/libglv.so.0.3 
/home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64/usr/lib64
+ ln -s libglv.so.0.3 
/home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64/usr/lib64/libglv.so.0
+ ln -s libglv.so.0.3 
/home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64/usr/lib64/libglv.so
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Processing files: libglv0-0.3.1-1.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.k414sF
+ umask 022
+ cd /home/karl/src/rpm/BUILD
+ cd libglv-0.3.1
+ 
DOCDIR=/home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64/usr/share/doc/libglv0-0.3.1
+ export DOCDIR
+ /bin/mkdir -p 
/home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64/usr/share/doc/libglv0-0.3.1
+ cp -pr ChangeLog LICENSE README 
/home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64/usr/share/doc/libglv0-0.3.1
+ exit 0
Requires(interp): /sbin/ldconfig /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: libglv.so.0()(64bit)
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64
Wrote: /home/karl/src/rpm/RPMS/x86_64/libglv0-0.3.1-1.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.G7KuTp
+ umask 022
+ cd /home/karl/src/rpm/BUILD
+ cd libglv-0.3.1
+ rm -rf /home/karl/src/rpm/BUILDROOT/libglv0-0.3.1-1.x86_64
+ exit 0


-Karl
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to