On Sat, Feb 11, 2012 at 5:43 PM, Panu Matilainen <pmatilai@xxxxxxxxxxxxxxx> wrote: > On 02/11/2012 02:52 PM, Andrea Musuruane wrote: >> >> Hi all, >> a reporter just submitted this bug against tecnoballz: >> https://bugzilla.redhat.com/show_bug.cgi?id=789544 >> >> After closer inspection, I see that the RPM doesn't require the needed >> libraries: >> >> $ rpm -q --requires tecnoballz >> /bin/sh >> /bin/sh >> config(tecnoballz) = 0.92-11.fc16 >> hicolor-icon-theme >> rpmlib(CompressedFileNames) <= 3.0.4-1 >> rpmlib(FileDigests) <= 4.6.0-1 >> rpmlib(PayloadFilesHavePrefix) <= 4.0-1 >> rpmlib(PayloadIsXz) <= 5.2-1 >> >> The spec file is available here: >> http://pkgs.fedoraproject.org/gitweb/?p=tecnoballz.git;a=tree >> >> But if I print the shared libraries needed by the binary I get: >> >> $ ldd /usr/bin/tecnoballz >> linux-vdso.so.1 => (0x00007fff7213e000) >> libSDL-1.2.so.0 => /usr/lib64/libSDL-1.2.so.0 (0x0000003b9be00000) >> libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003b88e00000) >> libSDL_image-1.2.so.0 => /usr/lib64/libSDL_image-1.2.so.0 >> (0x00000033b1a00000) >> libSDL_mixer-1.2.so.0 => /usr/lib64/libSDL_mixer-1.2.so.0 >> (0x0000003b8b600000) >> libmikmod.so.3 => /usr/lib64/libmikmod.so.3 (0x0000003b89a00000) >> libtinyxml.so.0 => /usr/lib64/libtinyxml.so.0 (0x00007f8cda97a000) >> libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003b8de00000) >> libm.so.6 => /lib64/libm.so.6 (0x0000003b89600000) >> libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003b8a200000) >> libc.so.6 => /lib64/libc.so.6 (0x0000003b88a00000) >> libdl.so.2 => /lib64/libdl.so.2 (0x0000003b89200000) >> /lib64/ld-linux-x86-64.so.2 (0x0000003b88600000) >> libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00000033b2a00000) >> libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x0000003b94a00000) >> libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x00000033b4e00000) >> libz.so.1 => /lib64/libz.so.1 (0x00000033b1200000) >> >> I really don't understand what's wrong here. Any help is appreciated. > > > It's a bug in rpmbuild's file classification rules, should be fixed in this > update: https://admin.fedoraproject.org/updates/FEDORA-2012-1504 > > While this obviously isn't fault of tecnoballz, a rebuild is needed to > correct the dependencies. There still seems to be problems. I rebuilt it locally with an updated F16 and now I get: $ rpm -qp --requires /home/andrea/rpmbuild/SRPMS/tecnoballz-0.92-13.fc16.src.rpm autoconf SDL_image-devel SDL_mixer-devel mikmod-devel tinyxml-devel desktop-file-utils rpmlib(FileDigests) <= 4.6.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 As you can see now it misses at least explicit requires (hicolor-icon-theme) and others too (/bin/sh, config(tecnoballz), etc). Regards, Andrea. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel