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

Bug#1016273: marked as done (blackbox: FTBFS: Toolbar.cc:260:17: error: ‘time’ was not declared in this scope)



Your message dated Sat, 30 Jul 2022 17:18:33 +0000
with message-id <E1oHq6j-0003t6-R7@fasolo.debian.org>
and subject line Bug#1016273: fixed in blackbox 0.70.1-39
has caused the Debian Bug report #1016273,
regarding blackbox: FTBFS: Toolbar.cc:260:17: error: ‘time’ was not declared in this scope
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.)


-- 
1016273: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016273
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: blackbox
Version: 0.70.1-38
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -DSHAPE -DXFT  -DNLS -DLOCALEPATH=\"/usr/share/blackbox/nls\" -DDEFAULTMENU=\"/etc/X11/blackbox/blackbox-menu\" -DDEFAULTSTYLE=\"/usr/share/blackbox/styles/Gray\" -I../lib  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -c -o Toolbar.o Toolbar.cc
> Toolbar.cc: In member function ‘void Toolbar::reconfigure()’:
> Toolbar.cc:260:17: error: ‘time’ was not declared in this scope
>   260 |   time_t ttmp = time(NULL);
>       |                 ^~~~
> Toolbar.cc:41:1: note: ‘time’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
>    40 | #include <assert.h>
>   +++ |+#include <ctime>
>    41 | 
> Toolbar.cc:265:21: error: ‘localtime’ was not declared in this scope
>   265 |     struct tm *tt = localtime(&ttmp);
>       |                     ^~~~~~~~~
> Toolbar.cc:265:21: note: ‘localtime’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
> Toolbar.cc:268:17: error: ‘strftime’ was not declared in this scope
>   268 |       int len = strftime(t, 1024, options.strftime_format.c_str(), tt);
>       |                 ^~~~~~~~
> Toolbar.cc:268:17: note: ‘strftime’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
> Toolbar.cc: In member function ‘void Toolbar::redrawClockLabel()’:
> Toolbar.cc:458:14: error: ‘time’ was not declared in this scope
>   458 |   if ((tmp = time(NULL)) == -1)
>       |              ^~~~
> Toolbar.cc:458:14: note: ‘time’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
> Toolbar.cc:460:8: error: ‘localtime’ was not declared in this scope
>   460 |   tt = localtime(&tmp);
>       |        ^~~~~~~~~
> Toolbar.cc:460:8: note: ‘localtime’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
> Toolbar.cc:463:9: error: ‘strftime’ was not declared in this scope
>   463 |   if (! strftime(str, sizeof(str), options.strftime_format.c_str(), tt))
>       |         ^~~~~~~~
> Toolbar.cc:463:9: note: ‘strftime’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
> make[4]: *** [Makefile:504: Toolbar.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/blackbox_0.70.1-38_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: blackbox
Source-Version: 0.70.1-39
Done: Håvard F. Aasen <havard.f.aasen@pfft.no>

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

Debian distribution maintenance software
pp.
Håvard F. Aasen <havard.f.aasen@pfft.no> (supplier of updated blackbox 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 Jul 2022 23:01:51 +0200
Source: blackbox
Architecture: source
Version: 0.70.1-39
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Håvard F. Aasen <havard.f.aasen@pfft.no>
Closes: 1016273
Changes:
 blackbox (0.70.1-39) unstable; urgency=medium
 .
   * QA upload.
   * d/gbp.conf: Specify branch, debian/master
   * d/not-installed: Exclude *.la files from all architectures.
   * Add 120_include-ctime-header.patch. Closes: #1016273
   * autopkgtest:
     - Remove test that runs in the background.
     - Add 'superficial' to the remaining two tests.
   * d/control:
     - Bump debhelper to 13.
     - Update Standards-Version to 4.6.1
   * d/lintian-overrides: It seems that lintian can't find this typo, removing.
Checksums-Sha1:
 2c975fdcf9c27b1ec6ef4fc03fe03a5a490804d4 2006 blackbox_0.70.1-39.dsc
 536d559a0dffdda177829ce92756d4bd9203c920 23264 blackbox_0.70.1-39.debian.tar.xz
 4cd639c9d15fd600961f5b6ecbaa123aa69108f9 7054 blackbox_0.70.1-39_source.buildinfo
Checksums-Sha256:
 2cada8520155aff9d188c81f5fa654622ea61b7063ece7e54228061b23728544 2006 blackbox_0.70.1-39.dsc
 cb1848d0d1f24b6d123aaffb3d00954bd513386c411daa0fc604817b028a9518 23264 blackbox_0.70.1-39.debian.tar.xz
 e609a6313540ad9f6d4e1e7af9c3aa2ed8a49be1b792603375d4fbbc66b6606e 7054 blackbox_0.70.1-39_source.buildinfo
Files:
 2bfe6b6129cca63ff916159134cead31 2006 x11 optional blackbox_0.70.1-39.dsc
 43ca6b2764bfa61abeaf36e47a317a38 23264 x11 optional blackbox_0.70.1-39.debian.tar.xz
 478af36941d3a5e9e421a196faf83aed 7054 x11 optional blackbox_0.70.1-39_source.buildinfo

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

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmLlYtUACgkQweDZLphv
fH7BThAA3qgauvM8+nadQfuMvB+50HjuK/SlMes1y4ZWkM0BJcVB/wRxo0O10c0L
B61x9Gx90vXt4/W5Ee7JR997f617hC+DJwnGPX7GV9l0DmQHfwKm3toJ5Foe7V8n
PWtFdLYt4bJiEVVtQ7eTrX8Z3precXYThaWdSOH1kQI4iV4IYjQQ9i8l0VTBuN3z
4wc9LDWliH0yxdem2nD+g5HuwaEGoncot3xZ5rNlGxhqllK/wNS1vSL/WK/Kds1s
S0zAdgiuzs/iLpv6uRqPCf4K50IRvxk1+PWo9rvXFlxiKXjDfDQC2c3EvAeoXicA
1gAokrhf3i3aYvjxm1AzpS70tR1S7tfzgL4+dQfyZ2p0tfljqWeHqDHorfxg4VQy
goFaypSN932AbfGTLkXoQLQxIwD9l1f9IJnP2a2/Cya1XyS7c8U3ph96XOPnQFv+
3os4u1Bk8idWX6sTVo7W/7gU3osGUW+1JAhXWqVBmM/f/ePHVrhFCdmU+OigSTXE
U00W1R7MyXsOAYK8wsKVDdPhU2l/ZyLSnDczI8NSouLpgPbVNWI6C/7OJL/JG3xj
Gsf+8MDSh/ruzfaiLL9hbQaWcRDkPL+36jnmTJ4pGkEsFgehjqpWJnTjwV2AY1UF
PgWvjiHWGZhIX66/M+CCIrr28HAP/rVPlSrV7oNFgE40Me3JhU4=
=Wh8Z
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: