Created attachment 920754 [details] build.log sparc64-unknown-linux-gnu-gcc -O2 -mcpu=ultrasparc -pipe -Wl,-O1 -Wl,--as-needed lssbus.c -o lssbus lssbus.c: In function ‘main’: lssbus.c:562:23: warning: format not a string literal and no format arguments [-Wformat-security] 562 | fprintf(stderr, help_msg); | ^~~~~~~~ lssbus.c:575:25: warning: format not a string literal and no format arguments [-Wformat-security] 575 | fprintf(stderr, help_msg); | ^~~~~~~~ lssbus.c:595:21: error: assignment to ‘struct sbusDevice *’ from incompatible pointer type ‘struct device *’ [-Wincompatible-pointer-types] 595 | devlist[numDevs]=devices; | ^ make: *** [Makefile:11: lssbus] Error 1 I can't seem to find the upstream sources for this any more so I'm wondering if we should just append -std=gnu89 and call it a day, however opening a bug in case someone disagrees and can see a better fix.
Not ideal but I don't want to analyse and figure out how to test the code on real HW. WFM, thanks.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6b43122743e6059df5d7d2bfb100baca220ee7 commit 1f6b43122743e6059df5d7d2bfb100baca220ee7 Author: Ian Jordan <immoloism@gmail.com> AuthorDate: 2025-04-30 23:44:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-05-01 03:10:06 +0000 sys-apps/lssbus: Force gnustd89 Package seems no longer supported by upstream, so using the workaround fix to allow users to use it on Gentoo before a better soultion is found. This is also fixes the issue with SPARC installcd not building for Releng. Closes: https://bugs.gentoo.org/951330 Signed-off-by: Ian Jordan <immoloism@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41870 Closes: https://github.com/gentoo/gentoo/pull/41870 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/lssbus/lssbus-0.1-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)