Re: [Small Heads up] USE_SHLIBDIR=yes added some some library Makefiles

2019-09-23 Thread Brad Spencer
Andreas Gustafsson  writes:

> Brad Spencer wrote:
>> I committed a change today to add USE_SHLIBDIR=yes to the libraries used
>> by /sbin/{zfs,mount_zfs,zpool}.  The general effect will be to move the
>> libraries from /usr/lib to /lib and put compatibility links in place so
>> that things, say in /usr/pkg, continue to work as expected.  Run tested
>> on amd64 and i386 and compile tested on evbarm.  This will allow /usr
>> and /var to be mounted as a ZFS legacy filesystem and keeping with the
>> apparent pattern of having items in /sbin depend on items in /lib and
>> not /usr/lib.
>> 
>> Sorry if this breaks anything.
>
> Looks like it broke MKDEBUG=yes builds:
>
>   ===  8 extra files in DESTDIR  =
>   Files in DESTDIR but missing from flist.
>   File is obsolete or flist is out of date ?
>   --
>   ./usr/libdata/debug/lib/libavl.so.0.0.debug
>   ./usr/libdata/debug/lib/libnvpair.so.0.0.debug
>   ./usr/libdata/debug/lib/libpthread.so.1.4.debug
>   ./usr/libdata/debug/lib/libumem.so.0.0.debug
>   ./usr/libdata/debug/lib/libuutil.so.0.0.debug
>   ./usr/libdata/debug/lib/libzfs.so.0.0.debug
>   ./usr/libdata/debug/lib/libzfs_core.so.0.0.debug
>   ./usr/libdata/debug/lib/libzpool.so.0.0.debug
>   =  end of 8 extra files  ===
>
>   *** [checkflist] Error code 1

I will look into this today.


-- 
Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org


Re: [Small Heads up] USE_SHLIBDIR=yes added some some library Makefiles

2019-09-23 Thread Andreas Gustafsson
Brad Spencer wrote:
> I committed a change today to add USE_SHLIBDIR=yes to the libraries used
> by /sbin/{zfs,mount_zfs,zpool}.  The general effect will be to move the
> libraries from /usr/lib to /lib and put compatibility links in place so
> that things, say in /usr/pkg, continue to work as expected.  Run tested
> on amd64 and i386 and compile tested on evbarm.  This will allow /usr
> and /var to be mounted as a ZFS legacy filesystem and keeping with the
> apparent pattern of having items in /sbin depend on items in /lib and
> not /usr/lib.
> 
> Sorry if this breaks anything.

Looks like it broke MKDEBUG=yes builds:

  ===  8 extra files in DESTDIR  =
  Files in DESTDIR but missing from flist.
  File is obsolete or flist is out of date ?
  --
  ./usr/libdata/debug/lib/libavl.so.0.0.debug
  ./usr/libdata/debug/lib/libnvpair.so.0.0.debug
  ./usr/libdata/debug/lib/libpthread.so.1.4.debug
  ./usr/libdata/debug/lib/libumem.so.0.0.debug
  ./usr/libdata/debug/lib/libuutil.so.0.0.debug
  ./usr/libdata/debug/lib/libzfs.so.0.0.debug
  ./usr/libdata/debug/lib/libzfs_core.so.0.0.debug
  ./usr/libdata/debug/lib/libzpool.so.0.0.debug
  =  end of 8 extra files  ===

  *** [checkflist] Error code 1

-- 
Andreas Gustafsson, g...@gson.org


Re: [Small Heads up] USE_SHLIBDIR=yes added some some library Makefiles

2019-09-22 Thread Kamil Rytarowski
On 22.09.2019 23:33, Brad Spencer wrote:
> 
> I committed a change today to add USE_SHLIBDIR=yes to the libraries used
> by /sbin/{zfs,mount_zfs,zpool}.  The general effect will be to move the
> libraries from /usr/lib to /lib and put compatibility links in place so
> that things, say in /usr/pkg, continue to work as expected.  Run tested
> on amd64 and i386 and compile tested on evbarm.  This will allow /usr
> and /var to be mounted as a ZFS legacy filesystem and keeping with the
> apparent pattern of having items in /sbin depend on items in /lib and
> not /usr/lib.
> 
> Sorry if this breaks anything.
> 
> If one happens to update /usr/lib without /lib there may be problems,
> but hopefully that is very uncommon.
> 
> 
> 
> 
> 

Open question, how far are we from / on ZFS?



signature.asc
Description: OpenPGP digital signature


[Small Heads up] USE_SHLIBDIR=yes added some some library Makefiles

2019-09-22 Thread Brad Spencer


I committed a change today to add USE_SHLIBDIR=yes to the libraries used
by /sbin/{zfs,mount_zfs,zpool}.  The general effect will be to move the
libraries from /usr/lib to /lib and put compatibility links in place so
that things, say in /usr/pkg, continue to work as expected.  Run tested
on amd64 and i386 and compile tested on evbarm.  This will allow /usr
and /var to be mounted as a ZFS legacy filesystem and keeping with the
apparent pattern of having items in /sbin depend on items in /lib and
not /usr/lib.

Sorry if this breaks anything.

If one happens to update /usr/lib without /lib there may be problems,
but hopefully that is very uncommon.





-- 
Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org