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

Bug 536540

Summary: net-misc/networkmanager-1.0.0: configure fails if /bin/sh is not bash
Product: Gentoo Linux Reporter: Rémi Cardona (RETIRED) <remi>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.gnome.org/show_bug.cgi?id=743480
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 526268    

Description Rémi Cardona (RETIRED) gentoo-dev 2015-01-14 00:32:31 UTC
checking for QT... yes
checking for moc-qt4... no
checking for moc... moc
configure: error: --with-udev-dir must be an absolute path or 'yes' or 'no'. Instead it is '/lib/udev'

I have /bin/sh that points to dash and CONFIG_SHELL set to /bin/dash.

configure.ac has an "echo -n" on line 305:

if (test "$with_udev_dir" != 'yes' && echo -n "$with_udev_dir" | grep -v -q '^/'); then

Replacing it with printf '%s' seems to work (haven't tested a full build yet).
Comment 1 Pacho Ramos gentoo-dev 2015-01-23 09:30:53 UTC
I would try to report this to upstream to for not needing to carry the patch forever -> bugzilla.gnome.org

Thanks
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2015-01-25 12:53:55 UTC
Patch pushed to portage. Pacho, do you want to handle the upstream bug?
Comment 3 Pacho Ramos gentoo-dev 2015-01-25 13:15:19 UTC
Sure:
https://bugzilla.gnome.org/show_bug.cgi?id=743480