Re: Sudden dependency on rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, Sep 27, 2011 at 14:19, devzero2000 <pinto.elia@xxxxxxxxx> wrote:
On Tue, Sep 27, 2011 at 2:03 PM, Tim T. <tim.timmerman@xxxxxxxxx> wrote:
"Suddenly" my rpms show a dependency on /bin/sh where they didn't before !

Before, when ?

What is the result of this command on  the original  rpm and the rebuild  rpm ? Sure
are you using the same machine and the software version ?

rpm -qp --queryformat '%{RPMVERSION}\n'  TimT-5.0.1.d-0.x86_64.rpm
 
both cases  4.8.0, and I'm sure I'm using the same buildhost in both cases.. there is only one available

 

BTW, /bin/sh is because you probably have some scriplet section and use sh for it (%pre, %post ecc): the default.
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 )

Thanks for your input !

TimT. 

Best Regards
Last friday, I build a package TimT-5.0.1.d-0.x86_64.rpm

rpm -qip --requires TimT-5.0.1.d-0.x86_64.rpm
Name        : TimT                   Relocations: (not relocatable)
Version     : 5.0.1.d                           Vendor: Tim T.
Release     : 0                             Build Date: Fri 23 Sep 2011 10:39:29 AM MEST
Install Date: (not installed)               Build Host: buildhost
Group       : System                        Source RPM : TimT-5.0.1.d-0.src.rpm
Size        : 35881                            License: commercial
Signature   : (none)
Summary     : installation software
Description :
TimT - installation software
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1


This morning I rebuilt the package :
rpm -qip --requires TimT-5.0.1.a-0.x86_64.rpm
Name        : TimT                   Relocations: (not relocatable)
Version     : 5.0.1.a                           Vendor: TimT
Release     : 0                             Build Date: Tue 27 Sep 2011 12:25:26 PM MEST
Install Date: (not installed)               Build Host: buildhost
Group       : System                        Source RPM: TimT-5.0.1.a-0.src.rpm
Size        : 35881                            License:commercial
Signature   : (none)
Summary     : installation software
Description :
TimT - installation software
/bin/sh 
/usr/bin/ksh 
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1

(for legal reasons, I changed the name of the package in the above output. )

The only deliberate change in the above is the version number from 5.0.1.d to 5.0.1.a

My systems people swear that they did not change anything, installation history on the buildhost confirms this

Source files haven't changed, they are simple shell-scripts and they do use the /bin/sh, and /usr/bin/ksh

rpms are generated using

/usr/bin/rpmbuild -bb --quiet --buildroot /tmp/buildroot timt.spec

spec file hasn't changed.

Any suggestions as to where to look ? I'm stumped.

Tim T.





_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux