Path to aufhsmd and aufhsm-list

2016-10-02 Thread Guan Xin
Hello,

The destination directories to the library can be set on the make
command line according the master Makefile of aufs-util.
However, the Makefile in the fhsm subdirectory has hard coded
install_ulib to install to /usr/lib.
Did I miss something (e.g., another dedicated command line parameter),
or is there a reason for not allowing installation to other
directories such as /usr/libexec, etc.?

Regards,
Guan

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


Re: Unable to build aufs-util on aufs4.1 branch due to recent Makefile change

2016-10-02 Thread sfjro

Hello OmegaPhil,
Thanx for reporting.

OmegaPhil:
> I'm currently updating aufs-util in the usual way (looks like aufs4.1 is
> the latest branch), building succeeds but make install fails with the
> following:
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> make[1]: Entering directory
> '/home/omega/files/source_code/kernel/aufs/aufs-aufs-util/libau'
> Makefile:61: LibAuDir=3D
:::

Hmm, what is your 'make' command line?
Did you set CC?

aufs-util.git expects LibAuDir to be specified whenever CC is given.
For example,

$ make -s BuildFHSM=yes CPPFLAGS=-I.../aufs4-linux/usr/include all
or
$ make -s -C compat32 BuildFHSM=yes CC="cc -m32" 
LibAuDir=/usr/lib/i386-linux-gnu CPPFLAGS=-I.../aufs4-linux/usr/include all

If you specify CC but LibAuDir, then such bug may appear I am afraid.


J. R. Okajima

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


Unable to build aufs-util on aufs4.1 branch due to recent Makefile change

2016-10-02 Thread OmegaPhil
I'm currently updating aufs-util in the usual way (looks like aufs4.1 is
the latest branch), building succeeds but make install fails with the
following:

===

make[1]: Entering directory
'/home/omega/files/source_code/kernel/aufs/aufs-aufs-util/libau'
Makefile:61: LibAuDir=
install -dv
install: missing file operand
Try 'install --help' for more information.
Makefile:61: recipe for target 'install_ulib' failed
make[1]: *** [install_ulib] Error 1
make[1]: Leaving directory
'/home/omega/files/source_code/kernel/aufs/aufs-aufs-util/libau'
Makefile:187: recipe for target 'install_ulib' failed
make: *** [install_ulib] Error 2

===

Looking at the main directory Makefile, the problem appears to have been
introduced in the recent C library building changes - if I hardcode
LibAuDir beneath the 'ifneq (${CC},${HOSTCC})' block:



LibAuDir = /usr/lib



It works. I don't have much makefile experience so I haven't gone
further. For reference the make install command used:

===

sudo env CPPFLAGS="-I /usr/include -I
/home/omega/files/source_code/kernel/aufs/aufs4-standalone/usr/include"
make install

===

I had to include CPPFLAGS this time since the install step actually does
a compilation (??).

Building against kernel v4.7.5-1 on a Devuan Testing (very similar to
Debian Testing) machine.



signature.asc
Description: OpenPGP digital signature
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

aufs3 and aufs4 GIT release (linux-v4.8-rc8)

2016-10-02 Thread sfjro

o bugfix
- possible bugfix, auplink_ftw, prohibit 'touch' to create a new file

Essentially this release contains the update in aufs-util.git only.
aufs4.x-rcN branches in aufs4-linux.git and aufs4-standlone.git are
updated too, but the changes are just to follow the mainline.


J. R. Okajima


- aufs4-linux.git
  none

- aufs4-standalone.git
  none

- aufs-util.git
  possible bugfix, auplink_ftw, prohibit 'touch' to create a new file

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot