Discussion:
Processed: Re: Bug#1077423: fortunes-es: FTBFS: rot.c:23:5: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
Add Reply
Debian Bug Tracking System
2024-09-18 17:50:01 UTC
Reply
Permalink
tags -1 + patch
Bug #1077423 [src:fortunes-es] fortunes-es: FTBFS: rot.c:23:5: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
Added tag(s) patch.
--
1077423: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077423
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Agustin Martin
2024-10-17 16:00:02 UTC
Reply
Permalink
Control: tags -1 + patch
Source: fortunes-es
Version: 1.36
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
Usertags: ftbfs-20240728 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
gcc -O2 -DFORTDIR="\"/usr/share/games/fortunes\"" -DOFFDIR="\"/usr/share/games/fortunes/off\"" -DLOCFORTDIR="\"/usr/local/share/games/fortunes\"" -DLOCOFFDIR="\"/usr/local/share/games/fortunes/off\"" -Wall -fomit-frame-pointer -pipe -fsigned-char -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rot.o rot.c
rot.c:23:5: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
23 | exit(0);
| ^~~~
rot.c:8:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
7 | #include <ctype.h>
+++ |+#include <stdlib.h>
...
Hi, Javi,
Attached patch makes package build here.
Hi, Javi,

I am preparing a NMU for this, together with making package look more like
current packages look and fixing some lintian stuff.

This includes a (still empty) salsa git repo for the package.

Attached is git diff -w output.

If you do not object I will NMU shortly.

Regards,
--
Agustin
Loading...