Bug 915247 - systemtap-sdt-devel does not require base systemtap RPM
Summary: systemtap-sdt-devel does not require base systemtap RPM
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemtap
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Frank Ch. Eigler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 972325 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-25 09:47 UTC by Daniel Berrangé
Modified: 2013-06-27 14:11 UTC (History)
10 users (show)

Fixed In Version: systemtap-2.2.1-1.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-29 20:14:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2013-02-25 09:47:49 UTC
Description of problem:
The systemtap RPM is split into many sub-RPMs, each of which installs the same gettext .mo files. As such to avoid file conflicts, every systemtap-XXX package installed on a host must always be the same version. Unfortunately the systemtap-sdt-devel RPM does not have any dependency on other systemtap packages. So if you do a 'yum update systemtap' it will not pull in new  systemtap-sdt-devel. This causes RPM to report file conflicts

[root@t500wlan ~]# yum --enablerepo=updates-testing update systemtap
Loaded plugins: auto-update-debuginfo, fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.sov.uk.goscomb.net
 * fedora-debuginfo: mirror.sov.uk.goscomb.net
 * rpmfusion-free: ftp.nluug.nl
 * rpmfusion-free-debuginfo: ftp.nluug.nl
 * rpmfusion-free-updates: ftp.nluug.nl
 * rpmfusion-free-updates-debuginfo: ftp.nluug.nl
 * rpmfusion-nonfree: ftp.nluug.nl
 * rpmfusion-nonfree-debuginfo: ftp.nluug.nl
 * rpmfusion-nonfree-updates: ftp.nluug.nl
 * rpmfusion-nonfree-updates-debuginfo: ftp.nluug.nl
 * updates: mirror.sov.uk.goscomb.net
 * updates-debuginfo: mirror.sov.uk.goscomb.net
 * updates-testing: mirror.sov.uk.goscomb.net
 * updates-testing-debuginfo: mirror.sov.uk.goscomb.net
Resolving Dependencies
--> Running transaction check
---> Package systemtap.x86_64 0:2.0-4.fc18 will be updated
--> Processing Dependency: systemtap = 2.0-4.fc18 for package: systemtap-initscript-2.0-4.fc18.x86_64
---> Package systemtap.x86_64 0:2.1-1.fc18 will be an update
--> Processing Dependency: systemtap-devel = 2.1-1.fc18 for package: systemtap-2.1-1.fc18.x86_64
--> Processing Dependency: systemtap-client = 2.1-1.fc18 for package: systemtap-2.1-1.fc18.x86_64
--> Running transaction check
---> Package systemtap-client.x86_64 0:2.0-4.fc18 will be updated
---> Package systemtap-client.x86_64 0:2.1-1.fc18 will be an update
--> Processing Dependency: systemtap-runtime = 2.1-1.fc18 for package: systemtap-client-2.1-1.fc18.x86_64
---> Package systemtap-devel.x86_64 0:2.0-4.fc18 will be updated
--> Processing Dependency: systemtap-devel = 2.0-4.fc18 for package: systemtap-server-2.0-4.fc18.x86_64
---> Package systemtap-devel.x86_64 0:2.1-1.fc18 will be an update
---> Package systemtap-initscript.x86_64 0:2.0-4.fc18 will be updated
---> Package systemtap-initscript.x86_64 0:2.1-1.fc18 will be an update
--> Running transaction check
---> Package systemtap-runtime.x86_64 0:2.0-4.fc18 will be updated
---> Package systemtap-runtime.x86_64 0:2.1-1.fc18 will be an update
---> Package systemtap-server.x86_64 0:2.0-4.fc18 will be updated
---> Package systemtap-server.x86_64 0:2.1-1.fc18 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================
 Package                                       Arch                            Version                               Repository                        Size
============================================================================================================================================================
Updating:
 systemtap                                     x86_64                          2.1-1.fc18                            updates                           23 k
Updating for dependencies:
 systemtap-client                              x86_64                          2.1-1.fc18                            updates                          3.4 M
 systemtap-devel                               x86_64                          2.1-1.fc18                            updates                          1.3 M
 systemtap-initscript                          x86_64                          2.1-1.fc18                            updates                           19 k
 systemtap-runtime                             x86_64                          2.1-1.fc18                            updates                          234 k
 systemtap-server                              x86_64                          2.1-1.fc18                            updates                          207 k

Transaction Summary
============================================================================================================================================================
Upgrade  1 Package (+5 Dependent packages)

Total size: 5.2 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Running Transaction Test


Transaction Check Error:
  file /usr/share/locale/en/LC_MESSAGES/systemtap.mo from install of systemtap-devel-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/fr/LC_MESSAGES/systemtap.mo from install of systemtap-devel-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/pl/LC_MESSAGES/systemtap.mo from install of systemtap-devel-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/en/LC_MESSAGES/systemtap.mo from install of systemtap-runtime-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/fr/LC_MESSAGES/systemtap.mo from install of systemtap-runtime-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/pl/LC_MESSAGES/systemtap.mo from install of systemtap-runtime-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/en/LC_MESSAGES/systemtap.mo from install of systemtap-client-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/fr/LC_MESSAGES/systemtap.mo from install of systemtap-client-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/pl/LC_MESSAGES/systemtap.mo from install of systemtap-client-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/en/LC_MESSAGES/systemtap.mo from install of systemtap-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/fr/LC_MESSAGES/systemtap.mo from install of systemtap-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/pl/LC_MESSAGES/systemtap.mo from install of systemtap-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/en/LC_MESSAGES/systemtap.mo from install of systemtap-server-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/fr/LC_MESSAGES/systemtap.mo from install of systemtap-server-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64
  file /usr/share/locale/pl/LC_MESSAGES/systemtap.mo from install of systemtap-server-2.1-1.fc18.x86_64 conflicts with file from package systemtap-sdt-devel-2.0-4.fc18.x86_64



Version-Release number of selected component (if applicable):
systemtap-2.0-4.fc18.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Ensure you have systemtap-2.0-4.fc18.x86_64 and systemtap-sdt-devel-2.0-4.fc18.x86_64 installed
2. yum --enablerepo=updates-testing update
3.
  
Actual results:
systemtap-sdt-devel is not pulled in for updates, causing file conflicts

Expected results:
No file conflicts

Additional info:

Comment 1 Mark Wielaard 2013-02-25 10:33:28 UTC
This comes from the dtrace python script that is also packaged into systemtap-sdt-devel.

The dtrace script probably should have its own textdomain. The only text I see that relies on translation is the --help output.

Comment 2 Frank Ch. Eigler 2013-02-25 13:53:50 UTC
Lack of sdt-devel -> baserpm dependency is deliberate.
Either own-textdomain or no-textdomain (removing the dummy i18n code from that script) could be a solution.

Comment 3 Frank Ch. Eigler 2013-04-29 20:14:53 UTC
Fixed in upstream git stap, commit a54d79c, will be in next release.

Comment 4 Mark Wielaard 2013-06-10 13:22:41 UTC
*** Bug 972325 has been marked as a duplicate of this bug. ***


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