Hi, Please be gentle to me, since I don't have much experience when it comes to filing bugs. I've read the writing guidelines and search for this bug before filing of course. I tried to emerge nagios-plugins-1.4.3 on my Gentoo system but the merge fails. It seems that it fails while doing the ./configure. I get the following error: checking for struct swapent.se_nblks... no checking for /proc/meminfo... found /proc/meminfo checking for dig... no checking for va_list... ./configure: line 33984: syntax error near unexpected token `}' ./configure: line 33984: `echo "${ECHO_T}no" >&6; }' !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/nagios-plugins-1.4.3/work/nagios-plugins-1.4.3/config.log !!! ERROR: net-analyzer/nagios-plugins-1.4.3 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile nagios-plugins-1.4.3.ebuild, line 64: Called econf '--with-mysql' '--without-postgres' '--with-openssl' '--with-ipv6' '--host=i686-pc-linux-gnu' '--prefix=/usr/nagios' '--with-nagios-user=nagios' '--sysconfdir=/etc/nagios' '--infodir=/usr/share/info' '--mandir=/usr/share/man' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. I don't know how to attach files, so I've put them online emerge --info: http://www.vleeuwen.eu/nagios-plugins-1.4.3/emerge-info.log emerge output: http://www.vleeuwen.eu/nagios-plugins-1.4.3/output.log config log: http://www.vleeuwen.eu/nagios-plugins-1.4.3/config.log I hope I have filed this correctly. With regards, Tom van Leeuwen
Created attachment 90599 [details] merge log generated by emerge This is the log that was created by emerge
Created attachment 90600 [details] emerge --info This is my emerge --info output
Created attachment 90601 [details] emerge nagios-plugins-1.4.3 output This is the output I get from the command: emerge -pv nagios-plugins-1.4.3; emerge nagios-plugins-1.4.3
Yep, this is cropping up for me as well. Happens for 1.4.2(-r1) as well as 1.4.3.
*** Bug 138506 has been marked as a duplicate of this bug. ***
Looks like an upstream problem with configure.in. Apparently autoconf 2.60 introduces a stricter set of rules and caught this one. I'm going to contact upstream with a patch I'm about to add. I'll see if I can get our stuff at least patched for now.
Created attachment 91749 [details, diff] autoconf-fix.patch This should fix configure.in. Let me know if it does (sorry I don't have an ebuild patch yet.. will get to that later).
I've used your patchfile and it compiled like a charm. It works!
Thanks! Fixed in cvs as -r1.
please make it stable