Rpmbuild unable to recognize used libs?

Björn Persson bjorn at xn--rombobjrn-67a.se
Sat Feb 11 16:06:56 UTC 2012


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

Is %{buildroot}%{_bindir}/tecnoballz marked as executable after the %install 
step? I have found that RPMbuild doesn't pick up dependencies from shared 
libraries if they don't have the execute privilege bits set. Presumably that 
goes for executables too. It would be strange though if GCC doesn't mark the 
executable as executable.

Björn Persson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20120211/727fa1af/attachment.sig>


More information about the devel mailing list