FTBFS on armhf (implicit-function-declaration) and riscv64 (error: expected ‘)’ before ‘CPUINFO’ )

Bug #2061039 reported by Miriam España Acebal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uhub (Debian)
New
Unknown
uhub (Ubuntu)
Fix Released
High
Unassigned

Bug Description

For armhf [1]:

/<<PKGBUILDDIR>>/src/tools/adcclient.c:178:33: error: implicit declaration of function ‘ADC_client_connect_internal’; did you mean ‘ADC_client_connect’? [-Werror=implicit-function-declaration]
  178 | ADC_client_connect_internal(client);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      | ADC_client_connect

For riscv64 [2]:

/<<PKGBUILDDIR>>/src/core/commands.c:395:86: error: expected ‘)’ before ‘CPUINFO’
  395 | buf = cbuf_create_const("Powered by " PRODUCT_STRING " on " OPSYS "/" CPUINFO);
      | ~ ^~~~~~~~
      |
[...]
/<<PKGBUILDDIR>>/src/core/commands.c:395:86: error: expected ‘)’ before ‘CPUINFO’
  395 | buf = cbuf_create_const("Powered by " PRODUCT_STRING " on " OPSYS "/" CPUINFO);
      | ~ ^~~~~~~~
      |

[1] https://launchpadlibrarian.net/724118191/buildlog_ubuntu-noble-armhf.uhub_0.4.1-3.2build2_BUILDING.txt.gz
[2] https://launchpadlibrarian.net/724118080/buildlog_ubuntu-noble-riscv64.uhub_0.4.1-3.2build2_BUILDING.txt.gz

Benjamin Drung (bdrung)
Changed in uhub (Ubuntu):
importance: Undecided → High
status: New → Fix Committed
Changed in uhub (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package uhub - 0.4.1-3.2ubuntu1

---------------
uhub (0.4.1-3.2ubuntu1) noble; urgency=medium

  * debian/patches/implicit-declarations.patch: Add missing function
    prototypes. (LP: #2061039).
  * debian/patches/riscv64-fix-ftbfs.patch: Add RISC-V architecture to
    CPU list. Thanks to Eric Long <email address hidden>. (LP: #2061039).

 -- Zixing Liu <email address hidden> Mon, 15 Apr 2024 12:09:00 -0600

Changed in uhub (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.