m4api: FTBFS: m4api.c:413:10: error: implicit declaration of function ‘m4SetBinary’ [-Werror=implicit-function-declaration]

Bug #2060847 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
m4api (Debian)
Fix Released
Unknown
m4api (Ubuntu)
Fix Released
Undecided
Nick Rosbrook

Bug Description

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

Source: m4api
Version: 0.3~0.9646fd-2.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: <email address hidden>
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> /usr/bin/cc -Dm4api_EXPORTS -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT CMakeFiles/m4api.dir/m4api.c.o -MF CMakeFiles/m4api.dir/m4api.c.o.d -o CMakeFiles/m4api.dir/m4api.c.o -c "/<<PKGBUILDDIR>>/m4api.c"
> /<<PKGBUILDDIR>>/m4api.c: In function ‘m4SetFloat’:
> /<<PKGBUILDDIR>>/m4api.c:413:10: error: implicit declaration of function ‘m4SetBinary’ [-Werror=implicit-function-declaration]
> 413 | return m4SetBinary(dev, field, binary);
> | ^~~~~~~~~~~
> /<<PKGBUILDDIR>>/m4api.c: In function ‘m4SetFloat’:
> /<<PKGBUILDDIR>>/m4api.c:413:10: error: implicit declaration of function ‘m4SetBinary’ [-Werror=implicit-function-declaration]
> 413 | return m4SetBinary(dev, field, binary);
> | ^~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [CMakeFiles/m4api-static.dir/build.make:79: CMakeFiles/m4api-static.dir/m4api.c.o] Error 1

The full build log is available from:
http://qa-logs.debian.net/2024/03/13/m4api_0.3~0.9646fd-2.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;<email address hidden>
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&<email address hidden>&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Nick Rosbrook (enr0n)
Changed in m4api (Ubuntu):
assignee: nobody → Nick Rosbrook (enr0n)
tags: added: update-excuse
Changed in m4api (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package m4api - 0.3~0.9646fd-2.1ubuntu1

---------------
m4api (0.3~0.9646fd-2.1ubuntu1) noble; urgency=medium

  * debian/patches: fix several implicit declarations (LP: #2060847)

 -- Nick Rosbrook <email address hidden> Wed, 10 Apr 2024 13:41:11 -0400

Changed in m4api (Ubuntu):
status: In Progress → Fix Released
Changed in m4api (Debian):
importance: Undecided → Unknown
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.