[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1081108: marked as done (xcb: FTBFS: xcb.c:1353:1: error: return type defaults to ‘int’ [-Wimplicit-int])



Your message dated Mon, 29 Sep 2025 15:49:43 +0000
with message-id <E1v3G8F-00Ga7Q-1z@fasolo.debian.org>
and subject line Bug#1081108: fixed in xcb 2.4-9
has caused the Debian Bug report #1081108,
regarding xcb: FTBFS: xcb.c:1353:1: error: return type defaults to ‘int’ [-Wimplicit-int]
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 owner@bugs.debian.org
immediately.)


-- 
1081108: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081108
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:xcb
Version: 2.4-8
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
xmkmf -a
imake -DUseInstalled -I/usr/lib/X11/config
make Makefiles
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Nothing to be done for 'Makefiles'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make includes
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Nothing to be done for 'includes'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make depend
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gccmakedep  --      -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO   -DATHENA    -- xcb.c
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# CCOPTIONS is used to pass CFLAGS, CPPFLAGS when compiling .c files,
# EXTRA_LOAD_FLAGS when linking the program.
dh_auto_build -- \
	CCOPTIONS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -Wdate-time -D_FORTIFY_SOURCE=2" \
	EXTRA_LOAD_FLAGS="-I. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -Wl,-z,relro -Wl,-z,now -fPIE -pie"
	make -j2 "INSTALL=install --strip-program=true" "CCOPTIONS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -Wdate-time -D_FORTIFY_SOURCE=2" "EXTRA_LOAD_FLAGS=-I. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -Wl,-z,relro -Wl,-z,now -fPIE -pie"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -O2 -fno-strict-aliasing -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -Wdate-time -D_FORTIFY_SOURCE=2        -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO   -DATHENA   -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xcb.o xcb.c
In file included from /usr/include/ctype.h:25,
                 from xcb.c:36:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
xcb.c:1353:1: error: return type defaults to ‘int’ [-Wimplicit-int]
 1353 | main (argc, argv)
      | ^~~~
make[2]: *** [<builtin>: xcb.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" "CCOPTIONS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -Wdate-time -D_FORTIFY_SOURCE=2" "EXTRA_LOAD_FLAGS=-I. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIE -Wl,-z,relro -Wl,-z,now -fPIE -pie" returned exit code 2
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:24: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202409/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: xcb
Source-Version: 2.4-9
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
xcb, 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 1081108@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated xcb 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 29 Sep 2025 17:30:12 +0200
Source: xcb
Architecture: source
Version: 2.4-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1081108
Changes:
 xcb (2.4-9) unstable; urgency=medium
 .
   * QA upload.
   * Fix building with -Werror=implicit-int.  (Closes: #1081108)
   * Fix building with GCC 15.
   * Drop redundant Rules-Requires-Root: no.
Checksums-Sha1:
 5fd475c73bc73919bc29672e7d7754439b603db4 1775 xcb_2.4-9.dsc
 23be1fd92b570aa7b7ab51b9ef6d1346e570b78d 6332 xcb_2.4-9.debian.tar.xz
 7429983b797276a5035140c241775240139b6d3e 6052 xcb_2.4-9_source.buildinfo
Checksums-Sha256:
 3193fbc378441ba1ab3e8758c62230d490dc9f52176b9335e6d9b5e17d1eb42c 1775 xcb_2.4-9.dsc
 56a8f2e999364d3fbc8afac85090061591513c6646ce01dacf181a26818284c5 6332 xcb_2.4-9.debian.tar.xz
 63f395dfc02110f4371f9ecef7edd6a209bd80b30ddee30f21df38730159c0fe 6052 xcb_2.4-9_source.buildinfo
Files:
 df85438a70818902b27d0c4f91aef2ff 1775 x11 optional xcb_2.4-9.dsc
 385569649de68b4c29b0d73ec0d2575c 6332 x11 optional xcb_2.4-9.debian.tar.xz
 086518c6616af723b171c5db39ea716a 6052 x11 optional xcb_2.4-9_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmjappQQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCHypD/wLaOqQM/uNUASc/5FdOpA/QzU4X+3llxRL
IlwuSt1S5zkIR8QJSHlR8hR1pQBJ6+lT2+zBfFm6Gh8IKZ0HUf67spyICj5IKWCC
lLg9eRzkU7vUgMXuGe3GHtgjZspg/WOSzkecozVYWCaebATOTqyw7idAz73BmOnK
RzsH02zBm7JuC68J5UlFKKMEr+SJzGBylhaQUXkFnLmXPUC/62+UmlZ6Sr+6iz7j
dpwDt1FvS0AI14qFa9VoC76qFkbAX1tGTgeOHvDGPzNobpkZUzblKeUc2Ff8kJes
0qLA21PU3DQ1z3SBOu5cUkgxTpXJBXxpepHC/nQkZMC29wrGkt+pUA408u1pE34e
kefdVlCAJuoHS9P1keEVgVLQCYnZfi4HeR/pJJO2RZ0EOIsl1hThgsZsCMat+yKh
NI5r59utEYVQQZV7Y1fgblh85KLG1gW0nVRurlT3WVYY0s+SNAl0kUW0HnbOefk7
6uR7hHu9T2OEIbvwrUc+7eOKqSza4R68lvFU3z0m2B4LCGKMiP0uK1xGpupk26Aw
ljrgGpKvkCv8s0lbNLLQ9rRn0PZJ4VpwQqbNBh6AreIneF8Xs/NO7idiX9qyhq6V
5fqs3hE4xv0+dl7Z8Hc9hvTnXJgH/aY2Ti2uLiBk7EjEi/TDXUwOKxW3lflU0EnN
QnlZLUalbA==
=uY11
-----END PGP SIGNATURE-----

Attachment: pgpvtnvVJ1QdX.pgp
Description: PGP signature


--- End Message ---

Reply to: