Bug 1387910 - shutter conflicts with several installed perl modules
Summary: shutter conflicts with several installed perl modules
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: shutter
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Liang Suilong
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-23 14:11 UTC by Joachim Backes
Modified: 2017-09-01 09:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-01 09:46:49 UTC
Type: Bug


Attachments (Terms of Use)
Screenshot of my monitor when I open shutter and try to make a selection (432.75 KB, image/png)
2016-11-23 09:57 UTC, Luna80
no flags Details

Description Joachim Backes 2016-10-23 14:11:10 UTC
Description of problem:
If starting shutter, some problems with other perl modules in /usr/lib64/perl5/vendor-perl  and in /usr/local/share/perl5/XML/Twig.pm  show up:

shutter
UNIVERSAL does not export anything at /usr/local/share/perl5/XML/Twig.pm line 16.
BEGIN failed--compilation aborted at /usr/local/share/perl5/XML/Twig.pm line 16.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/Net/DBus/Binding/Introspector.pm line 57.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Net/DBus/Binding/Introspector.pm line 57.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/Net/DBus/RemoteObject.pm line 58.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Net/DBus/RemoteObject.pm line 58.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/Net/DBus/RemoteService.pm line 55.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Net/DBus/RemoteService.pm line 55.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/Net/DBus.pm line 97.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Net/DBus.pm line 97.
Compilation failed in require at /usr/bin/shutter line 72.
BEGIN failed--compilation aborted at /usr/bin/shutter line 72.

Version-Release number of selected component (if applicable):

shutter-0.93.1-3.fc25.noarch

How reproducible:

each time


Steps to Reproduce:
1.See desciption
2.
3.

Actual results:


Expected results:


Additional info:
I installed XML::twig some years ago into /usr/local (from cpan)

Comment 1 Joachim Backes 2016-10-23 14:18:41 UTC
If I try to erase this unusable shutter program by dnf, dnf tries to remove a lot of other pkgs:

sudo dnf erase shutter
Dependencies resolved.
================================================================================
 Package                      Arch    Version           Repository         Size
================================================================================
Removing:
 gnome-web-photo              x86_64  0.10.5-9.fc24     @fedora           245 k
 goocanvas                    x86_64  1.0.0-10.fc24     @fedora           423 k
 gtkimageview                 x86_64  1.6.4-13.fc25     @updates-testing   98 k
 perl-Cairo                   x86_64  1.106-3.fc25      @@commandline     402 k
 perl-Class-Accessor          noarch  0.34-20.fc25      @@commandline      39 k
 perl-Class-Data-Inheritable  noarch  0.08-22.fc25      @@commandline     6.5 k
 perl-File-Copy-Recursive     noarch  0.38-23.fc25      @@commandline      34 k
 perl-Glib                    x86_64  1.321-2.fc25      @@commandline     935 k
 perl-Gnome2                  x86_64  1.046-3.fc25      @@commandline     661 k
 perl-Gnome2-Canvas           x86_64  1.002-32.fc25     @@commandline     300 k
 perl-Gnome2-VFS              x86_64  1.082-8.fc25      @@commandline     489 k
 perl-Gnome2-Wnck             x86_64  0.16-27.fc25      @@commandline     201 k
 perl-Goo-Canvas              x86_64  0.06-27.fc25      @@commandline     387 k
 perl-Gtk2                    x86_64  1.2498-3.fc25     @@commandline     5.4 M
 perl-Gtk2-AppIndicator       x86_64  0.15-9.fc25       @@commandline      42 k
 perl-Gtk2-ImageView          x86_64  0.05-5.fc25       @@commandline     132 k
 perl-Gtk2-Unique             x86_64  0.05-17.fc25      @@commandline      65 k
 perl-HTML-Form               noarch  6.03-13.fc25      @@commandline      63 k
 perl-JSON-XS                 x86_64  1:3.02-2.fc25     @@commandline     259 k
 perl-LWP-Protocol-https      noarch  6.06-8.fc25       @@commandline      12 k
 perl-Locale-gettext          x86_64  1.07-4.fc25       @@commandline      31 k
 perl-Net-DBus                x86_64  1.1.0-5.fc25      @@commandline     573 k
 perl-Net-OAuth               noarch  0.28-10.fc25      @@commandline     109 k
 perl-Pango                   x86_64  1.227-3.fc25      @@commandline     438 k
 perl-Path-Class              noarch  0.37-1.fc25       @@commandline      98 k
 perl-Proc-ProcessTable       x86_64  0.53-3.fc25       @@commandline      78 k
 perl-Proc-Simple             noarch  1.32-2.fc25       @@commandline      47 k
 perl-Sort-Naturally          noarch  1.03-13.fc25      @@commandline      31 k
 perl-Types-Serialiser        noarch  1.0-8.fc25        @@commandline      22 k
 perl-WWW-Mechanize           noarch  1.75-5.fc25       @@commandline     249 k
 perl-WebService-Dropbox      noarch  2.05-2.fc25       @@commandline     109 k
 perl-X11-Protocol            noarch  0.56-23.fc25      @@commandline     442 k
 perl-X11-Protocol-Other      noarch  29-7.fc25         @@commandline     523 k
 perl-common-sense            x86_64  3.7.4-3.fc25      @@commandline      47 k
 shutter                      noarch  0.93.1-3.fc25     @fedora            16 M

Transaction Summary
================================================================================
Remove  35 Packages

Installed size: 29 M
Is this ok [y/N]: 

I should report that I have this problem on my F25 system which was born through a dnf upgrade process from F24. So I guess, this is the result of an partilally failed upgrade process from F24 to F25.

Comment 2 Luna80 2016-11-23 09:54:52 UTC
Joachim, I do not think the problem is in a wrong upgrade (how could that be?)
I have just installed shutter on my Fedora 25 and get:

Installed:
  ImageMagick-perl.x86_64 6.9.3.0-3.fc25        gnome-web-photo.x86_64 0.10.5-9.fc24        goocanvas.x86_64 1.0.0-10.fc24            gtkimageview.x86_64 1.6.4-13.fc25               
  libappindicator.x86_64 12.10.0-12.fc25        libdbusmenu.x86_64 12.10.2-10.fc24          libdbusmenu-gtk2.x86_64 12.10.2-10.fc24   libindicator.x86_64 12.10.1-8.fc25              
  libwnck.x86_64 2.31.0-6.fc24                  perl-Cairo.x86_64 1.106-3.fc25              perl-Class-Accessor.noarch 0.34-20.fc25   perl-Class-Data-Inheritable.noarch 0.08-22.fc25 
  perl-File-Copy-Recursive.noarch 0.38-23.fc25  perl-Glib.x86_64 1.321-2.fc25               perl-Gnome2.x86_64 1.046-3.fc25           perl-Gnome2-Canvas.x86_64 1.002-32.fc25         
  perl-Gnome2-VFS.x86_64 1.082-8.fc25           perl-Gnome2-Wnck.x86_64 0.16-27.fc25        perl-Goo-Canvas.x86_64 0.06-27.fc25       perl-Gtk2.x86_64 1.2498-3.fc25                  
  perl-Gtk2-AppIndicator.x86_64 0.15-9.fc25     perl-Gtk2-ImageView.x86_64 0.05-5.fc25      perl-Gtk2-Unique.x86_64 0.05-17.fc25      perl-HTML-Form.noarch 6.03-13.fc25              
  perl-HTML-Tree.noarch 1:5.03-14.fc25          perl-IO-stringy.noarch 2.111-5.fc25         perl-Image-ExifTool.noarch 10.20-1.fc25   perl-JSON.noarch 2.90-7.fc25                    
  perl-JSON-XS.x86_64 1:3.02-2.fc25             perl-LWP-Protocol-https.noarch 6.06-8.fc25  perl-Locale-gettext.x86_64 1.07-4.fc25    perl-Net-DBus.x86_64 1.1.0-5.fc25               
  perl-Net-OAuth.noarch 0.28-10.fc25            perl-Pango.x86_64 1.227-3.fc25              perl-Path-Class.noarch 0.37-1.fc25        perl-Proc-ProcessTable.x86_64 0.53-3.fc25       
  perl-Proc-Simple.noarch 1.32-2.fc25           perl-Sort-Naturally.noarch 1.03-13.fc25     perl-Types-Serialiser.noarch 1.0-8.fc25   perl-WWW-Mechanize.noarch 1.75-5.fc25           
  perl-WebService-Dropbox.noarch 2.05-2.fc25    perl-X11-Protocol.noarch 0.56-23.fc25       perl-X11-Protocol-Other.noarch 29-7.fc25  perl-XML-Parser.x86_64 2.44-5.fc25              
  perl-XML-Simple.noarch 2.22-3.fc25            perl-XML-Twig.noarch 3.49-5.fc25            perl-common-sense.x86_64 3.7.4-3.fc25     shutter.noarch 0.93.1-3.fc25  

It is shutter that does something with perl.

When I open shutter and try to make a screen selection, my screen image gets super small and replicated several times. I would attach here the screenshot of what I get, but it is not possible to attach anything.

I have been looking for alternatives to shutter, as I need a screenshot selection tool for my daily work, but no success.
I hope this is going to be fixed soon.

Comment 3 Luna80 2016-11-23 09:57:24 UTC
Created attachment 1223106 [details]
Screenshot of my monitor when I open shutter and try to make a selection

The small black rectangles are my screen make small and replicated soon after I try to make a selection with Shutter [i.e. open shutter, click on 'Selection']
I have updated yesterday form Fedora 24 to Fedora 25.
Cheers

Comment 4 Joachim Backes 2016-11-23 11:34:46 UTC
(In reply to Luna80 from comment #3)
> Created attachment 1223106 [details]
> Screenshot of my monitor when I open shutter and try to make a selection
> 
> The small black rectangles are my screen make small and replicated soon
> after I try to make a selection with Shutter [i.e. open shutter, click on
> 'Selection']
> I have updated yesterday form Fedora 24 to Fedora 25.
> Cheers
I found out that Shutter can be used if I remove /usr/local/share/perl5/XML  (installed from cpan).
There is still a perl-XML-Twig-3.49-5.fc25.noarch from the Fedora 25 repo installed.

I think there was a collision problem between the two perl-XML-Twig's.

Comment 5 Luna80 2016-11-23 13:03:10 UTC
Hello,

I thought I would be able to use shutter with your suggestion, but I do not have any perl5 folder under /usr/local/share
It is in /usr/share, but it doesn't contain anything relevant.

And I cannot find perl-XML-Twig.noarch 3.49-5.fc25 even though it says it is installed....

Comment 6 Joachim Backes 2016-11-23 13:43:25 UTC
(In reply to Luna80 from comment #5)
> Hello,
> 
> I thought I would be able to use shutter with your suggestion, but I do not
> have any perl5 folder under /usr/local/share
> It is in /usr/share, but it doesn't contain anything relevant.
> 
> And I cannot find perl-XML-Twig.noarch 3.49-5.fc25 even though it says it is
> installed....

rpm -q perl-XML-Twig
perl-XML-Twig-3.49-5.fc25.noarch :-)

Comment 7 Joachim Backes 2016-11-23 13:44:46 UTC
rpm -ql perl-XML-Twig

/usr/bin/xml_grep
/usr/bin/xml_merge
/usr/bin/xml_pp
/usr/bin/xml_spellcheck
/usr/bin/xml_split
/usr/share/doc/perl-XML-Twig
/usr/share/doc/perl-XML-Twig/Changes
/usr/share/doc/perl-XML-Twig/README
/usr/share/man/man1/xml_grep.1.gz
/usr/share/man/man1/xml_merge.1.gz
/usr/share/man/man1/xml_pp.1.gz
/usr/share/man/man1/xml_spellcheck.1.gz
/usr/share/man/man1/xml_split.1.gz
/usr/share/man/man3/XML::Twig.3pm.gz
/usr/share/perl5/XML
/usr/share/perl5/XML/Twig
/usr/share/perl5/XML/Twig.pm
/usr/share/perl5/XML/Twig/XPath.pm

Comment 8 Luna80 2016-11-23 14:04:59 UTC
I misread and I thought I needed to delete perl-XML-Twig.noarch 3.49-5.fc25

After removing the complete XML folder (from /usr/share/perl5), shutter doesn't start at all.
It looks the file is not duplicated in my machine.
I will wait for the fix from the Fedora guys, I don't want to screw my system by testing stuff, I work with it :)

Comment 9 Joachim Backes 2017-09-01 09:46:49 UTC
Seems to be solved in F26


Note You need to log in before you can comment on or make changes to this bug.