[Bug 924938] wrong provides in latest build

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

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=924938

--- Comment #19 from Jan Kaluža <jkaluza@xxxxxxxxxx> ---
(In reply to comment #10)
> file maintainer, any idea?

File in rawhide should detect Perl files better. I've run my regression tests (
https://fedorahosted.org/file-tests/ ) and saw only improvements between 5.11
and 5.14.

Some Perl files previously detect as "awk script, ASCII text" are now properly
detected as "Perl5 module source, ASCII text".

I have very limited understanding of interaction between File and rpmbuild.
>From what I know, rpmbuild checks all files using the File tool and try to
match File output according to regexps in /usr/lib/rpm/fileattrs (I'm testing
that matching in my test-suite too).

What happened here is that File probably (I don't have the old File installed
right now to prove that) started reporting "/usr/share/perl5/perl5db.pl" as
Perl script. Next thing is speculation, because I don't what exactly rpmbuild
does when it finds some Perl file using File tool, but I think it probably
checks for "package X" in that Perl File. And it finds this in our file:

./usr/share/perl5/perl5db.pl:        package Carp;    # Do not include us in
the list

That could explain why you see that particular Provides there. Please try to
remove that file, do scratch-build and test the Provides to prove this theory.
If it's true, I think it's rpmbuild bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=vGiQOz81B1&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux