Your message dated Sun, 17 Mar 2024 01:23:26 +0000
with message-id <e1rlffg-007lkn...@fasolo.debian.org>
and subject line Bug#1067013: fixed in trn4 4.0-test77-17
has caused the Debian Bug report #1067013,
regarding trn4: FTBFS with -Werror=implicit-function-declaration
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1067013: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067013
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: trn4
Version: 4.0-test77-16
Severity: serious
Tags: ftbfs sid trixie
Justification: fails to build from source (but built successfully in the past)
Hi,
trn4 FTBFS with -Werror=implicit-function-declaration which was
recently enabled by default in dpkg 1.22.6 to support the 64-bit time_t
transition. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration
debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/trn4-4.0-test77'
cp debian/Policy.sh .
# Configure adds -DDEBUG for us when we use -g.
./Configure -OdErs
First let's make sure your kit is complete. Checking...
Locating common programs...
Checking compatibility between /usr/bin/echo and builtin echo (if any)...
Symbolic links are supported.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
aix_rs domainos i386 linux sco_3_2_4 svr4
altos486 dynix irix mc6000 sco_xenix
convexos freebsd isc_2_2_1 mips sgi
dec_osf1 hp9000_800 isc_3_2_2 next solaris_2
dgux hpux isc_3_2_3 sco_3 sunos
Which of these apply, if any? [Policy linux]
Operating system name? [linux]
Select the news spool support ("local", "nntp", or "both"): [both]
Do you want to use generic user-authentication? [y]
Enter "local", a server name, or a file name (~name ok): [/etc/news/server]
Do you expect to run these scripts and binaries on multiple machines? [n]
Installation prefix to use? (~name ok) [/usr]
Where is the news library directory for local news? (~name ok)
[/var/lib/news]
Directory /var/lib/news doesn't exist. Use that name anyway? [y]
Where is the newsgroups file? ("none" ok) (~name ok) [none]
Pathname where trn's inews will reside? ("none" ok) (~name ok)
[/usr/lib/trn4]
Directory /usr/lib/trn4 doesn't exist. Use that name anyway? [y]
Which inews should be used for posting local articles? (~name ok)
[/usr/bin/inews]
File /usr/bin/inews doesn't exist. Use that name anyway? [y]
Enter a local directory for overview files, "remote", or "none": (~name ok)
[remote]
Enter a local directory for thread files, "remote", or "none": (~name ok)
[remote]
Do you want trn to default to -x, regardless of name? [n]
Should the -X option be on by default for trn (not rn)? [y]
Pathname where the public executables will reside? (~name ok)
[/usr/lib/trn4]
Directory /usr/lib/trn4 doesn't exist. Use that name anyway? [y]
What directory name should be used for the install? (~name ok)
[/usr/lib/trn4]
Directory /usr/lib/trn4 doesn't exist. Use that name anyway? [y]
What is the distribution code for your local organization? [none]
What is the distribution code for your organization? [none]
What is the distribution code for your city? [none]
What is the distribution code for your state/province? [none]
What is the distribution code for your multi-state region? [none]
What is the distribution code for your country? [none]
What is the distribution code for your continent? [none]
System manual is in /usr/share/man/man1.
Use which C compiler? [gcc]
Checking for GNU cc in disguise and/or its version number...
What hostname goes on the From line of this machine's postings?
[/etc/mailname]
Compare how many dot-separated words from the end of the hostname? [2]
Where do the manual pages (source) go? (~name ok) [/usr/share/man/man1]
What directory name should be used for the install? (~name ok)
[/usr/share/man/man1]
Pathname where the private library files will reside? (~name ok)
[/usr/share/trn4]
What directory name should be used for the install? (~name ok)
[/usr/share/trn4]
Directory /usr/share/trn4 doesn't exist. Use that name anyway? [y]
Which interactive speller should we use? ("none" ok) [/usr/bin/ispell]
What options should be used? ("none" ok) [none]
What global mimecap file should trn use? ("none" ok) (~name ok)
[/etc/mailcap]
File /etc/mailcap doesn't exist. Use that name anyway? [y]
Organization: [/etc/news/organization]
Do you want to include strn's scan and score features? [y]
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches?
[/lib /lib/x86_64-linux-gnu /usr/lib /usr/lib/x86_64-linux-gnu]
What is the file extension used for shared libraries? [so]
Checking for optional libraries...
Any additional libraries? [-lresolv -lnsl]
What optimizer/debugger flag should be used? [-O]
Any additional cc flags?
[-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/trn4-4.0-test77=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall
-DINET6 -D_FILE_OFFSET_BITS=64 -fpcc-struct-return]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [-Wl,-z,relro]
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:
I used the command:
gcc -O -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/trn4-4.0-test77=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall
-DINET6 -D_FILE_OFFSET_BITS=64 -fpcc-struct-return -o try -Wl,-z,relro try.c
-lresolv -lnsl
./try
and I got the following output:
try.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int]
2 | main() { printf("Ok\n"); exit(0); }
| ^~~~
try.c: In function 'main':
try.c:2:26: error: implicit declaration of function 'exit'
[-Werror=implicit-function-declaration]
2 | main() { printf("Ok\n"); exit(0); }
| ^~~~
try.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
1 | #include <stdio.h>
+++ |+#include <stdlib.h>
2 | main() { printf("Ok\n"); exit(0); }
try.c:2:26: warning: incompatible implicit declaration of built-in function
'exit' [-Wbuiltin-declaration-mismatch]
2 | main() { printf("Ok\n"); exit(0); }
| ^~~~
try.c:2:26: note: include '<stdlib.h>' or provide a declaration of 'exit'
cc1: some warnings being treated as errors
I can't compile the test program.
You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure.
make[1]: *** [debian/rules:13: override_dh_auto_configure] Error 1
Andreas
--- End Message ---
--- Begin Message ---
Source: trn4
Source-Version: 4.0-test77-17
Done: Colin Watson <cjwat...@debian.org>
We believe that the bug you reported is fixed in the latest version of
trn4, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1067...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwat...@debian.org> (supplier of updated trn4 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 17 Mar 2024 00:07:36 +0000
Source: trn4
Architecture: source
Version: 4.0-test77-17
Distribution: unstable
Urgency: medium
Maintainer: Colin Watson <cjwat...@debian.org>
Changed-By: Colin Watson <cjwat...@debian.org>
Closes: 1067013
Changes:
trn4 (4.0-test77-17) unstable; urgency=medium
.
* Add many missing #includes and prototypes (closes: #1067013).
* Build-depend on libncurses-dev rather than obsolete libtinfo-dev.
* Stop linking with libnsl.
Checksums-Sha1:
c93c3649202e285045f528ce1effdb11f6a34091 1986 trn4_4.0-test77-17.dsc
a4a7d16817040be47437bd867e9b80f2f6b02f08 56964 trn4_4.0-test77-17.debian.tar.xz
Checksums-Sha256:
12ca7c3264fab270d35f0eda0e969bee4817e53f224ef12f88f792a6559464cd 1986
trn4_4.0-test77-17.dsc
90a13bdb6b0a526279a07cf2c0775ae4a205b06b7f59717aba32edc258ddd520 56964
trn4_4.0-test77-17.debian.tar.xz
Files:
e30548a9b5978f3c38c369a93d517e95 1986 non-free/news optional
trn4_4.0-test77-17.dsc
6f96d5fc28a480ee36857d69480f1b50 56964 non-free/news optional
trn4_4.0-test77-17.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmX2NIwACgkQOTWH2X2G
UAuV4hAAkAzcctewx82JjglFir0TOrroAsdfKP+xyQxN9phFOa02svrf1jO1MGCs
kHyk24azcYBccBrNYWpGX4HonbQXHm06I7oIYBGYtTd/+FMX7f4cn/PChuaDPj0D
YrroexhE03VwHxbb1TMbuxrwru6irbIr8/45SMofWIE3gcQrJu3MPEL51JTocbGh
rSE1AhrShjPa3JXh7Wnbq6sJ9sQw2Q6CyJqQXflI9GZVmMlP11eHPpKI7j5qnfpZ
8q4Krz3pmqaS7O2Sux8TSG6t4YC0VjWfcCvLumi/JaZsMmCc1EsC9oDnAX2eE6W3
iGPiSiWav/VMURj1ISOu/SVi66cGHcTfJceY89cG0ExAAHFyRuNZLZFfhx/Mtljt
+5d6ut4g/IvighXasjLXuifl5NMph/juVV3+SLd24HbPI/N4zTGhwOYht8vrI9Ri
UffJg8JuZDoCWaGLC2x2Iy4ditCa23NiWVHDF07ccS9vx16Fnqdo6cGM03tHLF21
2DMmSOrkOXaqU9aojGyMKKPxq1x6JUsK6KlV0xx8hidPSRC87udoU9qyyHAvTdrz
XMG3+eFrnI4KcPJhlHoNUcxQv68qZs1xixDe+Q/k5PCd+3enLFVft21+fdnX30kK
j7oy+DC7yhNJsaKYV9xQgN27WMA1SW99oU5Kf48qKWmuA6aU2PI=
=eJJQ
-----END PGP SIGNATURE-----
pgp1VxVi9lHW7.pgp
Description: PGP signature
--- End Message ---