Bug 670650 - perl-apparmor is missing dependencies
Summary: perl-apparmor is missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.4
Classification: openSUSE
Component: AppArmor (show other bugs)
Version: RC 1
Hardware: All Other
: P5 - None : Major with 1 vote (vote)
Target Milestone: ---
Assignee: Jeff Mahoney
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 16:11 UTC by Bernhard Wiedemann
Modified: 2011-03-14 19:01 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2011-02-09 16:11:34 UTC
perl-apparmor as used by yast2's AppArmor modules is missing dependencies
it requires perl-TermReadKey perl-DBD-SQLite perl-RPC-XML 
and lacks the file Immunix/Notify.pm

zypper in perl-TermReadKey perl-DBD-SQLite perl-RPC-XML
and
echo 1 >> /usr/lib/perl5/.../Immunix/Notify.pm
made all but one yast module work without complaints.

JW also suggested, that most perl packages run checks at build time to catch such missing files/packages before shipping.
Comment 1 Christian Boltz 2011-02-11 23:34:58 UTC
Regarding Notify.pm:

# locate Notify.pm
/usr/lib/perl5/vendor_perl/5.12.2/Immunix/Notify.pm

The file is in the yast2-apparmor package, however it is in the wrong directory because the perl version is 5.12.3. Therefore it isn't in @INC and can't be found.
This should hopefully be fixed with a rebuild - I'll send a mail to the factory ML to request it.

I'll also do a SR to add
    BuildRequires:  perl-macros
    %{perl_requires}
to yast2-apparmor - this should hopefully trigger automatic rebuilds in the future if the perl version changes.
Comment 2 Bernhard Wiedemann 2011-02-22 13:30:15 UTC
The Notify issue was resolved by the rebuild.
For the requires I did
https://build.opensuse.org/request/show/62483
Comment 3 Jeff Mahoney 2011-03-14 19:01:23 UTC
Tue Feb 22 12:45:43 UTC 2011 - bwiedemann@novell.com

- Add Requires for used perl packages (bnc#670650).

Closing as fixed.