#1091564 mac-fdisk: FTBFS on i386: pdisk.c:469:13: error: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration]

#1091564#5
Date:
2024-12-28 16:27:58 UTC
From:
To:
Hi,

During a rebuild of all packages in sid, this package failed to build
on i386.

This package currently has binary packages on i386, so this is a regression.

Relevant part (hopefully):
The full build log is available from:
http://qa-logs.debian.net/2024/12/28/mac-fdisk_0.1-18.1_unstable-i386.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241228;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241228&fusertaguser=lucas@debian.org&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.

#1091564#12
Date:
2026-02-08 11:25:36 UTC
From:
To:
Hi Adrian,

I have not yet invested time into this bug but to my experience this
kind of bugs is typically solvable by adding missing includes.  Since I
have no idea whether we should keep i386 support for this package which
might be not relevant on this architecture any more.

This is just a ping for my previous question that the current Vcs fields
of mac-fdisk are invalid and whether a migration to Salsa makes sense.

Please let me know if you need a helping hand.

Kind regards
    Andreas.

#1091564#17
Date:
2026-02-08 11:26:55 UTC
From:
To:
Hi Andreas,

I have more time these days and will take a look at it tomorrow.

Adrian

#1091564#22
Date:
2026-05-13 11:54:56 UTC
From:
To:
Please find a patch included.