Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894210 - dev-libs/log4cxx-1.0.0 - /.../smtpappender.cpp: error: to was not declared in this scope
Summary: dev-libs/log4cxx-1.0.0 - /.../smtpappender.cpp: error: to was not declared in...
Status: CONFIRMED
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:
Depends on:
Blocks:
 
Reported: 2023-02-13 18:27 UTC by Toralf Förster
Modified: 2023-05-07 06:21 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.00 KB, text/plain)
2023-02-13 18:27 UTC, Toralf Förster
Details
dev-libs:log4cxx-1.0.0:20230213-000904.log (dev-libs:log4cxx-1.0.0:20230213-000904.log,94.12 KB, text/plain)
2023-02-13 18:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,62.95 KB, text/plain)
2023-02-13 18:27 UTC, Toralf Förster
Details
environment (environment,94.60 KB, text/plain)
2023-02-13 18:27 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,699 bytes, application/x-bzip)
2023-02-13 18:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.73 KB, application/x-bzip)
2023-02-13 18:27 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.21 KB, application/x-bzip)
2023-02-13 18:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.93 KB, application/x-bzip)
2023-02-13 18:27 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 2023-02-13 18:27:19 UTC
too long lines were shrinked:

[116/337] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DLOG4CXX -Dlog4cxx_EXPORTS -I/var/tmp/portage/dev-libs/log4cxx-1.0.0/work/apache-log4cxx-1.0.0_build/src/main/include -I/var/tmp/portage/dev-libs/log4cxx-1.0.0/work/apache-log4cxx-1.0.0/src/main/include -I/usr/include/apr-1  -pipe -march=nativ
[117/337] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DLOG4CXX -Dlog4cxx_EXPORTS -I/var/tmp/portage/dev-libs/log4cxx-1.0.0/work/apache-log4cxx-1.0.0_build/src/main/include -I/var/tmp/portage/dev-libs/log4cxx-1.0.0/work/apache-log4cxx-1.0.0/src/main/include -I/usr/include/apr-1  -pipe -march=nativ
[118/337] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DLOG4CXX -Dlog4cxx_EXPORTS -I/var/tmp/portage/dev-libs/log4cxx-1.0.0/work/apache-log4cxx-1.0.0_build/src/main/include -I/var/tmp/portage/dev-libs/log4cxx-1.0.0/work/apache-log4cxx-1.0.0/src/main/include -I/usr/include/apr-1  -pipe -march=nativ
FAILED: src/main/cpp/CMakeFiles/log4cxx.dir/smtpappender.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DLOG4CXX -Dlog4cxx_EXPORTS -I/var/tmp/portage/dev-libs/log4cxx-1.0.0/work/apache-log4cxx-1.0.0_build/src/main/include -I/var/tmp/portage/dev-libs/log4cxx-1.0.0/work/apache-log4cxx-1.0.0/src/main/include -I/usr/include/apr-1  -pipe -march=native -fno-dia
/var/tmp/portage/dev-libs/log4cxx-1.0.0/work/apache-log4cxx-1.0.0/src/main/cpp/smtpappender.cpp: In member function bool log4cxx::net::SMTPAppender::checkEntryConditions():
/var/tmp/portage/dev-libs/log4cxx-1.0.0/work/apache-log4cxx-1.0.0/src/main/cpp/smtpappender.cpp:677:14: error: to was not declared in this scope; did you mean tm?
  677 |         if ((to.empty() && cc.empty() && bcc.empty()) || from.empty() || smtpHost.empty())
      |              ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-j4-20230212-100027

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php8.2 *

  HEAD of ::gentoo
commit 7f299a7e9d77e0530076da2daa2543faf2a3f605
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 12 23:59:44 2023 +0000

    2023-02-12 23:59:43 UTC

emerge -qpvO dev-libs/log4cxx
[ebuild  N    ] dev-libs/log4cxx-1.0.0  USE="smtp -odbc -test"
Comment 1 Toralf Förster gentoo-dev 2023-02-13 18:27:20 UTC
Created attachment 850728 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-13 18:27:21 UTC
Created attachment 850730 [details]
dev-libs:log4cxx-1.0.0:20230213-000904.log
Comment 3 Toralf Förster gentoo-dev 2023-02-13 18:27:23 UTC
Created attachment 850732 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-02-13 18:27:24 UTC
Created attachment 850734 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-02-13 18:27:25 UTC
Created attachment 850736 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-13 18:27:26 UTC
Created attachment 850738 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-13 18:27:26 UTC
Created attachment 850740 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-02-13 18:27:27 UTC
Created attachment 850742 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-05-07 06:21:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=341e4947d42a195628b9e9b74b4eda407382af06

commit 341e4947d42a195628b9e9b74b4eda407382af06
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-05-07 06:20:46 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-05-07 06:20:46 +0000

    profiles/base: use-mask dev-libs/log4cxx[smtp]
    
    Bug: https://bugs.gentoo.org/894210
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/base/package.use.mask | 4 ++++
 1 file changed, 4 insertions(+)