libfreeipmi-dev appears to be missing a header file.

Bug #2025177 reported by Tim Mcmullan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
freeipmi (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Kinetic
Won't Fix
Undecided
Unassigned
Lunar
Fix Released
Undecided
Unassigned

Bug Description

Release:
Description: Ubuntu 22.04.2 LTS
Release: 22.04

Package information:
libfreeipmi-dev:
  Installed: 1.6.9-2ubuntu0.22.04.1
  Candidate: 1.6.9-2ubuntu0.22.04.1
  Version table:
 *** 1.6.9-2ubuntu0.22.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.6.9-2 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

I initially found this on Ubuntu 22.04 after updating freeipmi to 1.6.9-2ubuntu0.22.04.1 and trying to build slurm with freeipmi support. Configuring it failed because the test program wouldn't compile.

After taking a look at why, I found that freeipmi.h started to include "freeipmi/record-format/oem/ipmi-fru-xilinx-oem-record-format.h" with the latest update, but /usr/include/freeipmi/record-format/oem/ipmi-fru-xilinx-oem-record-format.h doesn't appear to exist with libfreeipmi-dev installed. A search with apt-file doesn't return any results for that file.

I took a quick look at https://bugs.launchpad.net/ubuntu/+source/freeipmi/+bug/2019147, it seems like the file is supposed to be there and is in the debdiff, but the package appears to be missing the header.

Let me know if there is any other information I can provide!

Thanks for your help!
--Tim

Revision history for this message
Fantu (fantonifabio) wrote :

the patch in 1.6.9-2ubuntu0.22.04.1 missed this added after: https://github.com/chu11/freeipmi-mirror/commit/aa699dbdb6b7bf3efada662b8126132e36a3bd05

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Indeed that's an issue on 22.04; the problem is resolved in the current version though, https://bugs.launchpad.net/ubuntu/+source/freeipmi/1.6.11-1

Changed in freeipmi (Ubuntu):
importance: Undecided → High
status: New → Fix Released
tags: added: regression-update
Revision history for this message
Sebastien Bacher (seb128) wrote :

Ccing tchavadar who worked on the SRU who introduced the bug

Revision history for this message
Talha Can Havadar (tchavadar) wrote :

Thank you very much for reporting the issue @Tim, I will create debdiffs for jammy, kinetic and lunar that includes the fix that @Fantu mentioned in #1

Revision history for this message
Talha Can Havadar (tchavadar) wrote :
Revision history for this message
Talha Can Havadar (tchavadar) wrote :

Build of this patch has been successful in my ppa: https://launchpad.net/~tchavadar/+archive/ubuntu/junk/+build/26345277

Here is the missing header file installed via new version of freeipmi in jammy

ubuntu@kria:~$ dpkg -S /usr/include/freeipmi/record-format/oem/ipmi-fru-xilinx-oem-record-format.h
libfreeipmi-dev: /usr/include/freeipmi/record-format/oem/ipmi-fru-xilinx-oem-record-format.h
ubuntu@kria:~$ apt-cache policy libfreeipmi-dev
libfreeipmi-dev:
  Installed: 1.6.9-2ubuntu1.22.04.2~ppa01
  Candidate: 1.6.9-2ubuntu1.22.04.2~ppa01
  Version table:
 *** 1.6.9-2ubuntu1.22.04.2~ppa01 500
        500 https://ppa.launchpadcontent.net/tchavadar/junk/ubuntu jammy/main arm64 Packages
        100 /var/lib/dpkg/status
     1.6.9-2ubuntu0.22.04.1 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 Packages
     1.6.9-2 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 Packages

Revision history for this message
Talha Can Havadar (tchavadar) wrote :
Revision history for this message
Talha Can Havadar (tchavadar) wrote :

Build of kinetic patch in my ppa: https://launchpad.net/~tchavadar/+archive/ubuntu/junk/+sourcepub/14981836/+listing-archive-extra

Console output:

ubuntu@kria:~$ dpkg -S /usr/include/freeipmi/record-format/oem/ipmi-fru-xilinx-oem-record-format.h
libfreeipmi-dev: /usr/include/freeipmi/record-format/oem/ipmi-fru-xilinx-oem-record-format.h
ubuntu@kria:~$ apt-cache policy libfreeipmi-dev
libfreeipmi-dev:
  Installed: 1.6.9-2ubuntu0.22.10.2~ppa01
  Candidate: 1.6.9-2ubuntu0.22.10.2~ppa01
  Version table:
 *** 1.6.9-2ubuntu0.22.10.2~ppa01 500
        500 https://ppa.launchpadcontent.net/tchavadar/junk/ubuntu kinetic/main arm64 Packages
        100 /var/lib/dpkg/status
     1.6.9-2ubuntu0.22.04.1 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 Packages
     1.6.9-2 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports kinetic/main arm64 Packages

Revision history for this message
Talha Can Havadar (tchavadar) wrote :

ubuntu@kria:~$ dpkg -S /usr/include/freeipmi/record-format/oem/ipmi-fru-xilinx-oem-record-format.h
libfreeipmi-dev: /usr/include/freeipmi/record-format/oem/ipmi-fru-xilinx-oem-record-format.h
ubuntu@kria:~$ apt-cache policy libfreeipmi-dev
libfreeipmi-dev:
  Installed: 1.6.10-1ubuntu0.2
  Candidate: 1.6.10-1ubuntu0.2
  Version table:
 *** 1.6.10-1ubuntu0.2 500
        500 https://ppa.launchpadcontent.net/tchavadar/junk/ubuntu lunar/main arm64 Packages
        100 /var/lib/dpkg/status
     1.6.9-2ubuntu0.22.04.1 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 Packages
     1.6.9-2 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports kinetic/main arm64 Packages

Revision history for this message
Talha Can Havadar (tchavadar) wrote :

@Sebastien I have provided patches for all 3 series that this new xilinx oem data feature introduced. Do you need anything else from me?

Revision history for this message
Tim Mcmullan (mcmult) wrote :

Thank you very much for the quick help on this everyone!

Revision history for this message
Jens Elkner (jelmd) wrote :

Is there any ETA for the updated package? It e.g. blocks build slurm.... :((((
Or is there a way to re-install a previous, working version of this package?

Revision history for this message
Steve Langasek (vorlon) wrote :

Seb is not subscribed to this bug (but the SRU team is). I've subscribed ubuntu-sponsors so that someone can pick this up for upload.

Revision history for this message
Thomas Ward (teward) wrote :

I'll grab the debdiffs and upload these within the next hour or two. (Late lunch first)

Revision history for this message
Thomas Ward (teward) wrote :

I've uploaded the Jammy debdiff, but for awareness tchavadar you need to include the close syntax for bugs in the debian changelogs: (LP: #2025177)

I've added this manually for the Jammy debdiff prior to upload. I'm uploading Kinetic and Lunar shortly. (I had some problems with my PGP keys and had to regen them oops).

Revision history for this message
Thomas Ward (teward) wrote :

Steve, Talha, et al:

I have uploaded all three package updates to the corresponding proposed queues for each release, and they are now in the queue. I am unsubscribing ubuntu-sponsors as there is no more work needed here for Sponsors, and this is now in the hands of the SRU team.

Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Tim, or anyone else affected,

Accepted freeipmi into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/freeipmi/1.6.9-2ubuntu0.22.04.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in freeipmi (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Changed in freeipmi (Ubuntu Lunar):
status: New → Fix Committed
tags: added: verification-needed-lunar
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Tim, or anyone else affected,

Accepted freeipmi into lunar-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/freeipmi/1.6.10-1ubuntu0.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-lunar to verification-done-lunar. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-lunar. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in freeipmi (Ubuntu Kinetic):
status: New → Fix Committed
tags: added: verification-needed-kinetic
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Tim, or anyone else affected,

Accepted freeipmi into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/freeipmi/1.6.9-2ubuntu0.22.10.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-kinetic to verification-done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-kinetic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Tim Mcmullan (mcmult) wrote :

I've was able to test the package in jammy-proposed (version 1.6.9-2ubuntu0.22.04.2).

The testing I did was:

* upgrade the package via apt
* stat /usr/include/freeipmi/record-format/oem/ipmi-fru-xilinx-oem-record-format.h to confirm it exists
* configured and built Slurm (master branch, commit 57089f9522) with the --with-freeipmi option.
* Tested that the Slurm acct_gather_energy/ipmi plugin is operational with the updated package.

tags: added: verification-done-jammy
removed: verification-needed-jammy
Revision history for this message
Tim Mcmullan (mcmult) wrote :

I've was able to test the package in lunar-proposed (version 1.6.10-1ubuntu0.2).

The testing I did was:

* upgrade the package via apt
* stat /usr/include/freeipmi/record-format/oem/ipmi-fru-xilinx-oem-record-format.h to confirm it exists
* configured and built Slurm (master branch, commit 57089f9522) with the --with-freeipmi option.
* Tested that the Slurm acct_gather_energy/ipmi plugin is operational with the updated package.

tags: added: verification-done-lunar
removed: verification-needed-lunar
Revision history for this message
Robie Basak (racb) wrote : Update Released

The verification of the Stable Release Update for freeipmi has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freeipmi - 1.6.10-1ubuntu0.2

---------------
freeipmi (1.6.10-1ubuntu0.2) lunar; urgency=medium

  * d/p/add-initial-support-for-xilinx.patch
    - Fix missing header file in libfreeipmi-dev package
      (LP: #2025177)

 -- Talha Can Havadar <email address hidden> Thu, 29 Jun 2023 08:41:50 +0200

Changed in freeipmi (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freeipmi - 1.6.9-2ubuntu0.22.04.2

---------------
freeipmi (1.6.9-2ubuntu0.22.04.2) jammy; urgency=medium

  * d/p/add-initial-support-for-xilinx.patch
    - Fix missing header file in libfreeipmi-dev package
      (LP: #2025177)

 -- Talha Can Havadar <email address hidden> Wed, 28 Jun 2023 15:31:40 +0200

Changed in freeipmi (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Ubuntu 22.10 (Kinetic Kudu) has reached end of life, so this bug will not be fixed for that specific release.

Changed in freeipmi (Ubuntu Kinetic):
status: Fix Committed → Won't Fix
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.