Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366233 - =net-irc/inspircd-2.0.3 fails to configure, if no use flags are set
Summary: =net-irc/inspircd-2.0.3 fails to configure, if no use flags are set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chema Alonso Josa (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 15:48 UTC by Sebastian Bauer
Modified: 2011-05-08 19:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.
+