FreeBSD11 buildworld WITHOUT_ICONV

damian at damianek.be damian at damianek.be
Tue Oct 25 13:39:16 UTC 2016


2016-10-24 11:59 GMT+02:00 damian at damianek.be <damian at damianek.be>:

> Rev 307846 (svn src ~8AM CEST):
>
> 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
>
>
Ok, i answer myself:

--- lib/libc/tests/Makefile.orig        2016-10-25 14:42:00.637660000 +0200
+++ lib/libc/tests/Makefile     2016-10-25 14:44:05.357114000 +0200
@@ -9,5 +9,7 @@
 TESTS_SUBDIRS+=        gen
 TESTS_SUBDIRS+=        hash
-TESTS_SUBDIRS+=        iconv
+.if ${MK_ICONV} != "no"
+TESTS_SUBDIRS+= iconv
+.endif
 TESTS_SUBDIRS+=        inet
 TESTS_SUBDIRS+=        net

And... works fine:
--------------------------------------------------------------
>>> World build completed on Tue Oct 25 15:35:50 CEST 2016
--------------------------------------------------------------


-- 
damian at damianek.be


More information about the freebsd-hackers mailing list