OK, thanks<br><br>That matches my expectations. I think the cases in which I don't see the dependencies could be caused by the fact that I use explicit Requires: and NoAutoReqProv for these packages; I'll need to check this tomorrow. <br>
<br>Thanks!<br><br>TimT<br><br><div class="gmail_quote">On Mon, Oct 3, 2011 at 16:58, devzero2000 <span dir="ltr"><<a href="mailto:pinto.elia@gmail.com">pinto.elia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im">On Mon, Oct 3, 2011 at 4:13 PM, Tim T. <span dir="ltr"><<a href="mailto:tim.timmerman@gmail.com" target="_blank">tim.timmerman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">

Hi,<br> <br>Think I owe everyone a follow-up on this question: (and pose a new question: at what stage are dependencies determined ? )<br><br>After an email discussion with Jeff Johson, I managed to track down cause of the sudden dependency: A mistake by one of my colleagues had turned on the execute bit on all of our archive. Since the %install stanza just copies the files from the archive to the buildroot, suddenly the files were executable, and the rpm dependency checking got triggered.<br>


<br>However, this doesn't quite explain everything:<br><br>A number of other files (which are installed to application paths) also have their execution bit turned on, but don't show their dependencies when I do a --filerequire<br>


<br>In other words, it looks like the dependency is not always picked up, or at least attached to the individual path names. <br><br>My question : At what stage is the dependency check done ? During the build phase, or after the install phase of the spec file ? <br>


<br></blockquote></div><div>The dependency check is done to the end of the %install stanza, AKA in RPM_BUILD_ROOT. You can <br><br>- rpmbuild -bi <yourspec>.spec<br>then<br><br>follow this blog <a href="http://devzero2000.livejournal.com/tag/rpm%20binary%20dependency" target="_blank">http://devzero2000.livejournal.com/tag/rpm%20binary%20dependency</a><br>

if you want to know which program is responsable of a specific deps<br><br>hth<br><br> </div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">

Thanks, <br><br>TimT<div><div></div><div><br><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 14:47, Tim T. <span dir="ltr"><<a href="mailto:tim.timmerman@gmail.com" target="_blank">tim.timmerman@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<br><br><div class="gmail_quote"><div>On Tue, Sep 27, 2011 at 14:19, devzero2000 <span dir="ltr"><<a href="mailto:pinto.elia@gmail.com" target="_blank">pinto.elia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">



<div class="gmail_quote"><div>On Tue, Sep 27, 2011 at 2:03 PM, Tim T. <span dir="ltr"><<a href="mailto:tim.timmerman@gmail.com" target="_blank">tim.timmerman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">




"Suddenly" my rpms show a dependency on /bin/sh where they didn't before !<br><br></blockquote></div><div>Before, when ? <br><br>What is the result of this command on  the original  rpm and the rebuild  rpm ? Sure<br>




are you using the same machine and the software version ?<br><br>rpm -qp --queryformat '%{RPMVERSION}\n'  TimT-5.0.1.d-0.x86_64.rpm<br></div></div></blockquote><div> </div></div><div>both cases  4.8.0, and I'm sure I'm using the same buildhost in both cases.. there is only one available<br>



<br> <br></div><div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div class="gmail_quote"><div><br>BTW, /bin/sh is because you probably have some scriplet section and use sh for it (%pre, %post ecc): the default.<br>



</div></div></blockquote></div><div>The package contains a number of scripts for installation purposes. The thing that triggered me to look at this was the /usr/bin/ksh which did not exist. I'd fix that, but I'd like to understand what caused the change between last friday afternoon and this morning.  (found some older versions of the RPM, also built using 4.8.0, same contents, no dependency on /bin/sh or /usr/bin/ksh )<br>



<br>Thanks for your input !<br><br>TimT.  <br></div><div><div></div><div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div class="gmail_quote">


<div>
<br>Best Regards<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>Last friday, I build a package TimT-5.0.1.d-0.x86_64.rpm<br>



<br>rpm -qip --requires TimT-5.0.1.d-0.x86_64.rpm <br>
Name        : TimT                   Relocations: (not relocatable)<br>
Version     : 5.0.1.d                           Vendor: Tim T.<br>Release     : 0                             Build Date: Fri 23 Sep 2011 10:39:29 AM MEST<br>Install Date: (not installed)               Build Host: buildhost<br>





Group       : System                        Source RPM : TimT-5.0.1.d-0.src.rpm<br>Size        : 35881                            License: commercial<br>Signature   : (none)<br>Summary     : installation software<br>Description :<br>





TimT - installation software<br>rpmlib(CompressedFileNames) <= 3.0.4-1<br>rpmlib(PayloadFilesHavePrefix) <= 4.0-1<br><br><br>This morning I rebuilt the package :<br>rpm -qip --requires TimT-5.0.1.a-0.x86_64.rpm <br>





Name        : TimT                   Relocations: (not relocatable)<br>Version     : 5.0.1.a                           Vendor: TimT<br>Release     : 0                             Build Date: Tue 27 Sep 2011 12:25:26 PM MEST<br>





Install Date: (not installed)               Build Host: buildhost<br>Group       : System                        Source RPM: TimT-5.0.1.a-0.src.rpm<br>Size        : 35881                            License:commercial<br>




Signature   : (none)<br>
Summary     : installation software<br>Description :<br>TimT - installation software<br>/bin/sh  <br>/usr/bin/ksh  <br>rpmlib(CompressedFileNames) <= 3.0.4-1<br>rpmlib(PayloadFilesHavePrefix) <= 4.0-1<br><br>(for legal reasons, I changed the name of the package in the above output. )<br>





<br>The only deliberate change in the above is the version number from 5.0.1.d to 5.0.1.a<br><br>My systems people swear that they did not change anything, installation history on the buildhost confirms this<br>
<br>Source files haven't changed, they are simple shell-scripts and they do use the /bin/sh, and /usr/bin/ksh<br><br>rpms are generated using<br><br>/usr/bin/rpmbuild -bb --quiet --buildroot /tmp/buildroot timt.spec <br>





<br>spec file hasn't changed. <br><br>Any suggestions as to where to look ? I'm stumped. <br><font color="#888888"><br>Tim T. <br><br><br><br><br>
</font><br></div></div>_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org" target="_blank">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org" target="_blank">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
<br></blockquote></div></div></div><br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org" target="_blank">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
<br></blockquote></div></div></div><br>
<br>_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
<br></blockquote></div><br>