I tried to make
And got that:
And the same problem I got with any port. What is the problem?
cd /usr/ports/ports-mgmt/portmaster/ && make install cleanAnd got that:
Code:
===> Building/installing dialog4ports as it is required for the config dialog
===> Cleaning for pkg-1.2.4_1
===> Cleaning for dialog4ports-0.1.5_2
===> dialog4ports-0.1.5_2 depends on file: /usr/local/sbin/pkg - not found
===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===> License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.2.4_1 for building
===> Extracting for pkg-1.2.4_1
===> License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.2.4_1 for building
=> SHA256 Checksum OK for pkg-1.2.4.tar.xz.
===> Patching for pkg-1.2.4_1
===> Applying FreeBSD patches for pkg-1.2.4_1
===> Configuring for pkg-1.2.4_1
===> FreeBSD 10 autotools fix applied to /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/external/expat/aclocal.m4
===> FreeBSD 10 autotools fix applied to /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/external/expat/configure
===> FreeBSD 10 autotools fix applied to /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/external/expat/m4/libtool.m4
===> FreeBSD 10 autotools fix applied to /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/external/libyaml/aclocal.m4
===> FreeBSD 10 autotools fix applied to /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/external/libyaml/configure
===> Building for pkg-1.2.4_1
sed -e 's,%%PKGVERSION%%,1.2.4,' /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/Doxyfile.in > Doxyfile
===> libpkg (all)
Warning: Object directory not changed from original /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg
sed -e "s,__PREFIX__,/usr/local,g" -e "s,__VERSION__,1.2.4,g" pkg.pc.in > pkg.pc
sed -e 's,%%PKGVERSION%%,1.2.4,' -e 's,%%PORTVERSION%%,1.2.4_1,' pkg.h.in > pkg.h
gzip -cn pkg_printf.3 > pkg_printf.3.gz
gzip -cn pkg_repos.3 > pkg_repos.3.gz
gzip -cn pkg-repository.5 > pkg-repository.5.gz
cc -O2 -pipe -fno-strict-aliasing -Wall -Werror -I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/include -I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src -I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/uthash -Wno-pointer-sign -Wno-strict-aliasing -Wno-unused-function -std=gnu99 -Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.c -o /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.o
/usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.c:25:10: fatal error: file '/usr/include/math.h' modified since it was first processed
#include <math.h>
^
Stack dump:
0. Program arguments: /usr/bin/cc -cc1 -triple i386-unknown-freebsd10.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-name ucl_emitter.c -mrelocation-model static -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -target-cpu i486 -coverage-file /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.o -resource-dir /usr/bin/../lib/clang/3.3 -I /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/include -I /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src -I /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/uthash -O2 -Wall -Werror -Wno-pointer-sign -Wno-strict-aliasing -Wno-unused-function -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -std=gnu99 -fdebug-compilation-dir /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fdiagnostics-show-option -backend-option -vectorize-loops -o /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.o -x c /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.c
1. /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.c:25:2: current parser token 'include'
cc: error: unable to execute command: Segmentation fault (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: i386-unknown-freebsd10.0
Thread model: posix
cc: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
cc: error: unable to execute command: Segmentation fault (core dumped)
cc: note: diagnostic msg: Error generating preprocessed source(s).
*** [/usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.o] Error code 254
make[8]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg
1 error
make[8]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg
*** [all] Error code 2
make[7]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4
make[7]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[6]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1
Stop.
make[5]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1
Stop.
make[4]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/ports-mgmt/dialog4ports
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/ports-mgmt/dialog4ports
===> Options unchanged
===> License BSD accepted by the user
===> portmaster-3.17.3 depends on file: /usr/local/sbin/pkg - not found
===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===> Building for pkg-1.2.4_1
===> libpkg (all)
Warning: Object directory not changed from original /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg
cc -O2 -pipe -fno-strict-aliasing -Wall -Werror -I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/include -I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src -I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/uthash -Wno-pointer-sign -Wno-strict-aliasing -Wno-unused-function -std=gnu99 -Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.c -o /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.o
In file included from /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.c:25:
/usr/include/math.h:285:10: error: expected ';' after top level declarator
double lo double expm1l(long double);
^
/usr/include/math.h:286:1: error: unknown type name 'lonlong'
lonlong lround(double);
^
/usr/include/math.h:458:38: error: expected ';' after top level declarator
long<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>g double fabsl(long double) __pure2;
^
In file included from /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.c:27:
/usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_internal.h:27:10: fatal error: file '/usr/include/sys/types.h' modified since it was first processed
#include <sys/types.h>
^
Stack dump:
0. Program arguments: /usr/bin/cc -cc1 -triple i386-unknown-freebsd10.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-name ucl_emitter.c -mrelocation-model static -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -target-cpu i486 -coverage-file /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.o -resource-dir /usr/bin/../lib/clang/3.3 -I /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/include -I /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src -I /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/uthash -O2 -Wall -Werror -Wno-pointer-sign -Wno-strict-aliasing -Wno-unused-function -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -std=gnu99 -fdebug-compilation-dir /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fdiagnostics-show-option -backend-option -vectorize-loops -o /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.o -x c /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.c
1. /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_internal.h:27:2: current parser token 'include'
cc: error: unable to execute command: Segmentation fault (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: i386-unknown-freebsd10.0
Thread model: posix
cc: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
cc: error: unable to execute command: Segmentation fault (core dumped)
cc: note: diagnostic msg: Error generating preprocessed source(s).
*** [/usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg/../external/libucl/src/ucl_emitter.o] Error code 254
make[5]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg
1 error
make[5]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4/libpkg
*** [all] Error code 2
make[4]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4
make[4]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.2.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/ports-mgmt/portmaster
*** Error code 1
Stop.
make: stopped in /usr/ports/ports-mgmt/portmaster
And the same problem I got with any port. What is the problem?