On Mon, Jan 08, 2018 at 01:06:30PM +0100, Thomas Seeling wrote:
> Hallo,
>
>
> I built a system with LFS 8.1 on i5-3350 and wanted to add some tools
> from BLFS 8.1.
> When building unzip 6.0 from source I noticed a compiler warning: lchmod
> will always fail.
>
> Truly, there's a hint in <gnu/stub-64.h> that some syscalls are not
> supported and will always fail; lchmod is one of them.
>
> I managed to compile unzip 6.0 by defining NO_LCHMOD in the Makefile but
> I'm not completely sure about the implications. Obviously unzip now can
> no longer modify symlink attributes, but I cannot judge if this is a
> serious restriction. Given the significance of unzip on unix it's
> negligible imho. Any other thoughts?
>
Unless you have done something to treat warnings as errors,
unzip60 compiles fine without any attempt to define NO_LCHMOD.
Many packages in BLFS produce compiler warnings.
ĸen
--
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
- Unseen Academicals
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page