Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430632 - sys-fs/zfs - /usr/bin/install: unrecognized option '--variable=udevdir'
Summary: sys-fs/zfs - /usr/bin/install: unrecognized option '--variable=udevdir'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-08-09 16:34 UTC by dacook
Modified: 2012-08-11 20:05 UTC (History)
0 users

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 dacook 2012-08-09 16:34:59 UTC
The ebuilds for now-current sys-fs/zfs-0.6.0_rc9-r6 and sys-fs/zfs-9999 have a broken option in src_configure.  Don't have a patch immediately handy, but "--with-udevdir" needs to have "udevdir udev" exec-quoted:

  --with-udevdir="$(tc-getPKG_CONFIG) --variable=$(udevdir udev)"

as opposed to the current:

  --with-udevdir="$(tc-getPKG_CONFIG) --variable=udevdir udev"

The latter fails during the install phase.
Comment 1 dacook 2012-08-09 16:36:26 UTC
Actual failure log:

 /bin/mkdir -p '/var/tmp/portage/sys-fs/zfs-0.6.0_rc9-r6/image/pkg-config --variable=udevdir udev'
  /bin/sh ../../libtool --silent  --mode=install /usr/bin/install -c zvol_id '/var/tmp/portage/sys-fs/zfs-0.6.0_rc9-r6/image/pkg-config --variable=udevdir udev'
/usr/bin/install: unrecognized option '--variable=udevdir'
Comment 2 dacook 2012-08-09 18:21:42 UTC
And I need to update that again - I misread the message and assumed the wrong fix.  Looking at other samples from the tree, this would be a more appropriate fix:

  --with-udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
Comment 3 Richard Yao (RETIRED) gentoo-dev 2012-08-11 20:05:41 UTC
Thankyou for reporting this. This is now fixed in the tree. The fix should be available on mirrors within a few hours.