[focal] pacemaker i386 should drop a few i386 only packages

Bug #1863437 reported by Rafael David Tinoco
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pacemaker (Ubuntu)
Fix Released
Medium
Rafael David Tinoco
Focal
Fix Released
Medium
Rafael David Tinoco

Bug Description

When executing pacemaker i386 autopkgtests I realized that package "resource-agents" wasn't available for i386. When discussing this with @vorlon we came into the conclusion that some i386 only cluster packages could be removed from the repository, towards the effort of having *only the essential* packages available in i386 (to be run together with an amd64 host).

IRC log:

"""
<rafaeldtinoco> resource-agents i386 binary package
<vorlon> the pacemaker binary is /not/ present on i386 in the release pocket
<vorlon> that may have been an overly aggressive removal
<rafaeldtinoco> vorlon: are u keeping pacemaker because of dependencies ?
<vorlon> yeah, I removed it when I shouldn't have
(https://launchpad.net/ubuntu/focal/i386/pacemaker)
<vorlon> rafaeldtinoco: pacemaker-dev is a build-dep of something else we need,
see the referenced germinate output for full details

https://people.canonical.com/~ubuntu-archive/germinate-output/i386.focal/i386+build-depends

<vorlon> pacemaker-dev is a build-dep of dlm
<vorlon> and libesmtp-dev is a build-dep of pacemaker, not the other way around
<vorlon> (and dlm is a build-dep of lvm2)
<rafaeldtinoco> ah gotcha
<rafaeldtinoco> dlm -> corosync -> pacemaker
<vorlon> so, even though I removed the binary in error from the release pocket,
the right answer is still for pacemaker/i386 binary to go away (leaving only the
-dev and lib packages)

<vorlon> do you want me to fix that up, or do you want to?
<rafaeldtinoco> to fix that we should do like we did to samba ?
<vorlon> yeah

<vorlon> looks like the binaries you'll need to drop are pacemaker,
pacemaker-cli-utils, pacemaker-remote
<vorlon> and I'll remove those from -proposed right now, so that those don't
hold up migration

<vorlon> but I'll hold off on adding the hint until they're dropped from the
source
<rafaeldtinoco> deal, and next hint ill do with proper branch
"""

Related branches

Changed in pacemaker (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Rafael David Tinoco (rafaeldtinoco)
description: updated
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

"fakeroot debian/rules build-arch" gives me:

dpkg-deb: building package 'pacemaker-remote' in '../pacemaker-remote_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'pacemaker' in '../pacemaker_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'libcrmcluster29' in '../libcrmcluster29_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'libcrmservice28' in '../libcrmservice28_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'libpe-rules26' in '../libpe-rules26_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'libpengine27' in '../libpengine27_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'libtransitioner25' in '../libtransitioner25_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'libpe-status28' in '../libpe-status28_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'pacemaker-dev' in '../pacemaker-dev_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'libcib27' in '../libcib27_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'liblrmd28' in '../liblrmd28_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'libcrmcommon34' in '../libcrmcommon34_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'libstonithd26' in '../libstonithd26_2.0.1-5ubuntu5_i386.deb'.
dpkg-deb: building package 'pacemaker-cli-utils' in '../pacemaker-cli-utils_2.0.1-5ubuntu5_i386.deb'.

Since it doesn't build pacemaker-doc it does not depend on missing packages in i386 (pelican, for example).

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Merged and uploaded.

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Upstream already had the following commit (since @vorlon opened the bug in January):

----

commit 543574f18
Author: Ferenc Wágner <email address hidden>
Date: Thu Jan 9 14:19:19 2020

    Omit pacemaker{, -cli-utils, -remote} on Ubuntu/i386

    Closes: #948379

diff --git a/debian/rules b/debian/rules
index 1d186d741..04acd7da2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,8 +11,14 @@ export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs
 # Avoid useless dependencies in the utilities
 export DEB_LDFLAGS_MAINT_APPEND+=-Wl,--as-needed

+# Ubuntu/i386 shrank into a compatibility layer not carrying the
+# dependencies of some of our binary packages (#948379):
+ifeq ($(shell dpkg-vendor --query vendor)/$(DEB_HOST_ARCH), Ubuntu/i386)
+ UBUNTU_EXCLUDES = -Npacemaker -Npacemaker-cli-utils -Npacemaker-remote
+endif
+
 %:
- dh $@ --with python3
+ dh $@ --with python3 $(UBUNTU_EXCLUDES)

 # autoreconf options taken from autogen.sh
 # without symlink usage (-s) to make --as-needed effective

I'll propose it to include: -Npacemaeker-resource-agents and we will be good.

----

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948379

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pacemaker - 2.0.1-5ubuntu5

---------------
pacemaker (2.0.1-5ubuntu5) focal; urgency=medium

  * Fix: Last attempt i386 binary packages removal was wrong (-Nlibkate)
  * Ubuntu i386 binary compatibility only effort: (LP: #1863437)
    - i386 binary package removal:
      - pacemaker
      - pacemaker-cli-utils
      - pacemaker-remote
      - pacemaker-resource-agents

 -- Rafael David Tinoco <email address hidden> Sat, 15 Feb 2020 18:52:20 +0000

Changed in pacemaker (Ubuntu Focal):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.