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

Bug 529898

Summary: app-emulation/libvirt-1.2.9-r2 - ./configure: 63906: test: xno: unexpected operator with sh set to dash
Product: Gentoo Linux Reporter: Alexander Tsoy <alexander>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED FIXED    
Severity: normal CC: cardoe, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=1165827
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 526268    
Attachments: libvirt-1.2.9-r2:20141116-144745.log

Description Alexander Tsoy 2014-11-19 19:14:48 UTC
Created attachment 389790 [details]
libvirt-1.2.9-r2:20141116-144745.log

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:
http://libvirt.org/git/?p=libvirt.git;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 1.2.9.1 and 1.2.10 in the tree and will be phased out with a stabilization of one of those two versions.

*libvirt-1.2.9.1-r1 (20 Nov 2014)

  20 Nov 2014; Matthias Maier <tamiko@gentoo.org>
  +files/libvirt-1.2.9-fix-firefwalld-configuration.patch,
  +libvirt-1.2.9.1-r1.ebuild, -libvirt-1.2.9.1.ebuild, 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-0.5.8.1) 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 :-]