FreeBSD11 buildworld WITHOUT_ICONV
damian at damianek.be
damian at damianek.be
Mon Oct 24 10:00:38 UTC 2016
2016-10-24 8:25 GMT+02:00 Ngie Cooper (yaneurabeya) <yaneurabeya at gmail.com>:
> > Now i try on revision 307846 and MK_ICONV=no (and WITHOUT_ICONV=yes) in
> /etc/src.conf
>
> If you set WITHOUT_foo=y, it will set MK_foo=no (example below
> with MK_ICONV and the directory of interest). So, I’m not entirely sure why
> your example is failing (yet). Some logs with failing context somewhere
> would definitely help.
> Thanks,
> -Ngie
>
> $ make -C lib/libc/tests/ -VSUBDIR:Miconv -VMK_ICONV
> iconv
> yes
> $ env MK_ICONV=no make -C lib/libc/tests/ -VSUBDIR:Miconv -VMK_ICONV
>
> no
> $
>
Rev 307846 (svn src ~8AM CEST):
root:/usr/src # grep ICONV /etc/src.conf
WITHOUT_ICONV=yes
MK_ICONV=no
root:/usr/src # make -C lib/libc/tests/ -VSUBDIR:Miconv -VMK_ICONV
iconv
no
root:/usr/src # env MK_ICONV=no make -C lib/libc/tests/ -VSUBDIR:Miconv
-VMK_ICONV
iconv
no
make buildworld:
===> lib/libc/tests/iconv (all)
(cd /usr/src/lib/libc/tests/iconv && DEPENDFILE=.depend.iconvctl_test
NO_SUBDIR=1 /usr/obj/usr/src/make.amd64/bmake -f
/usr/src/lib/libc/tests/iconv/Makefile _RECURSING_PROGS=t
PROG=iconvctl_test )
echo iconvctl_test.full: /usr/obj/usr/src/tmp/usr/lib/libc.a
/usr/obj/usr/src/tmp/usr/lib/libprivateatf-c.a >> .depend.iconvctl_test
cc -O2 -pipe -march=native -g -MD
-MF.depend.iconvctl_test.iconvctl_test.o -MTiconvctl_test.o -std=gnu99
-fstack-protector-strong -Qunused-arguments -c
/usr/src/lib/libc/tests/iconv/iconvctl_test.c -o iconvctl_test.o
/usr/src/lib/libc/tests/iconv/iconvctl_test.c:30:10: fatal error: 'iconv.h'
file not found
#include <iconv.h>
^
1 error generated.
*** Error code 1
Stop.
bmake[7]: stopped in /usr/src/lib/libc/tests/iconv
*** Error code 1
--
damian at damianek.be
More information about the freebsd-hackers
mailing list