Bug 1173641 - file /usr/share/systemtap/tapset/libvirt_functions.stp conflicts between attempted installs of libvirt-client-1.2.9.1-2.fc21.i686 and libvirt-client-1.2.9.1-2.fc21.x86_64
Summary: file /usr/share/systemtap/tapset/libvirt_functions.stp conflicts between atte...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-12 15:01 UTC by Richard W.M. Jones
Modified: 2016-01-24 03:29 UTC (History)
10 users (show)

Fixed In Version: libvirt-1.2.18.2-2.fc23
Clone Of:
Environment:
Last Closed: 2016-01-24 03:29:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
libvirt_functions.stp (i686) (30.70 KB, text/plain)
2014-12-12 15:02 UTC, Richard W.M. Jones
no flags Details
libvirt_functions.stp (x86-64) (30.70 KB, text/plain)
2014-12-12 15:02 UTC, Richard W.M. Jones
no flags Details

Description Richard W.M. Jones 2014-12-12 15:01:35 UTC
Description of problem:

I'm not sure whether or not you're supposed to be able to install
both these packages at the same time, but at the moment it
doesn't work:

file /usr/share/systemtap/tapset/libvirt_functions.stp conflicts between attempted installs of 
libvirt-client-1.2.9.1-2.fc21.i686 and libvirt-client-1.2.9.1-2.fc21.x86_64

And indeed these files are really quite different.  See the
diff below.

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

libvirt-client-1.2.9.1-2.fc21

How reproducible:

100%

Steps to Reproduce:
1. Try to install i686 & x86_64 packages together.

Additional info:

