Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775581 - dev-libs/log4cxx-0.11.0 x86_64-pc-linux-gnu-g++: error: -E or -x required when input is from standard input when using slibtool
Summary: dev-libs/log4cxx-0.11.0 x86_64-pc-linux-gnu-g++: error: -E or -x required whe...
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:
: 778743 (view as bug list)
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-12 09:40 UTC by Alessandro Barbieri
Modified: 2023-02-04 21:32 UTC (History)
3 users (show)

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


Attachments
log4cxx-0.11.0:20210312-093447.log (log4cxx-0.11.0:20210312-093447.log,456.31 KB, text/plain)
2021-03-12 09:40 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-03-12 09:40:25 UTC
slibtool: link: x86_64-pc-linux-gnu-g++ .libs/action.o .libs/andfilter.o .libs/appenderattachableimpl.o .libs/appenderskeleton.o .libs/aprinitializer.o .libs/basicconfigurator.o .libs/bufferedwriter.o .libs/byte
arrayinputstream.o .libs/bytearrayoutputstream.o .libs/bytebuffer.o .libs/cacheddateformat.o .libs/charsetdecoder.o .libs/charsetencoder.o .libs/class.o .libs/classnamepatternconverter.o .libs/classregistration.
o .libs/condition.o .libs/configurator.o .libs/consoleappender.o .libs/cyclicbuffer.o .libs/dailyrollingfileappender.o .libs/datagrampacket.o .libs/datagramsocket.o .libs/date.o .libs/dateformat.o .libs/datelayo
ut.o .libs/datepatternconverter.o .libs/defaultloggerfactory.o .libs/defaultconfigurator.o .libs/defaultrepositoryselector.o .libs/domconfigurator.o .libs/exception.o .libs/fallbackerrorhandler.o .libs/file.o .l
ibs/fileappender.o .libs/filedatepatternconverter.o .libs/fileinputstream.o .libs/filelocationpatternconverter.o .libs/fileoutputstream.o .libs/filerenameaction.o .libs/filewatchdog.o .libs/filter.o .libs/filter
basedtriggeringpolicy.o .libs/fixedwindowrollingpolicy.o .libs/formattinginfo.o .libs/fulllocationpatternconverter.o .libs/gzcompressaction.o .libs/hierarchy.o .libs/htmllayout.o .libs/inetaddress.o .libs/inputs
tream.o .libs/inputstreamreader.o .libs/integer.o .libs/integerpatternconverter.o .libs/jsonlayout.o .libs/layout.o .libs/level.o .libs/levelmatchfilter.o .libs/levelrangefilter.o .libs/levelpatternconverter.o .
libs/linelocationpatternconverter.o .libs/lineseparatorpatternconverter.o .libs/literalpatternconverter.o .libs/loggermatchfilter.o .libs/loggerpatternconverter.o .libs/loggingeventpatternconverter.o .libs/loade
r.o .libs/locale.o .libs/locationinfo.o .libs/logger.o .libs/loggingevent.o .libs/loglog.o .libs/logmanager.o .libs/logstream.o .libs/manualtriggeringpolicy.o .libs/mapfilter.o .libs/messagebuffer.o .libs/messag
epatternconverter.o .libs/methodlocationpatternconverter.o .libs/mdc.o .libs/mutex.o .libs/nameabbreviator.o .libs/namepatternconverter.o .libs/ndcpatternconverter.o .libs/ndc.o .libs/nteventlogappender.o .libs/
objectimpl.o .libs/objectptr.o .libs/objectoutputstream.o .libs/obsoleterollingfileappender.o .libs/odbcappender.o .libs/onlyonceerrorhandler.o .libs/optionconverter.o .libs/outputdebugstringappender.o .libs/out
putstream.o .libs/outputstreamwriter.o .libs/patternconverter.o .libs/patternlayout.o .libs/patternparser.o .libs/pool.o .libs/properties.o .libs/propertiespatternconverter.o .libs/propertyconfigurator.o .libs/p
ropertyresourcebundle.o .libs/propertysetter.o .libs/reader.o .libs/relativetimedateformat.o .libs/relativetimepatternconverter.o .libs/resourcebundle.o .libs/rollingfileappender.o .libs/rollingpolicy.o .libs/ro
llingpolicybase.o .libs/rolloverdescription.o .libs/rootlogger.o .libs/serversocket.o .libs/simpledateformat.o .libs/simplelayout.o .libs/sizebasedtriggeringpolicy.o .libs/smtpappender.o .libs/socket.o .libs/soc
ketappender.o .libs/socketappenderskeleton.o .libs/sockethubappender.o .libs/socketoutputstream.o .libs/strftimedateformat.o .libs/stringhelper.o .libs/stringmatchfilter.o .libs/stringtokenizer.o .libs/synchroni
zed.o .libs/syslogappender.o .libs/syslogwriter.o .libs/system.o .libs/systemerrwriter.o .libs/systemoutwriter.o .libs/telnetappender.o .libs/threadcxx.o .libs/threadlocal.o .libs/threadspecificdata.o .libs/thre
adpatternconverter.o .libs/throwableinformationpatternconverter.o .libs/timezone.o .libs/timebasedrollingpolicy.o .libs/transform.o .libs/triggeringpolicy.o .libs/transcoder.o .libs/ttcclayout.o .libs/writer.o .
libs/writerappender.o .libs/xmllayout.o .libs/xmlsocketappender.o .libs/zipcompressaction.o .libs/asyncappender.o -Os -pipe -march=native -Os -pipe -march=native - -lapr-1 -luuid -lrt -lcrypt -lpthread -ldl -Wl,
-O1 -Wl,--as-needed -lapr-1 -luuid -lrt -lcrypt -lpthread -laprutil-1 -ldb-6.0 -lgdbm -lexpat -lesmtp -shared -fPIC -Wl,-soname -Wl,liblog4cxx.so.11 -o .libs/liblog4cxx.so.11.0.0
x86_64-pc-linux-gnu-g++: error: -E or -x required when input is from standard input
slibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages).
slibtool: < returned to > slbt_exec_link(), line 1836.
make[3]: *** [Makefile:746: liblog4cxx.la] Error 2
make[3]: Leaving directory '/var/tmp/portage/dev-libs/log4cxx-0.11.0/work/apache-log4cxx-0.11.0/src/main/cpp'
make[2]: *** [Makefile:408: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/log4cxx-0.11.0/work/apache-log4cxx-0.11.0/src/main' 
make[1]: *** [Makefile:408: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/log4cxx-0.11.0/work/apache-log4cxx-0.11.0/src'
make: *** [Makefile:506: all-recursive] Error 1
 * ERROR: dev-libs/log4cxx-0.11.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 Alessandro Barbieri 2021-03-12 09:40:59 UTC
Created attachment 690936 [details]
log4cxx-0.11.0:20210312-093447.log

buildlog
Comment 2 orbea 2021-03-18 23:27:15 UTC
Upstream has moved to cmake so fixing this issue will not have much value.

https://github.com/apache/logging-log4cxx/commit/bce24884809bd157cf2f85ef243d658e406a4259
Comment 3 Ionen Wolkens gentoo-dev 2021-03-27 14:35:37 UTC
*** Bug 778743 has been marked as a duplicate of this bug. ***
Comment 4 orbea 2022-07-15 19:00:23 UTC
Updating this to 13.0.0 would solve this issue given the change in build system.
Comment 5 Larry the Git Cow gentoo-dev 2023-02-04 21:32:26 UTC
The bug has been closed via the following commit(s):

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

commit b213aea03b532aa4b74ce07bb269051a9df1ad68
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-04 21:17:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-04 21:31:53 +0000

    dev-libs/log4cxx: add 1.0.0
    
    Closes: https://bugs.gentoo.org/314139
    Closes: https://bugs.gentoo.org/373391
    Closes: https://bugs.gentoo.org/775581
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/log4cxx/Manifest             |  1 +
 dev-libs/log4cxx/log4cxx-1.0.0.ebuild | 55 +++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)