Created attachment 356224 [details] build log emerging sys-freebsd/freebsd-cddl-9.2_rc1 results in build error (attach build log)
Created attachment 356226 [details] output of emerge --info
Created attachment 356236 [details, diff] sample patch for files/freebsd-cddl-9.2-underlink.patch After applying this patch, compile will succeed. However, a warning is displayed. # cd /var/tmp/portage/sys-freebsd/freebsd-cddl-9.2_rc1/temp # grep libavl.so.2 build.log building shared library libavl.so.2 /usr/lib/gcc/x86_64-gentoo-freebsd9.0/4.6.4/../../../../x86_64-gentoo-freebsd9.0/bin/ld: warning: libavl.so.2, needed by /var/tmp/portage/sys-freebsd/freebsd-cddl-9.2_rc1/work/cddl/sbin/zfs/../../lib/libzfs/libzfs.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-gentoo-freebsd9.0/4.6.4/../../../../x86_64-gentoo-freebsd9.0/bin/ld: warning: libavl.so.2, needed by /var/tmp/portage/sys-freebsd/freebsd-cddl-9.2_rc1/work/cddl/usr.bin/zinject/../../lib/libzfs/libzfs.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-gentoo-freebsd9.0/4.6.4/../../../../x86_64-gentoo-freebsd9.0/bin/ld: warning: libavl.so.2, needed by /var/tmp/portage/sys-freebsd/freebsd-cddl-9.2_rc1/work/cddl/usr.sbin/zdb/../../lib/libzfs/libzfs.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-gentoo-freebsd9.0/4.6.4/../../../../x86_64-gentoo-freebsd9.0/bin/ld: warning: libavl.so.2, needed by /var/tmp/portage/sys-freebsd/freebsd-cddl-9.2_rc1/work/cddl/usr.sbin/zhack/../../lib/libzfs/libzfs.so, not found (try using -rpath or -rpath-link) After merge, seem to have found a libavl correctly. e.g.) # ldd /usr/sbin/zhack /usr/sbin/zhack: libgeom.so.5 => /lib/libgeom.so.5 (0x80081e000) libm.so.5 => /lib/libm.so.5 (0x800a24000) libnvpair.so.2 => /lib/libnvpair.so.2 (0x800c47000) libthr.so.3 => /lib/libthr.so.3 (0x800e59000) libumem.so.2 => /lib/libumem.so.2 (0x80107d000) libuutil.so.2 => /lib/libuutil.so.2 (0x80127f000) libzfs_core.so.2 => /lib/libzfs_core.so.2 (0x801489000) libzfs.so.2 => /lib/libzfs.so.2 (0x80168e000) libzpool.so.2 => /lib/libzpool.so.2 (0x8018d3000) libc.so.7 => /lib/libc.so.7 (0x801c17000) libexpat.so.1 => /lib/libexpat.so.1 (0x801f7b000) libsbuf.so.6 => /lib/libsbuf.so.6 (0x8021a5000) libmd.so.5 => /lib/libmd.so.5 (0x8023a8000) libutil.so.9 => /lib/libutil.so.9 (0x8025b9000) libavl.so.2 => /lib/libavl.so.2 (0x8027cd000) libz.so.1 => /lib/libz.so.1 (0x8029d0000) # zhack error: no command specified Usage: zhack [-c cachefile] [-d dir] <subcommand> <args> ... where <subcommand> <args> is one of the following: feature stat <pool> print information about enabled features feature enable [-d desc] <pool> <feature> add a new enabled feature to the pool -d <desc> sets the feature's description feature ref [-md] <pool> <feature> change the refcount on the given feature -d decrease instead of increase the refcount -m add the feature to the label if increasing refcount <feature> : should be a feature guid
Thank you for fast response I confirmed emerging succeed with that patch.
applied, thanks!