[Mageia-dev] Notice on rpm-mageia-setup's find-requires script

Funda Wang fundawang at gmail.com
Fri May 6 15:58:16 CEST 2011


The second. See:
$ rpm -qp --requires gscan2pdf-0.9.32-4.mga1.noarch.rpm
perl-Gtk2
perl-Locale-gettext
perl-PDF-API2
libtiff-progs
imagemagick
perl-Image-Magick
sane-frontends
perl-Gtk2-Ex-PodViewer
perl-forks >= 0.33
perl-reaper
perl-Set-IntSpan
unpaper
xdg-utils
djvulibre
gocr
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
perl-base >= 2:5.12.3
perl(Carp)
perl(Exporter)

$ rpm -qp --requires gscan2pdf-0.9.30-3mdv2010.1.noarch.rpm
perl-Gtk2
perl-Locale-gettext
perl-PDF-API2
libtiff-progs
imagemagick
perl-Image-Magick
sane-frontends
perl-Gtk2-Ex-PodViewer
perl-forks >= 0.33
perl-reaper
perl-Set-IntSpan
unpaper
xdg-utils
djvulibre
gocr
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
perl-base >= 2:5.10.1
perl(Archive::Tar)
perl(Carp)
perl(Config::General) >= 2.400.0
perl(Cwd)
perl(Data::Dumper)
perl(Exporter)
perl(File::Basename)
perl(File::Copy)
perl(File::Temp)
perl(FileHandle)
perl(Getopt::Long)
perl(Glib)
perl(Goo::Canvas)
perl(Gscan2pdf)
perl(Gtk2)
perl(Gtk2::Ex::Simple::List)
perl(Gtk2::Gdk::Keysyms)
perl(Gtk2::ImageView)
perl(IO::Handle)
perl(Image::Magick)
perl(Locale::gettext) >= 1.50.0
perl(PDF::API2)
perl(POSIX)
perl(Proc::Killfam)
perl(Sane)
perl(Socket)
perl(Storable)
perl(Text::ParseWords)
perl(Thread::Semaphore)
perl(Time::Local)


2011/5/6 Michael Scherer <misc at zarb.org>:
> Le vendredi 06 mai 2011 à 10:07 +0800, Funda Wang a écrit :
>> Hello,
>>
>> There is something wrong with my bugzilla account. so I post the
>> relevant info here.
>>
>> `file` changes its output recently, maybe in 5.05, which affects
>> find-requires in rpm-setup-build's helper.
>>
>> In 5.03 (in mandriva 2010) for instance:
>> $ file /usr/bin/genhdlist2
>> /usr/bin/genhdlist2: a /usr/bin/perl script text executable
>>
>> But in 5.06 (in mandriva cooker and mageia cauldron):
>> $ file /usr/bin/genhdlist2
>> /usr/bin/genhdlist2: a /usr/bin/perl script, ASCII text executable
>>
>> Such a change will cause find-requires cannot find correct perl
>> scripts, thus missing requirements for the package. Maybe someone
>> would be interesting on this:
>> http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft?view=revision&revision=272567
>>
>> And, maybe a robot could rebuild all the relevant packages, which
>> might be a huge work, especially when the release is coming.
>
> So the impact is that package do not have a requires on perl, or that
> all perl deps are missing ?
> ( ie, automated requires on perl module ).
>
> If that's the first, since perl is almost installed by default, it
> should be hard to notice the problem
>
> FOr the second, that's more serious :)
>
> --
> Michael Scherer
>
>


More information about the Mageia-dev mailing list