--- i686/usr/share/systemtap/tapset/libvirt_functions.stp	2014-12-12 14:56:04.396009964 +0000
+++ x86_64/usr/share/systemtap/tapset/libvirt_functions.stp	2014-12-12 14:56:15.075013789 +0000
@@ -1,11 +1,11 @@
 function libvirt_rpc_auth_name(type, verbose)
 {
-  if (type == 0) {
-      typestr = "none"
+  if (type == 2) {
+      typestr = "polkit"
   } else if (type == 1) {
       typestr = "sasl"
-  } else if (type == 2) {
-      typestr = "polkit"
+  } else if (type == 0) {
+      typestr = "none"
   } else {
       typestr = "unknown";
       verbose = 1;
@@ -17,18 +17,18 @@
 }
 function libvirt_rpc_type_name(type, verbose)
 {
-  if (type == 1) {
-      typestr = "reply"
-  } else if (type == 2) {
+  if (type == 2) {
       typestr = "message"
-  } else if (type == 5) {
-      typestr = "reply_with_fds"
   } else if (type == 4) {
       typestr = "call_with_fds"
   } else if (type == 3) {
       typestr = "stream"
+  } else if (type == 5) {
+      typestr = "reply_with_fds"
   } else if (type == 0) {
       typestr = "call"
+  } else if (type == 1) {
+      typestr = "reply"
   } else {
       typestr = "unknown";
       verbose = 1;
@@ -40,10 +40,10 @@
 }
 function libvirt_rpc_status_name(status, verbose)
 {
-  if (status == 1) {
-      statusstr = "error"
-  } else if (status == 2) {
+  if (status == 2) {
       statusstr = "continue"
+  } else if (status == 1) {
+      statusstr = "error"
   } else if (status == 0) {
       statusstr = "ok"
   } else {
@@ -59,16 +59,16 @@
 {
   if (program == 425984) {
       programstr = "lxc"
-  } else if (program == 536903814) {
-      programstr = "remote"
-  } else if (program == 305402420) {
-      programstr = "lxc_monitor"
   } else if (program == 536903815) {
       programstr = "qemu"
-  } else if (program == 245874415) {
-      programstr = "lock_space"
   } else if (program == 1801807216) {
       programstr = "keepalive"
+  } else if (program == 245874415) {
+      programstr = "lock_space"
+  } else if (program == 305402420) {
+      programstr = "lxc_monitor"
+  } else if (program == 536903814) {
+      programstr = "remote"
   } else {
       programstr = "unknown";
       verbose = 1;
@@ -87,6 +87,62 @@
           procstr = "unknown";
           verbose = 1;
       }
+  } else if (program == 536903815 && version == 1) {
+      if (proc == 1) {
+          procstr = "domain_monitor_command";
+      } else if (proc == 2) {
+          procstr = "domain_attach";
+      } else if (proc == 3) {
+          procstr = "domain_agent_command";
+      } else if (proc == 4) {
+          procstr = "connect_domain_monitor_event_register";
+      } else if (proc == 5) {
+          procstr = "connect_domain_monitor_event_deregister";
+      } else if (proc == 6) {
+          procstr = "domain_monitor_event";
+      } else {
+          procstr = "unknown";
+          verbose = 1;
+      }
+  } else if (program == 1801807216 && version == 1) {
+      if (proc == 1) {
+          procstr = "ping";
+      } else if (proc == 2) {
+          procstr = "pong";
+      } else {
+          procstr = "unknown";
+          verbose = 1;
+      }
+  } else if (program == 245874415 && version == 1) {
+      if (proc == 1) {
+          procstr = "register";
+      } else if (proc == 2) {
+          procstr = "restrict";
+      } else if (proc == 3) {
+          procstr = "new";
+      } else if (proc == 4) {
+          procstr = "create_resource";
+      } else if (proc == 5) {
+          procstr = "delete_resource";
+      } else if (proc == 6) {
+          procstr = "acquire_resource";
+      } else if (proc == 7) {
+          procstr = "release_resource";
+      } else if (proc == 8) {
+          procstr = "create_lockspace";
+      } else {
+          procstr = "unknown";
+          verbose = 1;
+      }
+  } else if (program == 305402420 && version == 1) {
+      if (proc == 1) {
+          procstr = "exit_event";
+      } else if (proc == 2) {
+          procstr = "init_event";
+      } else {
+          procstr = "unknown";
+          verbose = 1;
+      }
   } else if (program == 536903814 && version == 1) {
       if (proc == 1) {
           procstr = "connect_open";
@@ -785,62 +841,6 @@
       } else {
           procstr = "unknown";
           verbose = 1;
-      }
-  } else if (program == 305402420 && version == 1) {
-      if (proc == 1) {
-          procstr = "exit_event";
-      } else if (proc == 2) {
-          procstr = "init_event";
-      } else {
-          procstr = "unknown";
-          verbose = 1;
-      }
-  } else if (program == 536903815 && version == 1) {
-      if (proc == 1) {
-          procstr = "domain_monitor_command";
-      } else if (proc == 2) {
-          procstr = "domain_attach";
-      } else if (proc == 3) {
-          procstr = "domain_agent_command";
-      } else if (proc == 4) {
-          procstr = "connect_domain_monitor_event_register";
-      } else if (proc == 5) {
-          procstr = "connect_domain_monitor_event_deregister";
-      } else if (proc == 6) {
-          procstr = "domain_monitor_event";
-      } else {
-          procstr = "unknown";
-          verbose = 1;
-      }
-  } else if (program == 245874415 && version == 1) {
-      if (proc == 1) {
-          procstr = "register";
-      } else if (proc == 2) {
-          procstr = "restrict";
-      } else if (proc == 3) {
-          procstr = "new";
-      } else if (proc == 4) {
-          procstr = "create_resource";
-      } else if (proc == 5) {
-          procstr = "delete_resource";
-      } else if (proc == 6) {
-          procstr = "acquire_resource";
-      } else if (proc == 7) {
-          procstr = "release_resource";
-      } else if (proc == 8) {
-          procstr = "create_lockspace";
-      } else {
-          procstr = "unknown";
-          verbose = 1;
-      }
-  } else if (program == 1801807216 && version == 1) {
-      if (proc == 1) {
-          procstr = "ping";
-      } else if (proc == 2) {
-          procstr = "pong";
-      } else {
-          procstr = "unknown";
-          verbose = 1;
       }
   } else {
       procstr = "unknown";

Comment 1 Richard W.M. Jones 2014-12-12 15:02:14 UTC
Created attachment 967674 [details]
libvirt_functions.stp (i686)

Comment 2 Richard W.M. Jones 2014-12-12 15:02:47 UTC
Created attachment 967675 [details]
libvirt_functions.stp (x86-64)

Comment 3 Richard W.M. Jones 2014-12-12 15:04:11 UTC
Actually, studying the diff more closely, it seems like it's
a sorting stability problem.

Comment 4 Daniel Berrangé 2014-12-12 15:06:22 UTC
Yeah, I'll bet that the perl script which generates this file is not sorting the hash keys correctly / at all.

Comment 5 Fedora End Of Life 2015-11-04 14:43:36 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Cole Robinson 2015-11-04 23:05:55 UTC
Still an issue on f23:

Error: Transaction check error:
  file /usr/share/systemtap/tapset/libvirt_functions.stp from install of libvirt-client-1.2.18.1-2.fc23.i686 conflicts with file from package libvirt-client-1.2.18.1-2.fc23.x86_64

Comment 7 Cole Robinson 2016-01-20 15:07:09 UTC
Patch sent upstream:

https://www.redhat.com/archives/libvir-list/2016-January/msg00870.html

Comment 8 Cole Robinson 2016-01-20 15:28:50 UTC
commit a1edb05c6028470aa24b74aa0f8d5fb5a181128a
Author: Cole Robinson <crobinso>
Date:   Tue Jan 19 22:19:56 2016 -0500

    build: predictably generate systemtap tapsets (bz 1173641)

Comment 9 Fedora Update System 2016-01-21 17:17:08 UTC
libvirt-1.2.18.2-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-02dc87c44e

Comment 10 Fedora Update System 2016-01-22 04:55:38 UTC
libvirt-1.2.18.2-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-02dc87c44e

Comment 11 Fedora Update System 2016-01-24 03:29:01 UTC
libvirt-1.2.18.2-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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