[opensuse-packaging] /usr/local/bin/perl dependency weirdness
Hi, I have some weired requirement to my systemc package that I built through the build service. Here is one of the packages for example: http://download.opensuse.org/repositories/home:/dannori/openSUSE_10.2/x86_64... When I do:
rpm -qp --requires systemc-2.2.0-5.1.x86_64.rpm gcc gcc-c++ rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 /bin/awk /bin/csh /bin/sh /usr/local/bin/perl rpmlib(PayloadIsBzip2) <= 3.0.5-1
Now where does that /usr/local/bin/perl requirement come from? In my spec file I only specified that it requires gcc and gcc-c++. Now that I want to install the package, I am getting an error about nothing providing /usr/local/bin/perl. Where does that requirement come from? Has it to do with rpmlib? Thanks for your help. Cheers, Guenter --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Günter Dannoritzer wrote:
When I do:
rpm -qp --requires systemc-2.2.0-5.1.x86_64.rpm gcc gcc-c++ rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 /bin/awk /bin/csh /bin/sh /usr/local/bin/perl rpmlib(PayloadIsBzip2) <= 3.0.5-1
Now where does that /usr/local/bin/perl requirement come from?
Probably some script in your package has #!/usr/local/bin/perl as interpreter. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Michal Marek wrote:
Günter Dannoritzer wrote: [...]
Now where does that /usr/local/bin/perl requirement come from?
Probably some script in your package has #!/usr/local/bin/perl as interpreter.
There are not really any scripts. When I do: ~> rpm -qp --scripts systemc-2.2.0-5.1.x86_64.rpm I don't get any output. Are there some scripts that get added automatically for the RPM package handling? But that dependency should then be met by the rpm package? --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Günter Dannoritzer wrote:
Michal Marek wrote:
Günter Dannoritzer wrote: [...]
Now where does that /usr/local/bin/perl requirement come from? Probably some script in your package has #!/usr/local/bin/perl as interpreter.
There are not really any scripts. When I do:
~> rpm -qp --scripts systemc-2.2.0-5.1.x86_64.rpm
I don't get any output.
I mean scripts in the package payload: /usr/share/systemc-2.2.0/examples/sysc/risc_cpu/assembler.pl:#!/usr/local/bin/perl Either move this into /usr/share/doc/packages/systemc to exclude it from automatic dependency generation, or fix the path. Or both :) Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Michal Marek wrote: [...]
I mean scripts in the package payload:
/usr/share/systemc-2.2.0/examples/sysc/risc_cpu/assembler.pl:#!/usr/local/bin/perl
Either move this into /usr/share/doc/packages/systemc to exclude it from automatic dependency generation, or fix the path. Or both :)
Thanks, big learning step. Got it now. Guenter --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Günter Dannoritzer
-
Michal Marek