Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763570 - dev-libs/log4cpp fails to emerge when /bin/sh is dash - error: using typedef-name ‘std::ostringstream’ after ‘class’
Summary: dev-libs/log4cpp fails to emerge when /bin/sh is dash - error: using typedef-...
Status: UNCONFIRMED
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: nonbash
  Show dependency tree
 
Reported: 2021-01-04 19:40 UTC by Chris Mayo
Modified: 2021-01-04 20:25 UTC (History)
1 user (show)

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


Attachments
build.log and emerge --info (build.log-emerge-info.txt,30.15 KB, text/plain)
2021-01-04 20:25 UTC, Ionen Wolkens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2021-01-04 19:40:03 UTC
emerges fine when bash is eselect'ed as sh.


/var/tmp/portage/dev-libs/log4cpp-1.1.3/work/log4cpp/include/log4cpp/Portability.hh:60:29: error: using typedef-name ‘std::ostringstream’ after ‘class’
   60 |        class LOG4CPP_EXPORT ostringstream : public ostrstream {

...

../include/log4cpp/config.h:15:17: warning: extra tokens at end of #ifndef directive
   15 | #ifndef LOG4CPP_
      |                 ^
../include/log4cpp/config.h:16:9: warning: ISO C++11 requires whitespace after the macro name
   16 | #define LOG4CPP_ 
      |         ^~~~~~~~
../include/log4cpp/config.h:20:17: warning: extra tokens at end of #ifndef directive
   20 | #ifndef LOG4CPP_
      |                 ^
Comment 1 Ionen Wolkens gentoo-dev 2021-01-04 20:04:11 UTC
Removing stabilization blocker + version because previous stable 1.1 appears broken the same way.

Also, please attach complete build.log + emerge --info next time even if it doesn't seem needed.
Comment 2 Ionen Wolkens gentoo-dev 2021-01-04 20:25:42 UTC
Created attachment 681052 [details]
build.log and emerge --info