Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 366233

Summary: =net-irc/inspircd-2.0.3 fails to configure, if no use flags are set
Product: Gentoo Linux Reporter: Sebastian Bauer <ecfututus_idler>
Component: [OLD] UnspecifiedAssignee: Chema Alonso Josa (RETIRED) <nimiux>
Status: RESOLVED FIXED    
Severity: normal CC: c1pher
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Bauer 2011-05-06 15:48:09 UTC
ebuild log for net-irc/inspircd-2.0.3 on janus.wh36.uni-karlsruhe.de

ERROR: configure
ERROR: net-irc/inspircd-2.0.3 failed (configure phase):
  configure failed

Call stack:
    ebuild.sh, line  56:  Called src_configure
  environment, line 2527:  Called die
The specific snippet of code:
      [ ${extras} ] && ./configure --disable-interactive --enable-extras=${extras} || die "configure failed";

If you need support, post the output of 'emerge --info =net-irc/inspircd-2.0.3',
the complete build log and the output of 'emerge -pqv =net-irc/inspircd-2.0.3'.
The complete build log is located at '/var/tmp/portage/net-irc/inspircd-2.0.3/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/net-irc/inspircd-2.0.3/temp/environment'.
S: '/var/tmp/portage/net-irc/inspircd-2.0.3/work/inspircd'



Reproducible: Always

Steps to Reproduce:
1. USE="-gnutls -ipv6 -ldap -mysql -openssl -postgres -sqlite" emerge =net-irc/inspircd-2.0.3

Actual Results:  
configure fails

Expected Results:  
installation of inspircd

As the log says, the specific snippet of code:

[ ${extras} ] && ./configure --disable-interactive --enable-extras=${extras} || die "configure failed";

causes an error, if ${extras} is empty. Then, the "configure" command is skipped and the "die" command is called directly.

Should not this be 

[ ${extras} ] && ( ./configure --disable-interactive --enable-extras=${extras} || die "configure failed"; )

instead? I changed it for my own and it worked.
Comment 1 Dane Smith (RETIRED) gentoo-dev 2011-05-08 19:09:28 UTC
Fixed in CVS. Thanks for reporting.

+  08 May 2011; Dane Smith <c1pher@gentoo.org> inspircd-2.0.3.ebuild:
+  Apply patch from Chema wrt bug 366233. Fix typo. No revbump.
+