Skip to content

Instantly share code, notes, and snippets.

@snajpa
Created November 15, 2013 19:29
Show Gist options
  • Save snajpa/7490204 to your computer and use it in GitHub Desktop.
Save snajpa/7490204 to your computer and use it in GitHub Desktop.
make[2]: Leaving directory `/root/zfs'
test -n "" \
|| find "zfs-0.6.2" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec /bin/sh /root/zfs/config/install-sh -c -m a+r {} {} \; \
|| chmod -R a+r "zfs-0.6.2"
tardir=zfs-0.6.2 && /bin/sh /root/zfs/config/missing --run tar chof - "$tardir" | GZIP=--best gzip -c >zfs-0.6.2.tar.gz
{ test ! -d "zfs-0.6.2" || { find "zfs-0.6.2" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr "zfs-0.6.2"; }; }
make[2]: Entering directory `/root/zfs'
make[2]: Leaving directory `/root/zfs'
Wrote: /tmp/zfs-build-root-EIe16EM6/SRPMS/zfs-kmod-0.6.2-104_g5f72cbb.el6.src.rpm
make[1]: Leaving directory `/root/zfs'
make pkg="zfs-kmod" \
def='--define "_without_debug 1" --define "_without_debug_dmu_tx 1" --define "kernels 2.6.32-042stab084.3"' rpm-common
make[1]: Entering directory `/root/zfs'
make[2]: Entering directory `/root/zfs'
make[2]: Leaving directory `/root/zfs'
Installing zfs-kmod-0.6.2-104_g5f72cbb.el6.src.rpm
error: Failed build dependencies:
kmod-spl-uname-r = 2.6.32-042stab084.3 is needed by zfs-kmod-0.6.2-104_g5f72cbb.el6.x86_64
kmod-spl-devel-uname-r = 2.6.32-042stab084.3 is needed by zfs-kmod-0.6.2-104_g5f72cbb.el6.x86_64
make[1]: *** [rpm-common] Error 1
make[1]: Leaving directory `/root/zfs'
make: *** [rpm-kmod] Error 2
[root@h1.bts.relbit.com]
~/zfs # cd ..
[root@h1.bts.relbit.com]
~ # rpm -qa | grep spl
spl-dkms-0.6.2-15_gdd33a16.el6.noarch
spl-0.6.2-15_gdd33a16.el6.x86_64
kmod-spl-devel-0.6.2-15_gdd33a16.el6.x86_64
[root@h1.bts.relbit.com]
~ # rpm -qa | grep zfs
dkms-2.2.0.3-14.zfs1.el6.noarch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment