Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529898 - app-emulation/libvirt-1.2.9-r2 - ./configure: 63906: test: xno: unexpected operator with sh set to dash
Summary: app-emulation/libvirt-1.2.9-r2 - ./configure: 63906: test: xno: unexpected op...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
Depends on:
Blocks: nonbash
  Show dependency tree
Reported: 2014-11-19 19:14 UTC by Alexander Tsoy
Modified: 2014-12-11 09:06 UTC (History)
2 users (show)

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

libvirt-1.2.9-r2:20141116-144745.log (libvirt-1.2.9-r2:20141116-144745.log,56.48 KB, text/plain)
2014-11-19 19:14 UTC, Alexander Tsoy

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2014-11-19 19:14:48 UTC
Created attachment 389790 [details]

This does not result in build failure, but likely make it impossible to enable firewalld support.

build log is truncated and contains only configure phase. Relevant part:

checking for gnutls/crypto.h... yes
checking for pkcheck... /usr/bin/pkcheck
checking whether pkcheck supports uid value... yes
./configure: 63906: test: xno: unexpected operator
checking for dtrace... no
checking for mntent.h... (cached) yes
checking for mount... /bin/mount
Comment 1 Alexander Tsoy 2014-11-19 19:23:31 UTC
Wow. Upstream already commited the fix:;a=patch;h=aca0ae1faa163bbd60ee8df4b93ae870aa820746;hp=36148120c1c1e6ad7f4eb6f0995eb7b18ba95922

Will be in the next release.
Comment 2 Matthias Maier gentoo-dev 2014-11-20 11:53:07 UTC
Thanks for the info. This is now fixed in versions and 1.2.10 in the tree and will be phased out with a stabilization of one of those two versions.

*libvirt- (20 Nov 2014)

  20 Nov 2014; Matthias Maier <>
  +libvirt-, -libvirt-, libvirt-1.2.10.ebuild:
  fix firewalld configuration wrt bug #529898

Just one question: Why have you marked this bug as a blocker of bug 526268 ? I can configure just fine with sh -> dash. If this doesn't work for you, please file a separate bug report instead.
Comment 3 Alexander Tsoy 2014-11-20 12:39:10 UTC
(In reply to Matthias Maier from comment #2)

To reproduce this bug you need either dash with LINENO support (=app-shells/dash- or set env variable CONFIG_SHELL=/bin/dash. Actually many blockers of bug 526268 (most if not all of the bugs filed by Diego) can only be reproduced when the same conditions are met.
Comment 4 Matthias Maier gentoo-dev 2014-11-20 13:02:52 UTC
Ah, no. I'm sorry I completely missed the fact that above configure error only happens with app-shells/dash.

I'm sorry - I was confused. I tested with dash (I have it set as default sh) but only _after_ I already applied the patch (and haven't seen a configuration error for obvious reasons).

It would have helped if the "bashism" weren't removed from the summary or if the summary had contained a "with app-shells/dash". :-P

Anyway. Patch applied.
Comment 5 Matthias Maier gentoo-dev 2014-12-11 09:06:58 UTC
Resolved along with the usual, monthly security stabilization :-]