libgetdata FTBFS against numpy2

Bug #2098512 reported by Mateus Rodrigues de Morais
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libgetdata (Ubuntu)
Fix Released
High
Mateus Rodrigues de Morais

Bug Description

The package libgetdata currently fails to build from source against numpy 2.

Example build (amd64): https://launchpadlibrarian.net/776143691/buildlog_ubuntu-plucky-amd64.libgetdata_0.11.0-14build1_BUILDING.txt.gz

Revision history for this message
Mateus Rodrigues de Morais (mateus-morais) wrote (last edit ):

I was able to make the package build again by including this patch, which fixes the build complaints related to NumPy 2 breaking changes.

Example build in PPA: https://launchpad.net/~mateus-morais/+archive/ubuntu/plucky-merges/+packages

Autopkgtest:

* Results:
  - libgetdata: plucky/libgetdata/0.11.0-14ubuntu1~ppa1 [amd64]
    + ✅ libgetdata on plucky for amd64 @ 14.02.25 16:04:41
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-mateus-morais-plucky-merges/plucky/amd64/libg/libgetdata/20250214_160441_a2a57@/log.gz
    + ✅ libgetdata on plucky for amd64 @ 14.02.25 16:05:07
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-mateus-morais-plucky-merges/plucky/amd64/libg/libgetdata/20250214_160507_d8f0b@/log.gz
  - libgetdata: plucky/libgetdata/0.11.0-14ubuntu1~ppa1 [arm64]
    + ✅ libgetdata on plucky for arm64 @ 14.02.25 16:05:46
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-mateus-morais-plucky-merges/plucky/arm64/libg/libgetdata/20250214_160546_6b7d3@/log.gz
  - libgetdata: plucky/libgetdata/0.11.0-14ubuntu1~ppa1 [armhf]
    + ✅ libgetdata on plucky for armhf @ 14.02.25 16:09:45
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-mateus-morais-plucky-merges/plucky/armhf/libg/libgetdata/20250214_160945_6ddd6@/log.gz
  - libgetdata: plucky/libgetdata/0.11.0-14ubuntu1~ppa1 [ppc64el]
    + ✅ libgetdata on plucky for ppc64el @ 14.02.25 16:21:53
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-mateus-morais-plucky-merges/plucky/ppc64el/libg/libgetdata/20250214_162153_121c1@/log.gz
  - libgetdata: plucky/libgetdata/0.11.0-14ubuntu1~ppa1 [s390x]
    + ✅ libgetdata on plucky for s390x @ 14.02.25 16:06:03
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-plucky-mateus-morais-plucky-merges/plucky/s390x/libg/libgetdata/20250214_160603_edac9@/log.gz

Changed in libgetdata (Ubuntu):
status: New → In Progress
assignee: nobody → Mateus Rodrigues de Morais (mateus-morais)
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Hey Mateus, thanks for the patch!

Two points, could you please take a look and resubscribe ~ubuntu-sponsors once they're addressed?
 1. Please remove the ~ppa1 suffix from the changelog entry.
 2. Please also remove the template entries from the DEP-3 header.

Thanks in advance, this looks good otherwise! I appreciate that you also included autopkgtest results (no need to re-run those if you're just doing metadata changes), and a link to a PPA build.

One last thing, at your convenience, could you please make sure this gets sent to upstream and Debian? It may also be helpful to include those links in the DEP-3 header.

Best wishes,
Simon

Revision history for this message
Mateus Rodrigues de Morais (mateus-morais) wrote :
Revision history for this message
Mateus Rodrigues de Morais (mateus-morais) wrote (last edit ):

Hi Simon,

Looks like I erroneously uploaded an outdated version of the patch. Here's the updated one with a link to the Debian bug where I forwarded the fix to.

Thank you for your review!

Revision history for this message
Simon Quigley (tsimonq2) wrote :

Thanks, uploaded!

Changed in libgetdata (Ubuntu):
status: In Progress → Fix Committed
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libgetdata - 0.11.0-14ubuntu1

---------------
libgetdata (0.11.0-14ubuntu1) plucky; urgency=medium

  * d/p/numpy2.patch: Fix FTBFS due to numpy2 ABI change (LP: #2098512).

 -- Mateus Rodrigues de Morais <email address hidden> Fri, 14 Feb 2025 10:00:35 -0300

Changed in libgetdata (Ubuntu):
status: Fix Committed → 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.