pcre++ needs automake-1.9 to build but it doesn't require it when emerging. Also, a developer Reproducible: Always Steps to Reproduce: 1. #emerge pcre++ 2. # >>> Source unpacked. # >>> Compiling source in /var/tmp/portage/dev-libs/pcre++-0.9.5-r1/work/pcre++-0.9.5 ... # * econf: updating pcre++-0.9.5/config.guess with /usr/share/gnuconfig/config.guess # * econf: updating pcre++-0.9.5/config.sub with /usr/share/gnuconfig/config.sub # ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu # ./configure: line 1704: syntax error near unexpected token `libpcre++/config.h' # ./configure: line 1704: `AM_CONFIG_HEADER(libpcre++/config.h)' # # !!! Please attach the following file when filing a report to bugs.gentoo.org: # !!! /var/tmp/portage/dev-libs/pcre++-0.9.5-r1/work/pcre++-0.9.5/config.log # # !!! ERROR: dev-libs/pcre++-0.9.5-r1 failed. # Call stack: # ebuild.sh, line 1615: Called dyn_compile # ebuild.sh, line 972: Called qa_call 'src_compile' # ebuild.sh, line 44: Called src_compile # ebuild.sh, line 643: Called econf # ebuild.sh, line 578: Called die # # !!! econf failed # !!! If you need support, post the topmost build error, and the call stack if relevant. # !!! A complete build log is located at '/var/tmp/portage/dev-libs/pcre++-0.9.5-r1/temp/build.log'. Actual Results: emerge of the package failed with the above error and description Expected Results: build and finish the emerge
Try w/ 0.9.5-r1 please.
Jakub: He tried with -r1 :) I *think* I know what is going on here. Mainly that my autogen.bash patch is a bit lousy. Will fix in a month (I'll be out of the internet in a couple of hours until then) if nobody beats me. - ferdy
Stupid bugzie, won't let me do everything at once. Sorry for the bugspam guys. - ferdy
(In reply to comment #2) > Jakub: He tried with -r1 :) Eh, indeed... :)
I don't understand enough about emerge to be able to fix the ebuild file, but I was able to complete the pcre++ installation by executing the following commands after the initial failure: # cd /var/temp/portage/dev-libs/pcre++-0.9.5-r1/work/pcre++-0.9.5 # aclocal-1.10 # autoheader # autoconf # automake -a --copy # ./configure # make && make install Note that I don't know how to clean-up the portage database to let it be known the library is installed. But, this let me build libopkele-0.3, which is what I was trying to do in the first place.
Moving to herd since Ferdy left Gentoo.
This was fixed along the way.