charmcraft builds on s390x and ppc64el fail due to requiring pkg-config

Bug #2023777 reported by Alex Kavanagh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Cinder Pure Storage Charm
Status tracked in Trunk
2023.1
Fix Committed
Undecided
Unassigned
Train
Fix Committed
Undecided
Unassigned
Trunk
Fix Committed
Undecided
Unassigned
Ussuri
Fix Committed
Undecided
Unassigned
Victoria
Fix Committed
Undecided
Unassigned
Wallaby
Fix Committed
Undecided
Unassigned
Xena
Fix Committed
Undecided
Unassigned
Yoga
Fix Committed
Undecided
Unassigned
Zed
Fix Committed
Undecided
Unassigned

Bug Description

From https://launchpadlibrarian.net/672067622/buildlog_charm_ubuntu_jammy_s390x_charm-cinder-purestorage.stable-zed.zed_BUILDING.txt.gz

(Build: https://launchpad.net/~openstack-charmers/charm-cinder-purestorage/+charm/charm-cinder-purestorage.stable-zed.zed/+build/8793)

:: cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
:: run pkg_config fail: Could not run `"pkg-config" "--libs" "--cflags" "openssl"`
:: The pkg-config command could not be found.
::
:: Most likely, you need to install a pkg-config package for your OS.
:: Try `apt install pkg-config`, or `yum install pkg-config`,
:: or `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution.
::
:: If you've already installed it, ensure the pkg-config command is one of the
:: directories in the PATH environment variable.
::
:: If you did not expect this build to link to a pre-installed system library,
:: then check documentation of the openssl-sys crate for an option to
:: build the library from source, or disable features or dependencies
:: that require pkg-config.
::

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder-purestorage (master)
Changed in charm-cinder-purestorage:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder-purestorage (master)

Reviewed: https://review.opendev.org/c/openstack/charm-cinder-purestorage/+/886094
Committed: https://opendev.org/openstack/charm-cinder-purestorage/commit/c2a17eb5c137f3431c322a6cc47a71cd5071e6e3
Submitter: "Zuul (22348)"
Branch: master

commit c2a17eb5c137f3431c322a6cc47a71cd5071e6e3
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 14 14:20:53 2023 +0100

    Add pkg-config to charmcraft.yaml for binary builds

    Depending on the build platform (e.g. s390x, ppc64el), sometimes
    pkg-config is required, and sometimes it isn't. Add it to make sure it
    is available depending on the availability of binary wheels for
    architectures.

    Closes-Bug: #2023777
    Change-Id: I3cdcea3a6bcadd38680a30553649dc6ed5202dd5

Changed in charm-cinder-purestorage:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder-purestorage (stable/2023.1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder-purestorage (stable/zed)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder-purestorage (stable/yoga)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder-purestorage (stable/xena)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder-purestorage (stable/wallaby)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder-purestorage (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/charm-cinder-purestorage/+/886064

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder-purestorage (stable/ussuri)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder-purestorage (stable/train)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder-purestorage (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/charm-cinder-purestorage/+/886059
Committed: https://opendev.org/openstack/charm-cinder-purestorage/commit/38597f10d56a21bb82723f037d015cc6af112398
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 38597f10d56a21bb82723f037d015cc6af112398
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 14 14:20:53 2023 +0100

    Add pkg-config to charmcraft.yaml for binary builds

    Depending on the build platform (e.g. s390x, ppc64el), sometimes
    pkg-config is required, and sometimes it isn't. Add it to make sure it
    is available depending on the availability of binary wheels for
    architectures.

    Closes-Bug: #2023777
    Change-Id: I3cdcea3a6bcadd38680a30553649dc6ed5202dd5
    (cherry picked from commit c2a17eb5c137f3431c322a6cc47a71cd5071e6e3)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder-purestorage (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/charm-cinder-purestorage/+/886060
Committed: https://opendev.org/openstack/charm-cinder-purestorage/commit/9151086947981599e5a9431b16bea14d5b9fde16
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 9151086947981599e5a9431b16bea14d5b9fde16
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 14 14:20:53 2023 +0100

    Add pkg-config to charmcraft.yaml for binary builds

    Depending on the build platform (e.g. s390x, ppc64el), sometimes
    pkg-config is required, and sometimes it isn't. Add it to make sure it
    is available depending on the availability of binary wheels for
    architectures.

    Closes-Bug: #2023777
    Change-Id: I3cdcea3a6bcadd38680a30553649dc6ed5202dd5
    (cherry picked from commit c2a17eb5c137f3431c322a6cc47a71cd5071e6e3)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder-purestorage (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/charm-cinder-purestorage/+/886061
Committed: https://opendev.org/openstack/charm-cinder-purestorage/commit/1cdee6da0c781b960b5102d896805d93bd6c1d0e
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 1cdee6da0c781b960b5102d896805d93bd6c1d0e
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 14 14:20:53 2023 +0100

    Add pkg-config to charmcraft.yaml for binary builds

    Depending on the build platform (e.g. s390x, ppc64el), sometimes
    pkg-config is required, and sometimes it isn't. Add it to make sure it
    is available depending on the availability of binary wheels for
    architectures.

    Closes-Bug: #2023777
    Change-Id: I3cdcea3a6bcadd38680a30553649dc6ed5202dd5
    (cherry picked from commit c2a17eb5c137f3431c322a6cc47a71cd5071e6e3)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder-purestorage (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/charm-cinder-purestorage/+/886062
Committed: https://opendev.org/openstack/charm-cinder-purestorage/commit/01c95a2c65cdce9b584e9907c9f15ef4bbaee6fd
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 01c95a2c65cdce9b584e9907c9f15ef4bbaee6fd
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 14 14:20:53 2023 +0100

    Add pkg-config to charmcraft.yaml for binary builds

    Depending on the build platform (e.g. s390x, ppc64el), sometimes
    pkg-config is required, and sometimes it isn't. Add it to make sure it
    is available depending on the availability of binary wheels for
    architectures.

    Closes-Bug: #2023777
    Change-Id: I3cdcea3a6bcadd38680a30553649dc6ed5202dd5
    (cherry picked from commit c2a17eb5c137f3431c322a6cc47a71cd5071e6e3)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder-purestorage (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/charm-cinder-purestorage/+/886063
Committed: https://opendev.org/openstack/charm-cinder-purestorage/commit/dd3e54a77b40297abf0aa4226cfe4d96a3deda3d
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit dd3e54a77b40297abf0aa4226cfe4d96a3deda3d
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 14 14:20:53 2023 +0100

    Add pkg-config to charmcraft.yaml for binary builds

    Depending on the build platform (e.g. s390x, ppc64el), sometimes
    pkg-config is required, and sometimes it isn't. Add it to make sure it
    is available depending on the availability of binary wheels for
    architectures.

    Closes-Bug: #2023777
    Change-Id: I3cdcea3a6bcadd38680a30553649dc6ed5202dd5
    (cherry picked from commit c2a17eb5c137f3431c322a6cc47a71cd5071e6e3)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder-purestorage (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/charm-cinder-purestorage/+/886064
Committed: https://opendev.org/openstack/charm-cinder-purestorage/commit/32443ca63aef8eaf564e3e80a4ce2966df9685db
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 32443ca63aef8eaf564e3e80a4ce2966df9685db
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 14 14:20:53 2023 +0100

    Add pkg-config to charmcraft.yaml for binary builds

    Depending on the build platform (e.g. s390x, ppc64el), sometimes
    pkg-config is required, and sometimes it isn't. Add it to make sure it
    is available depending on the availability of binary wheels for
    architectures.

    Closes-Bug: #2023777
    Change-Id: I3cdcea3a6bcadd38680a30553649dc6ed5202dd5
    (cherry picked from commit c2a17eb5c137f3431c322a6cc47a71cd5071e6e3)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder-purestorage (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/charm-cinder-purestorage/+/886065
Committed: https://opendev.org/openstack/charm-cinder-purestorage/commit/20bed98c69aac93adc012e120cb4c2bedac569f6
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 20bed98c69aac93adc012e120cb4c2bedac569f6
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 14 14:20:53 2023 +0100

    Add pkg-config to charmcraft.yaml for binary builds

    Depending on the build platform (e.g. s390x, ppc64el), sometimes
    pkg-config is required, and sometimes it isn't. Add it to make sure it
    is available depending on the availability of binary wheels for
    architectures.

    Closes-Bug: #2023777
    Change-Id: I3cdcea3a6bcadd38680a30553649dc6ed5202dd5
    (cherry picked from commit c2a17eb5c137f3431c322a6cc47a71cd5071e6e3)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder-purestorage (stable/train)

Reviewed: https://review.opendev.org/c/openstack/charm-cinder-purestorage/+/886066
Committed: https://opendev.org/openstack/charm-cinder-purestorage/commit/29760d3a8f6c67daed3c0b1a3b4b871528fcc3d9
Submitter: "Zuul (22348)"
Branch: stable/train

commit 29760d3a8f6c67daed3c0b1a3b4b871528fcc3d9
Author: Alex Kavanagh <email address hidden>
Date: Wed Jun 14 14:20:53 2023 +0100

    Add pkg-config to charmcraft.yaml for binary builds

    Depending on the build platform (e.g. s390x, ppc64el), sometimes
    pkg-config is required, and sometimes it isn't. Add it to make sure it
    is available depending on the availability of binary wheels for
    architectures.

    Closes-Bug: #2023777
    Change-Id: I3cdcea3a6bcadd38680a30553649dc6ed5202dd5
    (cherry picked from commit c2a17eb5c137f3431c322a6cc47a71cd5071e6e3)

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.