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

Bug#957810: marked as done (sleepd: ftbfs with GCC-10)



Your message dated Fri, 29 May 2020 21:49:30 +0000
with message-id <E1jemsc-000BRz-AU@fasolo.debian.org>
and subject line Bug#957810: fixed in sleepd 2.11
has caused the Debian Bug report #957810,
regarding sleepd: ftbfs with GCC-10
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.)


-- 
957810: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957810
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:sleepd
Version: 2.10
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/sleepd_2.10_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 38 and 45 bytes into a destination of size 44
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sleepd.c:35:
sleepd.h:9:16: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
    9 | #define RXFILE "/sys/class/net/%s/statistics/rx_packets"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sleepd.h:9:16: note: in definition of macro ‘RXFILE’
    9 | #define RXFILE "/sys/class/net/%s/statistics/rx_packets"
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sleepd.h:9:56: note: format string is defined here
    9 | #define RXFILE "/sys/class/net/%s/statistics/rx_packets"
      |                                                        ^
In file included from /usr/include/stdio.h:867,
                 from sleepd.c:18:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 38 and 45 bytes into a destination of size 44
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DACPI_APM -pthread -DUPOWER -DACPI_APM -Wdate-time -D_FORTIFY_SOURCE=2  -c -o acpi.o acpi.c
acpi.c: In function ‘find_items’:
acpi.c:21:20: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 104 [-Wformat-truncation=]
   21 | #define SYSFS_PATH "/sys/class/power_supply"
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~
acpi.c:194:40: note: in expansion of macro ‘SYSFS_PATH’
  194 |   snprintf(filename, sizeof(filename), SYSFS_PATH "/%s/type", ent->d_name);
      |                                        ^~~~~~~~~~
acpi.c:218:65: note: format string is defined here
  218 |   snprintf(statusarray[i], sizeof(statusarray[i]), SYSFS_PATH "/%s/%s", devices[i],
      |                                                                 ^~
In file included from /usr/include/stdio.h:867,
                 from acpi.c:7:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 30 and 285 bytes into a destination of size 128
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DACPI_APM -pthread -DUPOWER -DACPI_APM -Wdate-time -D_FORTIFY_SOURCE=2  -c -o eventmonitor.o eventmonitor.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DACPI_APM -pthread -DUPOWER -DACPI_APM -pthread -I/usr/include/libupower-glib -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -c upower.c -o upower.o
upower.c: In function ‘upower_supported’:
upower.c:65:3: warning: ‘up_client_get_devices’ is deprecated: Use 'up_client_get_devices2' instead [-Wdeprecated-declarations]
   65 |   GPtrArray *devices = up_client_get_devices(up);
      |   ^~~~~~~~~
In file included from /usr/include/libupower-glib/upower.h:38,
                 from upower.c:9:
/usr/include/libupower-glib/up-client.h:82:12: note: declared here
   82 | GPtrArray *up_client_get_devices   (UpClient  *client) G_DEPRECATED_FOR(up_client_get_devices2);
      |            ^~~~~~~~~~~~~~~~~~~~~
upower.c: In function ‘upower_read’:
upower.c:93:2: warning: ‘up_client_get_devices’ is deprecated: Use 'up_client_get_devices2' instead [-Wdeprecated-declarations]
   93 |  devices = up_client_get_devices(up);
      |  ^~~~~~~
In file included from /usr/include/libupower-glib/upower.h:38,
                 from upower.c:9:
/usr/include/libupower-glib/up-client.h:82:12: note: declared here
   82 | GPtrArray *up_client_get_devices   (UpClient  *client) G_DEPRECATED_FOR(up_client_get_devices2);
      |            ^~~~~~~~~~~~~~~~~~~~~
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DACPI_APM -pthread -DUPOWER -DACPI_APM -Wl,-z,relro -o sleepd sleepd.o acpi.o eventmonitor.o upower.o -lpthread -lupower-glib -lgobject-2.0 -lglib-2.0
/usr/bin/ld: eventmonitor.o:./eventmonitor.h:9: multiple definition of `eventData'; sleepd.o:./eventmonitor.h:9: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:51: sleepd] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 USE_UPOWER=1 returned exit code 2
make[1]: *** [debian/rules:6: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: sleepd
Source-Version: 2.11
Done: Sudip Mukherjee <sudipm.mukherjee@gmail.com>

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

Debian distribution maintenance software
pp.
Sudip Mukherjee <sudipm.mukherjee@gmail.com> (supplier of updated sleepd 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: Fri, 29 May 2020 18:24:44 +0100
Source: sleepd
Architecture: source
Version: 2.11
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Closes: 957810
Changes:
 sleepd (2.11) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Jelmer Vernooij ]
   * Trim trailing whitespace.
   * Use secure copyright file specification URI.
 .
   [ Ondřej Nový ]
   * d/control: Add Vcs-* field
 .
   [ Debian Janitor ]
   * Use secure URI in Homepage field.
   * Explicitly specify source format.
   * Bump debhelper from old 9 to 12.
 .
   [ Sudip Mukherjee ]
   * Update Standards-Version to 4.5.0
   * Add Pre-Depends.
   * Update compat level to 13.
   * Use canonical URI with Vcs-Git.
   * Fix FTBFS with gcc-10. (Closes: #957810)
Checksums-Sha1:
 1cb9daa5d23999bf2ba40272502d741a15565d64 1585 sleepd_2.11.dsc
 23cfe671cffc7e8064f65f3e82f081b8627b6f35 28328 sleepd_2.11.tar.xz
 1211ec9569a3330cfa54735539ba7897a6d158b3 6353 sleepd_2.11_source.buildinfo
Checksums-Sha256:
 46970e916799486d736c77c7d79cc5306b26e6abbd9b5e178881c27cd6543b83 1585 sleepd_2.11.dsc
 9568c8d9ddd1baa573cd0105c92d7e67b18cc18a42c57bf48ef6cb8f47fc880f 28328 sleepd_2.11.tar.xz
 17aa983fc07ca5494c65d420c5959e916a4d10bba05dadb5c1b157c46fac51b1 6353 sleepd_2.11_source.buildinfo
Files:
 bc187a6fb6078654cf692ef80953ea05 1585 admin optional sleepd_2.11.dsc
 79938282591bd9ba75e62435501666ea 28328 admin optional sleepd_2.11.tar.xz
 8cb057874703644846caffb21900d01d 6353 admin optional sleepd_2.11_source.buildinfo

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

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAl7Rf+gACgkQweDZLphv
fH4y9A/+P4RYQeUrqNKhpZU7B3G2Pui4l9hE9ARGsYAyVUrMlUY4PER0D6l42H0w
BezmFJe8HHvBHElFHoeXgy/sMzqvHbmnv/Z4TKx2TxFHXQKgKiM9ELv6lTotMi5Y
D5gJUq5shKbe+Ec6lq0+yecAanhcoLOvk9gDfnLAAfgEfnip6PEDYVD3s3AiVcC/
/PQW07NoGLnvsNOQVJo9Ea/rQJNYhGwJ9hFEbThqNIQ64BdnXVxtheq+0y6U0Eu4
yTYVrlSxZWTjsAiocrWti3ZfNV1LVnJ/jbc+3q+UrDBLJlPG/AR5pzM7Ur+w/UMl
DhEqni10VI1vyBA78M8EdSaC3KQDs7j8D36w4j/cgsjRJYU+gifPu5bEtbseBcQP
b2tRv0Qvb0mofazJVSIU4IfC2YyBw9hq1e+8VUSyuKRmjz43FCaZ0H6SkEM7mYCb
qOK9xyx8jeFF64e6Em1c3Trc1jce9xQXqV+Vq9NNTCcxLy0KyGisCKFA0MexLoqi
cUt9oBT0RWOtUR+BlpJ7PAEq2eiW3x/VVC5UxzurQVlmw5fFsE4DZf9ekavg6dKH
+OlKVH59pLd52in6W5jLiZJczpJqtBa3B2MrzNXVM93BIFiEVvr1mtHEBFIaQxwb
d84kjqcOysj5oVGN6wztV16ULTcMacFCOpmFv4a16weCPHJxnLM=
=XaCP
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: