st: FTBFS on arm{el,hf}: res.c:115:12: error: implicit declaration of function ‘_getshort’; did you mean ‘__putshort’? [-Werror=implicit-function-declaration]

Bug #2060973 reported by Benjamin Drung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
st (Debian)
Fix Released
Unknown
st (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/1065797:

Source: st
Version: 1.9-3.3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: <email address hidden>

https://buildd.debian.org/status/fetch.php?pkg=st&arch=armhf&ver=1.9-3.3&stamp=1709892445&raw=0

gcc -DLINUX -Wall -O -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I../LINUX_6.1.0-18-arm64_OPT -c res.c -o ../LINUX_6.1.0-18-arm64_OPT/res.o
res.c: In function ‘parse_answer’:
res.c:115:12: error: implicit declaration of function ‘_getshort’; did you mean ‘__putshort’? [-Werror=implicit-function-declaration]
  115 | type = _getshort(cp);
      | ^~~~~~~~~
      | __putshort
cc1: some warnings being treated as errors
make[3]: *** [Makefile:115: ../LINUX_6.1.0-18-arm64_OPT/res.o] Error 1

Cheers
--
Sebastian Ramacher

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

This bug was fixed in the package st - 1.9-3.3ubuntu1

---------------
st (1.9-3.3ubuntu1) noble; urgency=medium

  * debian/patches/02-implicit-declarations.patch: Fix an improper macro
    feature check. (Closes: #1065797, LP: #2060973).
  * debian/patches/1032955_riscv_support.patch: Add support for RISC-V
    CPU. Thanks to Steven Liu <email address hidden>. (LP: #2061639).
  * Replace obsolete pkg-config by pkgconf

 -- Zixing Liu <email address hidden> Mon, 15 Apr 2024 23:16:00 +0200

Changed in st (Ubuntu):
status: Fix Committed → Fix Released
Changed in st (Debian):
status: New → 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.