Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855575 - net-proxy/havp-0.92a-r3 - logfile.cpp: error: time was not declared in this scope
Summary: net-proxy/havp-0.92a-r3 - logfile.cpp: error: time was not declared in this s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 856070 (view as bug list)
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-07-01 17:58 UTC by Toralf Förster
Modified: 2022-07-04 01:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.06 KB, text/plain)
2022-07-01 17:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,239.38 KB, text/plain)
2022-07-01 17:58 UTC, Toralf Förster
Details
environment (environment,73.22 KB, text/plain)
2022-07-01 17:58 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.94 KB, application/x-bzip)
2022-07-01 17:58 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.00 KB, application/x-bzip)
2022-07-01 17:58 UTC, Toralf Förster
Details
net-proxy:havp-0.92a-r3:20220701-175358.log (net-proxy:havp-0.92a-r3:20220701-175358.log,8.40 KB, text/plain)
2022-07-01 17:58 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.94 KB, application/x-bzip)
2022-07-01 17:58 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-07-01 17:58:20 UTC
x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -DHAVE_CONFIG_H -c -o logfile.o logfile.cpp
x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -DHAVE_CONFIG_H -c -o scannerhandler.o scannerhandler.cpp
x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -DHAVE_CONFIG_H -c -o connectiontobrowser.o connectiontobrowser.cpp
logfile.cpp: In static member function static void LogFile::AccessMessage(const char*, ...)’:
logfile.cpp:111:22: error: time’ was not declared in this scope; did you mean utimes’?
  111 |         time_t now = time(NULL);
      |                      ^~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20220628-020005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.6
Python 3.9.13
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.61.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.3_p7 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 07f2ed45ea20fe5fd0155a2eb7d7e9cc20314116
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jul 1 16:31:49 2022 +0000

    2022-07-01 16:31:49 UTC

emerge -qpvO net-proxy/havp
[ebuild  N    ] net-proxy/havp-0.92a-r3  USE="ssl -clamav"
Comment 1 Toralf Förster gentoo-dev 2022-07-01 17:58:21 UTC
Created attachment 789329 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-01 17:58:22 UTC
Created attachment 789332 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-07-01 17:58:24 UTC
Created attachment 789335 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-07-01 17:58:25 UTC
Created attachment 789338 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-07-01 17:58:25 UTC
Created attachment 789341 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-01 17:58:26 UTC
Created attachment 789344 [details]
net-proxy:havp-0.92a-r3:20220701-175358.log
Comment 7 Toralf Förster gentoo-dev 2022-07-01 17:58:27 UTC
Created attachment 789347 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-07-02 21:17:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e853c664f4abbe5e1e82abca97f41e193c6c624

commit 7e853c664f4abbe5e1e82abca97f41e193c6c624
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-02 21:17:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-02 21:17:16 +0000

    net-proxy/havp: fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/855575
    Signed-off-by: Sam James <sam@gentoo.org>

 net-proxy/havp/files/havp-0.92a-gcc12-time.patch | 11 +++++++++++
 net-proxy/havp/havp-0.92a-r3.ebuild              |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-04 01:08:05 UTC
*** Bug 856070 has been marked as a duplicate of this bug. ***