Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #324041 > unrolled thread
| Started by | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| First post | 2022-07-29 18:50 +0200 |
| Last post | 2022-07-30 19:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.bugs.rc
Bug#1016273: blackbox: FTBFS: Toolbar.cc:260:17: error: ‘time’ was not declared in this scope Lucas Nussbaum <lucas@debian.org> - 2022-07-29 18:50 +0200
Bug#1016273: marked as done (blackbox: FTBFS: Toolbar.cc:260:17: error: ‘time’ was not declared in this scope) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-07-30 19:30 +0200
| From | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| Date | 2022-07-29 18:50 +0200 |
| Subject | Bug#1016273: blackbox: FTBFS: Toolbar.cc:260:17: error: ‘time’ was not declared in this scope |
| Message-ID | <EOBlw-eE8j-55@gated-at.bofh.it> |
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.
[toc] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2022-07-30 19:30 +0200 |
| Subject | Bug#1016273: marked as done (blackbox: FTBFS: Toolbar.cc:260:17: error: ‘time’ was not declared in this scope) |
| Message-ID | <EOYrM-eRWC-13@gated-at.bofh.it> |
| In reply to | #324041 |
[Multipart message — attachments visible in raw view] — view raw
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.rc
csiph-web